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