]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/file/configure
This commit was generated by cvs2svn to compensate for changes in r137015,
[FreeBSD/FreeBSD.git] / contrib / file / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15   emulate sh
16   NULLCMD=:
17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18   # is contrary to our usage.  Disable this feature.
19   alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21   set -o posix
22 fi
23
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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   as_mkdir_p=false
222 fi
223
224 as_executable_p="test -f"
225
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233 # IFS
234 # We need space, tab and new line, in precisely that order.
235 as_nl='
236 '
237 IFS="   $as_nl"
238
239 # CDPATH.
240 $as_unset CDPATH
241
242
243 # Name of the host.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248 exec 6>&1
249
250 #
251 # Initializations.
252 #
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
255 cross_compiling=no
256 subdirs=
257 MFLAGS=
258 MAKEFLAGS=
259 SHELL=${CONFIG_SHELL-/bin/sh}
260
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete.  It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
265
266 # Identity of this package.
267 PACKAGE_NAME=
268 PACKAGE_TARNAME=
269 PACKAGE_VERSION=
270 PACKAGE_STRING=
271 PACKAGE_BUGREPORT=
272
273 ac_unique_file="src/file.c"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
276 #include <stdio.h>
277 #if HAVE_SYS_TYPES_H
278 # include <sys/types.h>
279 #endif
280 #if HAVE_SYS_STAT_H
281 # include <sys/stat.h>
282 #endif
283 #if STDC_HEADERS
284 # include <stdlib.h>
285 # include <stddef.h>
286 #else
287 # if HAVE_STDLIB_H
288 #  include <stdlib.h>
289 # endif
290 #endif
291 #if HAVE_STRING_H
292 # if !STDC_HEADERS && HAVE_MEMORY_H
293 #  include <memory.h>
294 # endif
295 # include <string.h>
296 #endif
297 #if HAVE_STRINGS_H
298 # include <strings.h>
299 #endif
300 #if HAVE_INTTYPES_H
301 # include <inttypes.h>
302 #else
303 # if HAVE_STDINT_H
304 #  include <stdint.h>
305 # endif
306 #endif
307 #if HAVE_UNISTD_H
308 # include <unistd.h>
309 #endif"
310
311 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fsect FSECT5_TRUE FSECT5_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE LN_S build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB LIBTOOL CPP EGREP LIBOBJS LTLIBOBJS'
312 ac_subst_files=''
313
314 # Initialize some variables set by options.
315 ac_init_help=
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
319 cache_file=/dev/null
320 exec_prefix=NONE
321 no_create=
322 no_recursion=
323 prefix=NONE
324 program_prefix=NONE
325 program_suffix=NONE
326 program_transform_name=s,x,x,
327 silent=
328 site=
329 srcdir=
330 verbose=
331 x_includes=NONE
332 x_libraries=NONE
333
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
351
352 ac_prev=
353 for ac_option
354 do
355   # If the previous option needs an argument, assign it.
356   if test -n "$ac_prev"; then
357     eval "$ac_prev=\$ac_option"
358     ac_prev=
359     continue
360   fi
361
362   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364   # Accept the important Cygnus configure options, so we can diagnose typos.
365
366   case $ac_option in
367
368   -bindir | --bindir | --bindi | --bind | --bin | --bi)
369     ac_prev=bindir ;;
370   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371     bindir=$ac_optarg ;;
372
373   -build | --build | --buil | --bui | --bu)
374     ac_prev=build_alias ;;
375   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376     build_alias=$ac_optarg ;;
377
378   -cache-file | --cache-file | --cache-fil | --cache-fi \
379   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380     ac_prev=cache_file ;;
381   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383     cache_file=$ac_optarg ;;
384
385   --config-cache | -C)
386     cache_file=config.cache ;;
387
388   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389     ac_prev=datadir ;;
390   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391   | --da=*)
392     datadir=$ac_optarg ;;
393
394   -disable-* | --disable-*)
395     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396     # Reject names that are not valid shell variable names.
397     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399    { (exit 1); exit 1; }; }
400     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401     eval "enable_$ac_feature=no" ;;
402
403   -enable-* | --enable-*)
404     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405     # Reject names that are not valid shell variable names.
406     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408    { (exit 1); exit 1; }; }
409     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410     case $ac_option in
411       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412       *) ac_optarg=yes ;;
413     esac
414     eval "enable_$ac_feature='$ac_optarg'" ;;
415
416   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418   | --exec | --exe | --ex)
419     ac_prev=exec_prefix ;;
420   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422   | --exec=* | --exe=* | --ex=*)
423     exec_prefix=$ac_optarg ;;
424
425   -gas | --gas | --ga | --g)
426     # Obsolete; use --with-gas.
427     with_gas=yes ;;
428
429   -help | --help | --hel | --he | -h)
430     ac_init_help=long ;;
431   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432     ac_init_help=recursive ;;
433   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434     ac_init_help=short ;;
435
436   -host | --host | --hos | --ho)
437     ac_prev=host_alias ;;
438   -host=* | --host=* | --hos=* | --ho=*)
439     host_alias=$ac_optarg ;;
440
441   -includedir | --includedir | --includedi | --included | --include \
442   | --includ | --inclu | --incl | --inc)
443     ac_prev=includedir ;;
444   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445   | --includ=* | --inclu=* | --incl=* | --inc=*)
446     includedir=$ac_optarg ;;
447
448   -infodir | --infodir | --infodi | --infod | --info | --inf)
449     ac_prev=infodir ;;
450   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451     infodir=$ac_optarg ;;
452
453   -libdir | --libdir | --libdi | --libd)
454     ac_prev=libdir ;;
455   -libdir=* | --libdir=* | --libdi=* | --libd=*)
456     libdir=$ac_optarg ;;
457
458   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459   | --libexe | --libex | --libe)
460     ac_prev=libexecdir ;;
461   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462   | --libexe=* | --libex=* | --libe=*)
463     libexecdir=$ac_optarg ;;
464
465   -localstatedir | --localstatedir | --localstatedi | --localstated \
466   | --localstate | --localstat | --localsta | --localst \
467   | --locals | --local | --loca | --loc | --lo)
468     ac_prev=localstatedir ;;
469   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472     localstatedir=$ac_optarg ;;
473
474   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475     ac_prev=mandir ;;
476   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477     mandir=$ac_optarg ;;
478
479   -nfp | --nfp | --nf)
480     # Obsolete; use --without-fp.
481     with_fp=no ;;
482
483   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484   | --no-cr | --no-c | -n)
485     no_create=yes ;;
486
487   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489     no_recursion=yes ;;
490
491   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493   | --oldin | --oldi | --old | --ol | --o)
494     ac_prev=oldincludedir ;;
495   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498     oldincludedir=$ac_optarg ;;
499
500   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501     ac_prev=prefix ;;
502   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503     prefix=$ac_optarg ;;
504
505   -program-prefix | --program-prefix | --program-prefi | --program-pref \
506   | --program-pre | --program-pr | --program-p)
507     ac_prev=program_prefix ;;
508   -program-prefix=* | --program-prefix=* | --program-prefi=* \
509   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510     program_prefix=$ac_optarg ;;
511
512   -program-suffix | --program-suffix | --program-suffi | --program-suff \
513   | --program-suf | --program-su | --program-s)
514     ac_prev=program_suffix ;;
515   -program-suffix=* | --program-suffix=* | --program-suffi=* \
516   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517     program_suffix=$ac_optarg ;;
518
519   -program-transform-name | --program-transform-name \
520   | --program-transform-nam | --program-transform-na \
521   | --program-transform-n | --program-transform- \
522   | --program-transform | --program-transfor \
523   | --program-transfo | --program-transf \
524   | --program-trans | --program-tran \
525   | --progr-tra | --program-tr | --program-t)
526     ac_prev=program_transform_name ;;
527   -program-transform-name=* | --program-transform-name=* \
528   | --program-transform-nam=* | --program-transform-na=* \
529   | --program-transform-n=* | --program-transform-=* \
530   | --program-transform=* | --program-transfor=* \
531   | --program-transfo=* | --program-transf=* \
532   | --program-trans=* | --program-tran=* \
533   | --progr-tra=* | --program-tr=* | --program-t=*)
534     program_transform_name=$ac_optarg ;;
535
536   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537   | -silent | --silent | --silen | --sile | --sil)
538     silent=yes ;;
539
540   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541     ac_prev=sbindir ;;
542   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543   | --sbi=* | --sb=*)
544     sbindir=$ac_optarg ;;
545
546   -sharedstatedir | --sharedstatedir | --sharedstatedi \
547   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548   | --sharedst | --shareds | --shared | --share | --shar \
549   | --sha | --sh)
550     ac_prev=sharedstatedir ;;
551   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554   | --sha=* | --sh=*)
555     sharedstatedir=$ac_optarg ;;
556
557   -site | --site | --sit)
558     ac_prev=site ;;
559   -site=* | --site=* | --sit=*)
560     site=$ac_optarg ;;
561
562   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563     ac_prev=srcdir ;;
564   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565     srcdir=$ac_optarg ;;
566
567   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568   | --syscon | --sysco | --sysc | --sys | --sy)
569     ac_prev=sysconfdir ;;
570   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572     sysconfdir=$ac_optarg ;;
573
574   -target | --target | --targe | --targ | --tar | --ta | --t)
575     ac_prev=target_alias ;;
576   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577     target_alias=$ac_optarg ;;
578
579   -v | -verbose | --verbose | --verbos | --verbo | --verb)
580     verbose=yes ;;
581
582   -version | --version | --versio | --versi | --vers | -V)
583     ac_init_version=: ;;
584
585   -with-* | --with-*)
586     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587     # Reject names that are not valid shell variable names.
588     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589       { echo "$as_me: error: invalid package name: $ac_package" >&2
590    { (exit 1); exit 1; }; }
591     ac_package=`echo $ac_package| sed 's/-/_/g'`
592     case $ac_option in
593       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594       *) ac_optarg=yes ;;
595     esac
596     eval "with_$ac_package='$ac_optarg'" ;;
597
598   -without-* | --without-*)
599     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600     # Reject names that are not valid shell variable names.
601     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602       { echo "$as_me: error: invalid package name: $ac_package" >&2
603    { (exit 1); exit 1; }; }
604     ac_package=`echo $ac_package | sed 's/-/_/g'`
605     eval "with_$ac_package=no" ;;
606
607   --x)
608     # Obsolete; use --with-x.
609     with_x=yes ;;
610
611   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612   | --x-incl | --x-inc | --x-in | --x-i)
613     ac_prev=x_includes ;;
614   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616     x_includes=$ac_optarg ;;
617
618   -x-libraries | --x-libraries | --x-librarie | --x-librari \
619   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620     ac_prev=x_libraries ;;
621   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623     x_libraries=$ac_optarg ;;
624
625   -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627    { (exit 1); exit 1; }; }
628     ;;
629
630   *=*)
631     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632     # Reject names that are not valid shell variable names.
633     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635    { (exit 1); exit 1; }; }
636     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637     eval "$ac_envvar='$ac_optarg'"
638     export $ac_envvar ;;
639
640   *)
641     # FIXME: should be removed in autoconf 3.0.
642     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646     ;;
647
648   esac
649 done
650
651 if test -n "$ac_prev"; then
652   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653   { echo "$as_me: error: missing argument to $ac_option" >&2
654    { (exit 1); exit 1; }; }
655 fi
656
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
659 do
660   eval ac_val=$`echo $ac_var`
661   case $ac_val in
662     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
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 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670               localstatedir libdir includedir oldincludedir infodir mandir
671 do
672   eval ac_val=$`echo $ac_var`
673   case $ac_val in
674     [\\/$]* | ?:[\\/]* ) ;;
675     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676    { (exit 1); exit 1; }; };;
677   esac
678 done
679
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
683 build=$build_alias
684 host=$host_alias
685 target=$target_alias
686
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689   if test "x$build_alias" = x; then
690     cross_compiling=maybe
691     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692     If a cross compiler is detected then cross compile mode will be used." >&2
693   elif test "x$build_alias" != "x$host_alias"; then
694     cross_compiling=yes
695   fi
696 fi
697
698 ac_tool_prefix=
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701 test "$silent" = yes && exec 6>/dev/null
702
703
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706   ac_srcdir_defaulted=yes
707   # Try the directory containing this script, then its parent.
708   ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710          X"$0" : 'X\(//\)[^/]' \| \
711          X"$0" : 'X\(//\)$' \| \
712          X"$0" : 'X\(/\)' \| \
713          .     : '\(.\)' 2>/dev/null ||
714 echo X"$0" |
715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717           /^X\(\/\/\)$/{ s//\1/; q; }
718           /^X\(\/\).*/{ s//\1/; q; }
719           s/.*/./; q'`
720   srcdir=$ac_confdir
721   if test ! -r $srcdir/$ac_unique_file; then
722     srcdir=..
723   fi
724 else
725   ac_srcdir_defaulted=no
726 fi
727 if test ! -r $srcdir/$ac_unique_file; then
728   if test "$ac_srcdir_defaulted" = yes; then
729     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730    { (exit 1); exit 1; }; }
731   else
732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733    { (exit 1); exit 1; }; }
734   fi
735 fi
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738    { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
753 ac_env_CC_value=$CC
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CPP_set=${CPP+set}
769 ac_env_CPP_value=$CPP
770 ac_cv_env_CPP_set=${CPP+set}
771 ac_cv_env_CPP_value=$CPP
772
773 #
774 # Report the --help message.
775 #
776 if test "$ac_init_help" = "long"; then
777   # Omit some internal or obsolete options to make the list less imposing.
778   # This message is too long to be a string in the A/UX 3.1 sh.
779   cat <<_ACEOF
780 \`configure' configures this package to adapt to many kinds of systems.
781
782 Usage: $0 [OPTION]... [VAR=VALUE]...
783
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE.  See below for descriptions of some of the useful variables.
786
787 Defaults for the options are specified in brackets.
788
789 Configuration:
790   -h, --help              display this help and exit
791       --help=short        display options specific to this package
792       --help=recursive    display the short help of all the included packages
793   -V, --version           display version information and exit
794   -q, --quiet, --silent   do not print \`checking...' messages
795       --cache-file=FILE   cache test results in FILE [disabled]
796   -C, --config-cache      alias for \`--cache-file=config.cache'
797   -n, --no-create         do not create output files
798       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
799
800 _ACEOF
801
802   cat <<_ACEOF
803 Installation directories:
804   --prefix=PREFIX         install architecture-independent files in PREFIX
805                           [$ac_default_prefix]
806   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
807                           [PREFIX]
808
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
813
814 For better control, use the options below.
815
816 Fine tuning of the installation directories:
817   --bindir=DIR           user executables [EPREFIX/bin]
818   --sbindir=DIR          system admin executables [EPREFIX/sbin]
819   --libexecdir=DIR       program executables [EPREFIX/libexec]
820   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
821   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
822   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
823   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
824   --libdir=DIR           object code libraries [EPREFIX/lib]
825   --includedir=DIR       C header files [PREFIX/include]
826   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
827   --infodir=DIR          info documentation [PREFIX/info]
828   --mandir=DIR           man documentation [PREFIX/man]
829 _ACEOF
830
831   cat <<\_ACEOF
832
833 Program names:
834   --program-prefix=PREFIX            prepend PREFIX to installed program names
835   --program-suffix=SUFFIX            append SUFFIX to installed program names
836   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
837
838 System types:
839   --build=BUILD     configure for building on BUILD [guessed]
840   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
841 _ACEOF
842 fi
843
844 if test -n "$ac_init_help"; then
845
846   cat <<\_ACEOF
847
848 Optional Features:
849   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
850   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
851   --enable-maintainer-mode enable make rules and dependencies not useful
852                           (and sometimes confusing) to the casual installer
853   --disable-elf            disable builtin ELF support
854   --disable-elf-core       disable ELF core file support
855   --enable-fsect-man5      enable file formats in man section 5
856   --disable-dependency-tracking Speeds up one-time builds
857   --enable-dependency-tracking  Do not reject slow dependency extractors
858   --enable-shared=PKGS  build shared libraries default=yes
859   --enable-static=PKGS  build static libraries default=yes
860   --enable-fast-install=PKGS  optimize for fast installation default=yes
861   --disable-libtool-lock  avoid locking (might break parallel builds)
862   --disable-largefile     omit support for large files
863
864 Optional Packages:
865   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
866   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
867   --with-gnu-ld           assume the C compiler uses GNU ld default=no
868   --with-pic              try to use only PIC/non-PIC objects default=use both
869
870 Some influential environment variables:
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   CPP         C preprocessor
878
879 Use these variables to override the choices made by `configure' or to help
880 it to find libraries and programs with nonstandard names/locations.
881
882 _ACEOF
883 fi
884
885 if test "$ac_init_help" = "recursive"; then
886   # If there are subdirs, report their specific --help.
887   ac_popdir=`pwd`
888   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
889     test -d $ac_dir || continue
890     ac_builddir=.
891
892 if test "$ac_dir" != .; then
893   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
894   # A "../" for each directory in $ac_dir_suffix.
895   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
896 else
897   ac_dir_suffix= ac_top_builddir=
898 fi
899
900 case $srcdir in
901   .)  # No --srcdir option.  We are building in place.
902     ac_srcdir=.
903     if test -z "$ac_top_builddir"; then
904        ac_top_srcdir=.
905     else
906        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
907     fi ;;
908   [\\/]* | ?:[\\/]* )  # Absolute path.
909     ac_srcdir=$srcdir$ac_dir_suffix;
910     ac_top_srcdir=$srcdir ;;
911   *) # Relative path.
912     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
913     ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 esac
915 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
916 # absolute.
917 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
918 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
919 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
920 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
921
922     cd $ac_dir
923     # Check for guested configure; otherwise get Cygnus style configure.
924     if test -f $ac_srcdir/configure.gnu; then
925       echo
926       $SHELL $ac_srcdir/configure.gnu  --help=recursive
927     elif test -f $ac_srcdir/configure; then
928       echo
929       $SHELL $ac_srcdir/configure  --help=recursive
930     elif test -f $ac_srcdir/configure.ac ||
931            test -f $ac_srcdir/configure.in; then
932       echo
933       $ac_configure --help
934     else
935       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
936     fi
937     cd $ac_popdir
938   done
939 fi
940
941 test -n "$ac_init_help" && exit 0
942 if $ac_init_version; then
943   cat <<\_ACEOF
944
945 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
946 Free Software Foundation, Inc.
947 This configure script is free software; the Free Software Foundation
948 gives unlimited permission to copy, distribute and modify it.
949 _ACEOF
950   exit 0
951 fi
952 exec 5>config.log
953 cat >&5 <<_ACEOF
954 This file contains any messages produced by compilers while
955 running configure, to aid debugging if configure makes a mistake.
956
957 It was created by $as_me, which was
958 generated by GNU Autoconf 2.57.  Invocation command line was
959
960   $ $0 $@
961
962 _ACEOF
963 {
964 cat <<_ASUNAME
965 ## --------- ##
966 ## Platform. ##
967 ## --------- ##
968
969 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
970 uname -m = `(uname -m) 2>/dev/null || echo unknown`
971 uname -r = `(uname -r) 2>/dev/null || echo unknown`
972 uname -s = `(uname -s) 2>/dev/null || echo unknown`
973 uname -v = `(uname -v) 2>/dev/null || echo unknown`
974
975 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
976 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
977
978 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
979 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
980 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
981 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
982 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
983 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
984 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
985
986 _ASUNAME
987
988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
989 for as_dir in $PATH
990 do
991   IFS=$as_save_IFS
992   test -z "$as_dir" && as_dir=.
993   echo "PATH: $as_dir"
994 done
995
996 } >&5
997
998 cat >&5 <<_ACEOF
999
1000
1001 ## ----------- ##
1002 ## Core tests. ##
1003 ## ----------- ##
1004
1005 _ACEOF
1006
1007
1008 # Keep a trace of the command line.
1009 # Strip out --no-create and --no-recursion so they do not pile up.
1010 # Strip out --silent because we don't want to record it for future runs.
1011 # Also quote any args containing shell meta-characters.
1012 # Make two passes to allow for proper duplicate-argument suppression.
1013 ac_configure_args=
1014 ac_configure_args0=
1015 ac_configure_args1=
1016 ac_sep=
1017 ac_must_keep_next=false
1018 for ac_pass in 1 2
1019 do
1020   for ac_arg
1021   do
1022     case $ac_arg in
1023     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1024     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1025     | -silent | --silent | --silen | --sile | --sil)
1026       continue ;;
1027     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1028       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1029     esac
1030     case $ac_pass in
1031     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1032     2)
1033       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1034       if test $ac_must_keep_next = true; then
1035         ac_must_keep_next=false # Got value, back to normal.
1036       else
1037         case $ac_arg in
1038           *=* | --config-cache | -C | -disable-* | --disable-* \
1039           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1040           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1041           | -with-* | --with-* | -without-* | --without-* | --x)
1042             case "$ac_configure_args0 " in
1043               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1044             esac
1045             ;;
1046           -* ) ac_must_keep_next=true ;;
1047         esac
1048       fi
1049       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050       # Get rid of the leading space.
1051       ac_sep=" "
1052       ;;
1053     esac
1054   done
1055 done
1056 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1057 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1058
1059 # When interrupted or exit'd, cleanup temporary files, and complete
1060 # config.log.  We remove comments because anyway the quotes in there
1061 # would cause problems or look ugly.
1062 # WARNING: Be sure not to use single quotes in there, as some shells,
1063 # such as our DU 5.0 friend, will then `close' the trap.
1064 trap 'exit_status=$?
1065   # Save into config.log some information that might help in debugging.
1066   {
1067     echo
1068
1069     cat <<\_ASBOX
1070 ## ---------------- ##
1071 ## Cache variables. ##
1072 ## ---------------- ##
1073 _ASBOX
1074     echo
1075     # The following way of writing the cache mishandles newlines in values,
1076 {
1077   (set) 2>&1 |
1078     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1079     *ac_space=\ *)
1080       sed -n \
1081         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1082           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1083       ;;
1084     *)
1085       sed -n \
1086         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1087       ;;
1088     esac;
1089 }
1090     echo
1091
1092     cat <<\_ASBOX
1093 ## ----------------- ##
1094 ## Output variables. ##
1095 ## ----------------- ##
1096 _ASBOX
1097     echo
1098     for ac_var in $ac_subst_vars
1099     do
1100       eval ac_val=$`echo $ac_var`
1101       echo "$ac_var='"'"'$ac_val'"'"'"
1102     done | sort
1103     echo
1104
1105     if test -n "$ac_subst_files"; then
1106       cat <<\_ASBOX
1107 ## ------------- ##
1108 ## Output files. ##
1109 ## ------------- ##
1110 _ASBOX
1111       echo
1112       for ac_var in $ac_subst_files
1113       do
1114         eval ac_val=$`echo $ac_var`
1115         echo "$ac_var='"'"'$ac_val'"'"'"
1116       done | sort
1117       echo
1118     fi
1119
1120     if test -s confdefs.h; then
1121       cat <<\_ASBOX
1122 ## ----------- ##
1123 ## confdefs.h. ##
1124 ## ----------- ##
1125 _ASBOX
1126       echo
1127       sed "/^$/d" confdefs.h | sort
1128       echo
1129     fi
1130     test "$ac_signal" != 0 &&
1131       echo "$as_me: caught signal $ac_signal"
1132     echo "$as_me: exit $exit_status"
1133   } >&5
1134   rm -f core core.* *.core &&
1135   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1136     exit $exit_status
1137      ' 0
1138 for ac_signal in 1 2 13 15; do
1139   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1140 done
1141 ac_signal=0
1142
1143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1144 rm -rf conftest* confdefs.h
1145 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1146 echo >confdefs.h
1147
1148 # Predefined preprocessor variables.
1149
1150 cat >>confdefs.h <<_ACEOF
1151 #define PACKAGE_NAME "$PACKAGE_NAME"
1152 _ACEOF
1153
1154
1155 cat >>confdefs.h <<_ACEOF
1156 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1157 _ACEOF
1158
1159
1160 cat >>confdefs.h <<_ACEOF
1161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1162 _ACEOF
1163
1164
1165 cat >>confdefs.h <<_ACEOF
1166 #define PACKAGE_STRING "$PACKAGE_STRING"
1167 _ACEOF
1168
1169
1170 cat >>confdefs.h <<_ACEOF
1171 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1172 _ACEOF
1173
1174
1175 # Let the site file select an alternate cache file if it wants to.
1176 # Prefer explicitly selected file to automatically selected ones.
1177 if test -z "$CONFIG_SITE"; then
1178   if test "x$prefix" != xNONE; then
1179     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1180   else
1181     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1182   fi
1183 fi
1184 for ac_site_file in $CONFIG_SITE; do
1185   if test -r "$ac_site_file"; then
1186     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1187 echo "$as_me: loading site script $ac_site_file" >&6;}
1188     sed 's/^/| /' "$ac_site_file" >&5
1189     . "$ac_site_file"
1190   fi
1191 done
1192
1193 if test -r "$cache_file"; then
1194   # Some versions of bash will fail to source /dev/null (special
1195   # files actually), so we avoid doing that.
1196   if test -f "$cache_file"; then
1197     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1198 echo "$as_me: loading cache $cache_file" >&6;}
1199     case $cache_file in
1200       [\\/]* | ?:[\\/]* ) . $cache_file;;
1201       *)                      . ./$cache_file;;
1202     esac
1203   fi
1204 else
1205   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1206 echo "$as_me: creating cache $cache_file" >&6;}
1207   >$cache_file
1208 fi
1209
1210 # Check that the precious variables saved in the cache have kept the same
1211 # value.
1212 ac_cache_corrupted=false
1213 for ac_var in `(set) 2>&1 |
1214                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1215   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1216   eval ac_new_set=\$ac_env_${ac_var}_set
1217   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1218   eval ac_new_val="\$ac_env_${ac_var}_value"
1219   case $ac_old_set,$ac_new_set in
1220     set,)
1221       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1222 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1223       ac_cache_corrupted=: ;;
1224     ,set)
1225       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1226 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1227       ac_cache_corrupted=: ;;
1228     ,);;
1229     *)
1230       if test "x$ac_old_val" != "x$ac_new_val"; then
1231         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1232 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1233         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1234 echo "$as_me:   former value:  $ac_old_val" >&2;}
1235         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1236 echo "$as_me:   current value: $ac_new_val" >&2;}
1237         ac_cache_corrupted=:
1238       fi;;
1239   esac
1240   # Pass precious variables to config.status.
1241   if test "$ac_new_set" = set; then
1242     case $ac_new_val in
1243     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1244       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1245     *) ac_arg=$ac_var=$ac_new_val ;;
1246     esac
1247     case " $ac_configure_args " in
1248       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1249       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1250     esac
1251   fi
1252 done
1253 if $ac_cache_corrupted; then
1254   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1255 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1256   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1257 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1258    { (exit 1); exit 1; }; }
1259 fi
1260
1261 ac_ext=c
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285 am__api_version="1.7"
1286 ac_aux_dir=
1287 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1288   if test -f $ac_dir/install-sh; then
1289     ac_aux_dir=$ac_dir
1290     ac_install_sh="$ac_aux_dir/install-sh -c"
1291     break
1292   elif test -f $ac_dir/install.sh; then
1293     ac_aux_dir=$ac_dir
1294     ac_install_sh="$ac_aux_dir/install.sh -c"
1295     break
1296   elif test -f $ac_dir/shtool; then
1297     ac_aux_dir=$ac_dir
1298     ac_install_sh="$ac_aux_dir/shtool install -c"
1299     break
1300   fi
1301 done
1302 if test -z "$ac_aux_dir"; then
1303   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1304 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1305    { (exit 1); exit 1; }; }
1306 fi
1307 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1308 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1309 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1310
1311 # Find a good install program.  We prefer a C program (faster),
1312 # so one script is as good as another.  But avoid the broken or
1313 # incompatible versions:
1314 # SysV /etc/install, /usr/sbin/install
1315 # SunOS /usr/etc/install
1316 # IRIX /sbin/install
1317 # AIX /bin/install
1318 # AmigaOS /C/install, which installs bootblocks on floppy discs
1319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1322 # ./install, which can be erroneously created by make from ./install.sh.
1323 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1324 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1325 if test -z "$INSTALL"; then
1326 if test "${ac_cv_path_install+set}" = set; then
1327   echo $ECHO_N "(cached) $ECHO_C" >&6
1328 else
1329   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1330 for as_dir in $PATH
1331 do
1332   IFS=$as_save_IFS
1333   test -z "$as_dir" && as_dir=.
1334   # Account for people who put trailing slashes in PATH elements.
1335 case $as_dir/ in
1336   ./ | .// | /cC/* | \
1337   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1338   /usr/ucb/* ) ;;
1339   *)
1340     # OSF1 and SCO ODT 3.0 have their own names for install.
1341     # Don't use installbsd from OSF since it installs stuff as root
1342     # by default.
1343     for ac_prog in ginstall scoinst install; do
1344       for ac_exec_ext in '' $ac_executable_extensions; do
1345         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1346           if test $ac_prog = install &&
1347             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1348             # AIX install.  It has an incompatible calling convention.
1349             :
1350           elif test $ac_prog = install &&
1351             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352             # program-specific install script used by HP pwplus--don't use.
1353             :
1354           else
1355             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1356             break 3
1357           fi
1358         fi
1359       done
1360     done
1361     ;;
1362 esac
1363 done
1364
1365
1366 fi
1367   if test "${ac_cv_path_install+set}" = set; then
1368     INSTALL=$ac_cv_path_install
1369   else
1370     # As a last resort, use the slow shell script.  We don't cache a
1371     # path for INSTALL within a source directory, because that will
1372     # break other packages using the cache if that directory is
1373     # removed, or if the path is relative.
1374     INSTALL=$ac_install_sh
1375   fi
1376 fi
1377 echo "$as_me:$LINENO: result: $INSTALL" >&5
1378 echo "${ECHO_T}$INSTALL" >&6
1379
1380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1381 # It thinks the first close brace ends the variable substitution.
1382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1383
1384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1385
1386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1387
1388 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1389 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1390 # Just in case
1391 sleep 1
1392 echo timestamp > conftest.file
1393 # Do `set' in a subshell so we don't clobber the current shell's
1394 # arguments.  Must try -L first in case configure is actually a
1395 # symlink; some systems play weird games with the mod time of symlinks
1396 # (eg FreeBSD returns the mod time of the symlink's containing
1397 # directory).
1398 if (
1399    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1400    if test "$*" = "X"; then
1401       # -L didn't work.
1402       set X `ls -t $srcdir/configure conftest.file`
1403    fi
1404    rm -f conftest.file
1405    if test "$*" != "X $srcdir/configure conftest.file" \
1406       && test "$*" != "X conftest.file $srcdir/configure"; then
1407
1408       # If neither matched, then we have a broken ls.  This can happen
1409       # if, for instance, CONFIG_SHELL is bash and it inherits a
1410       # broken ls alias from the environment.  This has actually
1411       # happened.  Such a system could not be considered "sane".
1412       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1413 alias in your environment" >&5
1414 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1415 alias in your environment" >&2;}
1416    { (exit 1); exit 1; }; }
1417    fi
1418
1419    test "$2" = conftest.file
1420    )
1421 then
1422    # Ok.
1423    :
1424 else
1425    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1426 Check your system clock" >&5
1427 echo "$as_me: error: newly created file is older than distributed files!
1428 Check your system clock" >&2;}
1429    { (exit 1); exit 1; }; }
1430 fi
1431 echo "$as_me:$LINENO: result: yes" >&5
1432 echo "${ECHO_T}yes" >&6
1433 test "$program_prefix" != NONE &&
1434   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1435 # Use a double $ so make ignores it.
1436 test "$program_suffix" != NONE &&
1437   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1438 # Double any \ or $.  echo might interpret backslashes.
1439 # By default was `s,x,x', remove it if useless.
1440 cat <<\_ACEOF >conftest.sed
1441 s/[\\$]/&&/g;s/;s,x,x,$//
1442 _ACEOF
1443 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1444 rm conftest.sed
1445
1446
1447 # expand $ac_aux_dir to an absolute path
1448 am_aux_dir=`cd $ac_aux_dir && pwd`
1449
1450 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1451 # Use eval to expand $SHELL
1452 if eval "$MISSING --run true"; then
1453   am_missing_run="$MISSING --run "
1454 else
1455   am_missing_run=
1456   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1457 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1458 fi
1459
1460 for ac_prog in gawk mawk nawk awk
1461 do
1462   # Extract the first word of "$ac_prog", so it can be a program name with args.
1463 set dummy $ac_prog; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_AWK+set}" = set; then
1467   echo $ECHO_N "(cached) $ECHO_C" >&6
1468 else
1469   if test -n "$AWK"; then
1470   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1471 else
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473 for as_dir in $PATH
1474 do
1475   IFS=$as_save_IFS
1476   test -z "$as_dir" && as_dir=.
1477   for ac_exec_ext in '' $ac_executable_extensions; do
1478   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479     ac_cv_prog_AWK="$ac_prog"
1480     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1481     break 2
1482   fi
1483 done
1484 done
1485
1486 fi
1487 fi
1488 AWK=$ac_cv_prog_AWK
1489 if test -n "$AWK"; then
1490   echo "$as_me:$LINENO: result: $AWK" >&5
1491 echo "${ECHO_T}$AWK" >&6
1492 else
1493   echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1495 fi
1496
1497   test -n "$AWK" && break
1498 done
1499
1500 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1502 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1503 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1504   echo $ECHO_N "(cached) $ECHO_C" >&6
1505 else
1506   cat >conftest.make <<\_ACEOF
1507 all:
1508         @echo 'ac_maketemp="$(MAKE)"'
1509 _ACEOF
1510 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1511 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1512 if test -n "$ac_maketemp"; then
1513   eval ac_cv_prog_make_${ac_make}_set=yes
1514 else
1515   eval ac_cv_prog_make_${ac_make}_set=no
1516 fi
1517 rm -f conftest.make
1518 fi
1519 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1520   echo "$as_me:$LINENO: result: yes" >&5
1521 echo "${ECHO_T}yes" >&6
1522   SET_MAKE=
1523 else
1524   echo "$as_me:$LINENO: result: no" >&5
1525 echo "${ECHO_T}no" >&6
1526   SET_MAKE="MAKE=${MAKE-make}"
1527 fi
1528
1529 rm -rf .tst 2>/dev/null
1530 mkdir .tst 2>/dev/null
1531 if test -d .tst; then
1532   am__leading_dot=.
1533 else
1534   am__leading_dot=_
1535 fi
1536 rmdir .tst 2>/dev/null
1537
1538  # test to see if srcdir already configured
1539 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1540    test -f $srcdir/config.status; then
1541   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1542 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1543    { (exit 1); exit 1; }; }
1544 fi
1545
1546 # test whether we have cygpath
1547 if test -z "$CYGPATH_W"; then
1548   if (cygpath --version) >/dev/null 2>/dev/null; then
1549     CYGPATH_W='cygpath -w'
1550   else
1551     CYGPATH_W=echo
1552   fi
1553 fi
1554
1555
1556 # Define the identity of the package.
1557  PACKAGE=file
1558  VERSION=4.10
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE "$PACKAGE"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define VERSION "$VERSION"
1568 _ACEOF
1569
1570 # Some tools Automake needs.
1571
1572 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1573
1574
1575 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1576
1577
1578 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1579
1580
1581 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1582
1583
1584 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1585
1586
1587 AMTAR=${AMTAR-"${am_missing_run}tar"}
1588
1589 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1590
1591 # Installed binaries are usually stripped using `strip' when the user
1592 # run `make install-strip'.  However `strip' might not be the right
1593 # tool to use in cross-compilation environments, therefore Automake
1594 # will honor the `STRIP' environment variable to overrule this program.
1595 if test "$cross_compiling" != no; then
1596   if test -n "$ac_tool_prefix"; then
1597   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1598 set dummy ${ac_tool_prefix}strip; ac_word=$2
1599 echo "$as_me:$LINENO: checking for $ac_word" >&5
1600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1601 if test "${ac_cv_prog_STRIP+set}" = set; then
1602   echo $ECHO_N "(cached) $ECHO_C" >&6
1603 else
1604   if test -n "$STRIP"; then
1605   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1606 else
1607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608 for as_dir in $PATH
1609 do
1610   IFS=$as_save_IFS
1611   test -z "$as_dir" && as_dir=.
1612   for ac_exec_ext in '' $ac_executable_extensions; do
1613   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1614     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1616     break 2
1617   fi
1618 done
1619 done
1620
1621 fi
1622 fi
1623 STRIP=$ac_cv_prog_STRIP
1624 if test -n "$STRIP"; then
1625   echo "$as_me:$LINENO: result: $STRIP" >&5
1626 echo "${ECHO_T}$STRIP" >&6
1627 else
1628   echo "$as_me:$LINENO: result: no" >&5
1629 echo "${ECHO_T}no" >&6
1630 fi
1631
1632 fi
1633 if test -z "$ac_cv_prog_STRIP"; then
1634   ac_ct_STRIP=$STRIP
1635   # Extract the first word of "strip", so it can be a program name with args.
1636 set dummy strip; ac_word=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1640   echo $ECHO_N "(cached) $ECHO_C" >&6
1641 else
1642   if test -n "$ac_ct_STRIP"; then
1643   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1644 else
1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646 for as_dir in $PATH
1647 do
1648   IFS=$as_save_IFS
1649   test -z "$as_dir" && as_dir=.
1650   for ac_exec_ext in '' $ac_executable_extensions; do
1651   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652     ac_cv_prog_ac_ct_STRIP="strip"
1653     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1654     break 2
1655   fi
1656 done
1657 done
1658
1659   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1660 fi
1661 fi
1662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1663 if test -n "$ac_ct_STRIP"; then
1664   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1665 echo "${ECHO_T}$ac_ct_STRIP" >&6
1666 else
1667   echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1669 fi
1670
1671   STRIP=$ac_ct_STRIP
1672 else
1673   STRIP="$ac_cv_prog_STRIP"
1674 fi
1675
1676 fi
1677 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1678
1679 # We need awk for the "check" target.  The system "awk" is bad on
1680 # some platforms.
1681
1682
1683
1684           ac_config_headers="$ac_config_headers config.h"
1685
1686 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1687 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1688     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1689 if test "${enable_maintainer_mode+set}" = set; then
1690   enableval="$enable_maintainer_mode"
1691   USE_MAINTAINER_MODE=$enableval
1692 else
1693   USE_MAINTAINER_MODE=no
1694 fi;
1695   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1696 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1697
1698
1699 if test $USE_MAINTAINER_MODE = yes; then
1700   MAINTAINER_MODE_TRUE=
1701   MAINTAINER_MODE_FALSE='#'
1702 else
1703   MAINTAINER_MODE_TRUE='#'
1704   MAINTAINER_MODE_FALSE=
1705 fi
1706
1707   MAINT=$MAINTAINER_MODE_TRUE
1708
1709
1710
1711 echo "$as_me:$LINENO: checking for builtin ELF support" >&5
1712 echo $ECHO_N "checking for builtin ELF support... $ECHO_C" >&6
1713 # Check whether --enable-elf or --disable-elf was given.
1714 if test "${enable_elf+set}" = set; then
1715   enableval="$enable_elf"
1716   if test "${enableval}" = yes; then
1717   echo "$as_me:$LINENO: result: yes" >&5
1718 echo "${ECHO_T}yes" >&6
1719   cat >>confdefs.h <<\_ACEOF
1720 #define BUILTIN_ELF 1
1721 _ACEOF
1722
1723 else
1724   echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1726 fi
1727 else
1728
1729   # enable by default
1730   echo "$as_me:$LINENO: result: yes" >&5
1731 echo "${ECHO_T}yes" >&6
1732   cat >>confdefs.h <<\_ACEOF
1733 #define BUILTIN_ELF 1
1734 _ACEOF
1735
1736
1737 fi;
1738
1739 echo "$as_me:$LINENO: checking for ELF core file support" >&5
1740 echo $ECHO_N "checking for ELF core file support... $ECHO_C" >&6
1741 # Check whether --enable-elf-core or --disable-elf-core was given.
1742 if test "${enable_elf_core+set}" = set; then
1743   enableval="$enable_elf_core"
1744   if test "${enableval}" = yes; then
1745   echo "$as_me:$LINENO: result: yes" >&5
1746 echo "${ECHO_T}yes" >&6
1747   cat >>confdefs.h <<\_ACEOF
1748 #define ELFCORE 1
1749 _ACEOF
1750
1751 else
1752   echo "$as_me:$LINENO: result: no" >&5
1753 echo "${ECHO_T}no" >&6
1754 fi
1755 else
1756
1757   # enable by default
1758   echo "$as_me:$LINENO: result: yes" >&5
1759 echo "${ECHO_T}yes" >&6
1760   cat >>confdefs.h <<\_ACEOF
1761 #define ELFCORE 1
1762 _ACEOF
1763
1764
1765 fi;
1766
1767 echo "$as_me:$LINENO: checking for file formats in man section 5" >&5
1768 echo $ECHO_N "checking for file formats in man section 5... $ECHO_C" >&6
1769 # Check whether --enable-fsect-man5 or --disable-fsect-man5 was given.
1770 if test "${enable_fsect_man5+set}" = set; then
1771   enableval="$enable_fsect_man5"
1772   if test "${enableval}" = yes; then
1773   echo "$as_me:$LINENO: result: yes" >&5
1774 echo "${ECHO_T}yes" >&6
1775   fsect=5
1776 else
1777   echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1779   fsect=4
1780 fi
1781 else
1782
1783   # disable by default
1784   echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1786   fsect=4
1787
1788 fi;
1789
1790
1791
1792 if test x$fsect = x5; then
1793   FSECT5_TRUE=
1794   FSECT5_FALSE='#'
1795 else
1796   FSECT5_TRUE='#'
1797   FSECT5_FALSE=
1798 fi
1799
1800
1801 ac_ext=c
1802 ac_cpp='$CPP $CPPFLAGS'
1803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1806 if test -n "$ac_tool_prefix"; then
1807   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1808 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1809 echo "$as_me:$LINENO: checking for $ac_word" >&5
1810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1811 if test "${ac_cv_prog_CC+set}" = set; then
1812   echo $ECHO_N "(cached) $ECHO_C" >&6
1813 else
1814   if test -n "$CC"; then
1815   ac_cv_prog_CC="$CC" # Let the user override the test.
1816 else
1817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1818 for as_dir in $PATH
1819 do
1820   IFS=$as_save_IFS
1821   test -z "$as_dir" && as_dir=.
1822   for ac_exec_ext in '' $ac_executable_extensions; do
1823   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1824     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1825     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1826     break 2
1827   fi
1828 done
1829 done
1830
1831 fi
1832 fi
1833 CC=$ac_cv_prog_CC
1834 if test -n "$CC"; then
1835   echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1837 else
1838   echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1840 fi
1841
1842 fi
1843 if test -z "$ac_cv_prog_CC"; then
1844   ac_ct_CC=$CC
1845   # Extract the first word of "gcc", so it can be a program name with args.
1846 set dummy gcc; ac_word=$2
1847 echo "$as_me:$LINENO: checking for $ac_word" >&5
1848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1850   echo $ECHO_N "(cached) $ECHO_C" >&6
1851 else
1852   if test -n "$ac_ct_CC"; then
1853   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1854 else
1855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1856 for as_dir in $PATH
1857 do
1858   IFS=$as_save_IFS
1859   test -z "$as_dir" && as_dir=.
1860   for ac_exec_ext in '' $ac_executable_extensions; do
1861   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1862     ac_cv_prog_ac_ct_CC="gcc"
1863     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864     break 2
1865   fi
1866 done
1867 done
1868
1869 fi
1870 fi
1871 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1872 if test -n "$ac_ct_CC"; then
1873   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1874 echo "${ECHO_T}$ac_ct_CC" >&6
1875 else
1876   echo "$as_me:$LINENO: result: no" >&5
1877 echo "${ECHO_T}no" >&6
1878 fi
1879
1880   CC=$ac_ct_CC
1881 else
1882   CC="$ac_cv_prog_CC"
1883 fi
1884
1885 if test -z "$CC"; then
1886   if test -n "$ac_tool_prefix"; then
1887   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1888 set dummy ${ac_tool_prefix}cc; ac_word=$2
1889 echo "$as_me:$LINENO: checking for $ac_word" >&5
1890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1891 if test "${ac_cv_prog_CC+set}" = set; then
1892   echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894   if test -n "$CC"; then
1895   ac_cv_prog_CC="$CC" # Let the user override the test.
1896 else
1897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1898 for as_dir in $PATH
1899 do
1900   IFS=$as_save_IFS
1901   test -z "$as_dir" && as_dir=.
1902   for ac_exec_ext in '' $ac_executable_extensions; do
1903   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1904     ac_cv_prog_CC="${ac_tool_prefix}cc"
1905     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1906     break 2
1907   fi
1908 done
1909 done
1910
1911 fi
1912 fi
1913 CC=$ac_cv_prog_CC
1914 if test -n "$CC"; then
1915   echo "$as_me:$LINENO: result: $CC" >&5
1916 echo "${ECHO_T}$CC" >&6
1917 else
1918   echo "$as_me:$LINENO: result: no" >&5
1919 echo "${ECHO_T}no" >&6
1920 fi
1921
1922 fi
1923 if test -z "$ac_cv_prog_CC"; then
1924   ac_ct_CC=$CC
1925   # Extract the first word of "cc", so it can be a program name with args.
1926 set dummy cc; ac_word=$2
1927 echo "$as_me:$LINENO: checking for $ac_word" >&5
1928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1930   echo $ECHO_N "(cached) $ECHO_C" >&6
1931 else
1932   if test -n "$ac_ct_CC"; then
1933   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1934 else
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1937 do
1938   IFS=$as_save_IFS
1939   test -z "$as_dir" && as_dir=.
1940   for ac_exec_ext in '' $ac_executable_extensions; do
1941   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1942     ac_cv_prog_ac_ct_CC="cc"
1943     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1944     break 2
1945   fi
1946 done
1947 done
1948
1949 fi
1950 fi
1951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1952 if test -n "$ac_ct_CC"; then
1953   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1954 echo "${ECHO_T}$ac_ct_CC" >&6
1955 else
1956   echo "$as_me:$LINENO: result: no" >&5
1957 echo "${ECHO_T}no" >&6
1958 fi
1959
1960   CC=$ac_ct_CC
1961 else
1962   CC="$ac_cv_prog_CC"
1963 fi
1964
1965 fi
1966 if test -z "$CC"; then
1967   # Extract the first word of "cc", so it can be a program name with args.
1968 set dummy cc; ac_word=$2
1969 echo "$as_me:$LINENO: checking for $ac_word" >&5
1970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1971 if test "${ac_cv_prog_CC+set}" = set; then
1972   echo $ECHO_N "(cached) $ECHO_C" >&6
1973 else
1974   if test -n "$CC"; then
1975   ac_cv_prog_CC="$CC" # Let the user override the test.
1976 else
1977   ac_prog_rejected=no
1978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 for as_dir in $PATH
1980 do
1981   IFS=$as_save_IFS
1982   test -z "$as_dir" && as_dir=.
1983   for ac_exec_ext in '' $ac_executable_extensions; do
1984   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1985     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1986        ac_prog_rejected=yes
1987        continue
1988      fi
1989     ac_cv_prog_CC="cc"
1990     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1991     break 2
1992   fi
1993 done
1994 done
1995
1996 if test $ac_prog_rejected = yes; then
1997   # We found a bogon in the path, so make sure we never use it.
1998   set dummy $ac_cv_prog_CC
1999   shift
2000   if test $# != 0; then
2001     # We chose a different compiler from the bogus one.
2002     # However, it has the same basename, so the bogon will be chosen
2003     # first if we set CC to just the basename; use the full file name.
2004     shift
2005     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2006   fi
2007 fi
2008 fi
2009 fi
2010 CC=$ac_cv_prog_CC
2011 if test -n "$CC"; then
2012   echo "$as_me:$LINENO: result: $CC" >&5
2013 echo "${ECHO_T}$CC" >&6
2014 else
2015   echo "$as_me:$LINENO: result: no" >&5
2016 echo "${ECHO_T}no" >&6
2017 fi
2018
2019 fi
2020 if test -z "$CC"; then
2021   if test -n "$ac_tool_prefix"; then
2022   for ac_prog in cl
2023   do
2024     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2025 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2026 echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029   echo $ECHO_N "(cached) $ECHO_C" >&6
2030 else
2031   if test -n "$CC"; then
2032   ac_cv_prog_CC="$CC" # Let the user override the test.
2033 else
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 for as_dir in $PATH
2036 do
2037   IFS=$as_save_IFS
2038   test -z "$as_dir" && as_dir=.
2039   for ac_exec_ext in '' $ac_executable_extensions; do
2040   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2041     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043     break 2
2044   fi
2045 done
2046 done
2047
2048 fi
2049 fi
2050 CC=$ac_cv_prog_CC
2051 if test -n "$CC"; then
2052   echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6
2054 else
2055   echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6
2057 fi
2058
2059     test -n "$CC" && break
2060   done
2061 fi
2062 if test -z "$CC"; then
2063   ac_ct_CC=$CC
2064   for ac_prog in cl
2065 do
2066   # Extract the first word of "$ac_prog", so it can be a program name with args.
2067 set dummy $ac_prog; ac_word=$2
2068 echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2071   echo $ECHO_N "(cached) $ECHO_C" >&6
2072 else
2073   if test -n "$ac_ct_CC"; then
2074   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2075 else
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2077 for as_dir in $PATH
2078 do
2079   IFS=$as_save_IFS
2080   test -z "$as_dir" && as_dir=.
2081   for ac_exec_ext in '' $ac_executable_extensions; do
2082   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2083     ac_cv_prog_ac_ct_CC="$ac_prog"
2084     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085     break 2
2086   fi
2087 done
2088 done
2089
2090 fi
2091 fi
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2095 echo "${ECHO_T}$ac_ct_CC" >&6
2096 else
2097   echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6
2099 fi
2100
2101   test -n "$ac_ct_CC" && break
2102 done
2103
2104   CC=$ac_ct_CC
2105 fi
2106
2107 fi
2108
2109
2110 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: no acceptable C compiler found in \$PATH
2113 See \`config.log' for more details." >&2;}
2114    { (exit 1); exit 1; }; }
2115
2116 # Provide some information about the compiler.
2117 echo "$as_me:$LINENO:" \
2118      "checking for C compiler version" >&5
2119 ac_compiler=`set X $ac_compile; echo $2`
2120 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2121   (eval $ac_compiler --version </dev/null >&5) 2>&5
2122   ac_status=$?
2123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124   (exit $ac_status); }
2125 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2126   (eval $ac_compiler -v </dev/null >&5) 2>&5
2127   ac_status=$?
2128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129   (exit $ac_status); }
2130 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2131   (eval $ac_compiler -V </dev/null >&5) 2>&5
2132   ac_status=$?
2133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134   (exit $ac_status); }
2135
2136 cat >conftest.$ac_ext <<_ACEOF
2137 #line $LINENO "configure"
2138 /* confdefs.h.  */
2139 _ACEOF
2140 cat confdefs.h >>conftest.$ac_ext
2141 cat >>conftest.$ac_ext <<_ACEOF
2142 /* end confdefs.h.  */
2143
2144 int
2145 main ()
2146 {
2147
2148   ;
2149   return 0;
2150 }
2151 _ACEOF
2152 ac_clean_files_save=$ac_clean_files
2153 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2154 # Try to create an executable without -o first, disregard a.out.
2155 # It will help us diagnose broken compilers, and finding out an intuition
2156 # of exeext.
2157 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2158 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2159 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2160 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2161   (eval $ac_link_default) 2>&5
2162   ac_status=$?
2163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164   (exit $ac_status); }; then
2165   # Find the output, starting from the most likely.  This scheme is
2166 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2167 # resort.
2168
2169 # Be careful to initialize this variable, since it used to be cached.
2170 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2171 ac_cv_exeext=
2172 # b.out is created by i960 compilers.
2173 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2174 do
2175   test -f "$ac_file" || continue
2176   case $ac_file in
2177     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2178         ;;
2179     conftest.$ac_ext )
2180         # This is the source file.
2181         ;;
2182     [ab].out )
2183         # We found the default executable, but exeext='' is most
2184         # certainly right.
2185         break;;
2186     *.* )
2187         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2188         # FIXME: I believe we export ac_cv_exeext for Libtool,
2189         # but it would be cool to find out if it's true.  Does anybody
2190         # maintain Libtool? --akim.
2191         export ac_cv_exeext
2192         break;;
2193     * )
2194         break;;
2195   esac
2196 done
2197 else
2198   echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2200
2201 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2202 See \`config.log' for more details." >&5
2203 echo "$as_me: error: C compiler cannot create executables
2204 See \`config.log' for more details." >&2;}
2205    { (exit 77); exit 77; }; }
2206 fi
2207
2208 ac_exeext=$ac_cv_exeext
2209 echo "$as_me:$LINENO: result: $ac_file" >&5
2210 echo "${ECHO_T}$ac_file" >&6
2211
2212 # Check the compiler produces executables we can run.  If not, either
2213 # the compiler is broken, or we cross compile.
2214 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2215 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2216 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2217 # If not cross compiling, check that we can run a simple program.
2218 if test "$cross_compiling" != yes; then
2219   if { ac_try='./$ac_file'
2220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221   (eval $ac_try) 2>&5
2222   ac_status=$?
2223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224   (exit $ac_status); }; }; then
2225     cross_compiling=no
2226   else
2227     if test "$cross_compiling" = maybe; then
2228         cross_compiling=yes
2229     else
2230         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2231 If you meant to cross compile, use \`--host'.
2232 See \`config.log' for more details." >&5
2233 echo "$as_me: error: cannot run C compiled programs.
2234 If you meant to cross compile, use \`--host'.
2235 See \`config.log' for more details." >&2;}
2236    { (exit 1); exit 1; }; }
2237     fi
2238   fi
2239 fi
2240 echo "$as_me:$LINENO: result: yes" >&5
2241 echo "${ECHO_T}yes" >&6
2242
2243 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2244 ac_clean_files=$ac_clean_files_save
2245 # Check the compiler produces executables we can run.  If not, either
2246 # the compiler is broken, or we cross compile.
2247 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2248 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2249 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2250 echo "${ECHO_T}$cross_compiling" >&6
2251
2252 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2253 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2255   (eval $ac_link) 2>&5
2256   ac_status=$?
2257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258   (exit $ac_status); }; then
2259   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2260 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2261 # work properly (i.e., refer to `conftest.exe'), while it won't with
2262 # `rm'.
2263 for ac_file in conftest.exe conftest conftest.*; do
2264   test -f "$ac_file" || continue
2265   case $ac_file in
2266     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2267     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2268           export ac_cv_exeext
2269           break;;
2270     * ) break;;
2271   esac
2272 done
2273 else
2274   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2275 See \`config.log' for more details." >&5
2276 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2277 See \`config.log' for more details." >&2;}
2278    { (exit 1); exit 1; }; }
2279 fi
2280
2281 rm -f conftest$ac_cv_exeext
2282 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2283 echo "${ECHO_T}$ac_cv_exeext" >&6
2284
2285 rm -f conftest.$ac_ext
2286 EXEEXT=$ac_cv_exeext
2287 ac_exeext=$EXEEXT
2288 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2289 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2290 if test "${ac_cv_objext+set}" = set; then
2291   echo $ECHO_N "(cached) $ECHO_C" >&6
2292 else
2293   cat >conftest.$ac_ext <<_ACEOF
2294 #line $LINENO "configure"
2295 /* confdefs.h.  */
2296 _ACEOF
2297 cat confdefs.h >>conftest.$ac_ext
2298 cat >>conftest.$ac_ext <<_ACEOF
2299 /* end confdefs.h.  */
2300
2301 int
2302 main ()
2303 {
2304
2305   ;
2306   return 0;
2307 }
2308 _ACEOF
2309 rm -f conftest.o conftest.obj
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311   (eval $ac_compile) 2>&5
2312   ac_status=$?
2313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314   (exit $ac_status); }; then
2315   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2316   case $ac_file in
2317     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2318     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2319        break;;
2320   esac
2321 done
2322 else
2323   echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2325
2326 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2329 See \`config.log' for more details." >&2;}
2330    { (exit 1); exit 1; }; }
2331 fi
2332
2333 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2334 fi
2335 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2336 echo "${ECHO_T}$ac_cv_objext" >&6
2337 OBJEXT=$ac_cv_objext
2338 ac_objext=$OBJEXT
2339 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2340 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2341 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2342   echo $ECHO_N "(cached) $ECHO_C" >&6
2343 else
2344   cat >conftest.$ac_ext <<_ACEOF
2345 #line $LINENO "configure"
2346 /* confdefs.h.  */
2347 _ACEOF
2348 cat confdefs.h >>conftest.$ac_ext
2349 cat >>conftest.$ac_ext <<_ACEOF
2350 /* end confdefs.h.  */
2351
2352 int
2353 main ()
2354 {
2355 #ifndef __GNUC__
2356        choke me
2357 #endif
2358
2359   ;
2360   return 0;
2361 }
2362 _ACEOF
2363 rm -f conftest.$ac_objext
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365   (eval $ac_compile) 2>&5
2366   ac_status=$?
2367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368   (exit $ac_status); } &&
2369          { ac_try='test -s conftest.$ac_objext'
2370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371   (eval $ac_try) 2>&5
2372   ac_status=$?
2373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374   (exit $ac_status); }; }; then
2375   ac_compiler_gnu=yes
2376 else
2377   echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.$ac_ext >&5
2379
2380 ac_compiler_gnu=no
2381 fi
2382 rm -f conftest.$ac_objext conftest.$ac_ext
2383 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2384
2385 fi
2386 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2388 GCC=`test $ac_compiler_gnu = yes && echo yes`
2389 ac_test_CFLAGS=${CFLAGS+set}
2390 ac_save_CFLAGS=$CFLAGS
2391 CFLAGS="-g"
2392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cc_g+set}" = set; then
2395   echo $ECHO_N "(cached) $ECHO_C" >&6
2396 else
2397   cat >conftest.$ac_ext <<_ACEOF
2398 #line $LINENO "configure"
2399 /* confdefs.h.  */
2400 _ACEOF
2401 cat confdefs.h >>conftest.$ac_ext
2402 cat >>conftest.$ac_ext <<_ACEOF
2403 /* end confdefs.h.  */
2404
2405 int
2406 main ()
2407 {
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 rm -f conftest.$ac_objext
2414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2415   (eval $ac_compile) 2>&5
2416   ac_status=$?
2417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418   (exit $ac_status); } &&
2419          { ac_try='test -s conftest.$ac_objext'
2420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421   (eval $ac_try) 2>&5
2422   ac_status=$?
2423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424   (exit $ac_status); }; }; then
2425   ac_cv_prog_cc_g=yes
2426 else
2427   echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2429
2430 ac_cv_prog_cc_g=no
2431 fi
2432 rm -f conftest.$ac_objext conftest.$ac_ext
2433 fi
2434 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2436 if test "$ac_test_CFLAGS" = set; then
2437   CFLAGS=$ac_save_CFLAGS
2438 elif test $ac_cv_prog_cc_g = yes; then
2439   if test "$GCC" = yes; then
2440     CFLAGS="-g -O2"
2441   else
2442     CFLAGS="-g"
2443   fi
2444 else
2445   if test "$GCC" = yes; then
2446     CFLAGS="-O2"
2447   else
2448     CFLAGS=
2449   fi
2450 fi
2451 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2452 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2453 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2454   echo $ECHO_N "(cached) $ECHO_C" >&6
2455 else
2456   ac_cv_prog_cc_stdc=no
2457 ac_save_CC=$CC
2458 cat >conftest.$ac_ext <<_ACEOF
2459 #line $LINENO "configure"
2460 /* confdefs.h.  */
2461 _ACEOF
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h.  */
2465 #include <stdarg.h>
2466 #include <stdio.h>
2467 #include <sys/types.h>
2468 #include <sys/stat.h>
2469 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2470 struct buf { int x; };
2471 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2472 static char *e (p, i)
2473      char **p;
2474      int i;
2475 {
2476   return p[i];
2477 }
2478 static char *f (char * (*g) (char **, int), char **p, ...)
2479 {
2480   char *s;
2481   va_list v;
2482   va_start (v,p);
2483   s = g (p, va_arg (v,int));
2484   va_end (v);
2485   return s;
2486 }
2487 int test (int i, double x);
2488 struct s1 {int (*f) (int a);};
2489 struct s2 {int (*f) (double a);};
2490 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2491 int argc;
2492 char **argv;
2493 int
2494 main ()
2495 {
2496 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2497   ;
2498   return 0;
2499 }
2500 _ACEOF
2501 # Don't try gcc -ansi; that turns off useful extensions and
2502 # breaks some systems' header files.
2503 # AIX                   -qlanglvl=ansi
2504 # Ultrix and OSF/1      -std1
2505 # HP-UX 10.20 and later -Ae
2506 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2507 # SVR4                  -Xc -D__EXTENSIONS__
2508 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2509 do
2510   CC="$ac_save_CC $ac_arg"
2511   rm -f conftest.$ac_objext
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513   (eval $ac_compile) 2>&5
2514   ac_status=$?
2515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516   (exit $ac_status); } &&
2517          { ac_try='test -s conftest.$ac_objext'
2518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519   (eval $ac_try) 2>&5
2520   ac_status=$?
2521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522   (exit $ac_status); }; }; then
2523   ac_cv_prog_cc_stdc=$ac_arg
2524 break
2525 else
2526   echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2528
2529 fi
2530 rm -f conftest.$ac_objext
2531 done
2532 rm -f conftest.$ac_ext conftest.$ac_objext
2533 CC=$ac_save_CC
2534
2535 fi
2536
2537 case "x$ac_cv_prog_cc_stdc" in
2538   x|xno)
2539     echo "$as_me:$LINENO: result: none needed" >&5
2540 echo "${ECHO_T}none needed" >&6 ;;
2541   *)
2542     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2543 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2544     CC="$CC $ac_cv_prog_cc_stdc" ;;
2545 esac
2546
2547 # Some people use a C++ compiler to compile C.  Since we use `exit',
2548 # in C++ we need to declare it.  In case someone uses the same compiler
2549 # for both compiling C and C++ we need to have the C++ compiler decide
2550 # the declaration of exit, since it's the most demanding environment.
2551 cat >conftest.$ac_ext <<_ACEOF
2552 #ifndef __cplusplus
2553   choke me
2554 #endif
2555 _ACEOF
2556 rm -f conftest.$ac_objext
2557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2558   (eval $ac_compile) 2>&5
2559   ac_status=$?
2560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561   (exit $ac_status); } &&
2562          { ac_try='test -s conftest.$ac_objext'
2563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2564   (eval $ac_try) 2>&5
2565   ac_status=$?
2566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567   (exit $ac_status); }; }; then
2568   for ac_declaration in \
2569    ''\
2570    '#include <stdlib.h>' \
2571    'extern "C" void std::exit (int) throw (); using std::exit;' \
2572    'extern "C" void std::exit (int); using std::exit;' \
2573    'extern "C" void exit (int) throw ();' \
2574    'extern "C" void exit (int);' \
2575    'void exit (int);'
2576 do
2577   cat >conftest.$ac_ext <<_ACEOF
2578 #line $LINENO "configure"
2579 /* confdefs.h.  */
2580 _ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h.  */
2584 #include <stdlib.h>
2585 $ac_declaration
2586 int
2587 main ()
2588 {
2589 exit (42);
2590   ;
2591   return 0;
2592 }
2593 _ACEOF
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596   (eval $ac_compile) 2>&5
2597   ac_status=$?
2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599   (exit $ac_status); } &&
2600          { ac_try='test -s conftest.$ac_objext'
2601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602   (eval $ac_try) 2>&5
2603   ac_status=$?
2604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605   (exit $ac_status); }; }; then
2606   :
2607 else
2608   echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2610
2611 continue
2612 fi
2613 rm -f conftest.$ac_objext conftest.$ac_ext
2614   cat >conftest.$ac_ext <<_ACEOF
2615 #line $LINENO "configure"
2616 /* confdefs.h.  */
2617 _ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h.  */
2621 $ac_declaration
2622 int
2623 main ()
2624 {
2625 exit (42);
2626   ;
2627   return 0;
2628 }
2629 _ACEOF
2630 rm -f conftest.$ac_objext
2631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2632   (eval $ac_compile) 2>&5
2633   ac_status=$?
2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635   (exit $ac_status); } &&
2636          { ac_try='test -s conftest.$ac_objext'
2637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638   (eval $ac_try) 2>&5
2639   ac_status=$?
2640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641   (exit $ac_status); }; }; then
2642   break
2643 else
2644   echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2646
2647 fi
2648 rm -f conftest.$ac_objext conftest.$ac_ext
2649 done
2650 rm -f conftest*
2651 if test -n "$ac_declaration"; then
2652   echo '#ifdef __cplusplus' >>confdefs.h
2653   echo $ac_declaration      >>confdefs.h
2654   echo '#endif'             >>confdefs.h
2655 fi
2656
2657 else
2658   echo "$as_me: failed program was:" >&5
2659 sed 's/^/| /' conftest.$ac_ext >&5
2660
2661 fi
2662 rm -f conftest.$ac_objext conftest.$ac_ext
2663 ac_ext=c
2664 ac_cpp='$CPP $CPPFLAGS'
2665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2668 DEPDIR="${am__leading_dot}deps"
2669
2670           ac_config_commands="$ac_config_commands depfiles"
2671
2672
2673 am_make=${MAKE-make}
2674 cat > confinc << 'END'
2675 am__doit:
2676         @echo done
2677 .PHONY: am__doit
2678 END
2679 # If we don't find an include directive, just comment out the code.
2680 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2681 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2682 am__include="#"
2683 am__quote=
2684 _am_result=none
2685 # First try GNU make style include.
2686 echo "include confinc" > confmf
2687 # We grep out `Entering directory' and `Leaving directory'
2688 # messages which can occur if `w' ends up in MAKEFLAGS.
2689 # In particular we don't look at `^make:' because GNU make might
2690 # be invoked under some other name (usually "gmake"), in which
2691 # case it prints its new name instead of `make'.
2692 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2693    am__include=include
2694    am__quote=
2695    _am_result=GNU
2696 fi
2697 # Now try BSD make style include.
2698 if test "$am__include" = "#"; then
2699    echo '.include "confinc"' > confmf
2700    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2701       am__include=.include
2702       am__quote="\""
2703       _am_result=BSD
2704    fi
2705 fi
2706
2707
2708 echo "$as_me:$LINENO: result: $_am_result" >&5
2709 echo "${ECHO_T}$_am_result" >&6
2710 rm -f confinc confmf
2711
2712 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2713 if test "${enable_dependency_tracking+set}" = set; then
2714   enableval="$enable_dependency_tracking"
2715
2716 fi;
2717 if test "x$enable_dependency_tracking" != xno; then
2718   am_depcomp="$ac_aux_dir/depcomp"
2719   AMDEPBACKSLASH='\'
2720 fi
2721
2722
2723 if test "x$enable_dependency_tracking" != xno; then
2724   AMDEP_TRUE=
2725   AMDEP_FALSE='#'
2726 else
2727   AMDEP_TRUE='#'
2728   AMDEP_FALSE=
2729 fi
2730
2731
2732
2733
2734 depcc="$CC"   am_compiler_list=
2735
2736 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2737 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2738 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2739   echo $ECHO_N "(cached) $ECHO_C" >&6
2740 else
2741   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2742   # We make a subdir and do the tests there.  Otherwise we can end up
2743   # making bogus files that we don't know about and never remove.  For
2744   # instance it was reported that on HP-UX the gcc test will end up
2745   # making a dummy file named `D' -- because `-MD' means `put the output
2746   # in D'.
2747   mkdir conftest.dir
2748   # Copy depcomp to subdir because otherwise we won't find it if we're
2749   # using a relative directory.
2750   cp "$am_depcomp" conftest.dir
2751   cd conftest.dir
2752   # We will build objects and dependencies in a subdirectory because
2753   # it helps to detect inapplicable dependency modes.  For instance
2754   # both Tru64's cc and ICC support -MD to output dependencies as a
2755   # side effect of compilation, but ICC will put the dependencies in
2756   # the current directory while Tru64 will put them in the object
2757   # directory.
2758   mkdir sub
2759
2760   am_cv_CC_dependencies_compiler_type=none
2761   if test "$am_compiler_list" = ""; then
2762      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2763   fi
2764   for depmode in $am_compiler_list; do
2765     # Setup a source with many dependencies, because some compilers
2766     # like to wrap large dependency lists on column 80 (with \), and
2767     # we should not choose a depcomp mode which is confused by this.
2768     #
2769     # We need to recreate these files for each test, as the compiler may
2770     # overwrite some of them when testing with obscure command lines.
2771     # This happens at least with the AIX C compiler.
2772     : > sub/conftest.c
2773     for i in 1 2 3 4 5 6; do
2774       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2775       : > sub/conftst$i.h
2776     done
2777     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2778
2779     case $depmode in
2780     nosideeffect)
2781       # after this tag, mechanisms are not by side-effect, so they'll
2782       # only be used when explicitly requested
2783       if test "x$enable_dependency_tracking" = xyes; then
2784         continue
2785       else
2786         break
2787       fi
2788       ;;
2789     none) break ;;
2790     esac
2791     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2792     # mode.  It turns out that the SunPro C++ compiler does not properly
2793     # handle `-M -o', and we need to detect this.
2794     if depmode=$depmode \
2795        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2796        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2797        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2798          >/dev/null 2>conftest.err &&
2799        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2800        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2801        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2802       # icc doesn't choke on unknown options, it will just issue warnings
2803       # (even with -Werror).  So we grep stderr for any message
2804       # that says an option was ignored.
2805       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2806         am_cv_CC_dependencies_compiler_type=$depmode
2807         break
2808       fi
2809     fi
2810   done
2811
2812   cd ..
2813   rm -rf conftest.dir
2814 else
2815   am_cv_CC_dependencies_compiler_type=none
2816 fi
2817
2818 fi
2819 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2820 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2821 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2822
2823
2824
2825 if
2826   test "x$enable_dependency_tracking" != xno \
2827   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2828   am__fastdepCC_TRUE=
2829   am__fastdepCC_FALSE='#'
2830 else
2831   am__fastdepCC_TRUE='#'
2832   am__fastdepCC_FALSE=
2833 fi
2834
2835
2836 # Find a good install program.  We prefer a C program (faster),
2837 # so one script is as good as another.  But avoid the broken or
2838 # incompatible versions:
2839 # SysV /etc/install, /usr/sbin/install
2840 # SunOS /usr/etc/install
2841 # IRIX /sbin/install
2842 # AIX /bin/install
2843 # AmigaOS /C/install, which installs bootblocks on floppy discs
2844 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2845 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2846 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2847 # ./install, which can be erroneously created by make from ./install.sh.
2848 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2849 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2850 if test -z "$INSTALL"; then
2851 if test "${ac_cv_path_install+set}" = set; then
2852   echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2856 do
2857   IFS=$as_save_IFS
2858   test -z "$as_dir" && as_dir=.
2859   # Account for people who put trailing slashes in PATH elements.
2860 case $as_dir/ in
2861   ./ | .// | /cC/* | \
2862   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2863   /usr/ucb/* ) ;;
2864   *)
2865     # OSF1 and SCO ODT 3.0 have their own names for install.
2866     # Don't use installbsd from OSF since it installs stuff as root
2867     # by default.
2868     for ac_prog in ginstall scoinst install; do
2869       for ac_exec_ext in '' $ac_executable_extensions; do
2870         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2871           if test $ac_prog = install &&
2872             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2873             # AIX install.  It has an incompatible calling convention.
2874             :
2875           elif test $ac_prog = install &&
2876             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2877             # program-specific install script used by HP pwplus--don't use.
2878             :
2879           else
2880             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2881             break 3
2882           fi
2883         fi
2884       done
2885     done
2886     ;;
2887 esac
2888 done
2889
2890
2891 fi
2892   if test "${ac_cv_path_install+set}" = set; then
2893     INSTALL=$ac_cv_path_install
2894   else
2895     # As a last resort, use the slow shell script.  We don't cache a
2896     # path for INSTALL within a source directory, because that will
2897     # break other packages using the cache if that directory is
2898     # removed, or if the path is relative.
2899     INSTALL=$ac_install_sh
2900   fi
2901 fi
2902 echo "$as_me:$LINENO: result: $INSTALL" >&5
2903 echo "${ECHO_T}$INSTALL" >&6
2904
2905 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2906 # It thinks the first close brace ends the variable substitution.
2907 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2908
2909 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2910
2911 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2912
2913 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2914 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2915 LN_S=$as_ln_s
2916 if test "$LN_S" = "ln -s"; then
2917   echo "$as_me:$LINENO: result: yes" >&5
2918 echo "${ECHO_T}yes" >&6
2919 else
2920   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2921 echo "${ECHO_T}no, using $LN_S" >&6
2922 fi
2923
2924 # Check whether --enable-shared or --disable-shared was given.
2925 if test "${enable_shared+set}" = set; then
2926   enableval="$enable_shared"
2927   p=${PACKAGE-default}
2928 case $enableval in
2929 yes) enable_shared=yes ;;
2930 no) enable_shared=no ;;
2931 *)
2932   enable_shared=no
2933   # Look at the argument we got.  We use all the common list separators.
2934   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2935   for pkg in $enableval; do
2936     if test "X$pkg" = "X$p"; then
2937       enable_shared=yes
2938     fi
2939   done
2940   IFS="$ac_save_ifs"
2941   ;;
2942 esac
2943 else
2944   enable_shared=yes
2945 fi;
2946 # Check whether --enable-static or --disable-static was given.
2947 if test "${enable_static+set}" = set; then
2948   enableval="$enable_static"
2949   p=${PACKAGE-default}
2950 case $enableval in
2951 yes) enable_static=yes ;;
2952 no) enable_static=no ;;
2953 *)
2954   enable_static=no
2955   # Look at the argument we got.  We use all the common list separators.
2956   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2957   for pkg in $enableval; do
2958     if test "X$pkg" = "X$p"; then
2959       enable_static=yes
2960     fi
2961   done
2962   IFS="$ac_save_ifs"
2963   ;;
2964 esac
2965 else
2966   enable_static=yes
2967 fi;
2968 # Check whether --enable-fast-install or --disable-fast-install was given.
2969 if test "${enable_fast_install+set}" = set; then
2970   enableval="$enable_fast_install"
2971   p=${PACKAGE-default}
2972 case $enableval in
2973 yes) enable_fast_install=yes ;;
2974 no) enable_fast_install=no ;;
2975 *)
2976   enable_fast_install=no
2977   # Look at the argument we got.  We use all the common list separators.
2978   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2979   for pkg in $enableval; do
2980     if test "X$pkg" = "X$p"; then
2981       enable_fast_install=yes
2982     fi
2983   done
2984   IFS="$ac_save_ifs"
2985   ;;
2986 esac
2987 else
2988   enable_fast_install=yes
2989 fi;
2990 # Make sure we can run config.sub.
2991 $ac_config_sub sun4 >/dev/null 2>&1 ||
2992   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2993 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2994    { (exit 1); exit 1; }; }
2995
2996 echo "$as_me:$LINENO: checking build system type" >&5
2997 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2998 if test "${ac_cv_build+set}" = set; then
2999   echo $ECHO_N "(cached) $ECHO_C" >&6
3000 else
3001   ac_cv_build_alias=$build_alias
3002 test -z "$ac_cv_build_alias" &&
3003   ac_cv_build_alias=`$ac_config_guess`
3004 test -z "$ac_cv_build_alias" &&
3005   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3006 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3007    { (exit 1); exit 1; }; }
3008 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3009   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3010 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3011    { (exit 1); exit 1; }; }
3012
3013 fi
3014 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3015 echo "${ECHO_T}$ac_cv_build" >&6
3016 build=$ac_cv_build
3017 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3018 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3019 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3020
3021
3022 echo "$as_me:$LINENO: checking host system type" >&5
3023 echo $ECHO_N "checking host system type... $ECHO_C" >&6
3024 if test "${ac_cv_host+set}" = set; then
3025   echo $ECHO_N "(cached) $ECHO_C" >&6
3026 else
3027   ac_cv_host_alias=$host_alias
3028 test -z "$ac_cv_host_alias" &&
3029   ac_cv_host_alias=$ac_cv_build_alias
3030 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3031   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3032 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3033    { (exit 1); exit 1; }; }
3034
3035 fi
3036 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3037 echo "${ECHO_T}$ac_cv_host" >&6
3038 host=$ac_cv_host
3039 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3040 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3041 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3042
3043
3044
3045 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3046 if test "${with_gnu_ld+set}" = set; then
3047   withval="$with_gnu_ld"
3048   test "$withval" = no || with_gnu_ld=yes
3049 else
3050   with_gnu_ld=no
3051 fi;
3052 ac_prog=ld
3053 if test "$GCC" = yes; then
3054   # Check if gcc -print-prog-name=ld gives a path.
3055   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3056 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3057   case $host in
3058   *-*-mingw*)
3059     # gcc leaves a trailing carriage return which upsets mingw
3060     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3061   *)
3062     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3063   esac
3064   case $ac_prog in
3065     # Accept absolute paths.
3066     [\\/]* | [A-Za-z]:[\\/]*)
3067       re_direlt='/[^/][^/]*/\.\./'
3068       # Canonicalize the path of ld
3069       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3070       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3071         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3072       done
3073       test -z "$LD" && LD="$ac_prog"
3074       ;;
3075   "")
3076     # If it fails, then pretend we aren't using GCC.
3077     ac_prog=ld
3078     ;;
3079   *)
3080     # If it is relative, then search for the first ld in PATH.
3081     with_gnu_ld=unknown
3082     ;;
3083   esac
3084 elif test "$with_gnu_ld" = yes; then
3085   echo "$as_me:$LINENO: checking for GNU ld" >&5
3086 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3087 else
3088   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3089 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3090 fi
3091 if test "${lt_cv_path_LD+set}" = set; then
3092   echo $ECHO_N "(cached) $ECHO_C" >&6
3093 else
3094   if test -z "$LD"; then
3095   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3096   for ac_dir in $PATH; do
3097     test -z "$ac_dir" && ac_dir=.
3098     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3099       lt_cv_path_LD="$ac_dir/$ac_prog"
3100       # Check to see if the program is GNU ld.  I'd rather use --version,
3101       # but apparently some GNU ld's only accept -v.
3102       # Break only if it was the GNU/non-GNU ld that we prefer.
3103       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3104         test "$with_gnu_ld" != no && break
3105       else
3106         test "$with_gnu_ld" != yes && break
3107       fi
3108     fi
3109   done
3110   IFS="$ac_save_ifs"
3111 else
3112   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3113 fi
3114 fi
3115
3116 LD="$lt_cv_path_LD"
3117 if test -n "$LD"; then
3118   echo "$as_me:$LINENO: result: $LD" >&5
3119 echo "${ECHO_T}$LD" >&6
3120 else
3121   echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3123 fi
3124 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3125 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3126    { (exit 1); exit 1; }; }
3127 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3128 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3129 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3130   echo $ECHO_N "(cached) $ECHO_C" >&6
3131 else
3132   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3133 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3134   lt_cv_prog_gnu_ld=yes
3135 else
3136   lt_cv_prog_gnu_ld=no
3137 fi
3138 fi
3139 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3140 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3141 with_gnu_ld=$lt_cv_prog_gnu_ld
3142
3143
3144 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3145 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3146 if test "${lt_cv_ld_reload_flag+set}" = set; then
3147   echo $ECHO_N "(cached) $ECHO_C" >&6
3148 else
3149   lt_cv_ld_reload_flag='-r'
3150 fi
3151 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3152 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3153 reload_flag=$lt_cv_ld_reload_flag
3154 test -n "$reload_flag" && reload_flag=" $reload_flag"
3155
3156 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3157 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3158 if test "${lt_cv_path_NM+set}" = set; then
3159   echo $ECHO_N "(cached) $ECHO_C" >&6
3160 else
3161   if test -n "$NM"; then
3162   # Let the user override the test.
3163   lt_cv_path_NM="$NM"
3164 else
3165   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3166   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3167     test -z "$ac_dir" && ac_dir=.
3168     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3169     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3170       # Check to see if the nm accepts a BSD-compat flag.
3171       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3172       #   nm: unknown option "B" ignored
3173       # Tru64's nm complains that /dev/null is an invalid object file
3174       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3175         lt_cv_path_NM="$tmp_nm -B"
3176         break
3177       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3178         lt_cv_path_NM="$tmp_nm -p"
3179         break
3180       else
3181         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3182         continue # so that we can try to find one that supports BSD flags
3183       fi
3184     fi
3185   done
3186   IFS="$ac_save_ifs"
3187   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3188 fi
3189 fi
3190
3191 NM="$lt_cv_path_NM"
3192 echo "$as_me:$LINENO: result: $NM" >&5
3193 echo "${ECHO_T}$NM" >&6
3194
3195 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3196 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3197 if test "${lt_cv_deplibs_check_method+set}" = set; then
3198   echo $ECHO_N "(cached) $ECHO_C" >&6
3199 else
3200   lt_cv_file_magic_cmd='$MAGIC_CMD'
3201 lt_cv_file_magic_test_file=
3202 lt_cv_deplibs_check_method='unknown'
3203 # Need to set the preceding variable on all platforms that support
3204 # interlibrary dependencies.
3205 # 'none' -- dependencies not supported.
3206 # `unknown' -- same as none, but documents that we really don't know.
3207 # 'pass_all' -- all dependencies passed with no checks.
3208 # 'test_compile' -- check by making test program.
3209 # 'file_magic [regex]' -- check by looking for files in library path
3210 # which responds to the $file_magic_cmd with a given egrep regex.
3211 # If you have `file' or equivalent on your system and you're not sure
3212 # whether `pass_all' will *always* work, you probably want this one.
3213
3214 case $host_os in
3215 aix*)
3216   lt_cv_deplibs_check_method=pass_all
3217   ;;
3218
3219 beos*)
3220   lt_cv_deplibs_check_method=pass_all
3221   ;;
3222
3223 bsdi4*)
3224   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3225   lt_cv_file_magic_cmd='/usr/bin/file -L'
3226   lt_cv_file_magic_test_file=/shlib/libc.so
3227   ;;
3228
3229 cygwin* | mingw* |pw32*)
3230   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3231   lt_cv_file_magic_cmd='$OBJDUMP -f'
3232   ;;
3233
3234 darwin* | rhapsody*)
3235   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3236   lt_cv_file_magic_cmd='/usr/bin/file -L'
3237   case "$host_os" in
3238   rhapsody* | darwin1.012)
3239     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3240     ;;
3241   *) # Darwin 1.3 on
3242     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3243     ;;
3244   esac
3245   ;;
3246
3247 freebsd* )
3248   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3249     case $host_cpu in
3250     i*86 )
3251       # Not sure whether the presence of OpenBSD here was a mistake.
3252       # Let's accept both of them until this is cleared up.
3253       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3254       lt_cv_file_magic_cmd=/usr/bin/file
3255       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3256       ;;
3257     esac
3258   else
3259     lt_cv_deplibs_check_method=pass_all
3260   fi
3261   ;;
3262
3263 gnu*)
3264   lt_cv_deplibs_check_method=pass_all
3265   ;;
3266
3267 hpux10.20*|hpux11*)
3268   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3269   lt_cv_file_magic_cmd=/usr/bin/file
3270   lt_cv_file_magic_test_file=/usr/lib/libc.sl
3271   ;;
3272
3273 irix5* | irix6*)
3274   case $host_os in
3275   irix5*)
3276     # this will be overridden with pass_all, but let us keep it just in case
3277     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3278     ;;
3279   *)
3280     case $LD in
3281     *-32|*"-32 ") libmagic=32-bit;;
3282     *-n32|*"-n32 ") libmagic=N32;;
3283     *-64|*"-64 ") libmagic=64-bit;;
3284     *) libmagic=never-match;;
3285     esac
3286     # this will be overridden with pass_all, but let us keep it just in case
3287     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3288     ;;
3289   esac
3290   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3291   lt_cv_deplibs_check_method=pass_all
3292   ;;
3293
3294 # This must be Linux ELF.
3295 linux-gnu*)
3296   case $host_cpu in
3297   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3298     lt_cv_deplibs_check_method=pass_all ;;
3299   *)
3300     # glibc up to 2.1.1 does not perform some relocations on ARM
3301     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3302   esac
3303   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3304   ;;
3305
3306 netbsd*)
3307   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3308     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3309   else
3310     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3311   fi
3312   ;;
3313
3314 newsos6)
3315   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3316   lt_cv_file_magic_cmd=/usr/bin/file
3317   lt_cv_file_magic_test_file=/usr/lib/libnls.so
3318   ;;
3319
3320 osf3* | osf4* | osf5*)
3321   # this will be overridden with pass_all, but let us keep it just in case
3322   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3323   lt_cv_file_magic_test_file=/shlib/libc.so
3324   lt_cv_deplibs_check_method=pass_all
3325   ;;
3326
3327 sco3.2v5*)
3328   lt_cv_deplibs_check_method=pass_all
3329   ;;
3330
3331 solaris*)
3332   lt_cv_deplibs_check_method=pass_all
3333   lt_cv_file_magic_test_file=/lib/libc.so
3334   ;;
3335
3336 sysv5uw[78]* | sysv4*uw2*)
3337   lt_cv_deplibs_check_method=pass_all
3338   ;;
3339
3340 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3341   case $host_vendor in
3342   ncr)
3343     lt_cv_deplibs_check_method=pass_all
3344     ;;
3345   motorola)
3346     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]'
3347     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3348     ;;
3349   esac
3350   ;;
3351 esac
3352
3353 fi
3354 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3355 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3356 file_magic_cmd=$lt_cv_file_magic_cmd
3357 deplibs_check_method=$lt_cv_deplibs_check_method
3358
3359
3360
3361
3362
3363 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3364
3365 # Only perform the check for file, if the check method requires it
3366 case $deplibs_check_method in
3367 file_magic*)
3368   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3369     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3370 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3371 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3372   echo $ECHO_N "(cached) $ECHO_C" >&6
3373 else
3374   case $MAGIC_CMD in
3375   /*)
3376   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3377   ;;
3378   ?:/*)
3379   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3380   ;;
3381   *)
3382   ac_save_MAGIC_CMD="$MAGIC_CMD"
3383   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3384   ac_dummy="/usr/bin:$PATH"
3385   for ac_dir in $ac_dummy; do
3386     test -z "$ac_dir" && ac_dir=.
3387     if test -f $ac_dir/${ac_tool_prefix}file; then
3388       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3389       if test -n "$file_magic_test_file"; then
3390         case $deplibs_check_method in
3391         "file_magic "*)
3392           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3393           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3394           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3395             egrep "$file_magic_regex" > /dev/null; then
3396             :
3397           else
3398             cat <<EOF 1>&2
3399
3400 *** Warning: the command libtool uses to detect shared libraries,
3401 *** $file_magic_cmd, produces output that libtool cannot recognize.
3402 *** The result is that libtool may fail to recognize shared libraries
3403 *** as such.  This will affect the creation of libtool libraries that
3404 *** depend on shared libraries, but programs linked with such libtool
3405 *** libraries will work regardless of this problem.  Nevertheless, you
3406 *** may want to report the problem to your system manager and/or to
3407 *** bug-libtool@gnu.org
3408
3409 EOF
3410           fi ;;
3411         esac
3412       fi
3413       break
3414     fi
3415   done
3416   IFS="$ac_save_ifs"
3417   MAGIC_CMD="$ac_save_MAGIC_CMD"
3418   ;;
3419 esac
3420 fi
3421
3422 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3423 if test -n "$MAGIC_CMD"; then
3424   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3425 echo "${ECHO_T}$MAGIC_CMD" >&6
3426 else
3427   echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3429 fi
3430
3431 if test -z "$lt_cv_path_MAGIC_CMD"; then
3432   if test -n "$ac_tool_prefix"; then
3433     echo "$as_me:$LINENO: checking for file" >&5
3434 echo $ECHO_N "checking for file... $ECHO_C" >&6
3435 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3436   echo $ECHO_N "(cached) $ECHO_C" >&6
3437 else
3438   case $MAGIC_CMD in
3439   /*)
3440   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3441   ;;
3442   ?:/*)
3443   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3444   ;;
3445   *)
3446   ac_save_MAGIC_CMD="$MAGIC_CMD"
3447   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
3448   ac_dummy="/usr/bin:$PATH"
3449   for ac_dir in $ac_dummy; do
3450     test -z "$ac_dir" && ac_dir=.
3451     if test -f $ac_dir/file; then
3452       lt_cv_path_MAGIC_CMD="$ac_dir/file"
3453       if test -n "$file_magic_test_file"; then
3454         case $deplibs_check_method in
3455         "file_magic "*)
3456           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3457           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3458           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3459             egrep "$file_magic_regex" > /dev/null; then
3460             :
3461           else
3462             cat <<EOF 1>&2
3463
3464 *** Warning: the command libtool uses to detect shared libraries,
3465 *** $file_magic_cmd, produces output that libtool cannot recognize.
3466 *** The result is that libtool may fail to recognize shared libraries
3467 *** as such.  This will affect the creation of libtool libraries that
3468 *** depend on shared libraries, but programs linked with such libtool
3469 *** libraries will work regardless of this problem.  Nevertheless, you
3470 *** may want to report the problem to your system manager and/or to
3471 *** bug-libtool@gnu.org
3472
3473 EOF
3474           fi ;;
3475         esac
3476       fi
3477       break
3478     fi
3479   done
3480   IFS="$ac_save_ifs"
3481   MAGIC_CMD="$ac_save_MAGIC_CMD"
3482   ;;
3483 esac
3484 fi
3485
3486 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3487 if test -n "$MAGIC_CMD"; then
3488   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3489 echo "${ECHO_T}$MAGIC_CMD" >&6
3490 else
3491   echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3493 fi
3494
3495   else
3496     MAGIC_CMD=:
3497   fi
3498 fi
3499
3500   fi
3501   ;;
3502 esac
3503
3504 if test -n "$ac_tool_prefix"; then
3505   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_RANLIB+set}" = set; then
3510   echo $ECHO_N "(cached) $ECHO_C" >&6
3511 else
3512   if test -n "$RANLIB"; then
3513   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3514 else
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3516 for as_dir in $PATH
3517 do
3518   IFS=$as_save_IFS
3519   test -z "$as_dir" && as_dir=.
3520   for ac_exec_ext in '' $ac_executable_extensions; do
3521   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3524     break 2
3525   fi
3526 done
3527 done
3528
3529 fi
3530 fi
3531 RANLIB=$ac_cv_prog_RANLIB
3532 if test -n "$RANLIB"; then
3533   echo "$as_me:$LINENO: result: $RANLIB" >&5
3534 echo "${ECHO_T}$RANLIB" >&6
3535 else
3536   echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 fi
3539
3540 fi
3541 if test -z "$ac_cv_prog_RANLIB"; then
3542   ac_ct_RANLIB=$RANLIB
3543   # Extract the first word of "ranlib", so it can be a program name with args.
3544 set dummy ranlib; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3548   echo $ECHO_N "(cached) $ECHO_C" >&6
3549 else
3550   if test -n "$ac_ct_RANLIB"; then
3551   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3555 do
3556   IFS=$as_save_IFS
3557   test -z "$as_dir" && as_dir=.
3558   for ac_exec_ext in '' $ac_executable_extensions; do
3559   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560     ac_cv_prog_ac_ct_RANLIB="ranlib"
3561     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562     break 2
3563   fi
3564 done
3565 done
3566
3567   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3568 fi
3569 fi
3570 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3571 if test -n "$ac_ct_RANLIB"; then
3572   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3573 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3574 else
3575   echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6
3577 fi
3578
3579   RANLIB=$ac_ct_RANLIB
3580 else
3581   RANLIB="$ac_cv_prog_RANLIB"
3582 fi
3583
3584 if test -n "$ac_tool_prefix"; then
3585   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3586 set dummy ${ac_tool_prefix}strip; ac_word=$2
3587 echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3589 if test "${ac_cv_prog_STRIP+set}" = set; then
3590   echo $ECHO_N "(cached) $ECHO_C" >&6
3591 else
3592   if test -n "$STRIP"; then
3593   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3594 else
3595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 for as_dir in $PATH
3597 do
3598   IFS=$as_save_IFS
3599   test -z "$as_dir" && as_dir=.
3600   for ac_exec_ext in '' $ac_executable_extensions; do
3601   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3602     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3603     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604     break 2
3605   fi
3606 done
3607 done
3608
3609 fi
3610 fi
3611 STRIP=$ac_cv_prog_STRIP
3612 if test -n "$STRIP"; then
3613   echo "$as_me:$LINENO: result: $STRIP" >&5
3614 echo "${ECHO_T}$STRIP" >&6
3615 else
3616   echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6
3618 fi
3619
3620 fi
3621 if test -z "$ac_cv_prog_STRIP"; then
3622   ac_ct_STRIP=$STRIP
3623   # Extract the first word of "strip", so it can be a program name with args.
3624 set dummy strip; ac_word=$2
3625 echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3627 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
3628   echo $ECHO_N "(cached) $ECHO_C" >&6
3629 else
3630   if test -n "$ac_ct_STRIP"; then
3631   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3632 else
3633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3634 for as_dir in $PATH
3635 do
3636   IFS=$as_save_IFS
3637   test -z "$as_dir" && as_dir=.
3638   for ac_exec_ext in '' $ac_executable_extensions; do
3639   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3640     ac_cv_prog_ac_ct_STRIP="strip"
3641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3642     break 2
3643   fi
3644 done
3645 done
3646
3647   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
3648 fi
3649 fi
3650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3651 if test -n "$ac_ct_STRIP"; then
3652   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
3653 echo "${ECHO_T}$ac_ct_STRIP" >&6
3654 else
3655   echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6
3657 fi
3658
3659   STRIP=$ac_ct_STRIP
3660 else
3661   STRIP="$ac_cv_prog_STRIP"
3662 fi
3663
3664
3665 # Check for any special flags to pass to ltconfig.
3666 libtool_flags="--cache-file=$cache_file"
3667 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3668 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3669 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
3670 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
3671 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
3672
3673
3674 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3675 if test "${enable_libtool_lock+set}" = set; then
3676   enableval="$enable_libtool_lock"
3677
3678 fi;
3679 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
3680 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
3681
3682
3683 # Check whether --with-pic or --without-pic was given.
3684 if test "${with_pic+set}" = set; then
3685   withval="$with_pic"
3686   pic_mode="$withval"
3687 else
3688   pic_mode=default
3689 fi;
3690 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
3691 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
3692
3693 # Some flags need to be propagated to the compiler or linker for good
3694 # libtool support.
3695 case $host in
3696 *-*-irix6*)
3697   # Find out which ABI we are using.
3698   echo '#line 3698 "configure"' > conftest.$ac_ext
3699   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3700   (eval $ac_compile) 2>&5
3701   ac_status=$?
3702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703   (exit $ac_status); }; then
3704     case `/usr/bin/file conftest.$ac_objext` in
3705     *32-bit*)
3706       LD="${LD-ld} -32"
3707       ;;
3708     *N32*)
3709       LD="${LD-ld} -n32"
3710       ;;
3711     *64-bit*)
3712       LD="${LD-ld} -64"
3713       ;;
3714     esac
3715   fi
3716   rm -rf conftest*
3717   ;;
3718
3719 *-*-sco3.2v5*)
3720   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3721   SAVE_CFLAGS="$CFLAGS"
3722   CFLAGS="$CFLAGS -belf"
3723   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3724 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3725 if test "${lt_cv_cc_needs_belf+set}" = set; then
3726   echo $ECHO_N "(cached) $ECHO_C" >&6
3727 else
3728
3729
3730      ac_ext=c
3731 ac_cpp='$CPP $CPPFLAGS'
3732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3735
3736      cat >conftest.$ac_ext <<_ACEOF
3737 #line $LINENO "configure"
3738 /* confdefs.h.  */
3739 _ACEOF
3740 cat confdefs.h >>conftest.$ac_ext
3741 cat >>conftest.$ac_ext <<_ACEOF
3742 /* end confdefs.h.  */
3743
3744 int
3745 main ()
3746 {
3747
3748   ;
3749   return 0;
3750 }
3751 _ACEOF
3752 rm -f conftest.$ac_objext conftest$ac_exeext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3754   (eval $ac_link) 2>&5
3755   ac_status=$?
3756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757   (exit $ac_status); } &&
3758          { ac_try='test -s conftest$ac_exeext'
3759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3760   (eval $ac_try) 2>&5
3761   ac_status=$?
3762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763   (exit $ac_status); }; }; then
3764   lt_cv_cc_needs_belf=yes
3765 else
3766   echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3768
3769 lt_cv_cc_needs_belf=no
3770 fi
3771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3772      ac_ext=c
3773 ac_cpp='$CPP $CPPFLAGS'
3774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777
3778 fi
3779 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3780 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3781   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3782     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3783     CFLAGS="$SAVE_CFLAGS"
3784   fi
3785   ;;
3786
3787
3788 esac
3789
3790
3791 # Save cache, so that ltconfig can load it
3792 cat >confcache <<\_ACEOF
3793 # This file is a shell script that caches the results of configure
3794 # tests run on this system so they can be shared between configure
3795 # scripts and configure runs, see configure's option --config-cache.
3796 # It is not useful on other systems.  If it contains results you don't
3797 # want to keep, you may remove or edit it.
3798 #
3799 # config.status only pays attention to the cache file if you give it
3800 # the --recheck option to rerun configure.
3801 #
3802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3804 # following values.
3805
3806 _ACEOF
3807
3808 # The following way of writing the cache mishandles newlines in values,
3809 # but we know of no workaround that is simple, portable, and efficient.
3810 # So, don't put newlines in cache variables' values.
3811 # Ultrix sh set writes to stderr and can't be redirected directly,
3812 # and sets the high bit in the cache file unless we assign to the vars.
3813 {
3814   (set) 2>&1 |
3815     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3816     *ac_space=\ *)
3817       # `set' does not quote correctly, so add quotes (double-quote
3818       # substitution turns \\\\ into \\, and sed turns \\ into \).
3819       sed -n \
3820         "s/'/'\\\\''/g;
3821           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3822       ;;
3823     *)
3824       # `set' quotes correctly as required by POSIX, so do not add quotes.
3825       sed -n \
3826         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3827       ;;
3828     esac;
3829 } |
3830   sed '
3831      t clear
3832      : clear
3833      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3834      t end
3835      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3836      : end' >>confcache
3837 if diff $cache_file confcache >/dev/null 2>&1; then :; else
3838   if test -w $cache_file; then
3839     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3840     cat confcache >$cache_file
3841   else
3842     echo "not updating unwritable cache $cache_file"
3843   fi
3844 fi
3845 rm -f confcache
3846
3847 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
3848 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
3849 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
3850 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
3851 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
3852 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
3853 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
3854 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
3855 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
3856 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
3857 echo "$as_me: error: libtool configure failed" >&2;}
3858    { (exit 1); exit 1; }; }
3859
3860 # Reload cache, that may have been modified by ltconfig
3861 if test -r "$cache_file"; then
3862   # Some versions of bash will fail to source /dev/null (special
3863   # files actually), so we avoid doing that.
3864   if test -f "$cache_file"; then
3865     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
3866 echo "$as_me: loading cache $cache_file" >&6;}
3867     case $cache_file in
3868       [\\/]* | ?:[\\/]* ) . $cache_file;;
3869       *)                      . ./$cache_file;;
3870     esac
3871   fi
3872 else
3873   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
3874 echo "$as_me: creating cache $cache_file" >&6;}
3875   >$cache_file
3876 fi
3877
3878
3879 # This can be used to rebuild libtool when needed
3880 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
3881
3882 # Always use our own libtool.
3883 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
3884
3885 # Redirect the config.log output again, so that the ltconfig log is not
3886 # clobbered by the next message.
3887 exec 5>>./config.log
3888
3889
3890
3891
3892
3893
3894
3895 ac_ext=c
3896 ac_cpp='$CPP $CPPFLAGS'
3897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3900 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3901 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3902 # On Suns, sometimes $CPP names a directory.
3903 if test -n "$CPP" && test -d "$CPP"; then
3904   CPP=
3905 fi
3906 if test -z "$CPP"; then
3907   if test "${ac_cv_prog_CPP+set}" = set; then
3908   echo $ECHO_N "(cached) $ECHO_C" >&6
3909 else
3910       # Double quotes because CPP needs to be expanded
3911     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3912     do
3913       ac_preproc_ok=false
3914 for ac_c_preproc_warn_flag in '' yes
3915 do
3916   # Use a header file that comes with gcc, so configuring glibc
3917   # with a fresh cross-compiler works.
3918   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3919   # <limits.h> exists even on freestanding compilers.
3920   # On the NeXT, cc -E runs the code through the compiler's parser,
3921   # not just through cpp. "Syntax error" is here to catch this case.
3922   cat >conftest.$ac_ext <<_ACEOF
3923 #line $LINENO "configure"
3924 /* confdefs.h.  */
3925 _ACEOF
3926 cat confdefs.h >>conftest.$ac_ext
3927 cat >>conftest.$ac_ext <<_ACEOF
3928 /* end confdefs.h.  */
3929 #ifdef __STDC__
3930 # include <limits.h>
3931 #else
3932 # include <assert.h>
3933 #endif
3934                      Syntax error
3935 _ACEOF
3936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3937   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3938   ac_status=$?
3939   grep -v '^ *+' conftest.er1 >conftest.err
3940   rm -f conftest.er1
3941   cat conftest.err >&5
3942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943   (exit $ac_status); } >/dev/null; then
3944   if test -s conftest.err; then
3945     ac_cpp_err=$ac_c_preproc_warn_flag
3946   else
3947     ac_cpp_err=
3948   fi
3949 else
3950   ac_cpp_err=yes
3951 fi
3952 if test -z "$ac_cpp_err"; then
3953   :
3954 else
3955   echo "$as_me: failed program was:" >&5
3956 sed 's/^/| /' conftest.$ac_ext >&5
3957
3958   # Broken: fails on valid input.
3959 continue
3960 fi
3961 rm -f conftest.err conftest.$ac_ext
3962
3963   # OK, works on sane cases.  Now check whether non-existent headers
3964   # can be detected and how.
3965   cat >conftest.$ac_ext <<_ACEOF
3966 #line $LINENO "configure"
3967 /* confdefs.h.  */
3968 _ACEOF
3969 cat confdefs.h >>conftest.$ac_ext
3970 cat >>conftest.$ac_ext <<_ACEOF
3971 /* end confdefs.h.  */
3972 #include <ac_nonexistent.h>
3973 _ACEOF
3974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3975   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3976   ac_status=$?
3977   grep -v '^ *+' conftest.er1 >conftest.err
3978   rm -f conftest.er1
3979   cat conftest.err >&5
3980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3981   (exit $ac_status); } >/dev/null; then
3982   if test -s conftest.err; then
3983     ac_cpp_err=$ac_c_preproc_warn_flag
3984   else
3985     ac_cpp_err=
3986   fi
3987 else
3988   ac_cpp_err=yes
3989 fi
3990 if test -z "$ac_cpp_err"; then
3991   # Broken: success on invalid input.
3992 continue
3993 else
3994   echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.$ac_ext >&5
3996
3997   # Passes both tests.
3998 ac_preproc_ok=:
3999 break
4000 fi
4001 rm -f conftest.err conftest.$ac_ext
4002
4003 done
4004 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4005 rm -f conftest.err conftest.$ac_ext
4006 if $ac_preproc_ok; then
4007   break
4008 fi
4009
4010     done
4011     ac_cv_prog_CPP=$CPP
4012
4013 fi
4014   CPP=$ac_cv_prog_CPP
4015 else
4016   ac_cv_prog_CPP=$CPP
4017 fi
4018 echo "$as_me:$LINENO: result: $CPP" >&5
4019 echo "${ECHO_T}$CPP" >&6
4020 ac_preproc_ok=false
4021 for ac_c_preproc_warn_flag in '' yes
4022 do
4023   # Use a header file that comes with gcc, so configuring glibc
4024   # with a fresh cross-compiler works.
4025   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4026   # <limits.h> exists even on freestanding compilers.
4027   # On the NeXT, cc -E runs the code through the compiler's parser,
4028   # not just through cpp. "Syntax error" is here to catch this case.
4029   cat >conftest.$ac_ext <<_ACEOF
4030 #line $LINENO "configure"
4031 /* confdefs.h.  */
4032 _ACEOF
4033 cat confdefs.h >>conftest.$ac_ext
4034 cat >>conftest.$ac_ext <<_ACEOF
4035 /* end confdefs.h.  */
4036 #ifdef __STDC__
4037 # include <limits.h>
4038 #else
4039 # include <assert.h>
4040 #endif
4041                      Syntax error
4042 _ACEOF
4043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4044   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4045   ac_status=$?
4046   grep -v '^ *+' conftest.er1 >conftest.err
4047   rm -f conftest.er1
4048   cat conftest.err >&5
4049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050   (exit $ac_status); } >/dev/null; then
4051   if test -s conftest.err; then
4052     ac_cpp_err=$ac_c_preproc_warn_flag
4053   else
4054     ac_cpp_err=
4055   fi
4056 else
4057   ac_cpp_err=yes
4058 fi
4059 if test -z "$ac_cpp_err"; then
4060   :
4061 else
4062   echo "$as_me: failed program was:" >&5
4063 sed 's/^/| /' conftest.$ac_ext >&5
4064
4065   # Broken: fails on valid input.
4066 continue
4067 fi
4068 rm -f conftest.err conftest.$ac_ext
4069
4070   # OK, works on sane cases.  Now check whether non-existent headers
4071   # can be detected and how.
4072   cat >conftest.$ac_ext <<_ACEOF
4073 #line $LINENO "configure"
4074 /* confdefs.h.  */
4075 _ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h.  */
4079 #include <ac_nonexistent.h>
4080 _ACEOF
4081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4082   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4083   ac_status=$?
4084   grep -v '^ *+' conftest.er1 >conftest.err
4085   rm -f conftest.er1
4086   cat conftest.err >&5
4087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088   (exit $ac_status); } >/dev/null; then
4089   if test -s conftest.err; then
4090     ac_cpp_err=$ac_c_preproc_warn_flag
4091   else
4092     ac_cpp_err=
4093   fi
4094 else
4095   ac_cpp_err=yes
4096 fi
4097 if test -z "$ac_cpp_err"; then
4098   # Broken: success on invalid input.
4099 continue
4100 else
4101   echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4103
4104   # Passes both tests.
4105 ac_preproc_ok=:
4106 break
4107 fi
4108 rm -f conftest.err conftest.$ac_ext
4109
4110 done
4111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4112 rm -f conftest.err conftest.$ac_ext
4113 if $ac_preproc_ok; then
4114   :
4115 else
4116   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4117 See \`config.log' for more details." >&5
4118 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4119 See \`config.log' for more details." >&2;}
4120    { (exit 1); exit 1; }; }
4121 fi
4122
4123 ac_ext=c
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4128
4129
4130 echo "$as_me:$LINENO: checking for egrep" >&5
4131 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4132 if test "${ac_cv_prog_egrep+set}" = set; then
4133   echo $ECHO_N "(cached) $ECHO_C" >&6
4134 else
4135   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4136     then ac_cv_prog_egrep='grep -E'
4137     else ac_cv_prog_egrep='egrep'
4138     fi
4139 fi
4140 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4141 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4142  EGREP=$ac_cv_prog_egrep
4143
4144
4145 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4146 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4147 if test "${ac_cv_header_stdc+set}" = set; then
4148   echo $ECHO_N "(cached) $ECHO_C" >&6
4149 else
4150   cat >conftest.$ac_ext <<_ACEOF
4151 #line $LINENO "configure"
4152 /* confdefs.h.  */
4153 _ACEOF
4154 cat confdefs.h >>conftest.$ac_ext
4155 cat >>conftest.$ac_ext <<_ACEOF
4156 /* end confdefs.h.  */
4157 #include <stdlib.h>
4158 #include <stdarg.h>
4159 #include <string.h>
4160 #include <float.h>
4161
4162 int
4163 main ()
4164 {
4165
4166   ;
4167   return 0;
4168 }
4169 _ACEOF
4170 rm -f conftest.$ac_objext
4171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4172   (eval $ac_compile) 2>&5
4173   ac_status=$?
4174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175   (exit $ac_status); } &&
4176          { ac_try='test -s conftest.$ac_objext'
4177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178   (eval $ac_try) 2>&5
4179   ac_status=$?
4180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181   (exit $ac_status); }; }; then
4182   ac_cv_header_stdc=yes
4183 else
4184   echo "$as_me: failed program was:" >&5
4185 sed 's/^/| /' conftest.$ac_ext >&5
4186
4187 ac_cv_header_stdc=no
4188 fi
4189 rm -f conftest.$ac_objext conftest.$ac_ext
4190
4191 if test $ac_cv_header_stdc = yes; then
4192   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4193   cat >conftest.$ac_ext <<_ACEOF
4194 #line $LINENO "configure"
4195 /* confdefs.h.  */
4196 _ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h.  */
4200 #include <string.h>
4201
4202 _ACEOF
4203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4204   $EGREP "memchr" >/dev/null 2>&1; then
4205   :
4206 else
4207   ac_cv_header_stdc=no
4208 fi
4209 rm -f conftest*
4210
4211 fi
4212
4213 if test $ac_cv_header_stdc = yes; then
4214   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4215   cat >conftest.$ac_ext <<_ACEOF
4216 #line $LINENO "configure"
4217 /* confdefs.h.  */
4218 _ACEOF
4219 cat confdefs.h >>conftest.$ac_ext
4220 cat >>conftest.$ac_ext <<_ACEOF
4221 /* end confdefs.h.  */
4222 #include <stdlib.h>
4223
4224 _ACEOF
4225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4226   $EGREP "free" >/dev/null 2>&1; then
4227   :
4228 else
4229   ac_cv_header_stdc=no
4230 fi
4231 rm -f conftest*
4232
4233 fi
4234
4235 if test $ac_cv_header_stdc = yes; then
4236   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4237   if test "$cross_compiling" = yes; then
4238   :
4239 else
4240   cat >conftest.$ac_ext <<_ACEOF
4241 #line $LINENO "configure"
4242 /* confdefs.h.  */
4243 _ACEOF
4244 cat confdefs.h >>conftest.$ac_ext
4245 cat >>conftest.$ac_ext <<_ACEOF
4246 /* end confdefs.h.  */
4247 #include <ctype.h>
4248 #if ((' ' & 0x0FF) == 0x020)
4249 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4250 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4251 #else
4252 # define ISLOWER(c) \
4253                    (('a' <= (c) && (c) <= 'i') \
4254                      || ('j' <= (c) && (c) <= 'r') \
4255                      || ('s' <= (c) && (c) <= 'z'))
4256 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4257 #endif
4258
4259 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4260 int
4261 main ()
4262 {
4263   int i;
4264   for (i = 0; i < 256; i++)
4265     if (XOR (islower (i), ISLOWER (i))
4266         || toupper (i) != TOUPPER (i))
4267       exit(2);
4268   exit (0);
4269 }
4270 _ACEOF
4271 rm -f conftest$ac_exeext
4272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4273   (eval $ac_link) 2>&5
4274   ac_status=$?
4275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278   (eval $ac_try) 2>&5
4279   ac_status=$?
4280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281   (exit $ac_status); }; }; then
4282   :
4283 else
4284   echo "$as_me: program exited with status $ac_status" >&5
4285 echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4287
4288 ( exit $ac_status )
4289 ac_cv_header_stdc=no
4290 fi
4291 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4292 fi
4293 fi
4294 fi
4295 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4296 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4297 if test $ac_cv_header_stdc = yes; then
4298
4299 cat >>confdefs.h <<\_ACEOF
4300 #define STDC_HEADERS 1
4301 _ACEOF
4302
4303 fi
4304
4305 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4316                   inttypes.h stdint.h unistd.h
4317 do
4318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4319 echo "$as_me:$LINENO: checking for $ac_header" >&5
4320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4322   echo $ECHO_N "(cached) $ECHO_C" >&6
4323 else
4324   cat >conftest.$ac_ext <<_ACEOF
4325 #line $LINENO "configure"
4326 /* confdefs.h.  */
4327 _ACEOF
4328 cat confdefs.h >>conftest.$ac_ext
4329 cat >>conftest.$ac_ext <<_ACEOF
4330 /* end confdefs.h.  */
4331 $ac_includes_default
4332
4333 #include <$ac_header>
4334 _ACEOF
4335 rm -f conftest.$ac_objext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4337   (eval $ac_compile) 2>&5
4338   ac_status=$?
4339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340   (exit $ac_status); } &&
4341          { ac_try='test -s conftest.$ac_objext'
4342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343   (eval $ac_try) 2>&5
4344   ac_status=$?
4345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346   (exit $ac_status); }; }; then
4347   eval "$as_ac_Header=yes"
4348 else
4349   echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4351
4352 eval "$as_ac_Header=no"
4353 fi
4354 rm -f conftest.$ac_objext conftest.$ac_ext
4355 fi
4356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4358 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4359   cat >>confdefs.h <<_ACEOF
4360 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4361 _ACEOF
4362
4363 fi
4364
4365 done
4366
4367
4368 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
4369 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
4370 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
4371   echo $ECHO_N "(cached) $ECHO_C" >&6
4372 else
4373   cat >conftest.$ac_ext <<_ACEOF
4374 #line $LINENO "configure"
4375 /* confdefs.h.  */
4376 _ACEOF
4377 cat confdefs.h >>conftest.$ac_ext
4378 cat >>conftest.$ac_ext <<_ACEOF
4379 /* end confdefs.h.  */
4380 #include <sys/types.h>
4381 int
4382 main ()
4383 {
4384 return makedev(0, 0);
4385   ;
4386   return 0;
4387 }
4388 _ACEOF
4389 rm -f conftest.$ac_objext conftest$ac_exeext
4390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4391   (eval $ac_link) 2>&5
4392   ac_status=$?
4393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394   (exit $ac_status); } &&
4395          { ac_try='test -s conftest$ac_exeext'
4396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397   (eval $ac_try) 2>&5
4398   ac_status=$?
4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400   (exit $ac_status); }; }; then
4401   ac_cv_header_sys_types_h_makedev=yes
4402 else
4403   echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4405
4406 ac_cv_header_sys_types_h_makedev=no
4407 fi
4408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4409
4410 fi
4411 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
4412 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
4413
4414 if test $ac_cv_header_sys_types_h_makedev = no; then
4415 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4416   echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4417 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
4418 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4419   echo $ECHO_N "(cached) $ECHO_C" >&6
4420 fi
4421 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4422 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
4423 else
4424   # Is the header compilable?
4425 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
4426 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
4427 cat >conftest.$ac_ext <<_ACEOF
4428 #line $LINENO "configure"
4429 /* confdefs.h.  */
4430 _ACEOF
4431 cat confdefs.h >>conftest.$ac_ext
4432 cat >>conftest.$ac_ext <<_ACEOF
4433 /* end confdefs.h.  */
4434 $ac_includes_default
4435 #include <sys/mkdev.h>
4436 _ACEOF
4437 rm -f conftest.$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439   (eval $ac_compile) 2>&5
4440   ac_status=$?
4441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442   (exit $ac_status); } &&
4443          { ac_try='test -s conftest.$ac_objext'
4444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445   (eval $ac_try) 2>&5
4446   ac_status=$?
4447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448   (exit $ac_status); }; }; then
4449   ac_header_compiler=yes
4450 else
4451   echo "$as_me: failed program was:" >&5
4452 sed 's/^/| /' conftest.$ac_ext >&5
4453
4454 ac_header_compiler=no
4455 fi
4456 rm -f conftest.$ac_objext conftest.$ac_ext
4457 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4458 echo "${ECHO_T}$ac_header_compiler" >&6
4459
4460 # Is the header present?
4461 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
4462 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
4463 cat >conftest.$ac_ext <<_ACEOF
4464 #line $LINENO "configure"
4465 /* confdefs.h.  */
4466 _ACEOF
4467 cat confdefs.h >>conftest.$ac_ext
4468 cat >>conftest.$ac_ext <<_ACEOF
4469 /* end confdefs.h.  */
4470 #include <sys/mkdev.h>
4471 _ACEOF
4472 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4473   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4474   ac_status=$?
4475   grep -v '^ *+' conftest.er1 >conftest.err
4476   rm -f conftest.er1
4477   cat conftest.err >&5
4478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479   (exit $ac_status); } >/dev/null; then
4480   if test -s conftest.err; then
4481     ac_cpp_err=$ac_c_preproc_warn_flag
4482   else
4483     ac_cpp_err=
4484   fi
4485 else
4486   ac_cpp_err=yes
4487 fi
4488 if test -z "$ac_cpp_err"; then
4489   ac_header_preproc=yes
4490 else
4491   echo "$as_me: failed program was:" >&5
4492 sed 's/^/| /' conftest.$ac_ext >&5
4493
4494   ac_header_preproc=no
4495 fi
4496 rm -f conftest.err conftest.$ac_ext
4497 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4498 echo "${ECHO_T}$ac_header_preproc" >&6
4499
4500 # So?  What about this header?
4501 case $ac_header_compiler:$ac_header_preproc in
4502   yes:no )
4503     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
4504 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4505     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4506 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4507     (
4508       cat <<\_ASBOX
4509 ## ------------------------------------ ##
4510 ## Report this to bug-autoconf@gnu.org. ##
4511 ## ------------------------------------ ##
4512 _ASBOX
4513     ) |
4514       sed "s/^/$as_me: WARNING:     /" >&2
4515     ;;
4516   no:yes )
4517     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
4518 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
4519     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
4520 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
4521     { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
4522 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
4523     (
4524       cat <<\_ASBOX
4525 ## ------------------------------------ ##
4526 ## Report this to bug-autoconf@gnu.org. ##
4527 ## ------------------------------------ ##
4528 _ASBOX
4529     ) |
4530       sed "s/^/$as_me: WARNING:     /" >&2
4531     ;;
4532 esac
4533 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
4534 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
4535 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
4536   echo $ECHO_N "(cached) $ECHO_C" >&6
4537 else
4538   ac_cv_header_sys_mkdev_h=$ac_header_preproc
4539 fi
4540 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
4541 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
4542
4543 fi
4544 if test $ac_cv_header_sys_mkdev_h = yes; then
4545
4546 cat >>confdefs.h <<\_ACEOF
4547 #define MAJOR_IN_MKDEV 1
4548 _ACEOF
4549
4550 fi
4551
4552
4553
4554   if test $ac_cv_header_sys_mkdev_h = no; then
4555     if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4556   echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4557 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
4558 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4559   echo $ECHO_N "(cached) $ECHO_C" >&6
4560 fi
4561 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4562 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
4563 else
4564   # Is the header compilable?
4565 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
4566 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
4567 cat >conftest.$ac_ext <<_ACEOF
4568 #line $LINENO "configure"
4569 /* confdefs.h.  */
4570 _ACEOF
4571 cat confdefs.h >>conftest.$ac_ext
4572 cat >>conftest.$ac_ext <<_ACEOF
4573 /* end confdefs.h.  */
4574 $ac_includes_default
4575 #include <sys/sysmacros.h>
4576 _ACEOF
4577 rm -f conftest.$ac_objext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579   (eval $ac_compile) 2>&5
4580   ac_status=$?
4581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582   (exit $ac_status); } &&
4583          { ac_try='test -s conftest.$ac_objext'
4584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585   (eval $ac_try) 2>&5
4586   ac_status=$?
4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588   (exit $ac_status); }; }; then
4589   ac_header_compiler=yes
4590 else
4591   echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.$ac_ext >&5
4593
4594 ac_header_compiler=no
4595 fi
4596 rm -f conftest.$ac_objext conftest.$ac_ext
4597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4598 echo "${ECHO_T}$ac_header_compiler" >&6
4599
4600 # Is the header present?
4601 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
4602 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
4603 cat >conftest.$ac_ext <<_ACEOF
4604 #line $LINENO "configure"
4605 /* confdefs.h.  */
4606 _ACEOF
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h.  */
4610 #include <sys/sysmacros.h>
4611 _ACEOF
4612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4613   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4614   ac_status=$?
4615   grep -v '^ *+' conftest.er1 >conftest.err
4616   rm -f conftest.er1
4617   cat conftest.err >&5
4618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619   (exit $ac_status); } >/dev/null; then
4620   if test -s conftest.err; then
4621     ac_cpp_err=$ac_c_preproc_warn_flag
4622   else
4623     ac_cpp_err=
4624   fi
4625 else
4626   ac_cpp_err=yes
4627 fi
4628 if test -z "$ac_cpp_err"; then
4629   ac_header_preproc=yes
4630 else
4631   echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.$ac_ext >&5
4633
4634   ac_header_preproc=no
4635 fi
4636 rm -f conftest.err conftest.$ac_ext
4637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4638 echo "${ECHO_T}$ac_header_preproc" >&6
4639
4640 # So?  What about this header?
4641 case $ac_header_compiler:$ac_header_preproc in
4642   yes:no )
4643     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
4644 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4645     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4646 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4647     (
4648       cat <<\_ASBOX
4649 ## ------------------------------------ ##
4650 ## Report this to bug-autoconf@gnu.org. ##
4651 ## ------------------------------------ ##
4652 _ASBOX
4653     ) |
4654       sed "s/^/$as_me: WARNING:     /" >&2
4655     ;;
4656   no:yes )
4657     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
4658 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
4659     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
4660 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
4661     { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
4662 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
4663     (
4664       cat <<\_ASBOX
4665 ## ------------------------------------ ##
4666 ## Report this to bug-autoconf@gnu.org. ##
4667 ## ------------------------------------ ##
4668 _ASBOX
4669     ) |
4670       sed "s/^/$as_me: WARNING:     /" >&2
4671     ;;
4672 esac
4673 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
4674 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
4675 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
4676   echo $ECHO_N "(cached) $ECHO_C" >&6
4677 else
4678   ac_cv_header_sys_sysmacros_h=$ac_header_preproc
4679 fi
4680 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
4681 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
4682
4683 fi
4684 if test $ac_cv_header_sys_sysmacros_h = yes; then
4685
4686 cat >>confdefs.h <<\_ACEOF
4687 #define MAJOR_IN_SYSMACROS 1
4688 _ACEOF
4689
4690 fi
4691
4692
4693   fi
4694 fi
4695
4696 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4697 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4698 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4699   echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701   cat >conftest.$ac_ext <<_ACEOF
4702 #line $LINENO "configure"
4703 /* confdefs.h.  */
4704 _ACEOF
4705 cat confdefs.h >>conftest.$ac_ext
4706 cat >>conftest.$ac_ext <<_ACEOF
4707 /* end confdefs.h.  */
4708 #include <sys/types.h>
4709 #include <sys/wait.h>
4710 #ifndef WEXITSTATUS
4711 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4712 #endif
4713 #ifndef WIFEXITED
4714 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4715 #endif
4716
4717 int
4718 main ()
4719 {
4720   int s;
4721   wait (&s);
4722   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4723   ;
4724   return 0;
4725 }
4726 _ACEOF
4727 rm -f conftest.$ac_objext
4728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4729   (eval $ac_compile) 2>&5
4730   ac_status=$?
4731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732   (exit $ac_status); } &&
4733          { ac_try='test -s conftest.$ac_objext'
4734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735   (eval $ac_try) 2>&5
4736   ac_status=$?
4737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738   (exit $ac_status); }; }; then
4739   ac_cv_header_sys_wait_h=yes
4740 else
4741   echo "$as_me: failed program was:" >&5
4742 sed 's/^/| /' conftest.$ac_ext >&5
4743
4744 ac_cv_header_sys_wait_h=no
4745 fi
4746 rm -f conftest.$ac_objext conftest.$ac_ext
4747 fi
4748 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4749 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
4750 if test $ac_cv_header_sys_wait_h = yes; then
4751
4752 cat >>confdefs.h <<\_ACEOF
4753 #define HAVE_SYS_WAIT_H 1
4754 _ACEOF
4755
4756 fi
4757
4758
4759 for ac_header in stdint.h
4760 do
4761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4763   echo "$as_me:$LINENO: checking for $ac_header" >&5
4764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4766   echo $ECHO_N "(cached) $ECHO_C" >&6
4767 fi
4768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4770 else
4771   # Is the header compilable?
4772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4774 cat >conftest.$ac_ext <<_ACEOF
4775 #line $LINENO "configure"
4776 /* confdefs.h.  */
4777 _ACEOF
4778 cat confdefs.h >>conftest.$ac_ext
4779 cat >>conftest.$ac_ext <<_ACEOF
4780 /* end confdefs.h.  */
4781 $ac_includes_default
4782 #include <$ac_header>
4783 _ACEOF
4784 rm -f conftest.$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786   (eval $ac_compile) 2>&5
4787   ac_status=$?
4788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789   (exit $ac_status); } &&
4790          { ac_try='test -s conftest.$ac_objext'
4791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792   (eval $ac_try) 2>&5
4793   ac_status=$?
4794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795   (exit $ac_status); }; }; then
4796   ac_header_compiler=yes
4797 else
4798   echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4800
4801 ac_header_compiler=no
4802 fi
4803 rm -f conftest.$ac_objext conftest.$ac_ext
4804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4805 echo "${ECHO_T}$ac_header_compiler" >&6
4806
4807 # Is the header present?
4808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4810 cat >conftest.$ac_ext <<_ACEOF
4811 #line $LINENO "configure"
4812 /* confdefs.h.  */
4813 _ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h.  */
4817 #include <$ac_header>
4818 _ACEOF
4819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4820   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4821   ac_status=$?
4822   grep -v '^ *+' conftest.er1 >conftest.err
4823   rm -f conftest.er1
4824   cat conftest.err >&5
4825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826   (exit $ac_status); } >/dev/null; then
4827   if test -s conftest.err; then
4828     ac_cpp_err=$ac_c_preproc_warn_flag
4829   else
4830     ac_cpp_err=
4831   fi
4832 else
4833   ac_cpp_err=yes
4834 fi
4835 if test -z "$ac_cpp_err"; then
4836   ac_header_preproc=yes
4837 else
4838   echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4840
4841   ac_header_preproc=no
4842 fi
4843 rm -f conftest.err conftest.$ac_ext
4844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4845 echo "${ECHO_T}$ac_header_preproc" >&6
4846
4847 # So?  What about this header?
4848 case $ac_header_compiler:$ac_header_preproc in
4849   yes:no )
4850     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4852     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4854     (
4855       cat <<\_ASBOX
4856 ## ------------------------------------ ##
4857 ## Report this to bug-autoconf@gnu.org. ##
4858 ## ------------------------------------ ##
4859 _ASBOX
4860     ) |
4861       sed "s/^/$as_me: WARNING:     /" >&2
4862     ;;
4863   no:yes )
4864     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4866     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4868     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4870     (
4871       cat <<\_ASBOX
4872 ## ------------------------------------ ##
4873 ## Report this to bug-autoconf@gnu.org. ##
4874 ## ------------------------------------ ##
4875 _ASBOX
4876     ) |
4877       sed "s/^/$as_me: WARNING:     /" >&2
4878     ;;
4879 esac
4880 echo "$as_me:$LINENO: checking for $ac_header" >&5
4881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4883   echo $ECHO_N "(cached) $ECHO_C" >&6
4884 else
4885   eval "$as_ac_Header=$ac_header_preproc"
4886 fi
4887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4889
4890 fi
4891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4892   cat >>confdefs.h <<_ACEOF
4893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4894 _ACEOF
4895
4896 fi
4897
4898 done
4899
4900
4901
4902 for ac_header in fcntl.h locale.h
4903 do
4904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4906   echo "$as_me:$LINENO: checking for $ac_header" >&5
4907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4909   echo $ECHO_N "(cached) $ECHO_C" >&6
4910 fi
4911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4913 else
4914   # Is the header compilable?
4915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4917 cat >conftest.$ac_ext <<_ACEOF
4918 #line $LINENO "configure"
4919 /* confdefs.h.  */
4920 _ACEOF
4921 cat confdefs.h >>conftest.$ac_ext
4922 cat >>conftest.$ac_ext <<_ACEOF
4923 /* end confdefs.h.  */
4924 $ac_includes_default
4925 #include <$ac_header>
4926 _ACEOF
4927 rm -f conftest.$ac_objext
4928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4929   (eval $ac_compile) 2>&5
4930   ac_status=$?
4931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932   (exit $ac_status); } &&
4933          { ac_try='test -s conftest.$ac_objext'
4934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935   (eval $ac_try) 2>&5
4936   ac_status=$?
4937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4938   (exit $ac_status); }; }; then
4939   ac_header_compiler=yes
4940 else
4941   echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.$ac_ext >&5
4943
4944 ac_header_compiler=no
4945 fi
4946 rm -f conftest.$ac_objext conftest.$ac_ext
4947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4948 echo "${ECHO_T}$ac_header_compiler" >&6
4949
4950 # Is the header present?
4951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4953 cat >conftest.$ac_ext <<_ACEOF
4954 #line $LINENO "configure"
4955 /* confdefs.h.  */
4956 _ACEOF
4957 cat confdefs.h >>conftest.$ac_ext
4958 cat >>conftest.$ac_ext <<_ACEOF
4959 /* end confdefs.h.  */
4960 #include <$ac_header>
4961 _ACEOF
4962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4963   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4964   ac_status=$?
4965   grep -v '^ *+' conftest.er1 >conftest.err
4966   rm -f conftest.er1
4967   cat conftest.err >&5
4968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969   (exit $ac_status); } >/dev/null; then
4970   if test -s conftest.err; then
4971     ac_cpp_err=$ac_c_preproc_warn_flag
4972   else
4973     ac_cpp_err=
4974   fi
4975 else
4976   ac_cpp_err=yes
4977 fi
4978 if test -z "$ac_cpp_err"; then
4979   ac_header_preproc=yes
4980 else
4981   echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4983
4984   ac_header_preproc=no
4985 fi
4986 rm -f conftest.err conftest.$ac_ext
4987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4988 echo "${ECHO_T}$ac_header_preproc" >&6
4989
4990 # So?  What about this header?
4991 case $ac_header_compiler:$ac_header_preproc in
4992   yes:no )
4993     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4995     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4997     (
4998       cat <<\_ASBOX
4999 ## ------------------------------------ ##
5000 ## Report this to bug-autoconf@gnu.org. ##
5001 ## ------------------------------------ ##
5002 _ASBOX
5003     ) |
5004       sed "s/^/$as_me: WARNING:     /" >&2
5005     ;;
5006   no:yes )
5007     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5009     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5011     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5013     (
5014       cat <<\_ASBOX
5015 ## ------------------------------------ ##
5016 ## Report this to bug-autoconf@gnu.org. ##
5017 ## ------------------------------------ ##
5018 _ASBOX
5019     ) |
5020       sed "s/^/$as_me: WARNING:     /" >&2
5021     ;;
5022 esac
5023 echo "$as_me:$LINENO: checking for $ac_header" >&5
5024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5026   echo $ECHO_N "(cached) $ECHO_C" >&6
5027 else
5028   eval "$as_ac_Header=$ac_header_preproc"
5029 fi
5030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5032
5033 fi
5034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5035   cat >>confdefs.h <<_ACEOF
5036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5037 _ACEOF
5038
5039 fi
5040
5041 done
5042
5043
5044
5045
5046 for ac_header in sys/mman.h sys/stat.h sys/types.h
5047 do
5048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5050   echo "$as_me:$LINENO: checking for $ac_header" >&5
5051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5053   echo $ECHO_N "(cached) $ECHO_C" >&6
5054 fi
5055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5057 else
5058   # Is the header compilable?
5059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5061 cat >conftest.$ac_ext <<_ACEOF
5062 #line $LINENO "configure"
5063 /* confdefs.h.  */
5064 _ACEOF
5065 cat confdefs.h >>conftest.$ac_ext
5066 cat >>conftest.$ac_ext <<_ACEOF
5067 /* end confdefs.h.  */
5068 $ac_includes_default
5069 #include <$ac_header>
5070 _ACEOF
5071 rm -f conftest.$ac_objext
5072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5073   (eval $ac_compile) 2>&5
5074   ac_status=$?
5075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076   (exit $ac_status); } &&
5077          { ac_try='test -s conftest.$ac_objext'
5078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079   (eval $ac_try) 2>&5
5080   ac_status=$?
5081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082   (exit $ac_status); }; }; then
5083   ac_header_compiler=yes
5084 else
5085   echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.$ac_ext >&5
5087
5088 ac_header_compiler=no
5089 fi
5090 rm -f conftest.$ac_objext conftest.$ac_ext
5091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5092 echo "${ECHO_T}$ac_header_compiler" >&6
5093
5094 # Is the header present?
5095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5097 cat >conftest.$ac_ext <<_ACEOF
5098 #line $LINENO "configure"
5099 /* confdefs.h.  */
5100 _ACEOF
5101 cat confdefs.h >>conftest.$ac_ext
5102 cat >>conftest.$ac_ext <<_ACEOF
5103 /* end confdefs.h.  */
5104 #include <$ac_header>
5105 _ACEOF
5106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5107   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5108   ac_status=$?
5109   grep -v '^ *+' conftest.er1 >conftest.err
5110   rm -f conftest.er1
5111   cat conftest.err >&5
5112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113   (exit $ac_status); } >/dev/null; then
5114   if test -s conftest.err; then
5115     ac_cpp_err=$ac_c_preproc_warn_flag
5116   else
5117     ac_cpp_err=
5118   fi
5119 else
5120   ac_cpp_err=yes
5121 fi
5122 if test -z "$ac_cpp_err"; then
5123   ac_header_preproc=yes
5124 else
5125   echo "$as_me: failed program was:" >&5
5126 sed 's/^/| /' conftest.$ac_ext >&5
5127
5128   ac_header_preproc=no
5129 fi
5130 rm -f conftest.err conftest.$ac_ext
5131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5132 echo "${ECHO_T}$ac_header_preproc" >&6
5133
5134 # So?  What about this header?
5135 case $ac_header_compiler:$ac_header_preproc in
5136   yes:no )
5137     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5141     (
5142       cat <<\_ASBOX
5143 ## ------------------------------------ ##
5144 ## Report this to bug-autoconf@gnu.org. ##
5145 ## ------------------------------------ ##
5146 _ASBOX
5147     ) |
5148       sed "s/^/$as_me: WARNING:     /" >&2
5149     ;;
5150   no:yes )
5151     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5152 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5153     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5154 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5155     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5157     (
5158       cat <<\_ASBOX
5159 ## ------------------------------------ ##
5160 ## Report this to bug-autoconf@gnu.org. ##
5161 ## ------------------------------------ ##
5162 _ASBOX
5163     ) |
5164       sed "s/^/$as_me: WARNING:     /" >&2
5165     ;;
5166 esac
5167 echo "$as_me:$LINENO: checking for $ac_header" >&5
5168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5170   echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172   eval "$as_ac_Header=$ac_header_preproc"
5173 fi
5174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5176
5177 fi
5178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5179   cat >>confdefs.h <<_ACEOF
5180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5181 _ACEOF
5182
5183 fi
5184
5185 done
5186
5187
5188
5189 for ac_header in stdint.h inttypes.h
5190 do
5191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5193   echo "$as_me:$LINENO: checking for $ac_header" >&5
5194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5196   echo $ECHO_N "(cached) $ECHO_C" >&6
5197 fi
5198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5200 else
5201   # Is the header compilable?
5202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5204 cat >conftest.$ac_ext <<_ACEOF
5205 #line $LINENO "configure"
5206 /* confdefs.h.  */
5207 _ACEOF
5208 cat confdefs.h >>conftest.$ac_ext
5209 cat >>conftest.$ac_ext <<_ACEOF
5210 /* end confdefs.h.  */
5211 $ac_includes_default
5212 #include <$ac_header>
5213 _ACEOF
5214 rm -f conftest.$ac_objext
5215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5216   (eval $ac_compile) 2>&5
5217   ac_status=$?
5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219   (exit $ac_status); } &&
5220          { ac_try='test -s conftest.$ac_objext'
5221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5222   (eval $ac_try) 2>&5
5223   ac_status=$?
5224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225   (exit $ac_status); }; }; then
5226   ac_header_compiler=yes
5227 else
5228   echo "$as_me: failed program was:" >&5
5229 sed 's/^/| /' conftest.$ac_ext >&5
5230
5231 ac_header_compiler=no
5232 fi
5233 rm -f conftest.$ac_objext conftest.$ac_ext
5234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5235 echo "${ECHO_T}$ac_header_compiler" >&6
5236
5237 # Is the header present?
5238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5240 cat >conftest.$ac_ext <<_ACEOF
5241 #line $LINENO "configure"
5242 /* confdefs.h.  */
5243 _ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h.  */
5247 #include <$ac_header>
5248 _ACEOF
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5251   ac_status=$?
5252   grep -v '^ *+' conftest.er1 >conftest.err
5253   rm -f conftest.er1
5254   cat conftest.err >&5
5255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256   (exit $ac_status); } >/dev/null; then
5257   if test -s conftest.err; then
5258     ac_cpp_err=$ac_c_preproc_warn_flag
5259   else
5260     ac_cpp_err=
5261   fi
5262 else
5263   ac_cpp_err=yes
5264 fi
5265 if test -z "$ac_cpp_err"; then
5266   ac_header_preproc=yes
5267 else
5268   echo "$as_me: failed program was:" >&5
5269 sed 's/^/| /' conftest.$ac_ext >&5
5270
5271   ac_header_preproc=no
5272 fi
5273 rm -f conftest.err conftest.$ac_ext
5274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5275 echo "${ECHO_T}$ac_header_preproc" >&6
5276
5277 # So?  What about this header?
5278 case $ac_header_compiler:$ac_header_preproc in
5279   yes:no )
5280     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5282     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5283 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5284     (
5285       cat <<\_ASBOX
5286 ## ------------------------------------ ##
5287 ## Report this to bug-autoconf@gnu.org. ##
5288 ## ------------------------------------ ##
5289 _ASBOX
5290     ) |
5291       sed "s/^/$as_me: WARNING:     /" >&2
5292     ;;
5293   no:yes )
5294     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5295 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5296     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5297 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5298     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5300     (
5301       cat <<\_ASBOX
5302 ## ------------------------------------ ##
5303 ## Report this to bug-autoconf@gnu.org. ##
5304 ## ------------------------------------ ##
5305 _ASBOX
5306     ) |
5307       sed "s/^/$as_me: WARNING:     /" >&2
5308     ;;
5309 esac
5310 echo "$as_me:$LINENO: checking for $ac_header" >&5
5311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5313   echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315   eval "$as_ac_Header=$ac_header_preproc"
5316 fi
5317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5319
5320 fi
5321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5322   cat >>confdefs.h <<_ACEOF
5323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5324 _ACEOF
5325
5326 fi
5327
5328 done
5329
5330
5331 for ac_header in unistd.h
5332 do
5333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5335   echo "$as_me:$LINENO: checking for $ac_header" >&5
5336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5338   echo $ECHO_N "(cached) $ECHO_C" >&6
5339 fi
5340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5342 else
5343   # Is the header compilable?
5344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5346 cat >conftest.$ac_ext <<_ACEOF
5347 #line $LINENO "configure"
5348 /* confdefs.h.  */
5349 _ACEOF
5350 cat confdefs.h >>conftest.$ac_ext
5351 cat >>conftest.$ac_ext <<_ACEOF
5352 /* end confdefs.h.  */
5353 $ac_includes_default
5354 #include <$ac_header>
5355 _ACEOF
5356 rm -f conftest.$ac_objext
5357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5358   (eval $ac_compile) 2>&5
5359   ac_status=$?
5360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361   (exit $ac_status); } &&
5362          { ac_try='test -s conftest.$ac_objext'
5363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5364   (eval $ac_try) 2>&5
5365   ac_status=$?
5366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367   (exit $ac_status); }; }; then
5368   ac_header_compiler=yes
5369 else
5370   echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.$ac_ext >&5
5372
5373 ac_header_compiler=no
5374 fi
5375 rm -f conftest.$ac_objext conftest.$ac_ext
5376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5377 echo "${ECHO_T}$ac_header_compiler" >&6
5378
5379 # Is the header present?
5380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5382 cat >conftest.$ac_ext <<_ACEOF
5383 #line $LINENO "configure"
5384 /* confdefs.h.  */
5385 _ACEOF
5386 cat confdefs.h >>conftest.$ac_ext
5387 cat >>conftest.$ac_ext <<_ACEOF
5388 /* end confdefs.h.  */
5389 #include <$ac_header>
5390 _ACEOF
5391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5392   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5393   ac_status=$?
5394   grep -v '^ *+' conftest.er1 >conftest.err
5395   rm -f conftest.er1
5396   cat conftest.err >&5
5397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398   (exit $ac_status); } >/dev/null; then
5399   if test -s conftest.err; then
5400     ac_cpp_err=$ac_c_preproc_warn_flag
5401   else
5402     ac_cpp_err=
5403   fi
5404 else
5405   ac_cpp_err=yes
5406 fi
5407 if test -z "$ac_cpp_err"; then
5408   ac_header_preproc=yes
5409 else
5410   echo "$as_me: failed program was:" >&5
5411 sed 's/^/| /' conftest.$ac_ext >&5
5412
5413   ac_header_preproc=no
5414 fi
5415 rm -f conftest.err conftest.$ac_ext
5416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5417 echo "${ECHO_T}$ac_header_preproc" >&6
5418
5419 # So?  What about this header?
5420 case $ac_header_compiler:$ac_header_preproc in
5421   yes:no )
5422     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5424     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5426     (
5427       cat <<\_ASBOX
5428 ## ------------------------------------ ##
5429 ## Report this to bug-autoconf@gnu.org. ##
5430 ## ------------------------------------ ##
5431 _ASBOX
5432     ) |
5433       sed "s/^/$as_me: WARNING:     /" >&2
5434     ;;
5435   no:yes )
5436     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5437 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5438     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5439 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5440     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5442     (
5443       cat <<\_ASBOX
5444 ## ------------------------------------ ##
5445 ## Report this to bug-autoconf@gnu.org. ##
5446 ## ------------------------------------ ##
5447 _ASBOX
5448     ) |
5449       sed "s/^/$as_me: WARNING:     /" >&2
5450     ;;
5451 esac
5452 echo "$as_me:$LINENO: checking for $ac_header" >&5
5453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5455   echo $ECHO_N "(cached) $ECHO_C" >&6
5456 else
5457   eval "$as_ac_Header=$ac_header_preproc"
5458 fi
5459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5461
5462 fi
5463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5464   cat >>confdefs.h <<_ACEOF
5465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5466 _ACEOF
5467
5468 fi
5469
5470 done
5471
5472
5473 for ac_header in getopt.h
5474 do
5475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5477   echo "$as_me:$LINENO: checking for $ac_header" >&5
5478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5480   echo $ECHO_N "(cached) $ECHO_C" >&6
5481 fi
5482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5484 else
5485   # Is the header compilable?
5486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5488 cat >conftest.$ac_ext <<_ACEOF
5489 #line $LINENO "configure"
5490 /* confdefs.h.  */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h.  */
5495 $ac_includes_default
5496 #include <$ac_header>
5497 _ACEOF
5498 rm -f conftest.$ac_objext
5499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5500   (eval $ac_compile) 2>&5
5501   ac_status=$?
5502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503   (exit $ac_status); } &&
5504          { ac_try='test -s conftest.$ac_objext'
5505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5506   (eval $ac_try) 2>&5
5507   ac_status=$?
5508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509   (exit $ac_status); }; }; then
5510   ac_header_compiler=yes
5511 else
5512   echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.$ac_ext >&5
5514
5515 ac_header_compiler=no
5516 fi
5517 rm -f conftest.$ac_objext conftest.$ac_ext
5518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5519 echo "${ECHO_T}$ac_header_compiler" >&6
5520
5521 # Is the header present?
5522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5524 cat >conftest.$ac_ext <<_ACEOF
5525 #line $LINENO "configure"
5526 /* confdefs.h.  */
5527 _ACEOF
5528 cat confdefs.h >>conftest.$ac_ext
5529 cat >>conftest.$ac_ext <<_ACEOF
5530 /* end confdefs.h.  */
5531 #include <$ac_header>
5532 _ACEOF
5533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5534   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5535   ac_status=$?
5536   grep -v '^ *+' conftest.er1 >conftest.err
5537   rm -f conftest.er1
5538   cat conftest.err >&5
5539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540   (exit $ac_status); } >/dev/null; then
5541   if test -s conftest.err; then
5542     ac_cpp_err=$ac_c_preproc_warn_flag
5543   else
5544     ac_cpp_err=
5545   fi
5546 else
5547   ac_cpp_err=yes
5548 fi
5549 if test -z "$ac_cpp_err"; then
5550   ac_header_preproc=yes
5551 else
5552   echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.$ac_ext >&5
5554
5555   ac_header_preproc=no
5556 fi
5557 rm -f conftest.err conftest.$ac_ext
5558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5559 echo "${ECHO_T}$ac_header_preproc" >&6
5560
5561 # So?  What about this header?
5562 case $ac_header_compiler:$ac_header_preproc in
5563   yes:no )
5564     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5567 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5568     (
5569       cat <<\_ASBOX
5570 ## ------------------------------------ ##
5571 ## Report this to bug-autoconf@gnu.org. ##
5572 ## ------------------------------------ ##
5573 _ASBOX
5574     ) |
5575       sed "s/^/$as_me: WARNING:     /" >&2
5576     ;;
5577   no:yes )
5578     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5580     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5582     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5584     (
5585       cat <<\_ASBOX
5586 ## ------------------------------------ ##
5587 ## Report this to bug-autoconf@gnu.org. ##
5588 ## ------------------------------------ ##
5589 _ASBOX
5590     ) |
5591       sed "s/^/$as_me: WARNING:     /" >&2
5592     ;;
5593 esac
5594 echo "$as_me:$LINENO: checking for $ac_header" >&5
5595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5597   echo $ECHO_N "(cached) $ECHO_C" >&6
5598 else
5599   eval "$as_ac_Header=$ac_header_preproc"
5600 fi
5601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5603
5604 fi
5605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5606   cat >>confdefs.h <<_ACEOF
5607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5608 _ACEOF
5609
5610 fi
5611
5612 done
5613
5614
5615 for ac_header in locale.h
5616 do
5617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619   echo "$as_me:$LINENO: checking for $ac_header" >&5
5620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5622   echo $ECHO_N "(cached) $ECHO_C" >&6
5623 fi
5624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5626 else
5627   # Is the header compilable?
5628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5630 cat >conftest.$ac_ext <<_ACEOF
5631 #line $LINENO "configure"
5632 /* confdefs.h.  */
5633 _ACEOF
5634 cat confdefs.h >>conftest.$ac_ext
5635 cat >>conftest.$ac_ext <<_ACEOF
5636 /* end confdefs.h.  */
5637 $ac_includes_default
5638 #include <$ac_header>
5639 _ACEOF
5640 rm -f conftest.$ac_objext
5641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5642   (eval $ac_compile) 2>&5
5643   ac_status=$?
5644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645   (exit $ac_status); } &&
5646          { ac_try='test -s conftest.$ac_objext'
5647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648   (eval $ac_try) 2>&5
5649   ac_status=$?
5650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651   (exit $ac_status); }; }; then
5652   ac_header_compiler=yes
5653 else
5654   echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.$ac_ext >&5
5656
5657 ac_header_compiler=no
5658 fi
5659 rm -f conftest.$ac_objext conftest.$ac_ext
5660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5661 echo "${ECHO_T}$ac_header_compiler" >&6
5662
5663 # Is the header present?
5664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5666 cat >conftest.$ac_ext <<_ACEOF
5667 #line $LINENO "configure"
5668 /* confdefs.h.  */
5669 _ACEOF
5670 cat confdefs.h >>conftest.$ac_ext
5671 cat >>conftest.$ac_ext <<_ACEOF
5672 /* end confdefs.h.  */
5673 #include <$ac_header>
5674 _ACEOF
5675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5676   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5677   ac_status=$?
5678   grep -v '^ *+' conftest.er1 >conftest.err
5679   rm -f conftest.er1
5680   cat conftest.err >&5
5681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682   (exit $ac_status); } >/dev/null; then
5683   if test -s conftest.err; then
5684     ac_cpp_err=$ac_c_preproc_warn_flag
5685   else
5686     ac_cpp_err=
5687   fi
5688 else
5689   ac_cpp_err=yes
5690 fi
5691 if test -z "$ac_cpp_err"; then
5692   ac_header_preproc=yes
5693 else
5694   echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.$ac_ext >&5
5696
5697   ac_header_preproc=no
5698 fi
5699 rm -f conftest.err conftest.$ac_ext
5700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5701 echo "${ECHO_T}$ac_header_preproc" >&6
5702
5703 # So?  What about this header?
5704 case $ac_header_compiler:$ac_header_preproc in
5705   yes:no )
5706     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5708     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5710     (
5711       cat <<\_ASBOX
5712 ## ------------------------------------ ##
5713 ## Report this to bug-autoconf@gnu.org. ##
5714 ## ------------------------------------ ##
5715 _ASBOX
5716     ) |
5717       sed "s/^/$as_me: WARNING:     /" >&2
5718     ;;
5719   no:yes )
5720     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5722     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5724     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5726     (
5727       cat <<\_ASBOX
5728 ## ------------------------------------ ##
5729 ## Report this to bug-autoconf@gnu.org. ##
5730 ## ------------------------------------ ##
5731 _ASBOX
5732     ) |
5733       sed "s/^/$as_me: WARNING:     /" >&2
5734     ;;
5735 esac
5736 echo "$as_me:$LINENO: checking for $ac_header" >&5
5737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5739   echo $ECHO_N "(cached) $ECHO_C" >&6
5740 else
5741   eval "$as_ac_Header=$ac_header_preproc"
5742 fi
5743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5745
5746 fi
5747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5748   cat >>confdefs.h <<_ACEOF
5749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5750 _ACEOF
5751
5752 fi
5753
5754 done
5755
5756
5757 for ac_header in utime.h
5758 do
5759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5761   echo "$as_me:$LINENO: checking for $ac_header" >&5
5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5764   echo $ECHO_N "(cached) $ECHO_C" >&6
5765 fi
5766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5768 else
5769   # Is the header compilable?
5770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5772 cat >conftest.$ac_ext <<_ACEOF
5773 #line $LINENO "configure"
5774 /* confdefs.h.  */
5775 _ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h.  */
5779 $ac_includes_default
5780 #include <$ac_header>
5781 _ACEOF
5782 rm -f conftest.$ac_objext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5784   (eval $ac_compile) 2>&5
5785   ac_status=$?
5786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787   (exit $ac_status); } &&
5788          { ac_try='test -s conftest.$ac_objext'
5789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790   (eval $ac_try) 2>&5
5791   ac_status=$?
5792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793   (exit $ac_status); }; }; then
5794   ac_header_compiler=yes
5795 else
5796   echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.$ac_ext >&5
5798
5799 ac_header_compiler=no
5800 fi
5801 rm -f conftest.$ac_objext conftest.$ac_ext
5802 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5803 echo "${ECHO_T}$ac_header_compiler" >&6
5804
5805 # Is the header present?
5806 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5807 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5808 cat >conftest.$ac_ext <<_ACEOF
5809 #line $LINENO "configure"
5810 /* confdefs.h.  */
5811 _ACEOF
5812 cat confdefs.h >>conftest.$ac_ext
5813 cat >>conftest.$ac_ext <<_ACEOF
5814 /* end confdefs.h.  */
5815 #include <$ac_header>
5816 _ACEOF
5817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5818   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5819   ac_status=$?
5820   grep -v '^ *+' conftest.er1 >conftest.err
5821   rm -f conftest.er1
5822   cat conftest.err >&5
5823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824   (exit $ac_status); } >/dev/null; then
5825   if test -s conftest.err; then
5826     ac_cpp_err=$ac_c_preproc_warn_flag
5827   else
5828     ac_cpp_err=
5829   fi
5830 else
5831   ac_cpp_err=yes
5832 fi
5833 if test -z "$ac_cpp_err"; then
5834   ac_header_preproc=yes
5835 else
5836   echo "$as_me: failed program was:" >&5
5837 sed 's/^/| /' conftest.$ac_ext >&5
5838
5839   ac_header_preproc=no
5840 fi
5841 rm -f conftest.err conftest.$ac_ext
5842 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5843 echo "${ECHO_T}$ac_header_preproc" >&6
5844
5845 # So?  What about this header?
5846 case $ac_header_compiler:$ac_header_preproc in
5847   yes:no )
5848     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5849 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5850     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5851 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5852     (
5853       cat <<\_ASBOX
5854 ## ------------------------------------ ##
5855 ## Report this to bug-autoconf@gnu.org. ##
5856 ## ------------------------------------ ##
5857 _ASBOX
5858     ) |
5859       sed "s/^/$as_me: WARNING:     /" >&2
5860     ;;
5861   no:yes )
5862     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5864     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5866     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5868     (
5869       cat <<\_ASBOX
5870 ## ------------------------------------ ##
5871 ## Report this to bug-autoconf@gnu.org. ##
5872 ## ------------------------------------ ##
5873 _ASBOX
5874     ) |
5875       sed "s/^/$as_me: WARNING:     /" >&2
5876     ;;
5877 esac
5878 echo "$as_me:$LINENO: checking for $ac_header" >&5
5879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5881   echo $ECHO_N "(cached) $ECHO_C" >&6
5882 else
5883   eval "$as_ac_Header=$ac_header_preproc"
5884 fi
5885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5887
5888 fi
5889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5890   cat >>confdefs.h <<_ACEOF
5891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5892 _ACEOF
5893
5894 fi
5895
5896 done
5897
5898
5899 for ac_header in sys/utime.h
5900 do
5901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5903   echo "$as_me:$LINENO: checking for $ac_header" >&5
5904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5906   echo $ECHO_N "(cached) $ECHO_C" >&6
5907 fi
5908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5910 else
5911   # Is the header compilable?
5912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5914 cat >conftest.$ac_ext <<_ACEOF
5915 #line $LINENO "configure"
5916 /* confdefs.h.  */
5917 _ACEOF
5918 cat confdefs.h >>conftest.$ac_ext
5919 cat >>conftest.$ac_ext <<_ACEOF
5920 /* end confdefs.h.  */
5921 $ac_includes_default
5922 #include <$ac_header>
5923 _ACEOF
5924 rm -f conftest.$ac_objext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926   (eval $ac_compile) 2>&5
5927   ac_status=$?
5928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929   (exit $ac_status); } &&
5930          { ac_try='test -s conftest.$ac_objext'
5931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932   (eval $ac_try) 2>&5
5933   ac_status=$?
5934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935   (exit $ac_status); }; }; then
5936   ac_header_compiler=yes
5937 else
5938   echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5940
5941 ac_header_compiler=no
5942 fi
5943 rm -f conftest.$ac_objext conftest.$ac_ext
5944 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5945 echo "${ECHO_T}$ac_header_compiler" >&6
5946
5947 # Is the header present?
5948 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5950 cat >conftest.$ac_ext <<_ACEOF
5951 #line $LINENO "configure"
5952 /* confdefs.h.  */
5953 _ACEOF
5954 cat confdefs.h >>conftest.$ac_ext
5955 cat >>conftest.$ac_ext <<_ACEOF
5956 /* end confdefs.h.  */
5957 #include <$ac_header>
5958 _ACEOF
5959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5960   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5961   ac_status=$?
5962   grep -v '^ *+' conftest.er1 >conftest.err
5963   rm -f conftest.er1
5964   cat conftest.err >&5
5965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966   (exit $ac_status); } >/dev/null; then
5967   if test -s conftest.err; then
5968     ac_cpp_err=$ac_c_preproc_warn_flag
5969   else
5970     ac_cpp_err=
5971   fi
5972 else
5973   ac_cpp_err=yes
5974 fi
5975 if test -z "$ac_cpp_err"; then
5976   ac_header_preproc=yes
5977 else
5978   echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5980
5981   ac_header_preproc=no
5982 fi
5983 rm -f conftest.err conftest.$ac_ext
5984 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5985 echo "${ECHO_T}$ac_header_preproc" >&6
5986
5987 # So?  What about this header?
5988 case $ac_header_compiler:$ac_header_preproc in
5989   yes:no )
5990     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5991 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5992     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5994     (
5995       cat <<\_ASBOX
5996 ## ------------------------------------ ##
5997 ## Report this to bug-autoconf@gnu.org. ##
5998 ## ------------------------------------ ##
5999 _ASBOX
6000     ) |
6001       sed "s/^/$as_me: WARNING:     /" >&2
6002     ;;
6003   no:yes )
6004     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6006     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6008     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6009 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6010     (
6011       cat <<\_ASBOX
6012 ## ------------------------------------ ##
6013 ## Report this to bug-autoconf@gnu.org. ##
6014 ## ------------------------------------ ##
6015 _ASBOX
6016     ) |
6017       sed "s/^/$as_me: WARNING:     /" >&2
6018     ;;
6019 esac
6020 echo "$as_me:$LINENO: checking for $ac_header" >&5
6021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6023   echo $ECHO_N "(cached) $ECHO_C" >&6
6024 else
6025   eval "$as_ac_Header=$ac_header_preproc"
6026 fi
6027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6029
6030 fi
6031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6032   cat >>confdefs.h <<_ACEOF
6033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6034 _ACEOF
6035
6036 fi
6037
6038 done
6039
6040
6041 for ac_header in wchar.h
6042 do
6043 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6044 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6045   echo "$as_me:$LINENO: checking for $ac_header" >&5
6046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6048   echo $ECHO_N "(cached) $ECHO_C" >&6
6049 fi
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6052 else
6053   # Is the header compilable?
6054 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6055 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6056 cat >conftest.$ac_ext <<_ACEOF
6057 #line $LINENO "configure"
6058 /* confdefs.h.  */
6059 _ACEOF
6060 cat confdefs.h >>conftest.$ac_ext
6061 cat >>conftest.$ac_ext <<_ACEOF
6062 /* end confdefs.h.  */
6063 $ac_includes_default
6064 #include <$ac_header>
6065 _ACEOF
6066 rm -f conftest.$ac_objext
6067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6068   (eval $ac_compile) 2>&5
6069   ac_status=$?
6070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071   (exit $ac_status); } &&
6072          { ac_try='test -s conftest.$ac_objext'
6073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6074   (eval $ac_try) 2>&5
6075   ac_status=$?
6076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077   (exit $ac_status); }; }; then
6078   ac_header_compiler=yes
6079 else
6080   echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6082
6083 ac_header_compiler=no
6084 fi
6085 rm -f conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6087 echo "${ECHO_T}$ac_header_compiler" >&6
6088
6089 # Is the header present?
6090 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6092 cat >conftest.$ac_ext <<_ACEOF
6093 #line $LINENO "configure"
6094 /* confdefs.h.  */
6095 _ACEOF
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h.  */
6099 #include <$ac_header>
6100 _ACEOF
6101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6102   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6103   ac_status=$?
6104   grep -v '^ *+' conftest.er1 >conftest.err
6105   rm -f conftest.er1
6106   cat conftest.err >&5
6107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108   (exit $ac_status); } >/dev/null; then
6109   if test -s conftest.err; then
6110     ac_cpp_err=$ac_c_preproc_warn_flag
6111   else
6112     ac_cpp_err=
6113   fi
6114 else
6115   ac_cpp_err=yes
6116 fi
6117 if test -z "$ac_cpp_err"; then
6118   ac_header_preproc=yes
6119 else
6120   echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6122
6123   ac_header_preproc=no
6124 fi
6125 rm -f conftest.err conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127 echo "${ECHO_T}$ac_header_preproc" >&6
6128
6129 # So?  What about this header?
6130 case $ac_header_compiler:$ac_header_preproc in
6131   yes:no )
6132     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6133 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6136     (
6137       cat <<\_ASBOX
6138 ## ------------------------------------ ##
6139 ## Report this to bug-autoconf@gnu.org. ##
6140 ## ------------------------------------ ##
6141 _ASBOX
6142     ) |
6143       sed "s/^/$as_me: WARNING:     /" >&2
6144     ;;
6145   no:yes )
6146     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6147 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6148     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6149 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6150     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6152     (
6153       cat <<\_ASBOX
6154 ## ------------------------------------ ##
6155 ## Report this to bug-autoconf@gnu.org. ##
6156 ## ------------------------------------ ##
6157 _ASBOX
6158     ) |
6159       sed "s/^/$as_me: WARNING:     /" >&2
6160     ;;
6161 esac
6162 echo "$as_me:$LINENO: checking for $ac_header" >&5
6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6165   echo $ECHO_N "(cached) $ECHO_C" >&6
6166 else
6167   eval "$as_ac_Header=$ac_header_preproc"
6168 fi
6169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6171
6172 fi
6173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6174   cat >>confdefs.h <<_ACEOF
6175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6176 _ACEOF
6177
6178 fi
6179
6180 done
6181
6182
6183 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6184 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6185 if test "${ac_cv_c_const+set}" = set; then
6186   echo $ECHO_N "(cached) $ECHO_C" >&6
6187 else
6188   cat >conftest.$ac_ext <<_ACEOF
6189 #line $LINENO "configure"
6190 /* confdefs.h.  */
6191 _ACEOF
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h.  */
6195
6196 int
6197 main ()
6198 {
6199 /* FIXME: Include the comments suggested by Paul. */
6200 #ifndef __cplusplus
6201   /* Ultrix mips cc rejects this.  */
6202   typedef int charset[2];
6203   const charset x;
6204   /* SunOS 4.1.1 cc rejects this.  */
6205   char const *const *ccp;
6206   char **p;
6207   /* NEC SVR4.0.2 mips cc rejects this.  */
6208   struct point {int x, y;};
6209   static struct point const zero = {0,0};
6210   /* AIX XL C 1.02.0.0 rejects this.
6211      It does not let you subtract one const X* pointer from another in
6212      an arm of an if-expression whose if-part is not a constant
6213      expression */
6214   const char *g = "string";
6215   ccp = &g + (g ? g-g : 0);
6216   /* HPUX 7.0 cc rejects these. */
6217   ++ccp;
6218   p = (char**) ccp;
6219   ccp = (char const *const *) p;
6220   { /* SCO 3.2v4 cc rejects this.  */
6221     char *t;
6222     char const *s = 0 ? (char *) 0 : (char const *) 0;
6223
6224     *t++ = 0;
6225   }
6226   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6227     int x[] = {25, 17};
6228     const int *foo = &x[0];
6229     ++foo;
6230   }
6231   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6232     typedef const int *iptr;
6233     iptr p = 0;
6234     ++p;
6235   }
6236   { /* AIX XL C 1.02.0.0 rejects this saying
6237        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6238     struct s { int j; const int *ap[3]; };
6239     struct s *b; b->j = 5;
6240   }
6241   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6242     const int foo = 10;
6243   }
6244 #endif
6245
6246   ;
6247   return 0;
6248 }
6249 _ACEOF
6250 rm -f conftest.$ac_objext
6251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6252   (eval $ac_compile) 2>&5
6253   ac_status=$?
6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255   (exit $ac_status); } &&
6256          { ac_try='test -s conftest.$ac_objext'
6257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6258   (eval $ac_try) 2>&5
6259   ac_status=$?
6260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261   (exit $ac_status); }; }; then
6262   ac_cv_c_const=yes
6263 else
6264   echo "$as_me: failed program was:" >&5
6265 sed 's/^/| /' conftest.$ac_ext >&5
6266
6267 ac_cv_c_const=no
6268 fi
6269 rm -f conftest.$ac_objext conftest.$ac_ext
6270 fi
6271 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6272 echo "${ECHO_T}$ac_cv_c_const" >&6
6273 if test $ac_cv_c_const = no; then
6274
6275 cat >>confdefs.h <<\_ACEOF
6276 #define const
6277 _ACEOF
6278
6279 fi
6280
6281 echo "$as_me:$LINENO: checking for off_t" >&5
6282 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
6283 if test "${ac_cv_type_off_t+set}" = set; then
6284   echo $ECHO_N "(cached) $ECHO_C" >&6
6285 else
6286   cat >conftest.$ac_ext <<_ACEOF
6287 #line $LINENO "configure"
6288 /* confdefs.h.  */
6289 _ACEOF
6290 cat confdefs.h >>conftest.$ac_ext
6291 cat >>conftest.$ac_ext <<_ACEOF
6292 /* end confdefs.h.  */
6293 $ac_includes_default
6294 int
6295 main ()
6296 {
6297 if ((off_t *) 0)
6298   return 0;
6299 if (sizeof (off_t))
6300   return 0;
6301   ;
6302   return 0;
6303 }
6304 _ACEOF
6305 rm -f conftest.$ac_objext
6306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6307   (eval $ac_compile) 2>&5
6308   ac_status=$?
6309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310   (exit $ac_status); } &&
6311          { ac_try='test -s conftest.$ac_objext'
6312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313   (eval $ac_try) 2>&5
6314   ac_status=$?
6315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316   (exit $ac_status); }; }; then
6317   ac_cv_type_off_t=yes
6318 else
6319   echo "$as_me: failed program was:" >&5
6320 sed 's/^/| /' conftest.$ac_ext >&5
6321
6322 ac_cv_type_off_t=no
6323 fi
6324 rm -f conftest.$ac_objext conftest.$ac_ext
6325 fi
6326 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6327 echo "${ECHO_T}$ac_cv_type_off_t" >&6
6328 if test $ac_cv_type_off_t = yes; then
6329   :
6330 else
6331
6332 cat >>confdefs.h <<_ACEOF
6333 #define off_t long
6334 _ACEOF
6335
6336 fi
6337
6338 echo "$as_me:$LINENO: checking for size_t" >&5
6339 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6340 if test "${ac_cv_type_size_t+set}" = set; then
6341   echo $ECHO_N "(cached) $ECHO_C" >&6
6342 else
6343   cat >conftest.$ac_ext <<_ACEOF
6344 #line $LINENO "configure"
6345 /* confdefs.h.  */
6346 _ACEOF
6347 cat confdefs.h >>conftest.$ac_ext
6348 cat >>conftest.$ac_ext <<_ACEOF
6349 /* end confdefs.h.  */
6350 $ac_includes_default
6351 int
6352 main ()
6353 {
6354 if ((size_t *) 0)
6355   return 0;
6356 if (sizeof (size_t))
6357   return 0;
6358   ;
6359   return 0;
6360 }
6361 _ACEOF
6362 rm -f conftest.$ac_objext
6363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6364   (eval $ac_compile) 2>&5
6365   ac_status=$?
6366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367   (exit $ac_status); } &&
6368          { ac_try='test -s conftest.$ac_objext'
6369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6370   (eval $ac_try) 2>&5
6371   ac_status=$?
6372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373   (exit $ac_status); }; }; then
6374   ac_cv_type_size_t=yes
6375 else
6376   echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.$ac_ext >&5
6378
6379 ac_cv_type_size_t=no
6380 fi
6381 rm -f conftest.$ac_objext conftest.$ac_ext
6382 fi
6383 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6384 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6385 if test $ac_cv_type_size_t = yes; then
6386   :
6387 else
6388
6389 cat >>confdefs.h <<_ACEOF
6390 #define size_t unsigned
6391 _ACEOF
6392
6393 fi
6394
6395
6396 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6397 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
6398 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6399   echo $ECHO_N "(cached) $ECHO_C" >&6
6400 else
6401   cat >conftest.$ac_ext <<_ACEOF
6402 #line $LINENO "configure"
6403 /* confdefs.h.  */
6404 _ACEOF
6405 cat confdefs.h >>conftest.$ac_ext
6406 cat >>conftest.$ac_ext <<_ACEOF
6407 /* end confdefs.h.  */
6408 $ac_includes_default
6409 int
6410 main ()
6411 {
6412 static struct stat ac_aggr;
6413 if (ac_aggr.st_rdev)
6414 return 0;
6415   ;
6416   return 0;
6417 }
6418 _ACEOF
6419 rm -f conftest.$ac_objext
6420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6421   (eval $ac_compile) 2>&5
6422   ac_status=$?
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424   (exit $ac_status); } &&
6425          { ac_try='test -s conftest.$ac_objext'
6426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427   (eval $ac_try) 2>&5
6428   ac_status=$?
6429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430   (exit $ac_status); }; }; then
6431   ac_cv_member_struct_stat_st_rdev=yes
6432 else
6433   echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6435
6436 cat >conftest.$ac_ext <<_ACEOF
6437 #line $LINENO "configure"
6438 /* confdefs.h.  */
6439 _ACEOF
6440 cat confdefs.h >>conftest.$ac_ext
6441 cat >>conftest.$ac_ext <<_ACEOF
6442 /* end confdefs.h.  */
6443 $ac_includes_default
6444 int
6445 main ()
6446 {
6447 static struct stat ac_aggr;
6448 if (sizeof ac_aggr.st_rdev)
6449 return 0;
6450   ;
6451   return 0;
6452 }
6453 _ACEOF
6454 rm -f conftest.$ac_objext
6455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456   (eval $ac_compile) 2>&5
6457   ac_status=$?
6458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459   (exit $ac_status); } &&
6460          { ac_try='test -s conftest.$ac_objext'
6461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462   (eval $ac_try) 2>&5
6463   ac_status=$?
6464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465   (exit $ac_status); }; }; then
6466   ac_cv_member_struct_stat_st_rdev=yes
6467 else
6468   echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6470
6471 ac_cv_member_struct_stat_st_rdev=no
6472 fi
6473 rm -f conftest.$ac_objext conftest.$ac_ext
6474 fi
6475 rm -f conftest.$ac_objext conftest.$ac_ext
6476 fi
6477 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6478 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
6479 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6480
6481 cat >>confdefs.h <<_ACEOF
6482 #define HAVE_STRUCT_STAT_ST_RDEV 1
6483 _ACEOF
6484
6485
6486 cat >>confdefs.h <<\_ACEOF
6487 #define HAVE_ST_RDEV 1
6488 _ACEOF
6489
6490 fi
6491
6492
6493 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6494 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
6495 if test "${ac_cv_struct_tm+set}" = set; then
6496   echo $ECHO_N "(cached) $ECHO_C" >&6
6497 else
6498   cat >conftest.$ac_ext <<_ACEOF
6499 #line $LINENO "configure"
6500 /* confdefs.h.  */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h.  */
6505 #include <sys/types.h>
6506 #include <time.h>
6507
6508 int
6509 main ()
6510 {
6511 struct tm *tp; tp->tm_sec;
6512   ;
6513   return 0;
6514 }
6515 _ACEOF
6516 rm -f conftest.$ac_objext
6517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6518   (eval $ac_compile) 2>&5
6519   ac_status=$?
6520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521   (exit $ac_status); } &&
6522          { ac_try='test -s conftest.$ac_objext'
6523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524   (eval $ac_try) 2>&5
6525   ac_status=$?
6526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527   (exit $ac_status); }; }; then
6528   ac_cv_struct_tm=time.h
6529 else
6530   echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6532
6533 ac_cv_struct_tm=sys/time.h
6534 fi
6535 rm -f conftest.$ac_objext conftest.$ac_ext
6536 fi
6537 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6538 echo "${ECHO_T}$ac_cv_struct_tm" >&6
6539 if test $ac_cv_struct_tm = sys/time.h; then
6540
6541 cat >>confdefs.h <<\_ACEOF
6542 #define TM_IN_SYS_TIME 1
6543 _ACEOF
6544
6545 fi
6546
6547 echo "$as_me:$LINENO: checking for tm_zone in struct tm" >&5
6548 echo $ECHO_N "checking for tm_zone in struct tm... $ECHO_C" >&6
6549 if test "${ac_cv_struct_tm_zone+set}" = set; then
6550   echo $ECHO_N "(cached) $ECHO_C" >&6
6551 else
6552   cat >conftest.$ac_ext <<_ACEOF
6553 #line $LINENO "configure"
6554 /* confdefs.h.  */
6555 _ACEOF
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h.  */
6559 #include <sys/types.h>
6560 #include <$ac_cv_struct_tm>
6561 int
6562 main ()
6563 {
6564 struct tm tm; tm.tm_zone;
6565   ;
6566   return 0;
6567 }
6568 _ACEOF
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571   (eval $ac_compile) 2>&5
6572   ac_status=$?
6573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574   (exit $ac_status); } &&
6575          { ac_try='test -s conftest.$ac_objext'
6576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577   (eval $ac_try) 2>&5
6578   ac_status=$?
6579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580   (exit $ac_status); }; }; then
6581   ac_cv_struct_tm_zone=yes
6582 else
6583   echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6585
6586 ac_cv_struct_tm_zone=no
6587 fi
6588 rm -f conftest.$ac_objext conftest.$ac_ext
6589 fi
6590 echo "$as_me:$LINENO: result: $ac_cv_struct_tm_zone" >&5
6591 echo "${ECHO_T}$ac_cv_struct_tm_zone" >&6
6592 if test "$ac_cv_struct_tm_zone" = yes; then
6593
6594 cat >>confdefs.h <<\_ACEOF
6595 #define HAVE_TM_ZONE 1
6596 _ACEOF
6597
6598 fi
6599 echo "$as_me:$LINENO: checking for tzname" >&5
6600 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
6601 if test "${ac_cv_var_tzname+set}" = set; then
6602   echo $ECHO_N "(cached) $ECHO_C" >&6
6603 else
6604   cat >conftest.$ac_ext <<_ACEOF
6605 #line $LINENO "configure"
6606 /* confdefs.h.  */
6607 _ACEOF
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h.  */
6611 #include <time.h>
6612 #ifndef tzname /* For SGI.  */
6613 extern char *tzname[]; /* RS6000 and others reject char **tzname.  */
6614 #endif
6615 int
6616 main ()
6617 {
6618 atoi(*tzname);
6619   ;
6620   return 0;
6621 }
6622 _ACEOF
6623 rm -f conftest.$ac_objext conftest$ac_exeext
6624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6625   (eval $ac_link) 2>&5
6626   ac_status=$?
6627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628   (exit $ac_status); } &&
6629          { ac_try='test -s conftest$ac_exeext'
6630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6631   (eval $ac_try) 2>&5
6632   ac_status=$?
6633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634   (exit $ac_status); }; }; then
6635   ac_cv_var_tzname=yes
6636 else
6637   echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.$ac_ext >&5
6639
6640 ac_cv_var_tzname=no
6641 fi
6642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6643 fi
6644 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6645 echo "${ECHO_T}$ac_cv_var_tzname" >&6
6646   if test $ac_cv_var_tzname = yes; then
6647
6648 cat >>confdefs.h <<\_ACEOF
6649 #define HAVE_TZNAME 1
6650 _ACEOF
6651
6652   fi
6653
6654 echo "$as_me:$LINENO: checking for tm_isdst in struct tm" >&5
6655 echo $ECHO_N "checking for tm_isdst in struct tm... $ECHO_C" >&6
6656 if test "${ac_cv_struct_tm_isdst+set}" = set; then
6657   echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659   cat >conftest.$ac_ext <<_ACEOF
6660 #line $LINENO "configure"
6661 /* confdefs.h.  */
6662 _ACEOF
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h.  */
6666 #include <sys/types.h>
6667 #include <$ac_cv_struct_tm>
6668 int
6669 main ()
6670 {
6671 struct tm tm; tm.tm_isdst;
6672   ;
6673   return 0;
6674 }
6675 _ACEOF
6676 rm -f conftest.$ac_objext
6677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6678   (eval $ac_compile) 2>&5
6679   ac_status=$?
6680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681   (exit $ac_status); } &&
6682          { ac_try='test -s conftest.$ac_objext'
6683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6684   (eval $ac_try) 2>&5
6685   ac_status=$?
6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687   (exit $ac_status); }; }; then
6688   ac_cv_struct_tm_isdst=yes
6689 else
6690   echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6692
6693 ac_cv_struct_tm_isdst=no
6694 fi
6695 rm -f conftest.$ac_objext conftest.$ac_ext
6696 fi
6697 echo "$as_me:$LINENO: result: $ac_cv_struct_tm_isdst" >&5
6698 echo "${ECHO_T}$ac_cv_struct_tm_isdst" >&6
6699 if test "$ac_cv_struct_tm_isdst" = yes; then
6700   cat >>confdefs.h <<\_ACEOF
6701 #define HAVE_TM_ISDST 1
6702 _ACEOF
6703
6704 fi
6705 echo "$as_me:$LINENO: checking for daylight" >&5
6706 echo $ECHO_N "checking for daylight... $ECHO_C" >&6
6707 if test "${ac_cv_var_daylight+set}" = set; then
6708   echo $ECHO_N "(cached) $ECHO_C" >&6
6709 else
6710   cat >conftest.$ac_ext <<_ACEOF
6711 #line $LINENO "configure"
6712 /* confdefs.h.  */
6713 _ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h.  */
6717 #include <time.h>
6718 #ifndef daylight /* In case IRIX #defines this, too  */
6719 extern int daylight;
6720 #endif
6721 int
6722 main ()
6723 {
6724 atoi(daylight);
6725   ;
6726   return 0;
6727 }
6728 _ACEOF
6729 rm -f conftest.$ac_objext conftest$ac_exeext
6730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6731   (eval $ac_link) 2>&5
6732   ac_status=$?
6733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734   (exit $ac_status); } &&
6735          { ac_try='test -s conftest$ac_exeext'
6736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737   (eval $ac_try) 2>&5
6738   ac_status=$?
6739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6740   (exit $ac_status); }; }; then
6741   ac_cv_var_daylight=yes
6742 else
6743   echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6745
6746 ac_cv_var_daylight=no
6747 fi
6748 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6749 fi
6750 echo "$as_me:$LINENO: result: $ac_cv_var_daylight" >&5
6751 echo "${ECHO_T}$ac_cv_var_daylight" >&6
6752   if test $ac_cv_var_daylight = yes; then
6753     cat >>confdefs.h <<\_ACEOF
6754 #define HAVE_DAYLIGHT 1
6755 _ACEOF
6756
6757   fi
6758
6759
6760    # Check whether --enable-largefile or --disable-largefile was given.
6761 if test "${enable_largefile+set}" = set; then
6762   enableval="$enable_largefile"
6763
6764 fi;
6765    if test "$enable_largefile" != no; then
6766
6767      echo "$as_me:$LINENO: checking for special C compiler options needed for large files=
6768 " >&5
6769 echo $ECHO_N "checking for special C compiler options needed for large files=
6770 ... $ECHO_C" >&6
6771 if test "${ac_cv_sys_largefile_CC+set}" = set; then
6772   echo $ECHO_N "(cached) $ECHO_C" >&6
6773 else
6774   ac_cv_sys_largefile_CC=no
6775         if test "$GCC" != yes; then
6776           # IRIX 6.2 and later do not support large files by default,
6777           # so use the C compiler's -n32 option if that helps.
6778           cat >conftest.$ac_ext <<_ACEOF
6779 #line $LINENO "configure"
6780 /* confdefs.h.  */
6781 _ACEOF
6782 cat confdefs.h >>conftest.$ac_ext
6783 cat >>conftest.$ac_ext <<_ACEOF
6784 /* end confdefs.h.  */
6785 #include <sys/types.h>
6786     /* Check that off_t can represent 2**63 - 1 correctly.
6787        We can't simply "#define LARGE_OFF_T 9223372036854775807",
6788        since some C++ compilers masquerading as C compilers
6789        incorrectly reject 9223372036854775807.  */
6790 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6791     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6792                         && LARGE_OFF_T % 2147483647 == 1)
6793                        ? 1 : -1];
6794
6795 int
6796 main ()
6797 {
6798
6799   ;
6800   return 0;
6801 }
6802 _ACEOF
6803 rm -f conftest.$ac_objext
6804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6805   (eval $ac_compile) 2>&5
6806   ac_status=$?
6807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808   (exit $ac_status); } &&
6809          { ac_try='test -s conftest.$ac_objext'
6810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6811   (eval $ac_try) 2>&5
6812   ac_status=$?
6813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814   (exit $ac_status); }; }; then
6815   :
6816 else
6817   echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.$ac_ext >&5
6819
6820 ac_save_CC="$CC"
6821              CC="$CC -n32"
6822              cat >conftest.$ac_ext <<_ACEOF
6823 #line $LINENO "configure"
6824 /* confdefs.h.  */
6825 _ACEOF
6826 cat confdefs.h >>conftest.$ac_ext
6827 cat >>conftest.$ac_ext <<_ACEOF
6828 /* end confdefs.h.  */
6829 #include <sys/types.h>
6830     /* Check that off_t can represent 2**63 - 1 correctly.
6831        We can't simply "#define LARGE_OFF_T 9223372036854775807",
6832        since some C++ compilers masquerading as C compilers
6833        incorrectly reject 9223372036854775807.  */
6834 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6835     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6836                         && LARGE_OFF_T % 2147483647 == 1)
6837                        ? 1 : -1];
6838
6839 int
6840 main ()
6841 {
6842
6843   ;
6844   return 0;
6845 }
6846 _ACEOF
6847 rm -f conftest.$ac_objext
6848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6849   (eval $ac_compile) 2>&5
6850   ac_status=$?
6851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852   (exit $ac_status); } &&
6853          { ac_try='test -s conftest.$ac_objext'
6854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6855   (eval $ac_try) 2>&5
6856   ac_status=$?
6857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858   (exit $ac_status); }; }; then
6859   ac_cv_sys_largefile_CC=' -n32'
6860 else
6861   echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.$ac_ext >&5
6863
6864 fi
6865 rm -f conftest.$ac_objext conftest.$ac_ext
6866              CC="$ac_save_CC"
6867 fi
6868 rm -f conftest.$ac_objext conftest.$ac_ext
6869         fi
6870 fi
6871 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
6872 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
6873      if test "$ac_cv_sys_largefile_CC" != no; then
6874        CC="$CC$ac_cv_sys_largefile_CC"
6875      fi
6876
6877      echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6878 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
6879 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
6880   echo $ECHO_N "(cached) $ECHO_C" >&6
6881 else
6882   ac_cv_sys_file_offset_bits=no
6883       cat >conftest.$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6885 /* confdefs.h.  */
6886 _ACEOF
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h.  */
6890 #include <sys/types.h>
6891     /* Check that off_t can represent 2**63 - 1 correctly.
6892        We can't simply "#define LARGE_OFF_T 9223372036854775807",
6893        since some C++ compilers masquerading as C compilers
6894        incorrectly reject 9223372036854775807.  */
6895 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6896     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897                         && LARGE_OFF_T % 2147483647 == 1)
6898                        ? 1 : -1];
6899
6900 int
6901 main ()
6902 {
6903
6904   ;
6905   return 0;
6906 }
6907 _ACEOF
6908 rm -f conftest.$ac_objext
6909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6910   (eval $ac_compile) 2>&5
6911   ac_status=$?
6912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913   (exit $ac_status); } &&
6914          { ac_try='test -s conftest.$ac_objext'
6915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916   (eval $ac_try) 2>&5
6917   ac_status=$?
6918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919   (exit $ac_status); }; }; then
6920   :
6921 else
6922   echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6924
6925 cat >conftest.$ac_ext <<_ACEOF
6926 #line $LINENO "configure"
6927 /* confdefs.h.  */
6928 _ACEOF
6929 cat confdefs.h >>conftest.$ac_ext
6930 cat >>conftest.$ac_ext <<_ACEOF
6931 /* end confdefs.h.  */
6932 #define _FILE_OFFSET_BITS 64
6933 #include <sys/types.h>
6934     /* Check that off_t can represent 2**63 - 1 correctly.
6935        We can't simply "#define LARGE_OFF_T 9223372036854775807",
6936        since some C++ compilers masquerading as C compilers
6937        incorrectly reject 9223372036854775807.  */
6938 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6939     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6940                         && LARGE_OFF_T % 2147483647 == 1)
6941                        ? 1 : -1];
6942
6943
6944 int
6945 main ()
6946 {
6947
6948   ;
6949   return 0;
6950 }
6951 _ACEOF
6952 rm -f conftest.$ac_objext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6954   (eval $ac_compile) 2>&5
6955   ac_status=$?
6956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957   (exit $ac_status); } &&
6958          { ac_try='test -s conftest.$ac_objext'
6959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960   (eval $ac_try) 2>&5
6961   ac_status=$?
6962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963   (exit $ac_status); }; }; then
6964   ac_cv_sys_file_offset_bits=64
6965 else
6966   echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.$ac_ext >&5
6968
6969 fi
6970 rm -f conftest.$ac_objext conftest.$ac_ext
6971 fi
6972 rm -f conftest.$ac_objext conftest.$ac_ext
6973 fi
6974 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
6975 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
6976    if test "$ac_cv_sys_file_offset_bits" != no; then
6977
6978 cat >>confdefs.h <<_ACEOF
6979 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6980 _ACEOF
6981
6982    fi
6983      echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
6984 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
6985 if test "${ac_cv_sys_large_files+set}" = set; then
6986   echo $ECHO_N "(cached) $ECHO_C" >&6
6987 else
6988   ac_cv_sys_large_files=no
6989       cat >conftest.$ac_ext <<_ACEOF
6990 #line $LINENO "configure"
6991 /* confdefs.h.  */
6992 _ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h.  */
6996 #include <sys/types.h>
6997     /* Check that off_t can represent 2**63 - 1 correctly.
6998        We can't simply "#define LARGE_OFF_T 9223372036854775807",
6999        since some C++ compilers masquerading as C compilers
7000        incorrectly reject 9223372036854775807.  */
7001 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7002     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7003                         && LARGE_OFF_T % 2147483647 == 1)
7004                        ? 1 : -1];
7005
7006 int
7007 main ()
7008 {
7009
7010   ;
7011   return 0;
7012 }
7013 _ACEOF
7014 rm -f conftest.$ac_objext
7015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7016   (eval $ac_compile) 2>&5
7017   ac_status=$?
7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7019   (exit $ac_status); } &&
7020          { ac_try='test -s conftest.$ac_objext'
7021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022   (eval $ac_try) 2>&5
7023   ac_status=$?
7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025   (exit $ac_status); }; }; then
7026   :
7027 else
7028   echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7030
7031 cat >conftest.$ac_ext <<_ACEOF
7032 #line $LINENO "configure"
7033 /* confdefs.h.  */
7034 _ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h.  */
7038 #define _LARGE_FILES 1
7039 #include <sys/types.h>
7040     /* Check that off_t can represent 2**63 - 1 correctly.
7041        We can't simply "#define LARGE_OFF_T 9223372036854775807",
7042        since some C++ compilers masquerading as C compilers
7043        incorrectly reject 9223372036854775807.  */
7044 #   define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7045     int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7046                         && LARGE_OFF_T % 2147483647 == 1)
7047                        ? 1 : -1];
7048
7049
7050 int
7051 main ()
7052 {
7053
7054   ;
7055   return 0;
7056 }
7057 _ACEOF
7058 rm -f conftest.$ac_objext
7059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7060   (eval $ac_compile) 2>&5
7061   ac_status=$?
7062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063   (exit $ac_status); } &&
7064          { ac_try='test -s conftest.$ac_objext'
7065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066   (eval $ac_try) 2>&5
7067   ac_status=$?
7068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069   (exit $ac_status); }; }; then
7070   ac_cv_sys_large_files=1
7071 else
7072   echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7074
7075 fi
7076 rm -f conftest.$ac_objext conftest.$ac_ext
7077 fi
7078 rm -f conftest.$ac_objext conftest.$ac_ext
7079 fi
7080 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7081 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
7082    if test "$ac_cv_sys_large_files" != no; then
7083
7084 cat >>confdefs.h <<_ACEOF
7085 #define _LARGE_FILES $ac_cv_sys_large_files
7086 _ACEOF
7087
7088    fi
7089    fi
7090
7091
7092
7093 for ac_header in stdlib.h
7094 do
7095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7097   echo "$as_me:$LINENO: checking for $ac_header" >&5
7098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7100   echo $ECHO_N "(cached) $ECHO_C" >&6
7101 fi
7102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7104 else
7105   # Is the header compilable?
7106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7108 cat >conftest.$ac_ext <<_ACEOF
7109 #line $LINENO "configure"
7110 /* confdefs.h.  */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h.  */
7115 $ac_includes_default
7116 #include <$ac_header>
7117 _ACEOF
7118 rm -f conftest.$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120   (eval $ac_compile) 2>&5
7121   ac_status=$?
7122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123   (exit $ac_status); } &&
7124          { ac_try='test -s conftest.$ac_objext'
7125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126   (eval $ac_try) 2>&5
7127   ac_status=$?
7128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129   (exit $ac_status); }; }; then
7130   ac_header_compiler=yes
7131 else
7132   echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.$ac_ext >&5
7134
7135 ac_header_compiler=no
7136 fi
7137 rm -f conftest.$ac_objext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7139 echo "${ECHO_T}$ac_header_compiler" >&6
7140
7141 # Is the header present?
7142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7144 cat >conftest.$ac_ext <<_ACEOF
7145 #line $LINENO "configure"
7146 /* confdefs.h.  */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h.  */
7151 #include <$ac_header>
7152 _ACEOF
7153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7154   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7155   ac_status=$?
7156   grep -v '^ *+' conftest.er1 >conftest.err
7157   rm -f conftest.er1
7158   cat conftest.err >&5
7159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160   (exit $ac_status); } >/dev/null; then
7161   if test -s conftest.err; then
7162     ac_cpp_err=$ac_c_preproc_warn_flag
7163   else
7164     ac_cpp_err=
7165   fi
7166 else
7167   ac_cpp_err=yes
7168 fi
7169 if test -z "$ac_cpp_err"; then
7170   ac_header_preproc=yes
7171 else
7172   echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7174
7175   ac_header_preproc=no
7176 fi
7177 rm -f conftest.err conftest.$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7179 echo "${ECHO_T}$ac_header_preproc" >&6
7180
7181 # So?  What about this header?
7182 case $ac_header_compiler:$ac_header_preproc in
7183   yes:no )
7184     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7186     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7188     (
7189       cat <<\_ASBOX
7190 ## ------------------------------------ ##
7191 ## Report this to bug-autoconf@gnu.org. ##
7192 ## ------------------------------------ ##
7193 _ASBOX
7194     ) |
7195       sed "s/^/$as_me: WARNING:     /" >&2
7196     ;;
7197   no:yes )
7198     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7200     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7202     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7204     (
7205       cat <<\_ASBOX
7206 ## ------------------------------------ ##
7207 ## Report this to bug-autoconf@gnu.org. ##
7208 ## ------------------------------------ ##
7209 _ASBOX
7210     ) |
7211       sed "s/^/$as_me: WARNING:     /" >&2
7212     ;;
7213 esac
7214 echo "$as_me:$LINENO: checking for $ac_header" >&5
7215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7217   echo $ECHO_N "(cached) $ECHO_C" >&6
7218 else
7219   eval "$as_ac_Header=$ac_header_preproc"
7220 fi
7221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7223
7224 fi
7225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7226   cat >>confdefs.h <<_ACEOF
7227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7228 _ACEOF
7229
7230 fi
7231
7232 done
7233
7234
7235    echo "$as_me:$LINENO: checking for mbstate_t" >&5
7236 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
7237 if test "${ac_cv_type_mbstate_t+set}" = set; then
7238   echo $ECHO_N "(cached) $ECHO_C" >&6
7239 else
7240   cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7242 /* confdefs.h.  */
7243 _ACEOF
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h.  */
7247
7248 #if HAVE_STDLIB_H
7249 # include <stdlib.h>
7250 #endif
7251 #include <wchar.h>
7252 int
7253 main ()
7254 {
7255 mbstate_t x; return sizeof x;
7256   ;
7257   return 0;
7258 }
7259 _ACEOF
7260 rm -f conftest.$ac_objext
7261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7262   (eval $ac_compile) 2>&5
7263   ac_status=$?
7264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265   (exit $ac_status); } &&
7266          { ac_try='test -s conftest.$ac_objext'
7267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7268   (eval $ac_try) 2>&5
7269   ac_status=$?
7270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271   (exit $ac_status); }; }; then
7272   ac_cv_type_mbstate_t=yes
7273 else
7274   echo "$as_me: failed program was:" >&5
7275 sed 's/^/| /' conftest.$ac_ext >&5
7276
7277 ac_cv_type_mbstate_t=no
7278 fi
7279 rm -f conftest.$ac_objext conftest.$ac_ext
7280 fi
7281 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
7282 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
7283    if test $ac_cv_type_mbstate_t = no; then
7284
7285 cat >>confdefs.h <<\_ACEOF
7286 #define mbstate_t int
7287 _ACEOF
7288
7289    fi
7290
7291 echo "$as_me:$LINENO: checking for uint8_t" >&5
7292 echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
7293 if test "${ac_cv_type_uint8_t+set}" = set; then
7294   echo $ECHO_N "(cached) $ECHO_C" >&6
7295 else
7296   cat >conftest.$ac_ext <<_ACEOF
7297 #line $LINENO "configure"
7298 /* confdefs.h.  */
7299 _ACEOF
7300 cat confdefs.h >>conftest.$ac_ext
7301 cat >>conftest.$ac_ext <<_ACEOF
7302 /* end confdefs.h.  */
7303 #if HAVE_STDINT_H
7304 #include <stdint.h>
7305 #endif
7306 #include <sys/types.h>
7307 #if STDC_HEADERS
7308 #include <stdlib.h>
7309 #include <stddef.h>
7310 #endif
7311 _ACEOF
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313   $EGREP "(^|[^a-zA-Z_0-9])uint8_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7314   ac_cv_type_uint8_t=yes
7315 else
7316   ac_cv_type_uint8_t=no
7317 fi
7318 rm -f conftest*
7319
7320 fi
7321 echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
7322 echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
7323 if test $ac_cv_type_uint8_t = no; then
7324   cat >>confdefs.h <<\_ACEOF
7325 #define uint8_t unsigned char
7326 _ACEOF
7327
7328 fi
7329
7330 echo "$as_me:$LINENO: checking for uint16_t" >&5
7331 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
7332 if test "${ac_cv_type_uint16_t+set}" = set; then
7333   echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335   cat >conftest.$ac_ext <<_ACEOF
7336 #line $LINENO "configure"
7337 /* confdefs.h.  */
7338 _ACEOF
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h.  */
7342 #if HAVE_STDINT_H
7343 #include <stdint.h>
7344 #endif
7345 #include <sys/types.h>
7346 #if STDC_HEADERS
7347 #include <stdlib.h>
7348 #include <stddef.h>
7349 #endif
7350 _ACEOF
7351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7352   $EGREP "(^|[^a-zA-Z_0-9])uint16_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7353   ac_cv_type_uint16_t=yes
7354 else
7355   ac_cv_type_uint16_t=no
7356 fi
7357 rm -f conftest*
7358
7359 fi
7360 echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
7361 echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
7362 if test $ac_cv_type_uint16_t = no; then
7363   cat >>confdefs.h <<\_ACEOF
7364 #define uint16_t unsigned short
7365 _ACEOF
7366
7367 fi
7368
7369 echo "$as_me:$LINENO: checking for uint32_t" >&5
7370 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7371 if test "${ac_cv_type_uint32_t+set}" = set; then
7372   echo $ECHO_N "(cached) $ECHO_C" >&6
7373 else
7374   cat >conftest.$ac_ext <<_ACEOF
7375 #line $LINENO "configure"
7376 /* confdefs.h.  */
7377 _ACEOF
7378 cat confdefs.h >>conftest.$ac_ext
7379 cat >>conftest.$ac_ext <<_ACEOF
7380 /* end confdefs.h.  */
7381 #if HAVE_STDINT_H
7382 #include <stdint.h>
7383 #endif
7384 #include <sys/types.h>
7385 #if STDC_HEADERS
7386 #include <stdlib.h>
7387 #include <stddef.h>
7388 #endif
7389 _ACEOF
7390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7391   $EGREP "(^|[^a-zA-Z_0-9])uint32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7392   ac_cv_type_uint32_t=yes
7393 else
7394   ac_cv_type_uint32_t=no
7395 fi
7396 rm -f conftest*
7397
7398 fi
7399 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
7400 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
7401 if test $ac_cv_type_uint32_t = no; then
7402   cat >>confdefs.h <<\_ACEOF
7403 #define uint32_t unsigned int
7404 _ACEOF
7405
7406 fi
7407
7408 echo "$as_me:$LINENO: checking for int32_t" >&5
7409 echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
7410 if test "${ac_cv_type_int32_t+set}" = set; then
7411   echo $ECHO_N "(cached) $ECHO_C" >&6
7412 else
7413   cat >conftest.$ac_ext <<_ACEOF
7414 #line $LINENO "configure"
7415 /* confdefs.h.  */
7416 _ACEOF
7417 cat confdefs.h >>conftest.$ac_ext
7418 cat >>conftest.$ac_ext <<_ACEOF
7419 /* end confdefs.h.  */
7420 #if HAVE_STDINT_H
7421 #include <stdint.h>
7422 #endif
7423 #include <sys/types.h>
7424 #if STDC_HEADERS
7425 #include <stdlib.h>
7426 #include <stddef.h>
7427 #endif
7428 _ACEOF
7429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7430   $EGREP "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7431   ac_cv_type_int32_t=yes
7432 else
7433   ac_cv_type_int32_t=no
7434 fi
7435 rm -f conftest*
7436
7437 fi
7438 echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
7439 echo "${ECHO_T}$ac_cv_type_int32_t" >&6
7440 if test $ac_cv_type_int32_t = no; then
7441   cat >>confdefs.h <<\_ACEOF
7442 #define int32_t int
7443 _ACEOF
7444
7445 fi
7446
7447 echo "$as_me:$LINENO: checking for long long" >&5
7448 echo $ECHO_N "checking for long long... $ECHO_C" >&6
7449 if test "${ac_cv_c_long_long+set}" = set; then
7450   echo $ECHO_N "(cached) $ECHO_C" >&6
7451 else
7452   if test "$GCC" = yes; then
7453   ac_cv_c_long_long=yes
7454 else
7455 if test "$cross_compiling" = yes; then
7456   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7457 See \`config.log' for more details." >&5
7458 echo "$as_me: error: cannot run test program while cross compiling
7459 See \`config.log' for more details." >&2;}
7460    { (exit 1); exit 1; }; }
7461 else
7462   cat >conftest.$ac_ext <<_ACEOF
7463 #line $LINENO "configure"
7464 /* confdefs.h.  */
7465 _ACEOF
7466 cat confdefs.h >>conftest.$ac_ext
7467 cat >>conftest.$ac_ext <<_ACEOF
7468 /* end confdefs.h.  */
7469 int main() {
7470 long long foo = 0;
7471 exit(sizeof(long long) < sizeof(long)); }
7472 _ACEOF
7473 rm -f conftest$ac_exeext
7474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7475   (eval $ac_link) 2>&5
7476   ac_status=$?
7477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7480   (eval $ac_try) 2>&5
7481   ac_status=$?
7482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483   (exit $ac_status); }; }; then
7484   ac_cv_c_long_long=yes
7485 else
7486   echo "$as_me: program exited with status $ac_status" >&5
7487 echo "$as_me: failed program was:" >&5
7488 sed 's/^/| /' conftest.$ac_ext >&5
7489
7490 ( exit $ac_status )
7491 ac_cv_c_long_long=no
7492 fi
7493 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7494 fi
7495 fi
7496 fi
7497 echo "$as_me:$LINENO: result: $ac_cv_c_long_long" >&5
7498 echo "${ECHO_T}$ac_cv_c_long_long" >&6
7499 if test $ac_cv_c_long_long = yes; then
7500   cat >>confdefs.h <<\_ACEOF
7501 #define HAVE_LONG_LONG 1
7502 _ACEOF
7503
7504 fi
7505
7506 if test $ac_cv_c_long_long = yes; then
7507   long64='unsigned long long';
7508 else
7509   long64='unsigned long';
7510 fi
7511 echo "$as_me:$LINENO: checking for uint64_t" >&5
7512 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7513 if test "${ac_cv_type_uint64_t+set}" = set; then
7514   echo $ECHO_N "(cached) $ECHO_C" >&6
7515 else
7516   cat >conftest.$ac_ext <<_ACEOF
7517 #line $LINENO "configure"
7518 /* confdefs.h.  */
7519 _ACEOF
7520 cat confdefs.h >>conftest.$ac_ext
7521 cat >>conftest.$ac_ext <<_ACEOF
7522 /* end confdefs.h.  */
7523 #if HAVE_STDINT_H
7524 #include <stdint.h>
7525 #endif
7526 #include <sys/types.h>
7527 #if STDC_HEADERS
7528 #include <stdlib.h>
7529 #include <stddef.h>
7530 #endif
7531 _ACEOF
7532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7533   $EGREP "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7534   eval "ac_cv_type_uint64_t=yes"
7535 else
7536   eval "ac_cv_type_uint64_t=no"
7537 fi
7538 rm -f conftest*
7539
7540 fi
7541 if eval "test \"`echo '$ac_cv_type_'uint64_t`\" = yes"; then
7542   echo "$as_me:$LINENO: result: yes" >&5
7543 echo "${ECHO_T}yes" >&6
7544 else
7545   echo "$as_me:$LINENO: result: no" >&5
7546 echo "${ECHO_T}no" >&6
7547   cat >>confdefs.h <<_ACEOF
7548 #define uint64_t $long64
7549 _ACEOF
7550
7551 fi
7552
7553
7554 echo "$as_me:$LINENO: checking size of uint8_t" >&5
7555 echo $ECHO_N "checking size of uint8_t... $ECHO_C" >&6
7556 if test "${ac_cv_sizeof_uint8_t+set}" = set; then
7557   echo $ECHO_N "(cached) $ECHO_C" >&6
7558 else
7559   if test "$cross_compiling" = yes; then
7560   ac_cv_sizeof_uint8_t=0
7561 else
7562   cat >conftest.$ac_ext <<_ACEOF
7563 #line $LINENO "configure"
7564 /* confdefs.h.  */
7565 _ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h.  */
7569 #if HAVE_STDINT_H
7570 #include <stdint.h>
7571 #endif
7572 #include <sys/types.h>
7573 #ifdef STDC_HEADERS
7574 #include <stdlib.h>
7575 #endif
7576
7577 #include <stdio.h>
7578 main()
7579 {
7580   FILE *f=fopen("conftestval", "w");
7581   if (!f) exit(1);
7582   fprintf(f, "%d\n", sizeof(uint8_t));
7583   exit(0);
7584 }
7585 _ACEOF
7586 rm -f conftest$ac_exeext
7587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7588   (eval $ac_link) 2>&5
7589   ac_status=$?
7590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593   (eval $ac_try) 2>&5
7594   ac_status=$?
7595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596   (exit $ac_status); }; }; then
7597   ac_cv_sizeof_uint8_t=`cat conftestval`
7598 else
7599   echo "$as_me: program exited with status $ac_status" >&5
7600 echo "$as_me: failed program was:" >&5
7601 sed 's/^/| /' conftest.$ac_ext >&5
7602
7603 ( exit $ac_status )
7604 ac_cv_sizeof_uint8_t=0
7605 fi
7606 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7607 fi
7608 fi
7609 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint8_t" >&5
7610 echo "${ECHO_T}$ac_cv_sizeof_uint8_t" >&6
7611 cat >>confdefs.h <<_ACEOF
7612 #define SIZEOF_UINT8_T $ac_cv_sizeof_uint8_t
7613 _ACEOF
7614
7615
7616
7617 echo "$as_me:$LINENO: checking size of uint16_t" >&5
7618 echo $ECHO_N "checking size of uint16_t... $ECHO_C" >&6
7619 if test "${ac_cv_sizeof_uint16_t+set}" = set; then
7620   echo $ECHO_N "(cached) $ECHO_C" >&6
7621 else
7622   if test "$cross_compiling" = yes; then
7623   ac_cv_sizeof_uint16_t=0
7624 else
7625   cat >conftest.$ac_ext <<_ACEOF
7626 #line $LINENO "configure"
7627 /* confdefs.h.  */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h.  */
7632 #if HAVE_STDINT_H
7633 #include <stdint.h>
7634 #endif
7635 #include <sys/types.h>
7636 #ifdef STDC_HEADERS
7637 #include <stdlib.h>
7638 #endif
7639
7640 #include <stdio.h>
7641 main()
7642 {
7643   FILE *f=fopen("conftestval", "w");
7644   if (!f) exit(1);
7645   fprintf(f, "%d\n", sizeof(uint16_t));
7646   exit(0);
7647 }
7648 _ACEOF
7649 rm -f conftest$ac_exeext
7650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7651   (eval $ac_link) 2>&5
7652   ac_status=$?
7653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7656   (eval $ac_try) 2>&5
7657   ac_status=$?
7658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659   (exit $ac_status); }; }; then
7660   ac_cv_sizeof_uint16_t=`cat conftestval`
7661 else
7662   echo "$as_me: program exited with status $ac_status" >&5
7663 echo "$as_me: failed program was:" >&5
7664 sed 's/^/| /' conftest.$ac_ext >&5
7665
7666 ( exit $ac_status )
7667 ac_cv_sizeof_uint16_t=0
7668 fi
7669 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7670 fi
7671 fi
7672 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint16_t" >&5
7673 echo "${ECHO_T}$ac_cv_sizeof_uint16_t" >&6
7674 cat >>confdefs.h <<_ACEOF
7675 #define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
7676 _ACEOF
7677
7678
7679
7680 echo "$as_me:$LINENO: checking size of uint32_t" >&5
7681 echo $ECHO_N "checking size of uint32_t... $ECHO_C" >&6
7682 if test "${ac_cv_sizeof_uint32_t+set}" = set; then
7683   echo $ECHO_N "(cached) $ECHO_C" >&6
7684 else
7685   if test "$cross_compiling" = yes; then
7686   ac_cv_sizeof_uint32_t=0
7687 else
7688   cat >conftest.$ac_ext <<_ACEOF
7689 #line $LINENO "configure"
7690 /* confdefs.h.  */
7691 _ACEOF
7692 cat confdefs.h >>conftest.$ac_ext
7693 cat >>conftest.$ac_ext <<_ACEOF
7694 /* end confdefs.h.  */
7695 #if HAVE_STDINT_H
7696 #include <stdint.h>
7697 #endif
7698 #include <sys/types.h>
7699 #ifdef STDC_HEADERS
7700 #include <stdlib.h>
7701 #endif
7702
7703 #include <stdio.h>
7704 main()
7705 {
7706   FILE *f=fopen("conftestval", "w");
7707   if (!f) exit(1);
7708   fprintf(f, "%d\n", sizeof(uint32_t));
7709   exit(0);
7710 }
7711 _ACEOF
7712 rm -f conftest$ac_exeext
7713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7714   (eval $ac_link) 2>&5
7715   ac_status=$?
7716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7717   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7719   (eval $ac_try) 2>&5
7720   ac_status=$?
7721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722   (exit $ac_status); }; }; then
7723   ac_cv_sizeof_uint32_t=`cat conftestval`
7724 else
7725   echo "$as_me: program exited with status $ac_status" >&5
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7728
7729 ( exit $ac_status )
7730 ac_cv_sizeof_uint32_t=0
7731 fi
7732 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7733 fi
7734 fi
7735 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint32_t" >&5
7736 echo "${ECHO_T}$ac_cv_sizeof_uint32_t" >&6
7737 cat >>confdefs.h <<_ACEOF
7738 #define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
7739 _ACEOF
7740
7741
7742
7743 echo "$as_me:$LINENO: checking size of uint64_t" >&5
7744 echo $ECHO_N "checking size of uint64_t... $ECHO_C" >&6
7745 if test "${ac_cv_sizeof_uint64_t+set}" = set; then
7746   echo $ECHO_N "(cached) $ECHO_C" >&6
7747 else
7748   if test "$cross_compiling" = yes; then
7749   ac_cv_sizeof_uint64_t=0
7750 else
7751   cat >conftest.$ac_ext <<_ACEOF
7752 #line $LINENO "configure"
7753 /* confdefs.h.  */
7754 _ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h.  */
7758 #if HAVE_STDINT_H
7759 #include <stdint.h>
7760 #endif
7761 #include <sys/types.h>
7762 #ifdef STDC_HEADERS
7763 #include <stdlib.h>
7764 #endif
7765
7766 #include <stdio.h>
7767 main()
7768 {
7769   FILE *f=fopen("conftestval", "w");
7770   if (!f) exit(1);
7771   fprintf(f, "%d\n", sizeof(uint64_t));
7772   exit(0);
7773 }
7774 _ACEOF
7775 rm -f conftest$ac_exeext
7776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7777   (eval $ac_link) 2>&5
7778   ac_status=$?
7779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782   (eval $ac_try) 2>&5
7783   ac_status=$?
7784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785   (exit $ac_status); }; }; then
7786   ac_cv_sizeof_uint64_t=`cat conftestval`
7787 else
7788   echo "$as_me: program exited with status $ac_status" >&5
7789 echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7791
7792 ( exit $ac_status )
7793 ac_cv_sizeof_uint64_t=0
7794 fi
7795 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7796 fi
7797 fi
7798 echo "$as_me:$LINENO: result: $ac_cv_sizeof_uint64_t" >&5
7799 echo "${ECHO_T}$ac_cv_sizeof_uint64_t" >&6
7800 cat >>confdefs.h <<_ACEOF
7801 #define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
7802 _ACEOF
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816 for ac_func in mmap strerror strtoul mbrtowc mkstemp getopt_long utimes utime wcwidth
7817 do
7818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7819 echo "$as_me:$LINENO: checking for $ac_func" >&5
7820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7821 if eval "test \"\${$as_ac_var+set}\" = set"; then
7822   echo $ECHO_N "(cached) $ECHO_C" >&6
7823 else
7824   cat >conftest.$ac_ext <<_ACEOF
7825 #line $LINENO "configure"
7826 /* confdefs.h.  */
7827 _ACEOF
7828 cat confdefs.h >>conftest.$ac_ext
7829 cat >>conftest.$ac_ext <<_ACEOF
7830 /* end confdefs.h.  */
7831 /* System header to define __stub macros and hopefully few prototypes,
7832     which can conflict with char $ac_func (); below.
7833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7834     <limits.h> exists even on freestanding compilers.  */
7835 #ifdef __STDC__
7836 # include <limits.h>
7837 #else
7838 # include <assert.h>
7839 #endif
7840 /* Override any gcc2 internal prototype to avoid an error.  */
7841 #ifdef __cplusplus
7842 extern "C"
7843 {
7844 #endif
7845 /* We use char because int might match the return type of a gcc2
7846    builtin and then its argument prototype would still apply.  */
7847 char $ac_func ();
7848 /* The GNU C library defines this for functions which it implements
7849     to always fail with ENOSYS.  Some functions are actually named
7850     something starting with __ and the normal name is an alias.  */
7851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7852 choke me
7853 #else
7854 char (*f) () = $ac_func;
7855 #endif
7856 #ifdef __cplusplus
7857 }
7858 #endif
7859
7860 int
7861 main ()
7862 {
7863 return f != $ac_func;
7864   ;
7865   return 0;
7866 }
7867 _ACEOF
7868 rm -f conftest.$ac_objext conftest$ac_exeext
7869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7870   (eval $ac_link) 2>&5
7871   ac_status=$?
7872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7873   (exit $ac_status); } &&
7874          { ac_try='test -s conftest$ac_exeext'
7875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7876   (eval $ac_try) 2>&5
7877   ac_status=$?
7878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879   (exit $ac_status); }; }; then
7880   eval "$as_ac_var=yes"
7881 else
7882   echo "$as_me: failed program was:" >&5
7883 sed 's/^/| /' conftest.$ac_ext >&5
7884
7885 eval "$as_ac_var=no"
7886 fi
7887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7888 fi
7889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7891 if test `eval echo '${'$as_ac_var'}'` = yes; then
7892   cat >>confdefs.h <<_ACEOF
7893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7894 _ACEOF
7895
7896 fi
7897 done
7898
7899
7900
7901 echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
7902 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6
7903 if test "${ac_cv_lib_z_gzopen+set}" = set; then
7904   echo $ECHO_N "(cached) $ECHO_C" >&6
7905 else
7906   ac_check_lib_save_LIBS=$LIBS
7907 LIBS="-lz  $LIBS"
7908 cat >conftest.$ac_ext <<_ACEOF
7909 #line $LINENO "configure"
7910 /* confdefs.h.  */
7911 _ACEOF
7912 cat confdefs.h >>conftest.$ac_ext
7913 cat >>conftest.$ac_ext <<_ACEOF
7914 /* end confdefs.h.  */
7915
7916 /* Override any gcc2 internal prototype to avoid an error.  */
7917 #ifdef __cplusplus
7918 extern "C"
7919 #endif
7920 /* We use char because int might match the return type of a gcc2
7921    builtin and then its argument prototype would still apply.  */
7922 char gzopen ();
7923 int
7924 main ()
7925 {
7926 gzopen ();
7927   ;
7928   return 0;
7929 }
7930 _ACEOF
7931 rm -f conftest.$ac_objext conftest$ac_exeext
7932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7933   (eval $ac_link) 2>&5
7934   ac_status=$?
7935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936   (exit $ac_status); } &&
7937          { ac_try='test -s conftest$ac_exeext'
7938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939   (eval $ac_try) 2>&5
7940   ac_status=$?
7941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942   (exit $ac_status); }; }; then
7943   ac_cv_lib_z_gzopen=yes
7944 else
7945   echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7947
7948 ac_cv_lib_z_gzopen=no
7949 fi
7950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7951 LIBS=$ac_check_lib_save_LIBS
7952 fi
7953 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
7954 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6
7955 if test $ac_cv_lib_z_gzopen = yes; then
7956   cat >>confdefs.h <<_ACEOF
7957 #define HAVE_LIBZ 1
7958 _ACEOF
7959
7960   LIBS="-lz $LIBS"
7961
7962 fi
7963
7964
7965                                         ac_config_files="$ac_config_files Makefile src/Makefile magic/Makefile doc/Makefile"
7966 cat >confcache <<\_ACEOF
7967 # This file is a shell script that caches the results of configure
7968 # tests run on this system so they can be shared between configure
7969 # scripts and configure runs, see configure's option --config-cache.
7970 # It is not useful on other systems.  If it contains results you don't
7971 # want to keep, you may remove or edit it.
7972 #
7973 # config.status only pays attention to the cache file if you give it
7974 # the --recheck option to rerun configure.
7975 #
7976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7978 # following values.
7979
7980 _ACEOF
7981
7982 # The following way of writing the cache mishandles newlines in values,
7983 # but we know of no workaround that is simple, portable, and efficient.
7984 # So, don't put newlines in cache variables' values.
7985 # Ultrix sh set writes to stderr and can't be redirected directly,
7986 # and sets the high bit in the cache file unless we assign to the vars.
7987 {
7988   (set) 2>&1 |
7989     case `(ac_space=' '; set | grep ac_space) 2>&1` in
7990     *ac_space=\ *)
7991       # `set' does not quote correctly, so add quotes (double-quote
7992       # substitution turns \\\\ into \\, and sed turns \\ into \).
7993       sed -n \
7994         "s/'/'\\\\''/g;
7995           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7996       ;;
7997     *)
7998       # `set' quotes correctly as required by POSIX, so do not add quotes.
7999       sed -n \
8000         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8001       ;;
8002     esac;
8003 } |
8004   sed '
8005      t clear
8006      : clear
8007      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8008      t end
8009      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8010      : end' >>confcache
8011 if diff $cache_file confcache >/dev/null 2>&1; then :; else
8012   if test -w $cache_file; then
8013     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8014     cat confcache >$cache_file
8015   else
8016     echo "not updating unwritable cache $cache_file"
8017   fi
8018 fi
8019 rm -f confcache
8020
8021 test "x$prefix" = xNONE && prefix=$ac_default_prefix
8022 # Let make expand exec_prefix.
8023 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8024
8025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8027 # trailing colons and then remove the whole line if VPATH becomes empty
8028 # (actually we leave an empty line to preserve line numbers).
8029 if test "x$srcdir" = x.; then
8030   ac_vpsub='/^[         ]*VPATH[        ]*=/{
8031 s/:*\$(srcdir):*/:/;
8032 s/:*\${srcdir}:*/:/;
8033 s/:*@srcdir@:*/:/;
8034 s/^\([^=]*=[    ]*\):*/\1/;
8035 s/:*$//;
8036 s/^[^=]*=[      ]*$//;
8037 }'
8038 fi
8039
8040 DEFS=-DHAVE_CONFIG_H
8041
8042 ac_libobjs=
8043 ac_ltlibobjs=
8044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8045   # 1. Remove the extension, and $U if already installed.
8046   ac_i=`echo "$ac_i" |
8047          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8048   # 2. Add them.
8049   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8050   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8051 done
8052 LIBOBJS=$ac_libobjs
8053
8054 LTLIBOBJS=$ac_ltlibobjs
8055
8056
8057 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8058   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8059 Usually this means the macro was only invoked conditionally." >&5
8060 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8061 Usually this means the macro was only invoked conditionally." >&2;}
8062    { (exit 1); exit 1; }; }
8063 fi
8064 if test -z "${FSECT5_TRUE}" && test -z "${FSECT5_FALSE}"; then
8065   { { echo "$as_me:$LINENO: error: conditional \"FSECT5\" was never defined.
8066 Usually this means the macro was only invoked conditionally." >&5
8067 echo "$as_me: error: conditional \"FSECT5\" was never defined.
8068 Usually this means the macro was only invoked conditionally." >&2;}
8069    { (exit 1); exit 1; }; }
8070 fi
8071 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8072   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8073 Usually this means the macro was only invoked conditionally." >&5
8074 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8075 Usually this means the macro was only invoked conditionally." >&2;}
8076    { (exit 1); exit 1; }; }
8077 fi
8078 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8079   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8080 Usually this means the macro was only invoked conditionally." >&5
8081 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8082 Usually this means the macro was only invoked conditionally." >&2;}
8083    { (exit 1); exit 1; }; }
8084 fi
8085
8086 : ${CONFIG_STATUS=./config.status}
8087 ac_clean_files_save=$ac_clean_files
8088 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8089 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8090 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8091 cat >$CONFIG_STATUS <<_ACEOF
8092 #! $SHELL
8093 # Generated by $as_me.
8094 # Run this file to recreate the current configuration.
8095 # Compiler output produced by configure, useful for debugging
8096 # configure, is in config.log if it exists.
8097
8098 debug=false
8099 ac_cs_recheck=false
8100 ac_cs_silent=false
8101 SHELL=\${CONFIG_SHELL-$SHELL}
8102 _ACEOF
8103
8104 cat >>$CONFIG_STATUS <<\_ACEOF
8105 ## --------------------- ##
8106 ## M4sh Initialization.  ##
8107 ## --------------------- ##
8108
8109 # Be Bourne compatible
8110 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8111   emulate sh
8112   NULLCMD=:
8113   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8114   # is contrary to our usage.  Disable this feature.
8115   alias -g '${1+"$@"}'='"$@"'
8116 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8117   set -o posix
8118 fi
8119
8120 # Support unset when possible.
8121 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8122   as_unset=unset
8123 else
8124   as_unset=false
8125 fi
8126
8127
8128 # Work around bugs in pre-3.0 UWIN ksh.
8129 $as_unset ENV MAIL MAILPATH
8130 PS1='$ '
8131 PS2='> '
8132 PS4='+ '
8133
8134 # NLS nuisances.
8135 for as_var in \
8136   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8137   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8138   LC_TELEPHONE LC_TIME
8139 do
8140   if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8141     eval $as_var=C; export $as_var
8142   else
8143     $as_unset $as_var
8144   fi
8145 done
8146
8147 # Required to use basename.
8148 if expr a : '\(a\)' >/dev/null 2>&1; then
8149   as_expr=expr
8150 else
8151   as_expr=false
8152 fi
8153
8154 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8155   as_basename=basename
8156 else
8157   as_basename=false
8158 fi
8159
8160
8161 # Name of the executable.
8162 as_me=`$as_basename "$0" ||
8163 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8164          X"$0" : 'X\(//\)$' \| \
8165          X"$0" : 'X\(/\)$' \| \
8166          .     : '\(.\)' 2>/dev/null ||
8167 echo X/"$0" |
8168     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8169           /^X\/\(\/\/\)$/{ s//\1/; q; }
8170           /^X\/\(\/\).*/{ s//\1/; q; }
8171           s/.*/./; q'`
8172
8173
8174 # PATH needs CR, and LINENO needs CR and PATH.
8175 # Avoid depending upon Character Ranges.
8176 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8177 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8178 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8179 as_cr_digits='0123456789'
8180 as_cr_alnum=$as_cr_Letters$as_cr_digits
8181
8182 # The user is always right.
8183 if test "${PATH_SEPARATOR+set}" != set; then
8184   echo "#! /bin/sh" >conf$$.sh
8185   echo  "exit 0"   >>conf$$.sh
8186   chmod +x conf$$.sh
8187   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8188     PATH_SEPARATOR=';'
8189   else
8190     PATH_SEPARATOR=:
8191   fi
8192   rm -f conf$$.sh
8193 fi
8194
8195
8196   as_lineno_1=$LINENO
8197   as_lineno_2=$LINENO
8198   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8199   test "x$as_lineno_1" != "x$as_lineno_2" &&
8200   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8201   # Find who we are.  Look in the path if we contain no path at all
8202   # relative or not.
8203   case $0 in
8204     *[\\/]* ) as_myself=$0 ;;
8205     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8206 for as_dir in $PATH
8207 do
8208   IFS=$as_save_IFS
8209   test -z "$as_dir" && as_dir=.
8210   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8211 done
8212
8213        ;;
8214   esac
8215   # We did not find ourselves, most probably we were run as `sh COMMAND'
8216   # in which case we are not to be found in the path.
8217   if test "x$as_myself" = x; then
8218     as_myself=$0
8219   fi
8220   if test ! -f "$as_myself"; then
8221     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8222 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8223    { (exit 1); exit 1; }; }
8224   fi
8225   case $CONFIG_SHELL in
8226   '')
8227     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8229 do
8230   IFS=$as_save_IFS
8231   test -z "$as_dir" && as_dir=.
8232   for as_base in sh bash ksh sh5; do
8233          case $as_dir in
8234          /*)
8235            if ("$as_dir/$as_base" -c '
8236   as_lineno_1=$LINENO
8237   as_lineno_2=$LINENO
8238   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8239   test "x$as_lineno_1" != "x$as_lineno_2" &&
8240   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8241              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8242              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8243              CONFIG_SHELL=$as_dir/$as_base
8244              export CONFIG_SHELL
8245              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8246            fi;;
8247          esac
8248        done
8249 done
8250 ;;
8251   esac
8252
8253   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8254   # uniformly replaced by the line number.  The first 'sed' inserts a
8255   # line-number line before each line; the second 'sed' does the real
8256   # work.  The second script uses 'N' to pair each line-number line
8257   # with the numbered line, and appends trailing '-' during
8258   # substitution so that $LINENO is not a special case at line end.
8259   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8260   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8261   sed '=' <$as_myself |
8262     sed '
8263       N
8264       s,$,-,
8265       : loop
8266       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8267       t loop
8268       s,-$,,
8269       s,^['$as_cr_digits']*\n,,
8270     ' >$as_me.lineno &&
8271   chmod +x $as_me.lineno ||
8272     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8273 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8274    { (exit 1); exit 1; }; }
8275
8276   # Don't try to exec as it changes $[0], causing all sort of problems
8277   # (the dirname of $[0] is not the place where we might find the
8278   # original and so on.  Autoconf is especially sensible to this).
8279   . ./$as_me.lineno
8280   # Exit status is that of the last command.
8281   exit
8282 }
8283
8284
8285 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8286   *c*,-n*) ECHO_N= ECHO_C='
8287 ' ECHO_T='      ' ;;
8288   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8289   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8290 esac
8291
8292 if expr a : '\(a\)' >/dev/null 2>&1; then
8293   as_expr=expr
8294 else
8295   as_expr=false
8296 fi
8297
8298 rm -f conf$$ conf$$.exe conf$$.file
8299 echo >conf$$.file
8300 if ln -s conf$$.file conf$$ 2>/dev/null; then
8301   # We could just check for DJGPP; but this test a) works b) is more generic
8302   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8303   if test -f conf$$.exe; then
8304     # Don't use ln at all; we don't have any links
8305     as_ln_s='cp -p'
8306   else
8307     as_ln_s='ln -s'
8308   fi
8309 elif ln conf$$.file conf$$ 2>/dev/null; then
8310   as_ln_s=ln
8311 else
8312   as_ln_s='cp -p'
8313 fi
8314 rm -f conf$$ conf$$.exe conf$$.file
8315
8316 if mkdir -p . 2>/dev/null; then
8317   as_mkdir_p=:
8318 else
8319   as_mkdir_p=false
8320 fi
8321
8322 as_executable_p="test -f"
8323
8324 # Sed expression to map a string onto a valid CPP name.
8325 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8326
8327 # Sed expression to map a string onto a valid variable name.
8328 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
8329
8330
8331 # IFS
8332 # We need space, tab and new line, in precisely that order.
8333 as_nl='
8334 '
8335 IFS="   $as_nl"
8336
8337 # CDPATH.
8338 $as_unset CDPATH
8339
8340 exec 6>&1
8341
8342 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8343 # report actual input values of CONFIG_FILES etc. instead of their
8344 # values after options handling.  Logging --version etc. is OK.
8345 exec 5>>config.log
8346 {
8347   echo
8348   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8349 ## Running $as_me. ##
8350 _ASBOX
8351 } >&5
8352 cat >&5 <<_CSEOF
8353
8354 This file was extended by $as_me, which was
8355 generated by GNU Autoconf 2.57.  Invocation command line was
8356
8357   CONFIG_FILES    = $CONFIG_FILES
8358   CONFIG_HEADERS  = $CONFIG_HEADERS
8359   CONFIG_LINKS    = $CONFIG_LINKS
8360   CONFIG_COMMANDS = $CONFIG_COMMANDS
8361   $ $0 $@
8362
8363 _CSEOF
8364 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8365 echo >&5
8366 _ACEOF
8367
8368 # Files that config.status was made for.
8369 if test -n "$ac_config_files"; then
8370   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8371 fi
8372
8373 if test -n "$ac_config_headers"; then
8374   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8375 fi
8376
8377 if test -n "$ac_config_links"; then
8378   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8379 fi
8380
8381 if test -n "$ac_config_commands"; then
8382   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8383 fi
8384
8385 cat >>$CONFIG_STATUS <<\_ACEOF
8386
8387 ac_cs_usage="\
8388 \`$as_me' instantiates files from templates according to the
8389 current configuration.
8390
8391 Usage: $0 [OPTIONS] [FILE]...
8392
8393   -h, --help       print this help, then exit
8394   -V, --version    print version number, then exit
8395   -q, --quiet      do not print progress messages
8396   -d, --debug      don't remove temporary files
8397       --recheck    update $as_me by reconfiguring in the same conditions
8398   --file=FILE[:TEMPLATE]
8399                    instantiate the configuration file FILE
8400   --header=FILE[:TEMPLATE]
8401                    instantiate the configuration header FILE
8402
8403 Configuration files:
8404 $config_files
8405
8406 Configuration headers:
8407 $config_headers
8408
8409 Configuration commands:
8410 $config_commands
8411
8412 Report bugs to <bug-autoconf@gnu.org>."
8413 _ACEOF
8414
8415 cat >>$CONFIG_STATUS <<_ACEOF
8416 ac_cs_version="\\
8417 config.status
8418 configured by $0, generated by GNU Autoconf 2.57,
8419   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8420
8421 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8422 Free Software Foundation, Inc.
8423 This config.status script is free software; the Free Software Foundation
8424 gives unlimited permission to copy, distribute and modify it."
8425 srcdir=$srcdir
8426 INSTALL="$INSTALL"
8427 _ACEOF
8428
8429 cat >>$CONFIG_STATUS <<\_ACEOF
8430 # If no file are specified by the user, then we need to provide default
8431 # value.  By we need to know if files were specified by the user.
8432 ac_need_defaults=:
8433 while test $# != 0
8434 do
8435   case $1 in
8436   --*=*)
8437     ac_option=`expr "x$1" : 'x\([^=]*\)='`
8438     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
8439     ac_shift=:
8440     ;;
8441   -*)
8442     ac_option=$1
8443     ac_optarg=$2
8444     ac_shift=shift
8445     ;;
8446   *) # This is not an option, so the user has probably given explicit
8447      # arguments.
8448      ac_option=$1
8449      ac_need_defaults=false;;
8450   esac
8451
8452   case $ac_option in
8453   # Handling of the options.
8454 _ACEOF
8455 cat >>$CONFIG_STATUS <<\_ACEOF
8456   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8457     ac_cs_recheck=: ;;
8458   --version | --vers* | -V )
8459     echo "$ac_cs_version"; exit 0 ;;
8460   --he | --h)
8461     # Conflict between --help and --header
8462     { { echo "$as_me:$LINENO: error: ambiguous option: $1
8463 Try \`$0 --help' for more information." >&5
8464 echo "$as_me: error: ambiguous option: $1
8465 Try \`$0 --help' for more information." >&2;}
8466    { (exit 1); exit 1; }; };;
8467   --help | --hel | -h )
8468     echo "$ac_cs_usage"; exit 0 ;;
8469   --debug | --d* | -d )
8470     debug=: ;;
8471   --file | --fil | --fi | --f )
8472     $ac_shift
8473     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
8474     ac_need_defaults=false;;
8475   --header | --heade | --head | --hea )
8476     $ac_shift
8477     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
8478     ac_need_defaults=false;;
8479   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8480   | -silent | --silent | --silen | --sile | --sil | --si | --s)
8481     ac_cs_silent=: ;;
8482
8483   # This is an error.
8484   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8485 Try \`$0 --help' for more information." >&5
8486 echo "$as_me: error: unrecognized option: $1
8487 Try \`$0 --help' for more information." >&2;}
8488    { (exit 1); exit 1; }; } ;;
8489
8490   *) ac_config_targets="$ac_config_targets $1" ;;
8491
8492   esac
8493   shift
8494 done
8495
8496 ac_configure_extra_args=
8497
8498 if $ac_cs_silent; then
8499   exec 6>/dev/null
8500   ac_configure_extra_args="$ac_configure_extra_args --silent"
8501 fi
8502
8503 _ACEOF
8504 cat >>$CONFIG_STATUS <<_ACEOF
8505 if \$ac_cs_recheck; then
8506   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8507   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8508 fi
8509
8510 _ACEOF
8511
8512 cat >>$CONFIG_STATUS <<_ACEOF
8513 #
8514 # INIT-COMMANDS section.
8515 #
8516
8517 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8518
8519 _ACEOF
8520
8521
8522
8523 cat >>$CONFIG_STATUS <<\_ACEOF
8524 for ac_config_target in $ac_config_targets
8525 do
8526   case "$ac_config_target" in
8527   # Handling of arguments.
8528   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8529   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
8530   "magic/Makefile" ) CONFIG_FILES="$CONFIG_FILES magic/Makefile" ;;
8531   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
8532   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
8533   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
8534   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8535 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8536    { (exit 1); exit 1; }; };;
8537   esac
8538 done
8539
8540 # If the user did not use the arguments to specify the items to instantiate,
8541 # then the envvar interface is used.  Set only those that are not.
8542 # We use the long form for the default assignment because of an extremely
8543 # bizarre bug on SunOS 4.1.3.
8544 if $ac_need_defaults; then
8545   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8546   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
8547   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
8548 fi
8549
8550 # Have a temporary directory for convenience.  Make it in the build tree
8551 # simply because there is no reason to put it here, and in addition,
8552 # creating and moving files from /tmp can sometimes cause problems.
8553 # Create a temporary directory, and hook for its removal unless debugging.
8554 $debug ||
8555 {
8556   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8557   trap '{ (exit 1); exit 1; }' 1 2 13 15
8558 }
8559
8560 # Create a (secure) tmp directory for tmp files.
8561
8562 {
8563   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8564   test -n "$tmp" && test -d "$tmp"
8565 }  ||
8566 {
8567   tmp=./confstat$$-$RANDOM
8568   (umask 077 && mkdir $tmp)
8569 } ||
8570 {
8571    echo "$me: cannot create a temporary directory in ." >&2
8572    { (exit 1); exit 1; }
8573 }
8574
8575 _ACEOF
8576
8577 cat >>$CONFIG_STATUS <<_ACEOF
8578
8579 #
8580 # CONFIG_FILES section.
8581 #
8582
8583 # No need to generate the scripts if there are no CONFIG_FILES.
8584 # This happens for instance when ./config.status config.h
8585 if test -n "\$CONFIG_FILES"; then
8586   # Protect against being on the right side of a sed subst in config.status.
8587   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8588    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8589 s,@SHELL@,$SHELL,;t t
8590 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8591 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8592 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8593 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8594 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8595 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8596 s,@exec_prefix@,$exec_prefix,;t t
8597 s,@prefix@,$prefix,;t t
8598 s,@program_transform_name@,$program_transform_name,;t t
8599 s,@bindir@,$bindir,;t t
8600 s,@sbindir@,$sbindir,;t t
8601 s,@libexecdir@,$libexecdir,;t t
8602 s,@datadir@,$datadir,;t t
8603 s,@sysconfdir@,$sysconfdir,;t t
8604 s,@sharedstatedir@,$sharedstatedir,;t t
8605 s,@localstatedir@,$localstatedir,;t t
8606 s,@libdir@,$libdir,;t t
8607 s,@includedir@,$includedir,;t t
8608 s,@oldincludedir@,$oldincludedir,;t t
8609 s,@infodir@,$infodir,;t t
8610 s,@mandir@,$mandir,;t t
8611 s,@build_alias@,$build_alias,;t t
8612 s,@host_alias@,$host_alias,;t t
8613 s,@target_alias@,$target_alias,;t t
8614 s,@DEFS@,$DEFS,;t t
8615 s,@ECHO_C@,$ECHO_C,;t t
8616 s,@ECHO_N@,$ECHO_N,;t t
8617 s,@ECHO_T@,$ECHO_T,;t t
8618 s,@LIBS@,$LIBS,;t t
8619 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8620 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8621 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8622 s,@CYGPATH_W@,$CYGPATH_W,;t t
8623 s,@PACKAGE@,$PACKAGE,;t t
8624 s,@VERSION@,$VERSION,;t t
8625 s,@ACLOCAL@,$ACLOCAL,;t t
8626 s,@AUTOCONF@,$AUTOCONF,;t t
8627 s,@AUTOMAKE@,$AUTOMAKE,;t t
8628 s,@AUTOHEADER@,$AUTOHEADER,;t t
8629 s,@MAKEINFO@,$MAKEINFO,;t t
8630 s,@AMTAR@,$AMTAR,;t t
8631 s,@install_sh@,$install_sh,;t t
8632 s,@STRIP@,$STRIP,;t t
8633 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8634 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8635 s,@AWK@,$AWK,;t t
8636 s,@SET_MAKE@,$SET_MAKE,;t t
8637 s,@am__leading_dot@,$am__leading_dot,;t t
8638 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8639 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8640 s,@MAINT@,$MAINT,;t t
8641 s,@fsect@,$fsect,;t t
8642 s,@FSECT5_TRUE@,$FSECT5_TRUE,;t t
8643 s,@FSECT5_FALSE@,$FSECT5_FALSE,;t t
8644 s,@CC@,$CC,;t t
8645 s,@CFLAGS@,$CFLAGS,;t t
8646 s,@LDFLAGS@,$LDFLAGS,;t t
8647 s,@CPPFLAGS@,$CPPFLAGS,;t t
8648 s,@ac_ct_CC@,$ac_ct_CC,;t t
8649 s,@EXEEXT@,$EXEEXT,;t t
8650 s,@OBJEXT@,$OBJEXT,;t t
8651 s,@DEPDIR@,$DEPDIR,;t t
8652 s,@am__include@,$am__include,;t t
8653 s,@am__quote@,$am__quote,;t t
8654 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8655 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8656 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8657 s,@CCDEPMODE@,$CCDEPMODE,;t t
8658 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8659 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8660 s,@LN_S@,$LN_S,;t t
8661 s,@build@,$build,;t t
8662 s,@build_cpu@,$build_cpu,;t t
8663 s,@build_vendor@,$build_vendor,;t t
8664 s,@build_os@,$build_os,;t t
8665 s,@host@,$host,;t t
8666 s,@host_cpu@,$host_cpu,;t t
8667 s,@host_vendor@,$host_vendor,;t t
8668 s,@host_os@,$host_os,;t t
8669 s,@RANLIB@,$RANLIB,;t t
8670 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8671 s,@LIBTOOL@,$LIBTOOL,;t t
8672 s,@CPP@,$CPP,;t t
8673 s,@EGREP@,$EGREP,;t t
8674 s,@LIBOBJS@,$LIBOBJS,;t t
8675 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8676 CEOF
8677
8678 _ACEOF
8679
8680   cat >>$CONFIG_STATUS <<\_ACEOF
8681   # Split the substitutions into bite-sized pieces for seds with
8682   # small command number limits, like on Digital OSF/1 and HP-UX.
8683   ac_max_sed_lines=48
8684   ac_sed_frag=1 # Number of current file.
8685   ac_beg=1 # First line for current file.
8686   ac_end=$ac_max_sed_lines # Line after last line for current file.
8687   ac_more_lines=:
8688   ac_sed_cmds=
8689   while $ac_more_lines; do
8690     if test $ac_beg -gt 1; then
8691       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8692     else
8693       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8694     fi
8695     if test ! -s $tmp/subs.frag; then
8696       ac_more_lines=false
8697     else
8698       # The purpose of the label and of the branching condition is to
8699       # speed up the sed processing (if there are no `@' at all, there
8700       # is no need to browse any of the substitutions).
8701       # These are the two extra sed commands mentioned above.
8702       (echo ':t
8703   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8704       if test -z "$ac_sed_cmds"; then
8705         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8706       else
8707         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8708       fi
8709       ac_sed_frag=`expr $ac_sed_frag + 1`
8710       ac_beg=$ac_end
8711       ac_end=`expr $ac_end + $ac_max_sed_lines`
8712     fi
8713   done
8714   if test -z "$ac_sed_cmds"; then
8715     ac_sed_cmds=cat
8716   fi
8717 fi # test -n "$CONFIG_FILES"
8718
8719 _ACEOF
8720 cat >>$CONFIG_STATUS <<\_ACEOF
8721 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8722   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8723   case $ac_file in
8724   - | *:- | *:-:* ) # input from stdin
8725         cat >$tmp/stdin
8726         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8727         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8728   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8729         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8730   * )   ac_file_in=$ac_file.in ;;
8731   esac
8732
8733   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8734   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8735 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8736          X"$ac_file" : 'X\(//\)[^/]' \| \
8737          X"$ac_file" : 'X\(//\)$' \| \
8738          X"$ac_file" : 'X\(/\)' \| \
8739          .     : '\(.\)' 2>/dev/null ||
8740 echo X"$ac_file" |
8741     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8742           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8743           /^X\(\/\/\)$/{ s//\1/; q; }
8744           /^X\(\/\).*/{ s//\1/; q; }
8745           s/.*/./; q'`
8746   { if $as_mkdir_p; then
8747     mkdir -p "$ac_dir"
8748   else
8749     as_dir="$ac_dir"
8750     as_dirs=
8751     while test ! -d "$as_dir"; do
8752       as_dirs="$as_dir $as_dirs"
8753       as_dir=`(dirname "$as_dir") 2>/dev/null ||
8754 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8755          X"$as_dir" : 'X\(//\)[^/]' \| \
8756          X"$as_dir" : 'X\(//\)$' \| \
8757          X"$as_dir" : 'X\(/\)' \| \
8758          .     : '\(.\)' 2>/dev/null ||
8759 echo X"$as_dir" |
8760     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8761           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8762           /^X\(\/\/\)$/{ s//\1/; q; }
8763           /^X\(\/\).*/{ s//\1/; q; }
8764           s/.*/./; q'`
8765     done
8766     test ! -n "$as_dirs" || mkdir $as_dirs
8767   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8768 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8769    { (exit 1); exit 1; }; }; }
8770
8771   ac_builddir=.
8772
8773 if test "$ac_dir" != .; then
8774   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8775   # A "../" for each directory in $ac_dir_suffix.
8776   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8777 else
8778   ac_dir_suffix= ac_top_builddir=
8779 fi
8780
8781 case $srcdir in
8782   .)  # No --srcdir option.  We are building in place.
8783     ac_srcdir=.
8784     if test -z "$ac_top_builddir"; then
8785        ac_top_srcdir=.
8786     else
8787        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8788     fi ;;
8789   [\\/]* | ?:[\\/]* )  # Absolute path.
8790     ac_srcdir=$srcdir$ac_dir_suffix;
8791     ac_top_srcdir=$srcdir ;;
8792   *) # Relative path.
8793     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8794     ac_top_srcdir=$ac_top_builddir$srcdir ;;
8795 esac
8796 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8797 # absolute.
8798 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8799 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8800 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8801 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
8802
8803
8804   case $INSTALL in
8805   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8806   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
8807   esac
8808
8809   if test x"$ac_file" != x-; then
8810     { echo "$as_me:$LINENO: creating $ac_file" >&5
8811 echo "$as_me: creating $ac_file" >&6;}
8812     rm -f "$ac_file"
8813   fi
8814   # Let's still pretend it is `configure' which instantiates (i.e., don't
8815   # use $as_me), people would be surprised to read:
8816   #    /* config.h.  Generated by config.status.  */
8817   if test x"$ac_file" = x-; then
8818     configure_input=
8819   else
8820     configure_input="$ac_file.  "
8821   fi
8822   configure_input=$configure_input"Generated from `echo $ac_file_in |
8823                                      sed 's,.*/,,'` by configure."
8824
8825   # First look for the input files in the build tree, otherwise in the
8826   # src tree.
8827   ac_file_inputs=`IFS=:
8828     for f in $ac_file_in; do
8829       case $f in
8830       -) echo $tmp/stdin ;;
8831       [\\/$]*)
8832          # Absolute (can't be DOS-style, as IFS=:)
8833          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8834 echo "$as_me: error: cannot find input file: $f" >&2;}
8835    { (exit 1); exit 1; }; }
8836          echo $f;;
8837       *) # Relative
8838          if test -f "$f"; then
8839            # Build tree
8840            echo $f
8841          elif test -f "$srcdir/$f"; then
8842            # Source tree
8843            echo $srcdir/$f
8844          else
8845            # /dev/null tree
8846            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8847 echo "$as_me: error: cannot find input file: $f" >&2;}
8848    { (exit 1); exit 1; }; }
8849          fi;;
8850       esac
8851     done` || { (exit 1); exit 1; }
8852 _ACEOF
8853 cat >>$CONFIG_STATUS <<_ACEOF
8854   sed "$ac_vpsub
8855 $extrasub
8856 _ACEOF
8857 cat >>$CONFIG_STATUS <<\_ACEOF
8858 :t
8859 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8860 s,@configure_input@,$configure_input,;t t
8861 s,@srcdir@,$ac_srcdir,;t t
8862 s,@abs_srcdir@,$ac_abs_srcdir,;t t
8863 s,@top_srcdir@,$ac_top_srcdir,;t t
8864 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8865 s,@builddir@,$ac_builddir,;t t
8866 s,@abs_builddir@,$ac_abs_builddir,;t t
8867 s,@top_builddir@,$ac_top_builddir,;t t
8868 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8869 s,@INSTALL@,$ac_INSTALL,;t t
8870 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8871   rm -f $tmp/stdin
8872   if test x"$ac_file" != x-; then
8873     mv $tmp/out $ac_file
8874   else
8875     cat $tmp/out
8876     rm -f $tmp/out
8877   fi
8878
8879 done
8880 _ACEOF
8881 cat >>$CONFIG_STATUS <<\_ACEOF
8882
8883 #
8884 # CONFIG_HEADER section.
8885 #
8886
8887 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8888 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8889 #
8890 # ac_d sets the value in "#define NAME VALUE" lines.
8891 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
8892 ac_dB='[        ].*$,\1#\2'
8893 ac_dC=' '
8894 ac_dD=',;t'
8895 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8896 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
8897 ac_uB='$,\1#\2define\3'
8898 ac_uC=' '
8899 ac_uD=',;t'
8900
8901 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8902   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8903   case $ac_file in
8904   - | *:- | *:-:* ) # input from stdin
8905         cat >$tmp/stdin
8906         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8907         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8908   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8909         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8910   * )   ac_file_in=$ac_file.in ;;
8911   esac
8912
8913   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8914 echo "$as_me: creating $ac_file" >&6;}
8915
8916   # First look for the input files in the build tree, otherwise in the
8917   # src tree.
8918   ac_file_inputs=`IFS=:
8919     for f in $ac_file_in; do
8920       case $f in
8921       -) echo $tmp/stdin ;;
8922       [\\/$]*)
8923          # Absolute (can't be DOS-style, as IFS=:)
8924          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8925 echo "$as_me: error: cannot find input file: $f" >&2;}
8926    { (exit 1); exit 1; }; }
8927          echo $f;;
8928       *) # Relative
8929          if test -f "$f"; then
8930            # Build tree
8931            echo $f
8932          elif test -f "$srcdir/$f"; then
8933            # Source tree
8934            echo $srcdir/$f
8935          else
8936            # /dev/null tree
8937            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8938 echo "$as_me: error: cannot find input file: $f" >&2;}
8939    { (exit 1); exit 1; }; }
8940          fi;;
8941       esac
8942     done` || { (exit 1); exit 1; }
8943   # Remove the trailing spaces.
8944   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
8945
8946 _ACEOF
8947
8948 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8949 # `conftest.undefs', that substitutes the proper values into
8950 # config.h.in to produce config.h.  The first handles `#define'
8951 # templates, and the second `#undef' templates.
8952 # And first: Protect against being on the right side of a sed subst in
8953 # config.status.  Protect against being in an unquoted here document
8954 # in config.status.
8955 rm -f conftest.defines conftest.undefs
8956 # Using a here document instead of a string reduces the quoting nightmare.
8957 # Putting comments in sed scripts is not portable.
8958 #
8959 # `end' is used to avoid that the second main sed command (meant for
8960 # 0-ary CPP macros) applies to n-ary macro definitions.
8961 # See the Autoconf documentation for `clear'.
8962 cat >confdef2sed.sed <<\_ACEOF
8963 s/[\\&,]/\\&/g
8964 s,[\\$`],\\&,g
8965 t clear
8966 : clear
8967 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8968 t end
8969 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8970 : end
8971 _ACEOF
8972 # If some macros were called several times there might be several times
8973 # the same #defines, which is useless.  Nevertheless, we may not want to
8974 # sort them, since we want the *last* AC-DEFINE to be honored.
8975 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8976 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8977 rm -f confdef2sed.sed
8978
8979 # This sed command replaces #undef with comments.  This is necessary, for
8980 # example, in the case of _POSIX_SOURCE, which is predefined and required
8981 # on some systems where configure will not decide to define it.
8982 cat >>conftest.undefs <<\_ACEOF
8983 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8984 _ACEOF
8985
8986 # Break up conftest.defines because some shells have a limit on the size
8987 # of here documents, and old seds have small limits too (100 cmds).
8988 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8989 echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8990 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8991 echo '  :' >>$CONFIG_STATUS
8992 rm -f conftest.tail
8993 while grep . conftest.defines >/dev/null
8994 do
8995   # Write a limited-size here document to $tmp/defines.sed.
8996   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8997   # Speed up: don't consider the non `#define' lines.
8998   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
8999   # Work around the forget-to-reset-the-flag bug.
9000   echo 't clr' >>$CONFIG_STATUS
9001   echo ': clr' >>$CONFIG_STATUS
9002   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9003   echo 'CEOF
9004   sed -f $tmp/defines.sed $tmp/in >$tmp/out
9005   rm -f $tmp/in
9006   mv $tmp/out $tmp/in
9007 ' >>$CONFIG_STATUS
9008   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9009   rm -f conftest.defines
9010   mv conftest.tail conftest.defines
9011 done
9012 rm -f conftest.defines
9013 echo '  fi # grep' >>$CONFIG_STATUS
9014 echo >>$CONFIG_STATUS
9015
9016 # Break up conftest.undefs because some shells have a limit on the size
9017 # of here documents, and old seds have small limits too (100 cmds).
9018 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
9019 rm -f conftest.tail
9020 while grep . conftest.undefs >/dev/null
9021 do
9022   # Write a limited-size here document to $tmp/undefs.sed.
9023   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9024   # Speed up: don't consider the non `#undef'
9025   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9026   # Work around the forget-to-reset-the-flag bug.
9027   echo 't clr' >>$CONFIG_STATUS
9028   echo ': clr' >>$CONFIG_STATUS
9029   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9030   echo 'CEOF
9031   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9032   rm -f $tmp/in
9033   mv $tmp/out $tmp/in
9034 ' >>$CONFIG_STATUS
9035   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9036   rm -f conftest.undefs
9037   mv conftest.tail conftest.undefs
9038 done
9039 rm -f conftest.undefs
9040
9041 cat >>$CONFIG_STATUS <<\_ACEOF
9042   # Let's still pretend it is `configure' which instantiates (i.e., don't
9043   # use $as_me), people would be surprised to read:
9044   #    /* config.h.  Generated by config.status.  */
9045   if test x"$ac_file" = x-; then
9046     echo "/* Generated by configure.  */" >$tmp/config.h
9047   else
9048     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9049   fi
9050   cat $tmp/in >>$tmp/config.h
9051   rm -f $tmp/in
9052   if test x"$ac_file" != x-; then
9053     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9054       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9055 echo "$as_me: $ac_file is unchanged" >&6;}
9056     else
9057       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9059          X"$ac_file" : 'X\(//\)[^/]' \| \
9060          X"$ac_file" : 'X\(//\)$' \| \
9061          X"$ac_file" : 'X\(/\)' \| \
9062          .     : '\(.\)' 2>/dev/null ||
9063 echo X"$ac_file" |
9064     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9065           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9066           /^X\(\/\/\)$/{ s//\1/; q; }
9067           /^X\(\/\).*/{ s//\1/; q; }
9068           s/.*/./; q'`
9069       { if $as_mkdir_p; then
9070     mkdir -p "$ac_dir"
9071   else
9072     as_dir="$ac_dir"
9073     as_dirs=
9074     while test ! -d "$as_dir"; do
9075       as_dirs="$as_dir $as_dirs"
9076       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9077 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9078          X"$as_dir" : 'X\(//\)[^/]' \| \
9079          X"$as_dir" : 'X\(//\)$' \| \
9080          X"$as_dir" : 'X\(/\)' \| \
9081          .     : '\(.\)' 2>/dev/null ||
9082 echo X"$as_dir" |
9083     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9084           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9085           /^X\(\/\/\)$/{ s//\1/; q; }
9086           /^X\(\/\).*/{ s//\1/; q; }
9087           s/.*/./; q'`
9088     done
9089     test ! -n "$as_dirs" || mkdir $as_dirs
9090   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9091 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9092    { (exit 1); exit 1; }; }; }
9093
9094       rm -f $ac_file
9095       mv $tmp/config.h $ac_file
9096     fi
9097   else
9098     cat $tmp/config.h
9099     rm -f $tmp/config.h
9100   fi
9101 # Compute $ac_file's index in $config_headers.
9102 _am_stamp_count=1
9103 for _am_header in $config_headers :; do
9104   case $_am_header in
9105     $ac_file | $ac_file:* )
9106       break ;;
9107     * )
9108       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
9109   esac
9110 done
9111 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
9112 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9113          X$ac_file : 'X\(//\)[^/]' \| \
9114          X$ac_file : 'X\(//\)$' \| \
9115          X$ac_file : 'X\(/\)' \| \
9116          .     : '\(.\)' 2>/dev/null ||
9117 echo X$ac_file |
9118     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9119           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9120           /^X\(\/\/\)$/{ s//\1/; q; }
9121           /^X\(\/\).*/{ s//\1/; q; }
9122           s/.*/./; q'`/stamp-h$_am_stamp_count
9123 done
9124 _ACEOF
9125 cat >>$CONFIG_STATUS <<\_ACEOF
9126
9127 #
9128 # CONFIG_COMMANDS section.
9129 #
9130 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9131   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9132   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9133   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
9134 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9135          X"$ac_dest" : 'X\(//\)[^/]' \| \
9136          X"$ac_dest" : 'X\(//\)$' \| \
9137          X"$ac_dest" : 'X\(/\)' \| \
9138          .     : '\(.\)' 2>/dev/null ||
9139 echo X"$ac_dest" |
9140     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9141           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9142           /^X\(\/\/\)$/{ s//\1/; q; }
9143           /^X\(\/\).*/{ s//\1/; q; }
9144           s/.*/./; q'`
9145   ac_builddir=.
9146
9147 if test "$ac_dir" != .; then
9148   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9149   # A "../" for each directory in $ac_dir_suffix.
9150   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9151 else
9152   ac_dir_suffix= ac_top_builddir=
9153 fi
9154
9155 case $srcdir in
9156   .)  # No --srcdir option.  We are building in place.
9157     ac_srcdir=.
9158     if test -z "$ac_top_builddir"; then
9159        ac_top_srcdir=.
9160     else
9161        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9162     fi ;;
9163   [\\/]* | ?:[\\/]* )  # Absolute path.
9164     ac_srcdir=$srcdir$ac_dir_suffix;
9165     ac_top_srcdir=$srcdir ;;
9166   *) # Relative path.
9167     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9168     ac_top_srcdir=$ac_top_builddir$srcdir ;;
9169 esac
9170 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
9171 # absolute.
9172 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
9173 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
9174 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
9175 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
9176
9177
9178   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9179 echo "$as_me: executing $ac_dest commands" >&6;}
9180   case $ac_dest in
9181     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9182   # Strip MF so we end up with the name of the file.
9183   mf=`echo "$mf" | sed -e 's/:.*$//'`
9184   # Check whether this is an Automake generated Makefile or not.
9185   # We used to match only the files named `Makefile.in', but
9186   # some people rename them; so instead we look at the file content.
9187   # Grep'ing the first line is not enough: some people post-process
9188   # each Makefile.in and add a new line on top of each file to say so.
9189   # So let's grep whole file.
9190   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9191     dirpart=`(dirname "$mf") 2>/dev/null ||
9192 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9193          X"$mf" : 'X\(//\)[^/]' \| \
9194          X"$mf" : 'X\(//\)$' \| \
9195          X"$mf" : 'X\(/\)' \| \
9196          .     : '\(.\)' 2>/dev/null ||
9197 echo X"$mf" |
9198     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9199           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9200           /^X\(\/\/\)$/{ s//\1/; q; }
9201           /^X\(\/\).*/{ s//\1/; q; }
9202           s/.*/./; q'`
9203   else
9204     continue
9205   fi
9206   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
9207   # Extract the definition of DEP_FILES from the Makefile without
9208   # running `make'.
9209   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
9210   test -z "$DEPDIR" && continue
9211   # When using ansi2knr, U may be empty or an underscore; expand it
9212   U=`sed -n -e '/^U = / s///p' < "$mf"`
9213   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
9214   # We invoke sed twice because it is the simplest approach to
9215   # changing $(DEPDIR) to its actual value in the expansion.
9216   for file in `sed -n -e '
9217     /^DEP_FILES = .*\\\\$/ {
9218       s/^DEP_FILES = //
9219       :loop
9220         s/\\\\$//
9221         p
9222         n
9223         /\\\\$/ b loop
9224       p
9225     }
9226     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
9227        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9228     # Make sure the directory exists.
9229     test -f "$dirpart/$file" && continue
9230     fdir=`(dirname "$file") 2>/dev/null ||
9231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9232          X"$file" : 'X\(//\)[^/]' \| \
9233          X"$file" : 'X\(//\)$' \| \
9234          X"$file" : 'X\(/\)' \| \
9235          .     : '\(.\)' 2>/dev/null ||
9236 echo X"$file" |
9237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9238           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9239           /^X\(\/\/\)$/{ s//\1/; q; }
9240           /^X\(\/\).*/{ s//\1/; q; }
9241           s/.*/./; q'`
9242     { if $as_mkdir_p; then
9243     mkdir -p $dirpart/$fdir
9244   else
9245     as_dir=$dirpart/$fdir
9246     as_dirs=
9247     while test ! -d "$as_dir"; do
9248       as_dirs="$as_dir $as_dirs"
9249       as_dir=`(dirname "$as_dir") 2>/dev/null ||
9250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9251          X"$as_dir" : 'X\(//\)[^/]' \| \
9252          X"$as_dir" : 'X\(//\)$' \| \
9253          X"$as_dir" : 'X\(/\)' \| \
9254          .     : '\(.\)' 2>/dev/null ||
9255 echo X"$as_dir" |
9256     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9257           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9258           /^X\(\/\/\)$/{ s//\1/; q; }
9259           /^X\(\/\).*/{ s//\1/; q; }
9260           s/.*/./; q'`
9261     done
9262     test ! -n "$as_dirs" || mkdir $as_dirs
9263   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
9264 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
9265    { (exit 1); exit 1; }; }; }
9266
9267     # echo "creating $dirpart/$file"
9268     echo '# dummy' > "$dirpart/$file"
9269   done
9270 done
9271  ;;
9272   esac
9273 done
9274 _ACEOF
9275
9276 cat >>$CONFIG_STATUS <<\_ACEOF
9277
9278 { (exit 0); exit 0; }
9279 _ACEOF
9280 chmod +x $CONFIG_STATUS
9281 ac_clean_files=$ac_clean_files_save
9282
9283
9284 # configure is writing to config.log, and then calls config.status.
9285 # config.status does its own redirection, appending to config.log.
9286 # Unfortunately, on DOS this fails, as config.log is still kept open
9287 # by configure, so config.status won't be able to write to it; its
9288 # output is simply discarded.  So we exec the FD to /dev/null,
9289 # effectively closing config.log, so it can be properly (re)opened and
9290 # appended to by config.status.  When coming back to configure, we
9291 # need to make the FD available again.
9292 if test "$no_create" != yes; then
9293   ac_cs_success=:
9294   ac_config_status_args=
9295   test "$silent" = yes &&
9296     ac_config_status_args="$ac_config_status_args --quiet"
9297   exec 5>/dev/null
9298   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
9299   exec 5>>config.log
9300   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9301   # would make configure fail if this is the last instruction.
9302   $ac_cs_success || { (exit 1); exit 1; }
9303 fi
9304