- show message in ExceptionInInitializerError
[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 -- . 2>/dev/null; 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 ./--;
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"                   || test ! -s conftest.err'
2456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457   (eval $ac_try) 2>&5
2458   ac_status=$?
2459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460   (exit $ac_status); }; } &&
2461          { ac_try='test -s conftest.$ac_objext'
2462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463   (eval $ac_try) 2>&5
2464   ac_status=$?
2465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466   (exit $ac_status); }; }; then
2467   ac_compiler_gnu=yes
2468 else
2469   echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2471
2472 ac_compiler_gnu=no
2473 fi
2474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2475 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2476
2477 fi
2478 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2479 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2480 GCC=`test $ac_compiler_gnu = yes && echo yes`
2481 ac_test_CFLAGS=${CFLAGS+set}
2482 ac_save_CFLAGS=$CFLAGS
2483 CFLAGS="-g"
2484 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2485 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2486 if test "${ac_cv_prog_cc_g+set}" = set; then
2487   echo $ECHO_N "(cached) $ECHO_C" >&6
2488 else
2489   cat >conftest.$ac_ext <<_ACEOF
2490 /* confdefs.h.  */
2491 _ACEOF
2492 cat confdefs.h >>conftest.$ac_ext
2493 cat >>conftest.$ac_ext <<_ACEOF
2494 /* end confdefs.h.  */
2495
2496 int
2497 main ()
2498 {
2499
2500   ;
2501   return 0;
2502 }
2503 _ACEOF
2504 rm -f conftest.$ac_objext
2505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2506   (eval $ac_compile) 2>conftest.er1
2507   ac_status=$?
2508   grep -v '^ *+' conftest.er1 >conftest.err
2509   rm -f conftest.er1
2510   cat conftest.err >&5
2511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512   (exit $ac_status); } &&
2513          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515   (eval $ac_try) 2>&5
2516   ac_status=$?
2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; } &&
2519          { ac_try='test -s conftest.$ac_objext'
2520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521   (eval $ac_try) 2>&5
2522   ac_status=$?
2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524   (exit $ac_status); }; }; then
2525   ac_cv_prog_cc_g=yes
2526 else
2527   echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2529
2530 ac_cv_prog_cc_g=no
2531 fi
2532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2533 fi
2534 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2535 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2536 if test "$ac_test_CFLAGS" = set; then
2537   CFLAGS=$ac_save_CFLAGS
2538 elif test $ac_cv_prog_cc_g = yes; then
2539   if test "$GCC" = yes; then
2540     CFLAGS="-g -O2"
2541   else
2542     CFLAGS="-g"
2543   fi
2544 else
2545   if test "$GCC" = yes; then
2546     CFLAGS="-O2"
2547   else
2548     CFLAGS=
2549   fi
2550 fi
2551 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2552 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2553 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2554   echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556   ac_cv_prog_cc_stdc=no
2557 ac_save_CC=$CC
2558 cat >conftest.$ac_ext <<_ACEOF
2559 /* confdefs.h.  */
2560 _ACEOF
2561 cat confdefs.h >>conftest.$ac_ext
2562 cat >>conftest.$ac_ext <<_ACEOF
2563 /* end confdefs.h.  */
2564 #include <stdarg.h>
2565 #include <stdio.h>
2566 #include <sys/types.h>
2567 #include <sys/stat.h>
2568 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2569 struct buf { int x; };
2570 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2571 static char *e (p, i)
2572      char **p;
2573      int i;
2574 {
2575   return p[i];
2576 }
2577 static char *f (char * (*g) (char **, int), char **p, ...)
2578 {
2579   char *s;
2580   va_list v;
2581   va_start (v,p);
2582   s = g (p, va_arg (v,int));
2583   va_end (v);
2584   return s;
2585 }
2586
2587 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2588    function prototypes and stuff, but not '\xHH' hex character constants.
2589    These don't provoke an error unfortunately, instead are silently treated
2590    as 'x'.  The following induces an error, until -std1 is added to get
2591    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2592    array size at least.  It's necessary to write '\x00'==0 to get something
2593    that's true only with -std1.  */
2594 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2595
2596 int test (int i, double x);
2597 struct s1 {int (*f) (int a);};
2598 struct s2 {int (*f) (double a);};
2599 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2600 int argc;
2601 char **argv;
2602 int
2603 main ()
2604 {
2605 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2606   ;
2607   return 0;
2608 }
2609 _ACEOF
2610 # Don't try gcc -ansi; that turns off useful extensions and
2611 # breaks some systems' header files.
2612 # AIX                   -qlanglvl=ansi
2613 # Ultrix and OSF/1      -std1
2614 # HP-UX 10.20 and later -Ae
2615 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2616 # SVR4                  -Xc -D__EXTENSIONS__
2617 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2618 do
2619   CC="$ac_save_CC $ac_arg"
2620   rm -f conftest.$ac_objext
2621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2622   (eval $ac_compile) 2>conftest.er1
2623   ac_status=$?
2624   grep -v '^ *+' conftest.er1 >conftest.err
2625   rm -f conftest.er1
2626   cat conftest.err >&5
2627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628   (exit $ac_status); } &&
2629          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2631   (eval $ac_try) 2>&5
2632   ac_status=$?
2633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634   (exit $ac_status); }; } &&
2635          { ac_try='test -s conftest.$ac_objext'
2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637   (eval $ac_try) 2>&5
2638   ac_status=$?
2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640   (exit $ac_status); }; }; then
2641   ac_cv_prog_cc_stdc=$ac_arg
2642 break
2643 else
2644   echo "$as_me: failed program was:" >&5
2645 sed 's/^/| /' conftest.$ac_ext >&5
2646
2647 fi
2648 rm -f conftest.err conftest.$ac_objext
2649 done
2650 rm -f conftest.$ac_ext conftest.$ac_objext
2651 CC=$ac_save_CC
2652
2653 fi
2654
2655 case "x$ac_cv_prog_cc_stdc" in
2656   x|xno)
2657     echo "$as_me:$LINENO: result: none needed" >&5
2658 echo "${ECHO_T}none needed" >&6 ;;
2659   *)
2660     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2661 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2662     CC="$CC $ac_cv_prog_cc_stdc" ;;
2663 esac
2664
2665 # Some people use a C++ compiler to compile C.  Since we use `exit',
2666 # in C++ we need to declare it.  In case someone uses the same compiler
2667 # for both compiling C and C++ we need to have the C++ compiler decide
2668 # the declaration of exit, since it's the most demanding environment.
2669 cat >conftest.$ac_ext <<_ACEOF
2670 #ifndef __cplusplus
2671   choke me
2672 #endif
2673 _ACEOF
2674 rm -f conftest.$ac_objext
2675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2676   (eval $ac_compile) 2>conftest.er1
2677   ac_status=$?
2678   grep -v '^ *+' conftest.er1 >conftest.err
2679   rm -f conftest.er1
2680   cat conftest.err >&5
2681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2682   (exit $ac_status); } &&
2683          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685   (eval $ac_try) 2>&5
2686   ac_status=$?
2687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688   (exit $ac_status); }; } &&
2689          { ac_try='test -s conftest.$ac_objext'
2690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691   (eval $ac_try) 2>&5
2692   ac_status=$?
2693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694   (exit $ac_status); }; }; then
2695   for ac_declaration in \
2696    '' \
2697    'extern "C" void std::exit (int) throw (); using std::exit;' \
2698    'extern "C" void std::exit (int); using std::exit;' \
2699    'extern "C" void exit (int) throw ();' \
2700    'extern "C" void exit (int);' \
2701    'void exit (int);'
2702 do
2703   cat >conftest.$ac_ext <<_ACEOF
2704 /* confdefs.h.  */
2705 _ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h.  */
2709 $ac_declaration
2710 #include <stdlib.h>
2711 int
2712 main ()
2713 {
2714 exit (42);
2715   ;
2716   return 0;
2717 }
2718 _ACEOF
2719 rm -f conftest.$ac_objext
2720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721   (eval $ac_compile) 2>conftest.er1
2722   ac_status=$?
2723   grep -v '^ *+' conftest.er1 >conftest.err
2724   rm -f conftest.er1
2725   cat conftest.err >&5
2726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727   (exit $ac_status); } &&
2728          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730   (eval $ac_try) 2>&5
2731   ac_status=$?
2732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733   (exit $ac_status); }; } &&
2734          { ac_try='test -s conftest.$ac_objext'
2735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736   (eval $ac_try) 2>&5
2737   ac_status=$?
2738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739   (exit $ac_status); }; }; then
2740   :
2741 else
2742   echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2744
2745 continue
2746 fi
2747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2748   cat >conftest.$ac_ext <<_ACEOF
2749 /* confdefs.h.  */
2750 _ACEOF
2751 cat confdefs.h >>conftest.$ac_ext
2752 cat >>conftest.$ac_ext <<_ACEOF
2753 /* end confdefs.h.  */
2754 $ac_declaration
2755 int
2756 main ()
2757 {
2758 exit (42);
2759   ;
2760   return 0;
2761 }
2762 _ACEOF
2763 rm -f conftest.$ac_objext
2764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2765   (eval $ac_compile) 2>conftest.er1
2766   ac_status=$?
2767   grep -v '^ *+' conftest.er1 >conftest.err
2768   rm -f conftest.er1
2769   cat conftest.err >&5
2770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771   (exit $ac_status); } &&
2772          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774   (eval $ac_try) 2>&5
2775   ac_status=$?
2776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777   (exit $ac_status); }; } &&
2778          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
2784   break
2785 else
2786   echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2788
2789 fi
2790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2791 done
2792 rm -f conftest*
2793 if test -n "$ac_declaration"; then
2794   echo '#ifdef __cplusplus' >>confdefs.h
2795   echo $ac_declaration      >>confdefs.h
2796   echo '#endif'             >>confdefs.h
2797 fi
2798
2799 else
2800   echo "$as_me: failed program was:" >&5
2801 sed 's/^/| /' conftest.$ac_ext >&5
2802
2803 fi
2804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2805 ac_ext=c
2806 ac_cpp='$CPP $CPPFLAGS'
2807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2810 DEPDIR="${am__leading_dot}deps"
2811
2812           ac_config_commands="$ac_config_commands depfiles"
2813
2814
2815 am_make=${MAKE-make}
2816 cat > confinc << 'END'
2817 am__doit:
2818         @echo done
2819 .PHONY: am__doit
2820 END
2821 # If we don't find an include directive, just comment out the code.
2822 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2823 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2824 am__include="#"
2825 am__quote=
2826 _am_result=none
2827 # First try GNU make style include.
2828 echo "include confinc" > confmf
2829 # We grep out `Entering directory' and `Leaving directory'
2830 # messages which can occur if `w' ends up in MAKEFLAGS.
2831 # In particular we don't look at `^make:' because GNU make might
2832 # be invoked under some other name (usually "gmake"), in which
2833 # case it prints its new name instead of `make'.
2834 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2835    am__include=include
2836    am__quote=
2837    _am_result=GNU
2838 fi
2839 # Now try BSD make style include.
2840 if test "$am__include" = "#"; then
2841    echo '.include "confinc"' > confmf
2842    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2843       am__include=.include
2844       am__quote="\""
2845       _am_result=BSD
2846    fi
2847 fi
2848
2849
2850 echo "$as_me:$LINENO: result: $_am_result" >&5
2851 echo "${ECHO_T}$_am_result" >&6
2852 rm -f confinc confmf
2853
2854 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2855 if test "${enable_dependency_tracking+set}" = set; then
2856   enableval="$enable_dependency_tracking"
2857
2858 fi;
2859 if test "x$enable_dependency_tracking" != xno; then
2860   am_depcomp="$ac_aux_dir/depcomp"
2861   AMDEPBACKSLASH='\'
2862 fi
2863
2864
2865 if test "x$enable_dependency_tracking" != xno; then
2866   AMDEP_TRUE=
2867   AMDEP_FALSE='#'
2868 else
2869   AMDEP_TRUE='#'
2870   AMDEP_FALSE=
2871 fi
2872
2873
2874
2875
2876 depcc="$CC"   am_compiler_list=
2877
2878 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2879 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2880 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2881   echo $ECHO_N "(cached) $ECHO_C" >&6
2882 else
2883   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2884   # We make a subdir and do the tests there.  Otherwise we can end up
2885   # making bogus files that we don't know about and never remove.  For
2886   # instance it was reported that on HP-UX the gcc test will end up
2887   # making a dummy file named `D' -- because `-MD' means `put the output
2888   # in D'.
2889   mkdir conftest.dir
2890   # Copy depcomp to subdir because otherwise we won't find it if we're
2891   # using a relative directory.
2892   cp "$am_depcomp" conftest.dir
2893   cd conftest.dir
2894   # We will build objects and dependencies in a subdirectory because
2895   # it helps to detect inapplicable dependency modes.  For instance
2896   # both Tru64's cc and ICC support -MD to output dependencies as a
2897   # side effect of compilation, but ICC will put the dependencies in
2898   # the current directory while Tru64 will put them in the object
2899   # directory.
2900   mkdir sub
2901
2902   am_cv_CC_dependencies_compiler_type=none
2903   if test "$am_compiler_list" = ""; then
2904      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2905   fi
2906   for depmode in $am_compiler_list; do
2907     # Setup a source with many dependencies, because some compilers
2908     # like to wrap large dependency lists on column 80 (with \), and
2909     # we should not choose a depcomp mode which is confused by this.
2910     #
2911     # We need to recreate these files for each test, as the compiler may
2912     # overwrite some of them when testing with obscure command lines.
2913     # This happens at least with the AIX C compiler.
2914     : > sub/conftest.c
2915     for i in 1 2 3 4 5 6; do
2916       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2917       : > sub/conftst$i.h
2918     done
2919     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2920
2921     case $depmode in
2922     nosideeffect)
2923       # after this tag, mechanisms are not by side-effect, so they'll
2924       # only be used when explicitly requested
2925       if test "x$enable_dependency_tracking" = xyes; then
2926         continue
2927       else
2928         break
2929       fi
2930       ;;
2931     none) break ;;
2932     esac
2933     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2934     # mode.  It turns out that the SunPro C++ compiler does not properly
2935     # handle `-M -o', and we need to detect this.
2936     if depmode=$depmode \
2937        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2938        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2939        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2940          >/dev/null 2>conftest.err &&
2941        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2942        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2943        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2944       # icc doesn't choke on unknown options, it will just issue warnings
2945       # (even with -Werror).  So we grep stderr for any message
2946       # that says an option was ignored.
2947       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2948         am_cv_CC_dependencies_compiler_type=$depmode
2949         break
2950       fi
2951     fi
2952   done
2953
2954   cd ..
2955   rm -rf conftest.dir
2956 else
2957   am_cv_CC_dependencies_compiler_type=none
2958 fi
2959
2960 fi
2961 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2962 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2963 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2964
2965
2966
2967 if
2968   test "x$enable_dependency_tracking" != xno \
2969   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2970   am__fastdepCC_TRUE=
2971   am__fastdepCC_FALSE='#'
2972 else
2973   am__fastdepCC_TRUE='#'
2974   am__fastdepCC_FALSE=
2975 fi
2976
2977
2978 # By default we simply use the C compiler to build assembly code.
2979
2980 test "${CCAS+set}" = set || CCAS=$CC
2981 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2982
2983
2984
2985 if test -n "$ac_tool_prefix"; then
2986   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2987 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2988 echo "$as_me:$LINENO: checking for $ac_word" >&5
2989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2990 if test "${ac_cv_prog_RANLIB+set}" = set; then
2991   echo $ECHO_N "(cached) $ECHO_C" >&6
2992 else
2993   if test -n "$RANLIB"; then
2994   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2995 else
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2997 for as_dir in $PATH
2998 do
2999   IFS=$as_save_IFS
3000   test -z "$as_dir" && as_dir=.
3001   for ac_exec_ext in '' $ac_executable_extensions; do
3002   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3004     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3005     break 2
3006   fi
3007 done
3008 done
3009
3010 fi
3011 fi
3012 RANLIB=$ac_cv_prog_RANLIB
3013 if test -n "$RANLIB"; then
3014   echo "$as_me:$LINENO: result: $RANLIB" >&5
3015 echo "${ECHO_T}$RANLIB" >&6
3016 else
3017   echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6
3019 fi
3020
3021 fi
3022 if test -z "$ac_cv_prog_RANLIB"; then
3023   ac_ct_RANLIB=$RANLIB
3024   # Extract the first word of "ranlib", so it can be a program name with args.
3025 set dummy ranlib; ac_word=$2
3026 echo "$as_me:$LINENO: checking for $ac_word" >&5
3027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3028 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3029   echo $ECHO_N "(cached) $ECHO_C" >&6
3030 else
3031   if test -n "$ac_ct_RANLIB"; then
3032   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3033 else
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 for as_dir in $PATH
3036 do
3037   IFS=$as_save_IFS
3038   test -z "$as_dir" && as_dir=.
3039   for ac_exec_ext in '' $ac_executable_extensions; do
3040   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3041     ac_cv_prog_ac_ct_RANLIB="ranlib"
3042     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043     break 2
3044   fi
3045 done
3046 done
3047
3048   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3049 fi
3050 fi
3051 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3052 if test -n "$ac_ct_RANLIB"; then
3053   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3054 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3055 else
3056   echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 fi
3059
3060   RANLIB=$ac_ct_RANLIB
3061 else
3062   RANLIB="$ac_cv_prog_RANLIB"
3063 fi
3064
3065 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3066 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3067 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3068 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3069   echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071   cat >conftest.make <<\_ACEOF
3072 all:
3073         @echo 'ac_maketemp="$(MAKE)"'
3074 _ACEOF
3075 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3076 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3077 if test -n "$ac_maketemp"; then
3078   eval ac_cv_prog_make_${ac_make}_set=yes
3079 else
3080   eval ac_cv_prog_make_${ac_make}_set=no
3081 fi
3082 rm -f conftest.make
3083 fi
3084 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3085   echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087   SET_MAKE=
3088 else
3089   echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3091   SET_MAKE="MAKE=${MAKE-make}"
3092 fi
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102 ac_header_dirent=no
3103 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3104   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3105 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3106 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3108   echo $ECHO_N "(cached) $ECHO_C" >&6
3109 else
3110   cat >conftest.$ac_ext <<_ACEOF
3111 /* confdefs.h.  */
3112 _ACEOF
3113 cat confdefs.h >>conftest.$ac_ext
3114 cat >>conftest.$ac_ext <<_ACEOF
3115 /* end confdefs.h.  */
3116 #include <sys/types.h>
3117 #include <$ac_hdr>
3118
3119 int
3120 main ()
3121 {
3122 if ((DIR *) 0)
3123 return 0;
3124   ;
3125   return 0;
3126 }
3127 _ACEOF
3128 rm -f conftest.$ac_objext
3129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3130   (eval $ac_compile) 2>conftest.er1
3131   ac_status=$?
3132   grep -v '^ *+' conftest.er1 >conftest.err
3133   rm -f conftest.er1
3134   cat conftest.err >&5
3135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136   (exit $ac_status); } &&
3137          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139   (eval $ac_try) 2>&5
3140   ac_status=$?
3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142   (exit $ac_status); }; } &&
3143          { ac_try='test -s conftest.$ac_objext'
3144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145   (eval $ac_try) 2>&5
3146   ac_status=$?
3147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148   (exit $ac_status); }; }; then
3149   eval "$as_ac_Header=yes"
3150 else
3151   echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3153
3154 eval "$as_ac_Header=no"
3155 fi
3156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3157 fi
3158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3161   cat >>confdefs.h <<_ACEOF
3162 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3163 _ACEOF
3164
3165 ac_header_dirent=$ac_hdr; break
3166 fi
3167
3168 done
3169 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3170 if test $ac_header_dirent = dirent.h; then
3171   echo "$as_me:$LINENO: checking for library containing opendir" >&5
3172 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3173 if test "${ac_cv_search_opendir+set}" = set; then
3174   echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176   ac_func_search_save_LIBS=$LIBS
3177 ac_cv_search_opendir=no
3178 cat >conftest.$ac_ext <<_ACEOF
3179 /* confdefs.h.  */
3180 _ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h.  */
3184
3185 /* Override any gcc2 internal prototype to avoid an error.  */
3186 #ifdef __cplusplus
3187 extern "C"
3188 #endif
3189 /* We use char because int might match the return type of a gcc2
3190    builtin and then its argument prototype would still apply.  */
3191 char opendir ();
3192 int
3193 main ()
3194 {
3195 opendir ();
3196   ;
3197   return 0;
3198 }
3199 _ACEOF
3200 rm -f conftest.$ac_objext conftest$ac_exeext
3201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3202   (eval $ac_link) 2>conftest.er1
3203   ac_status=$?
3204   grep -v '^ *+' conftest.er1 >conftest.err
3205   rm -f conftest.er1
3206   cat conftest.err >&5
3207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208   (exit $ac_status); } &&
3209          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211   (eval $ac_try) 2>&5
3212   ac_status=$?
3213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214   (exit $ac_status); }; } &&
3215          { ac_try='test -s conftest$ac_exeext'
3216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217   (eval $ac_try) 2>&5
3218   ac_status=$?
3219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220   (exit $ac_status); }; }; then
3221   ac_cv_search_opendir="none required"
3222 else
3223   echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3225
3226 fi
3227 rm -f conftest.err conftest.$ac_objext \
3228       conftest$ac_exeext conftest.$ac_ext
3229 if test "$ac_cv_search_opendir" = no; then
3230   for ac_lib in dir; do
3231     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3232     cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h.  */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h.  */
3238
3239 /* Override any gcc2 internal prototype to avoid an error.  */
3240 #ifdef __cplusplus
3241 extern "C"
3242 #endif
3243 /* We use char because int might match the return type of a gcc2
3244    builtin and then its argument prototype would still apply.  */
3245 char opendir ();
3246 int
3247 main ()
3248 {
3249 opendir ();
3250   ;
3251   return 0;
3252 }
3253 _ACEOF
3254 rm -f conftest.$ac_objext conftest$ac_exeext
3255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3256   (eval $ac_link) 2>conftest.er1
3257   ac_status=$?
3258   grep -v '^ *+' conftest.er1 >conftest.err
3259   rm -f conftest.er1
3260   cat conftest.err >&5
3261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262   (exit $ac_status); } &&
3263          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3265   (eval $ac_try) 2>&5
3266   ac_status=$?
3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268   (exit $ac_status); }; } &&
3269          { ac_try='test -s conftest$ac_exeext'
3270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271   (eval $ac_try) 2>&5
3272   ac_status=$?
3273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274   (exit $ac_status); }; }; then
3275   ac_cv_search_opendir="-l$ac_lib"
3276 break
3277 else
3278   echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3280
3281 fi
3282 rm -f conftest.err conftest.$ac_objext \
3283       conftest$ac_exeext conftest.$ac_ext
3284   done
3285 fi
3286 LIBS=$ac_func_search_save_LIBS
3287 fi
3288 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3289 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3290 if test "$ac_cv_search_opendir" != no; then
3291   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3292
3293 fi
3294
3295 else
3296   echo "$as_me:$LINENO: checking for library containing opendir" >&5
3297 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3298 if test "${ac_cv_search_opendir+set}" = set; then
3299   echo $ECHO_N "(cached) $ECHO_C" >&6
3300 else
3301   ac_func_search_save_LIBS=$LIBS
3302 ac_cv_search_opendir=no
3303 cat >conftest.$ac_ext <<_ACEOF
3304 /* confdefs.h.  */
3305 _ACEOF
3306 cat confdefs.h >>conftest.$ac_ext
3307 cat >>conftest.$ac_ext <<_ACEOF
3308 /* end confdefs.h.  */
3309
3310 /* Override any gcc2 internal prototype to avoid an error.  */
3311 #ifdef __cplusplus
3312 extern "C"
3313 #endif
3314 /* We use char because int might match the return type of a gcc2
3315    builtin and then its argument prototype would still apply.  */
3316 char opendir ();
3317 int
3318 main ()
3319 {
3320 opendir ();
3321   ;
3322   return 0;
3323 }
3324 _ACEOF
3325 rm -f conftest.$ac_objext conftest$ac_exeext
3326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3327   (eval $ac_link) 2>conftest.er1
3328   ac_status=$?
3329   grep -v '^ *+' conftest.er1 >conftest.err
3330   rm -f conftest.er1
3331   cat conftest.err >&5
3332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333   (exit $ac_status); } &&
3334          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336   (eval $ac_try) 2>&5
3337   ac_status=$?
3338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339   (exit $ac_status); }; } &&
3340          { ac_try='test -s conftest$ac_exeext'
3341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342   (eval $ac_try) 2>&5
3343   ac_status=$?
3344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345   (exit $ac_status); }; }; then
3346   ac_cv_search_opendir="none required"
3347 else
3348   echo "$as_me: failed program was:" >&5
3349 sed 's/^/| /' conftest.$ac_ext >&5
3350
3351 fi
3352 rm -f conftest.err conftest.$ac_objext \
3353       conftest$ac_exeext conftest.$ac_ext
3354 if test "$ac_cv_search_opendir" = no; then
3355   for ac_lib in x; do
3356     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3357     cat >conftest.$ac_ext <<_ACEOF
3358 /* confdefs.h.  */
3359 _ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h.  */
3363
3364 /* Override any gcc2 internal prototype to avoid an error.  */
3365 #ifdef __cplusplus
3366 extern "C"
3367 #endif
3368 /* We use char because int might match the return type of a gcc2
3369    builtin and then its argument prototype would still apply.  */
3370 char opendir ();
3371 int
3372 main ()
3373 {
3374 opendir ();
3375   ;
3376   return 0;
3377 }
3378 _ACEOF
3379 rm -f conftest.$ac_objext conftest$ac_exeext
3380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3381   (eval $ac_link) 2>conftest.er1
3382   ac_status=$?
3383   grep -v '^ *+' conftest.er1 >conftest.err
3384   rm -f conftest.er1
3385   cat conftest.err >&5
3386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387   (exit $ac_status); } &&
3388          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390   (eval $ac_try) 2>&5
3391   ac_status=$?
3392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393   (exit $ac_status); }; } &&
3394          { ac_try='test -s conftest$ac_exeext'
3395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396   (eval $ac_try) 2>&5
3397   ac_status=$?
3398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399   (exit $ac_status); }; }; then
3400   ac_cv_search_opendir="-l$ac_lib"
3401 break
3402 else
3403   echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3405
3406 fi
3407 rm -f conftest.err conftest.$ac_objext \
3408       conftest$ac_exeext conftest.$ac_ext
3409   done
3410 fi
3411 LIBS=$ac_func_search_save_LIBS
3412 fi
3413 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3414 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3415 if test "$ac_cv_search_opendir" != no; then
3416   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3417
3418 fi
3419
3420 fi
3421
3422 ac_ext=c
3423 ac_cpp='$CPP $CPPFLAGS'
3424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3427 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3428 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3429 # On Suns, sometimes $CPP names a directory.
3430 if test -n "$CPP" && test -d "$CPP"; then
3431   CPP=
3432 fi
3433 if test -z "$CPP"; then
3434   if test "${ac_cv_prog_CPP+set}" = set; then
3435   echo $ECHO_N "(cached) $ECHO_C" >&6
3436 else
3437       # Double quotes because CPP needs to be expanded
3438     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3439     do
3440       ac_preproc_ok=false
3441 for ac_c_preproc_warn_flag in '' yes
3442 do
3443   # Use a header file that comes with gcc, so configuring glibc
3444   # with a fresh cross-compiler works.
3445   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3446   # <limits.h> exists even on freestanding compilers.
3447   # On the NeXT, cc -E runs the code through the compiler's parser,
3448   # not just through cpp. "Syntax error" is here to catch this case.
3449   cat >conftest.$ac_ext <<_ACEOF
3450 /* confdefs.h.  */
3451 _ACEOF
3452 cat confdefs.h >>conftest.$ac_ext
3453 cat >>conftest.$ac_ext <<_ACEOF
3454 /* end confdefs.h.  */
3455 #ifdef __STDC__
3456 # include <limits.h>
3457 #else
3458 # include <assert.h>
3459 #endif
3460                      Syntax error
3461 _ACEOF
3462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3463   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3464   ac_status=$?
3465   grep -v '^ *+' conftest.er1 >conftest.err
3466   rm -f conftest.er1
3467   cat conftest.err >&5
3468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469   (exit $ac_status); } >/dev/null; then
3470   if test -s conftest.err; then
3471     ac_cpp_err=$ac_c_preproc_warn_flag
3472     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3473   else
3474     ac_cpp_err=
3475   fi
3476 else
3477   ac_cpp_err=yes
3478 fi
3479 if test -z "$ac_cpp_err"; then
3480   :
3481 else
3482   echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3484
3485   # Broken: fails on valid input.
3486 continue
3487 fi
3488 rm -f conftest.err conftest.$ac_ext
3489
3490   # OK, works on sane cases.  Now check whether non-existent headers
3491   # can be detected and how.
3492   cat >conftest.$ac_ext <<_ACEOF
3493 /* confdefs.h.  */
3494 _ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h.  */
3498 #include <ac_nonexistent.h>
3499 _ACEOF
3500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3501   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3502   ac_status=$?
3503   grep -v '^ *+' conftest.er1 >conftest.err
3504   rm -f conftest.er1
3505   cat conftest.err >&5
3506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507   (exit $ac_status); } >/dev/null; then
3508   if test -s conftest.err; then
3509     ac_cpp_err=$ac_c_preproc_warn_flag
3510     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3511   else
3512     ac_cpp_err=
3513   fi
3514 else
3515   ac_cpp_err=yes
3516 fi
3517 if test -z "$ac_cpp_err"; then
3518   # Broken: success on invalid input.
3519 continue
3520 else
3521   echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.$ac_ext >&5
3523
3524   # Passes both tests.
3525 ac_preproc_ok=:
3526 break
3527 fi
3528 rm -f conftest.err conftest.$ac_ext
3529
3530 done
3531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3532 rm -f conftest.err conftest.$ac_ext
3533 if $ac_preproc_ok; then
3534   break
3535 fi
3536
3537     done
3538     ac_cv_prog_CPP=$CPP
3539
3540 fi
3541   CPP=$ac_cv_prog_CPP
3542 else
3543   ac_cv_prog_CPP=$CPP
3544 fi
3545 echo "$as_me:$LINENO: result: $CPP" >&5
3546 echo "${ECHO_T}$CPP" >&6
3547 ac_preproc_ok=false
3548 for ac_c_preproc_warn_flag in '' yes
3549 do
3550   # Use a header file that comes with gcc, so configuring glibc
3551   # with a fresh cross-compiler works.
3552   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553   # <limits.h> exists even on freestanding compilers.
3554   # On the NeXT, cc -E runs the code through the compiler's parser,
3555   # not just through cpp. "Syntax error" is here to catch this case.
3556   cat >conftest.$ac_ext <<_ACEOF
3557 /* confdefs.h.  */
3558 _ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h.  */
3562 #ifdef __STDC__
3563 # include <limits.h>
3564 #else
3565 # include <assert.h>
3566 #endif
3567                      Syntax error
3568 _ACEOF
3569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3570   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3571   ac_status=$?
3572   grep -v '^ *+' conftest.er1 >conftest.err
3573   rm -f conftest.er1
3574   cat conftest.err >&5
3575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3576   (exit $ac_status); } >/dev/null; then
3577   if test -s conftest.err; then
3578     ac_cpp_err=$ac_c_preproc_warn_flag
3579     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3580   else
3581     ac_cpp_err=
3582   fi
3583 else
3584   ac_cpp_err=yes
3585 fi
3586 if test -z "$ac_cpp_err"; then
3587   :
3588 else
3589   echo "$as_me: failed program was:" >&5
3590 sed 's/^/| /' conftest.$ac_ext >&5
3591
3592   # Broken: fails on valid input.
3593 continue
3594 fi
3595 rm -f conftest.err conftest.$ac_ext
3596
3597   # OK, works on sane cases.  Now check whether non-existent headers
3598   # can be detected and how.
3599   cat >conftest.$ac_ext <<_ACEOF
3600 /* confdefs.h.  */
3601 _ACEOF
3602 cat confdefs.h >>conftest.$ac_ext
3603 cat >>conftest.$ac_ext <<_ACEOF
3604 /* end confdefs.h.  */
3605 #include <ac_nonexistent.h>
3606 _ACEOF
3607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3608   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3609   ac_status=$?
3610   grep -v '^ *+' conftest.er1 >conftest.err
3611   rm -f conftest.er1
3612   cat conftest.err >&5
3613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3614   (exit $ac_status); } >/dev/null; then
3615   if test -s conftest.err; then
3616     ac_cpp_err=$ac_c_preproc_warn_flag
3617     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3618   else
3619     ac_cpp_err=
3620   fi
3621 else
3622   ac_cpp_err=yes
3623 fi
3624 if test -z "$ac_cpp_err"; then
3625   # Broken: success on invalid input.
3626 continue
3627 else
3628   echo "$as_me: failed program was:" >&5
3629 sed 's/^/| /' conftest.$ac_ext >&5
3630
3631   # Passes both tests.
3632 ac_preproc_ok=:
3633 break
3634 fi
3635 rm -f conftest.err conftest.$ac_ext
3636
3637 done
3638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3639 rm -f conftest.err conftest.$ac_ext
3640 if $ac_preproc_ok; then
3641   :
3642 else
3643   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3644 See \`config.log' for more details." >&5
3645 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3646 See \`config.log' for more details." >&2;}
3647    { (exit 1); exit 1; }; }
3648 fi
3649
3650 ac_ext=c
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3655
3656
3657 echo "$as_me:$LINENO: checking for egrep" >&5
3658 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3659 if test "${ac_cv_prog_egrep+set}" = set; then
3660   echo $ECHO_N "(cached) $ECHO_C" >&6
3661 else
3662   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3663     then ac_cv_prog_egrep='grep -E'
3664     else ac_cv_prog_egrep='egrep'
3665     fi
3666 fi
3667 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3668 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3669  EGREP=$ac_cv_prog_egrep
3670
3671
3672 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3673 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3674 if test "${ac_cv_header_stdc+set}" = set; then
3675   echo $ECHO_N "(cached) $ECHO_C" >&6
3676 else
3677   cat >conftest.$ac_ext <<_ACEOF
3678 /* confdefs.h.  */
3679 _ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h.  */
3683 #include <stdlib.h>
3684 #include <stdarg.h>
3685 #include <string.h>
3686 #include <float.h>
3687
3688 int
3689 main ()
3690 {
3691
3692   ;
3693   return 0;
3694 }
3695 _ACEOF
3696 rm -f conftest.$ac_objext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3698   (eval $ac_compile) 2>conftest.er1
3699   ac_status=$?
3700   grep -v '^ *+' conftest.er1 >conftest.err
3701   rm -f conftest.er1
3702   cat conftest.err >&5
3703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704   (exit $ac_status); } &&
3705          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3707   (eval $ac_try) 2>&5
3708   ac_status=$?
3709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710   (exit $ac_status); }; } &&
3711          { ac_try='test -s conftest.$ac_objext'
3712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713   (eval $ac_try) 2>&5
3714   ac_status=$?
3715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716   (exit $ac_status); }; }; then
3717   ac_cv_header_stdc=yes
3718 else
3719   echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3721
3722 ac_cv_header_stdc=no
3723 fi
3724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3725
3726 if test $ac_cv_header_stdc = yes; then
3727   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3728   cat >conftest.$ac_ext <<_ACEOF
3729 /* confdefs.h.  */
3730 _ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h.  */
3734 #include <string.h>
3735
3736 _ACEOF
3737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3738   $EGREP "memchr" >/dev/null 2>&1; then
3739   :
3740 else
3741   ac_cv_header_stdc=no
3742 fi
3743 rm -f conftest*
3744
3745 fi
3746
3747 if test $ac_cv_header_stdc = yes; then
3748   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3749   cat >conftest.$ac_ext <<_ACEOF
3750 /* confdefs.h.  */
3751 _ACEOF
3752 cat confdefs.h >>conftest.$ac_ext
3753 cat >>conftest.$ac_ext <<_ACEOF
3754 /* end confdefs.h.  */
3755 #include <stdlib.h>
3756
3757 _ACEOF
3758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3759   $EGREP "free" >/dev/null 2>&1; then
3760   :
3761 else
3762   ac_cv_header_stdc=no
3763 fi
3764 rm -f conftest*
3765
3766 fi
3767
3768 if test $ac_cv_header_stdc = yes; then
3769   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3770   if test "$cross_compiling" = yes; then
3771   :
3772 else
3773   cat >conftest.$ac_ext <<_ACEOF
3774 /* confdefs.h.  */
3775 _ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h.  */
3779 #include <ctype.h>
3780 #if ((' ' & 0x0FF) == 0x020)
3781 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3782 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3783 #else
3784 # define ISLOWER(c) \
3785                    (('a' <= (c) && (c) <= 'i') \
3786                      || ('j' <= (c) && (c) <= 'r') \
3787                      || ('s' <= (c) && (c) <= 'z'))
3788 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3789 #endif
3790
3791 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3792 int
3793 main ()
3794 {
3795   int i;
3796   for (i = 0; i < 256; i++)
3797     if (XOR (islower (i), ISLOWER (i))
3798         || toupper (i) != TOUPPER (i))
3799       exit(2);
3800   exit (0);
3801 }
3802 _ACEOF
3803 rm -f conftest$ac_exeext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3805   (eval $ac_link) 2>&5
3806   ac_status=$?
3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810   (eval $ac_try) 2>&5
3811   ac_status=$?
3812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813   (exit $ac_status); }; }; then
3814   :
3815 else
3816   echo "$as_me: program exited with status $ac_status" >&5
3817 echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3819
3820 ( exit $ac_status )
3821 ac_cv_header_stdc=no
3822 fi
3823 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3824 fi
3825 fi
3826 fi
3827 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3828 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3829 if test $ac_cv_header_stdc = yes; then
3830
3831 cat >>confdefs.h <<\_ACEOF
3832 #define STDC_HEADERS 1
3833 _ACEOF
3834
3835 fi
3836
3837 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3848                   inttypes.h stdint.h unistd.h
3849 do
3850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 echo "$as_me:$LINENO: checking for $ac_header" >&5
3852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3853 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3854   echo $ECHO_N "(cached) $ECHO_C" >&6
3855 else
3856   cat >conftest.$ac_ext <<_ACEOF
3857 /* confdefs.h.  */
3858 _ACEOF
3859 cat confdefs.h >>conftest.$ac_ext
3860 cat >>conftest.$ac_ext <<_ACEOF
3861 /* end confdefs.h.  */
3862 $ac_includes_default
3863
3864 #include <$ac_header>
3865 _ACEOF
3866 rm -f conftest.$ac_objext
3867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3868   (eval $ac_compile) 2>conftest.er1
3869   ac_status=$?
3870   grep -v '^ *+' conftest.er1 >conftest.err
3871   rm -f conftest.er1
3872   cat conftest.err >&5
3873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874   (exit $ac_status); } &&
3875          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877   (eval $ac_try) 2>&5
3878   ac_status=$?
3879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880   (exit $ac_status); }; } &&
3881          { ac_try='test -s conftest.$ac_objext'
3882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883   (eval $ac_try) 2>&5
3884   ac_status=$?
3885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886   (exit $ac_status); }; }; then
3887   eval "$as_ac_Header=yes"
3888 else
3889   echo "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3891
3892 eval "$as_ac_Header=no"
3893 fi
3894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3895 fi
3896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3899   cat >>confdefs.h <<_ACEOF
3900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3901 _ACEOF
3902
3903 fi
3904
3905 done
3906
3907
3908
3909 for ac_header in fcntl.h
3910 do
3911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3913   echo "$as_me:$LINENO: checking for $ac_header" >&5
3914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3916   echo $ECHO_N "(cached) $ECHO_C" >&6
3917 fi
3918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3920 else
3921   # Is the header compilable?
3922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3924 cat >conftest.$ac_ext <<_ACEOF
3925 /* confdefs.h.  */
3926 _ACEOF
3927 cat confdefs.h >>conftest.$ac_ext
3928 cat >>conftest.$ac_ext <<_ACEOF
3929 /* end confdefs.h.  */
3930 $ac_includes_default
3931 #include <$ac_header>
3932 _ACEOF
3933 rm -f conftest.$ac_objext
3934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3935   (eval $ac_compile) 2>conftest.er1
3936   ac_status=$?
3937   grep -v '^ *+' conftest.er1 >conftest.err
3938   rm -f conftest.er1
3939   cat conftest.err >&5
3940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941   (exit $ac_status); } &&
3942          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3944   (eval $ac_try) 2>&5
3945   ac_status=$?
3946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947   (exit $ac_status); }; } &&
3948          { ac_try='test -s conftest.$ac_objext'
3949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950   (eval $ac_try) 2>&5
3951   ac_status=$?
3952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953   (exit $ac_status); }; }; then
3954   ac_header_compiler=yes
3955 else
3956   echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.$ac_ext >&5
3958
3959 ac_header_compiler=no
3960 fi
3961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3963 echo "${ECHO_T}$ac_header_compiler" >&6
3964
3965 # Is the header present?
3966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3968 cat >conftest.$ac_ext <<_ACEOF
3969 /* confdefs.h.  */
3970 _ACEOF
3971 cat confdefs.h >>conftest.$ac_ext
3972 cat >>conftest.$ac_ext <<_ACEOF
3973 /* end confdefs.h.  */
3974 #include <$ac_header>
3975 _ACEOF
3976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3977   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3978   ac_status=$?
3979   grep -v '^ *+' conftest.er1 >conftest.err
3980   rm -f conftest.er1
3981   cat conftest.err >&5
3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983   (exit $ac_status); } >/dev/null; then
3984   if test -s conftest.err; then
3985     ac_cpp_err=$ac_c_preproc_warn_flag
3986     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3987   else
3988     ac_cpp_err=
3989   fi
3990 else
3991   ac_cpp_err=yes
3992 fi
3993 if test -z "$ac_cpp_err"; then
3994   ac_header_preproc=yes
3995 else
3996   echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3998
3999   ac_header_preproc=no
4000 fi
4001 rm -f conftest.err conftest.$ac_ext
4002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4003 echo "${ECHO_T}$ac_header_preproc" >&6
4004
4005 # So?  What about this header?
4006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4007   yes:no: )
4008     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4010     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4012     ac_header_preproc=yes
4013     ;;
4014   no:yes:* )
4015     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4017     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4018 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4019     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4021     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4022 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4023     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4025     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4027     (
4028       cat <<\_ASBOX
4029 ## ------------------------------------------ ##
4030 ## Report this to the AC_PACKAGE_NAME lists.  ##
4031 ## ------------------------------------------ ##
4032 _ASBOX
4033     ) |
4034       sed "s/^/$as_me: WARNING:     /" >&2
4035     ;;
4036 esac
4037 echo "$as_me:$LINENO: checking for $ac_header" >&5
4038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4040   echo $ECHO_N "(cached) $ECHO_C" >&6
4041 else
4042   eval "$as_ac_Header=\$ac_header_preproc"
4043 fi
4044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4046
4047 fi
4048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4049   cat >>confdefs.h <<_ACEOF
4050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4051 _ACEOF
4052
4053 fi
4054
4055 done
4056
4057
4058 for ac_header in sys/time.h
4059 do
4060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4062   echo "$as_me:$LINENO: checking for $ac_header" >&5
4063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4065   echo $ECHO_N "(cached) $ECHO_C" >&6
4066 fi
4067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4068 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4069 else
4070   # Is the header compilable?
4071 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4072 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4073 cat >conftest.$ac_ext <<_ACEOF
4074 /* confdefs.h.  */
4075 _ACEOF
4076 cat confdefs.h >>conftest.$ac_ext
4077 cat >>conftest.$ac_ext <<_ACEOF
4078 /* end confdefs.h.  */
4079 $ac_includes_default
4080 #include <$ac_header>
4081 _ACEOF
4082 rm -f conftest.$ac_objext
4083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4084   (eval $ac_compile) 2>conftest.er1
4085   ac_status=$?
4086   grep -v '^ *+' conftest.er1 >conftest.err
4087   rm -f conftest.er1
4088   cat conftest.err >&5
4089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090   (exit $ac_status); } &&
4091          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093   (eval $ac_try) 2>&5
4094   ac_status=$?
4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096   (exit $ac_status); }; } &&
4097          { ac_try='test -s conftest.$ac_objext'
4098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099   (eval $ac_try) 2>&5
4100   ac_status=$?
4101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102   (exit $ac_status); }; }; then
4103   ac_header_compiler=yes
4104 else
4105   echo "$as_me: failed program was:" >&5
4106 sed 's/^/| /' conftest.$ac_ext >&5
4107
4108 ac_header_compiler=no
4109 fi
4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4112 echo "${ECHO_T}$ac_header_compiler" >&6
4113
4114 # Is the header present?
4115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4117 cat >conftest.$ac_ext <<_ACEOF
4118 /* confdefs.h.  */
4119 _ACEOF
4120 cat confdefs.h >>conftest.$ac_ext
4121 cat >>conftest.$ac_ext <<_ACEOF
4122 /* end confdefs.h.  */
4123 #include <$ac_header>
4124 _ACEOF
4125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4126   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4127   ac_status=$?
4128   grep -v '^ *+' conftest.er1 >conftest.err
4129   rm -f conftest.er1
4130   cat conftest.err >&5
4131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132   (exit $ac_status); } >/dev/null; then
4133   if test -s conftest.err; then
4134     ac_cpp_err=$ac_c_preproc_warn_flag
4135     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4136   else
4137     ac_cpp_err=
4138   fi
4139 else
4140   ac_cpp_err=yes
4141 fi
4142 if test -z "$ac_cpp_err"; then
4143   ac_header_preproc=yes
4144 else
4145   echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4147
4148   ac_header_preproc=no
4149 fi
4150 rm -f conftest.err conftest.$ac_ext
4151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4152 echo "${ECHO_T}$ac_header_preproc" >&6
4153
4154 # So?  What about this header?
4155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4156   yes:no: )
4157     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4159     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4160 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4161     ac_header_preproc=yes
4162     ;;
4163   no:yes:* )
4164     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4166     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4167 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4168     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4169 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4170     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4171 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4172     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4173 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4174     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4175 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4176     (
4177       cat <<\_ASBOX
4178 ## ------------------------------------------ ##
4179 ## Report this to the AC_PACKAGE_NAME lists.  ##
4180 ## ------------------------------------------ ##
4181 _ASBOX
4182     ) |
4183       sed "s/^/$as_me: WARNING:     /" >&2
4184     ;;
4185 esac
4186 echo "$as_me:$LINENO: checking for $ac_header" >&5
4187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4189   echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191   eval "$as_ac_Header=\$ac_header_preproc"
4192 fi
4193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4195
4196 fi
4197 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4198   cat >>confdefs.h <<_ACEOF
4199 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4200 _ACEOF
4201
4202 fi
4203
4204 done
4205
4206
4207 for ac_header in unistd.h
4208 do
4209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4211   echo "$as_me:$LINENO: checking for $ac_header" >&5
4212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4214   echo $ECHO_N "(cached) $ECHO_C" >&6
4215 fi
4216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4218 else
4219   # Is the header compilable?
4220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4222 cat >conftest.$ac_ext <<_ACEOF
4223 /* confdefs.h.  */
4224 _ACEOF
4225 cat confdefs.h >>conftest.$ac_ext
4226 cat >>conftest.$ac_ext <<_ACEOF
4227 /* end confdefs.h.  */
4228 $ac_includes_default
4229 #include <$ac_header>
4230 _ACEOF
4231 rm -f conftest.$ac_objext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233   (eval $ac_compile) 2>conftest.er1
4234   ac_status=$?
4235   grep -v '^ *+' conftest.er1 >conftest.err
4236   rm -f conftest.er1
4237   cat conftest.err >&5
4238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239   (exit $ac_status); } &&
4240          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242   (eval $ac_try) 2>&5
4243   ac_status=$?
4244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4245   (exit $ac_status); }; } &&
4246          { ac_try='test -s conftest.$ac_objext'
4247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248   (eval $ac_try) 2>&5
4249   ac_status=$?
4250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251   (exit $ac_status); }; }; then
4252   ac_header_compiler=yes
4253 else
4254   echo "$as_me: failed program was:" >&5
4255 sed 's/^/| /' conftest.$ac_ext >&5
4256
4257 ac_header_compiler=no
4258 fi
4259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4261 echo "${ECHO_T}$ac_header_compiler" >&6
4262
4263 # Is the header present?
4264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4266 cat >conftest.$ac_ext <<_ACEOF
4267 /* confdefs.h.  */
4268 _ACEOF
4269 cat confdefs.h >>conftest.$ac_ext
4270 cat >>conftest.$ac_ext <<_ACEOF
4271 /* end confdefs.h.  */
4272 #include <$ac_header>
4273 _ACEOF
4274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4275   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4276   ac_status=$?
4277   grep -v '^ *+' conftest.er1 >conftest.err
4278   rm -f conftest.er1
4279   cat conftest.err >&5
4280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281   (exit $ac_status); } >/dev/null; then
4282   if test -s conftest.err; then
4283     ac_cpp_err=$ac_c_preproc_warn_flag
4284     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4285   else
4286     ac_cpp_err=
4287   fi
4288 else
4289   ac_cpp_err=yes
4290 fi
4291 if test -z "$ac_cpp_err"; then
4292   ac_header_preproc=yes
4293 else
4294   echo "$as_me: failed program was:" >&5
4295 sed 's/^/| /' conftest.$ac_ext >&5
4296
4297   ac_header_preproc=no
4298 fi
4299 rm -f conftest.err conftest.$ac_ext
4300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4301 echo "${ECHO_T}$ac_header_preproc" >&6
4302
4303 # So?  What about this header?
4304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4305   yes:no: )
4306     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4308     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4310     ac_header_preproc=yes
4311     ;;
4312   no:yes:* )
4313     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4315     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4316 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4317     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4319     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4320 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4321     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4323     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4325     (
4326       cat <<\_ASBOX
4327 ## ------------------------------------------ ##
4328 ## Report this to the AC_PACKAGE_NAME lists.  ##
4329 ## ------------------------------------------ ##
4330 _ASBOX
4331     ) |
4332       sed "s/^/$as_me: WARNING:     /" >&2
4333     ;;
4334 esac
4335 echo "$as_me:$LINENO: checking for $ac_header" >&5
4336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4338   echo $ECHO_N "(cached) $ECHO_C" >&6
4339 else
4340   eval "$as_ac_Header=\$ac_header_preproc"
4341 fi
4342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4344
4345 fi
4346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4347   cat >>confdefs.h <<_ACEOF
4348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4349 _ACEOF
4350
4351 fi
4352
4353 done
4354
4355
4356 for ac_header in sys/ioctl.h
4357 do
4358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4360   echo "$as_me:$LINENO: checking for $ac_header" >&5
4361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4363   echo $ECHO_N "(cached) $ECHO_C" >&6
4364 fi
4365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4367 else
4368   # Is the header compilable?
4369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4371 cat >conftest.$ac_ext <<_ACEOF
4372 /* confdefs.h.  */
4373 _ACEOF
4374 cat confdefs.h >>conftest.$ac_ext
4375 cat >>conftest.$ac_ext <<_ACEOF
4376 /* end confdefs.h.  */
4377 $ac_includes_default
4378 #include <$ac_header>
4379 _ACEOF
4380 rm -f conftest.$ac_objext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382   (eval $ac_compile) 2>conftest.er1
4383   ac_status=$?
4384   grep -v '^ *+' conftest.er1 >conftest.err
4385   rm -f conftest.er1
4386   cat conftest.err >&5
4387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388   (exit $ac_status); } &&
4389          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391   (eval $ac_try) 2>&5
4392   ac_status=$?
4393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394   (exit $ac_status); }; } &&
4395          { ac_try='test -s conftest.$ac_objext'
4396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397   (eval $ac_try) 2>&5
4398   ac_status=$?
4399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400   (exit $ac_status); }; }; then
4401   ac_header_compiler=yes
4402 else
4403   echo "$as_me: failed program was:" >&5
4404 sed 's/^/| /' conftest.$ac_ext >&5
4405
4406 ac_header_compiler=no
4407 fi
4408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4410 echo "${ECHO_T}$ac_header_compiler" >&6
4411
4412 # Is the header present?
4413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4415 cat >conftest.$ac_ext <<_ACEOF
4416 /* confdefs.h.  */
4417 _ACEOF
4418 cat confdefs.h >>conftest.$ac_ext
4419 cat >>conftest.$ac_ext <<_ACEOF
4420 /* end confdefs.h.  */
4421 #include <$ac_header>
4422 _ACEOF
4423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4424   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4425   ac_status=$?
4426   grep -v '^ *+' conftest.er1 >conftest.err
4427   rm -f conftest.er1
4428   cat conftest.err >&5
4429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430   (exit $ac_status); } >/dev/null; then
4431   if test -s conftest.err; then
4432     ac_cpp_err=$ac_c_preproc_warn_flag
4433     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4434   else
4435     ac_cpp_err=
4436   fi
4437 else
4438   ac_cpp_err=yes
4439 fi
4440 if test -z "$ac_cpp_err"; then
4441   ac_header_preproc=yes
4442 else
4443   echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.$ac_ext >&5
4445
4446   ac_header_preproc=no
4447 fi
4448 rm -f conftest.err conftest.$ac_ext
4449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4450 echo "${ECHO_T}$ac_header_preproc" >&6
4451
4452 # So?  What about this header?
4453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4454   yes:no: )
4455     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4457     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4459     ac_header_preproc=yes
4460     ;;
4461   no:yes:* )
4462     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4464     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4465 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4466     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4468     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4469 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4470     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4472     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4474     (
4475       cat <<\_ASBOX
4476 ## ------------------------------------------ ##
4477 ## Report this to the AC_PACKAGE_NAME lists.  ##
4478 ## ------------------------------------------ ##
4479 _ASBOX
4480     ) |
4481       sed "s/^/$as_me: WARNING:     /" >&2
4482     ;;
4483 esac
4484 echo "$as_me:$LINENO: checking for $ac_header" >&5
4485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4487   echo $ECHO_N "(cached) $ECHO_C" >&6
4488 else
4489   eval "$as_ac_Header=\$ac_header_preproc"
4490 fi
4491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4493
4494 fi
4495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4496   cat >>confdefs.h <<_ACEOF
4497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4498 _ACEOF
4499
4500 fi
4501
4502 done
4503
4504
4505 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4506 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4507 if test "${ac_cv_c_const+set}" = set; then
4508   echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4510   cat >conftest.$ac_ext <<_ACEOF
4511 /* confdefs.h.  */
4512 _ACEOF
4513 cat confdefs.h >>conftest.$ac_ext
4514 cat >>conftest.$ac_ext <<_ACEOF
4515 /* end confdefs.h.  */
4516
4517 int
4518 main ()
4519 {
4520 /* FIXME: Include the comments suggested by Paul. */
4521 #ifndef __cplusplus
4522   /* Ultrix mips cc rejects this.  */
4523   typedef int charset[2];
4524   const charset x;
4525   /* SunOS 4.1.1 cc rejects this.  */
4526   char const *const *ccp;
4527   char **p;
4528   /* NEC SVR4.0.2 mips cc rejects this.  */
4529   struct point {int x, y;};
4530   static struct point const zero = {0,0};
4531   /* AIX XL C 1.02.0.0 rejects this.
4532      It does not let you subtract one const X* pointer from another in
4533      an arm of an if-expression whose if-part is not a constant
4534      expression */
4535   const char *g = "string";
4536   ccp = &g + (g ? g-g : 0);
4537   /* HPUX 7.0 cc rejects these. */
4538   ++ccp;
4539   p = (char**) ccp;
4540   ccp = (char const *const *) p;
4541   { /* SCO 3.2v4 cc rejects this.  */
4542     char *t;
4543     char const *s = 0 ? (char *) 0 : (char const *) 0;
4544
4545     *t++ = 0;
4546   }
4547   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4548     int x[] = {25, 17};
4549     const int *foo = &x[0];
4550     ++foo;
4551   }
4552   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4553     typedef const int *iptr;
4554     iptr p = 0;
4555     ++p;
4556   }
4557   { /* AIX XL C 1.02.0.0 rejects this saying
4558        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4559     struct s { int j; const int *ap[3]; };
4560     struct s *b; b->j = 5;
4561   }
4562   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4563     const int foo = 10;
4564   }
4565 #endif
4566
4567   ;
4568   return 0;
4569 }
4570 _ACEOF
4571 rm -f conftest.$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573   (eval $ac_compile) 2>conftest.er1
4574   ac_status=$?
4575   grep -v '^ *+' conftest.er1 >conftest.err
4576   rm -f conftest.er1
4577   cat conftest.err >&5
4578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579   (exit $ac_status); } &&
4580          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582   (eval $ac_try) 2>&5
4583   ac_status=$?
4584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585   (exit $ac_status); }; } &&
4586          { ac_try='test -s conftest.$ac_objext'
4587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588   (eval $ac_try) 2>&5
4589   ac_status=$?
4590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591   (exit $ac_status); }; }; then
4592   ac_cv_c_const=yes
4593 else
4594   echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4596
4597 ac_cv_c_const=no
4598 fi
4599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4600 fi
4601 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4602 echo "${ECHO_T}$ac_cv_c_const" >&6
4603 if test $ac_cv_c_const = no; then
4604
4605 cat >>confdefs.h <<\_ACEOF
4606 #define const
4607 _ACEOF
4608
4609 fi
4610
4611 echo "$as_me:$LINENO: checking for inline" >&5
4612 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4613 if test "${ac_cv_c_inline+set}" = set; then
4614   echo $ECHO_N "(cached) $ECHO_C" >&6
4615 else
4616   ac_cv_c_inline=no
4617 for ac_kw in inline __inline__ __inline; do
4618   cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h.  */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h.  */
4624 #ifndef __cplusplus
4625 typedef int foo_t;
4626 static $ac_kw foo_t static_foo () {return 0; }
4627 $ac_kw foo_t foo () {return 0; }
4628 #endif
4629
4630 _ACEOF
4631 rm -f conftest.$ac_objext
4632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633   (eval $ac_compile) 2>conftest.er1
4634   ac_status=$?
4635   grep -v '^ *+' conftest.er1 >conftest.err
4636   rm -f conftest.er1
4637   cat conftest.err >&5
4638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639   (exit $ac_status); } &&
4640          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642   (eval $ac_try) 2>&5
4643   ac_status=$?
4644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645   (exit $ac_status); }; } &&
4646          { ac_try='test -s conftest.$ac_objext'
4647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648   (eval $ac_try) 2>&5
4649   ac_status=$?
4650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651   (exit $ac_status); }; }; then
4652   ac_cv_c_inline=$ac_kw; break
4653 else
4654   echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.$ac_ext >&5
4656
4657 fi
4658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4659 done
4660
4661 fi
4662 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4663 echo "${ECHO_T}$ac_cv_c_inline" >&6
4664
4665
4666 case $ac_cv_c_inline in
4667   inline | yes) ;;
4668   *)
4669     case $ac_cv_c_inline in
4670       no) ac_val=;;
4671       *) ac_val=$ac_cv_c_inline;;
4672     esac
4673     cat >>confdefs.h <<_ACEOF
4674 #ifndef __cplusplus
4675 #define inline $ac_val
4676 #endif
4677 _ACEOF
4678     ;;
4679 esac
4680
4681 echo "$as_me:$LINENO: checking for off_t" >&5
4682 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4683 if test "${ac_cv_type_off_t+set}" = set; then
4684   echo $ECHO_N "(cached) $ECHO_C" >&6
4685 else
4686   cat >conftest.$ac_ext <<_ACEOF
4687 /* confdefs.h.  */
4688 _ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h.  */
4692 $ac_includes_default
4693 int
4694 main ()
4695 {
4696 if ((off_t *) 0)
4697   return 0;
4698 if (sizeof (off_t))
4699   return 0;
4700   ;
4701   return 0;
4702 }
4703 _ACEOF
4704 rm -f conftest.$ac_objext
4705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4706   (eval $ac_compile) 2>conftest.er1
4707   ac_status=$?
4708   grep -v '^ *+' conftest.er1 >conftest.err
4709   rm -f conftest.er1
4710   cat conftest.err >&5
4711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712   (exit $ac_status); } &&
4713          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715   (eval $ac_try) 2>&5
4716   ac_status=$?
4717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718   (exit $ac_status); }; } &&
4719          { ac_try='test -s conftest.$ac_objext'
4720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721   (eval $ac_try) 2>&5
4722   ac_status=$?
4723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4724   (exit $ac_status); }; }; then
4725   ac_cv_type_off_t=yes
4726 else
4727   echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4729
4730 ac_cv_type_off_t=no
4731 fi
4732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4733 fi
4734 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4735 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4736 if test $ac_cv_type_off_t = yes; then
4737   :
4738 else
4739
4740 cat >>confdefs.h <<_ACEOF
4741 #define off_t long
4742 _ACEOF
4743
4744 fi
4745
4746 echo "$as_me:$LINENO: checking for size_t" >&5
4747 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4748 if test "${ac_cv_type_size_t+set}" = set; then
4749   echo $ECHO_N "(cached) $ECHO_C" >&6
4750 else
4751   cat >conftest.$ac_ext <<_ACEOF
4752 /* confdefs.h.  */
4753 _ACEOF
4754 cat confdefs.h >>conftest.$ac_ext
4755 cat >>conftest.$ac_ext <<_ACEOF
4756 /* end confdefs.h.  */
4757 $ac_includes_default
4758 int
4759 main ()
4760 {
4761 if ((size_t *) 0)
4762   return 0;
4763 if (sizeof (size_t))
4764   return 0;
4765   ;
4766   return 0;
4767 }
4768 _ACEOF
4769 rm -f conftest.$ac_objext
4770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771   (eval $ac_compile) 2>conftest.er1
4772   ac_status=$?
4773   grep -v '^ *+' conftest.er1 >conftest.err
4774   rm -f conftest.er1
4775   cat conftest.err >&5
4776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777   (exit $ac_status); } &&
4778          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780   (eval $ac_try) 2>&5
4781   ac_status=$?
4782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783   (exit $ac_status); }; } &&
4784          { ac_try='test -s conftest.$ac_objext'
4785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786   (eval $ac_try) 2>&5
4787   ac_status=$?
4788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789   (exit $ac_status); }; }; then
4790   ac_cv_type_size_t=yes
4791 else
4792   echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.$ac_ext >&5
4794
4795 ac_cv_type_size_t=no
4796 fi
4797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4798 fi
4799 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4800 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4801 if test $ac_cv_type_size_t = yes; then
4802   :
4803 else
4804
4805 cat >>confdefs.h <<_ACEOF
4806 #define size_t unsigned
4807 _ACEOF
4808
4809 fi
4810
4811 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
4812 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
4813 if test "${ac_cv_header_time+set}" = set; then
4814   echo $ECHO_N "(cached) $ECHO_C" >&6
4815 else
4816   cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h.  */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h.  */
4822 #include <sys/types.h>
4823 #include <sys/time.h>
4824 #include <time.h>
4825
4826 int
4827 main ()
4828 {
4829 if ((struct tm *) 0)
4830 return 0;
4831   ;
4832   return 0;
4833 }
4834 _ACEOF
4835 rm -f conftest.$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837   (eval $ac_compile) 2>conftest.er1
4838   ac_status=$?
4839   grep -v '^ *+' conftest.er1 >conftest.err
4840   rm -f conftest.er1
4841   cat conftest.err >&5
4842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843   (exit $ac_status); } &&
4844          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4846   (eval $ac_try) 2>&5
4847   ac_status=$?
4848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849   (exit $ac_status); }; } &&
4850          { ac_try='test -s conftest.$ac_objext'
4851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4852   (eval $ac_try) 2>&5
4853   ac_status=$?
4854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855   (exit $ac_status); }; }; then
4856   ac_cv_header_time=yes
4857 else
4858   echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4860
4861 ac_cv_header_time=no
4862 fi
4863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4864 fi
4865 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
4866 echo "${ECHO_T}$ac_cv_header_time" >&6
4867 if test $ac_cv_header_time = yes; then
4868
4869 cat >>confdefs.h <<\_ACEOF
4870 #define TIME_WITH_SYS_TIME 1
4871 _ACEOF
4872
4873 fi
4874
4875 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4876 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4877 if test "${ac_cv_struct_tm+set}" = set; then
4878   echo $ECHO_N "(cached) $ECHO_C" >&6
4879 else
4880   cat >conftest.$ac_ext <<_ACEOF
4881 /* confdefs.h.  */
4882 _ACEOF
4883 cat confdefs.h >>conftest.$ac_ext
4884 cat >>conftest.$ac_ext <<_ACEOF
4885 /* end confdefs.h.  */
4886 #include <sys/types.h>
4887 #include <time.h>
4888
4889 int
4890 main ()
4891 {
4892 struct tm *tp; tp->tm_sec;
4893   ;
4894   return 0;
4895 }
4896 _ACEOF
4897 rm -f conftest.$ac_objext
4898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4899   (eval $ac_compile) 2>conftest.er1
4900   ac_status=$?
4901   grep -v '^ *+' conftest.er1 >conftest.err
4902   rm -f conftest.er1
4903   cat conftest.err >&5
4904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905   (exit $ac_status); } &&
4906          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908   (eval $ac_try) 2>&5
4909   ac_status=$?
4910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911   (exit $ac_status); }; } &&
4912          { ac_try='test -s conftest.$ac_objext'
4913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4914   (eval $ac_try) 2>&5
4915   ac_status=$?
4916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917   (exit $ac_status); }; }; then
4918   ac_cv_struct_tm=time.h
4919 else
4920   echo "$as_me: failed program was:" >&5
4921 sed 's/^/| /' conftest.$ac_ext >&5
4922
4923 ac_cv_struct_tm=sys/time.h
4924 fi
4925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4926 fi
4927 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4928 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4929 if test $ac_cv_struct_tm = sys/time.h; then
4930
4931 cat >>confdefs.h <<\_ACEOF
4932 #define TM_IN_SYS_TIME 1
4933 _ACEOF
4934
4935 fi
4936
4937
4938 if test $ac_cv_c_compiler_gnu = yes; then
4939     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4940 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
4941 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4942   echo $ECHO_N "(cached) $ECHO_C" >&6
4943 else
4944     ac_pattern="Autoconf.*'x'"
4945   cat >conftest.$ac_ext <<_ACEOF
4946 /* confdefs.h.  */
4947 _ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h.  */
4951 #include <sgtty.h>
4952 Autoconf TIOCGETP
4953 _ACEOF
4954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4955   $EGREP "$ac_pattern" >/dev/null 2>&1; then
4956   ac_cv_prog_gcc_traditional=yes
4957 else
4958   ac_cv_prog_gcc_traditional=no
4959 fi
4960 rm -f conftest*
4961
4962
4963   if test $ac_cv_prog_gcc_traditional = no; then
4964     cat >conftest.$ac_ext <<_ACEOF
4965 /* confdefs.h.  */
4966 _ACEOF
4967 cat confdefs.h >>conftest.$ac_ext
4968 cat >>conftest.$ac_ext <<_ACEOF
4969 /* end confdefs.h.  */
4970 #include <termio.h>
4971 Autoconf TCGETA
4972 _ACEOF
4973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4974   $EGREP "$ac_pattern" >/dev/null 2>&1; then
4975   ac_cv_prog_gcc_traditional=yes
4976 fi
4977 rm -f conftest*
4978
4979   fi
4980 fi
4981 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4982 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
4983   if test $ac_cv_prog_gcc_traditional = yes; then
4984     CC="$CC -traditional"
4985   fi
4986 fi
4987
4988 echo "$as_me:$LINENO: checking for working memcmp" >&5
4989 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4990 if test "${ac_cv_func_memcmp_working+set}" = set; then
4991   echo $ECHO_N "(cached) $ECHO_C" >&6
4992 else
4993   if test "$cross_compiling" = yes; then
4994   ac_cv_func_memcmp_working=no
4995 else
4996   cat >conftest.$ac_ext <<_ACEOF
4997 /* confdefs.h.  */
4998 _ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h.  */
5002 $ac_includes_default
5003 int
5004 main ()
5005 {
5006
5007   /* Some versions of memcmp are not 8-bit clean.  */
5008   char c0 = 0x40, c1 = 0x80, c2 = 0x81;
5009   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
5010     exit (1);
5011
5012   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
5013      or more and with at least one buffer not starting on a 4-byte boundary.
5014      William Lewis provided this test program.   */
5015   {
5016     char foo[21];
5017     char bar[21];
5018     int i;
5019     for (i = 0; i < 4; i++)
5020       {
5021         char *a = foo + i;
5022         char *b = bar + i;
5023         strcpy (a, "--------01111111");
5024         strcpy (b, "--------10000000");
5025         if (memcmp (a, b, 16) >= 0)
5026           exit (1);
5027       }
5028     exit (0);
5029   }
5030
5031   ;
5032   return 0;
5033 }
5034 _ACEOF
5035 rm -f conftest$ac_exeext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5037   (eval $ac_link) 2>&5
5038   ac_status=$?
5039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5042   (eval $ac_try) 2>&5
5043   ac_status=$?
5044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045   (exit $ac_status); }; }; then
5046   ac_cv_func_memcmp_working=yes
5047 else
5048   echo "$as_me: program exited with status $ac_status" >&5
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5051
5052 ( exit $ac_status )
5053 ac_cv_func_memcmp_working=no
5054 fi
5055 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5056 fi
5057 fi
5058 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
5059 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
5060 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
5061     "memcmp.$ac_objext"   | \
5062   *" memcmp.$ac_objext"   | \
5063     "memcmp.$ac_objext "* | \
5064   *" memcmp.$ac_objext "* ) ;;
5065   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
5066 esac
5067
5068
5069
5070
5071 for ac_header in stdlib.h unistd.h
5072 do
5073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5075   echo "$as_me:$LINENO: checking for $ac_header" >&5
5076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5078   echo $ECHO_N "(cached) $ECHO_C" >&6
5079 fi
5080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5082 else
5083   # Is the header compilable?
5084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5086 cat >conftest.$ac_ext <<_ACEOF
5087 /* confdefs.h.  */
5088 _ACEOF
5089 cat confdefs.h >>conftest.$ac_ext
5090 cat >>conftest.$ac_ext <<_ACEOF
5091 /* end confdefs.h.  */
5092 $ac_includes_default
5093 #include <$ac_header>
5094 _ACEOF
5095 rm -f conftest.$ac_objext
5096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5097   (eval $ac_compile) 2>conftest.er1
5098   ac_status=$?
5099   grep -v '^ *+' conftest.er1 >conftest.err
5100   rm -f conftest.er1
5101   cat conftest.err >&5
5102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103   (exit $ac_status); } &&
5104          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5106   (eval $ac_try) 2>&5
5107   ac_status=$?
5108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109   (exit $ac_status); }; } &&
5110          { ac_try='test -s conftest.$ac_objext'
5111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112   (eval $ac_try) 2>&5
5113   ac_status=$?
5114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115   (exit $ac_status); }; }; then
5116   ac_header_compiler=yes
5117 else
5118   echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5120
5121 ac_header_compiler=no
5122 fi
5123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5125 echo "${ECHO_T}$ac_header_compiler" >&6
5126
5127 # Is the header present?
5128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5130 cat >conftest.$ac_ext <<_ACEOF
5131 /* confdefs.h.  */
5132 _ACEOF
5133 cat confdefs.h >>conftest.$ac_ext
5134 cat >>conftest.$ac_ext <<_ACEOF
5135 /* end confdefs.h.  */
5136 #include <$ac_header>
5137 _ACEOF
5138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5139   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5140   ac_status=$?
5141   grep -v '^ *+' conftest.er1 >conftest.err
5142   rm -f conftest.er1
5143   cat conftest.err >&5
5144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145   (exit $ac_status); } >/dev/null; then
5146   if test -s conftest.err; then
5147     ac_cpp_err=$ac_c_preproc_warn_flag
5148     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5149   else
5150     ac_cpp_err=
5151   fi
5152 else
5153   ac_cpp_err=yes
5154 fi
5155 if test -z "$ac_cpp_err"; then
5156   ac_header_preproc=yes
5157 else
5158   echo "$as_me: failed program was:" >&5
5159 sed 's/^/| /' conftest.$ac_ext >&5
5160
5161   ac_header_preproc=no
5162 fi
5163 rm -f conftest.err conftest.$ac_ext
5164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5165 echo "${ECHO_T}$ac_header_preproc" >&6
5166
5167 # So?  What about this header?
5168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5169   yes:no: )
5170     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5172     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5174     ac_header_preproc=yes
5175     ;;
5176   no:yes:* )
5177     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5179     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5180 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5181     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5183     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5184 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5185     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5187     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5189     (
5190       cat <<\_ASBOX
5191 ## ------------------------------------------ ##
5192 ## Report this to the AC_PACKAGE_NAME lists.  ##
5193 ## ------------------------------------------ ##
5194 _ASBOX
5195     ) |
5196       sed "s/^/$as_me: WARNING:     /" >&2
5197     ;;
5198 esac
5199 echo "$as_me:$LINENO: checking for $ac_header" >&5
5200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5202   echo $ECHO_N "(cached) $ECHO_C" >&6
5203 else
5204   eval "$as_ac_Header=\$ac_header_preproc"
5205 fi
5206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5208
5209 fi
5210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5211   cat >>confdefs.h <<_ACEOF
5212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5213 _ACEOF
5214
5215 fi
5216
5217 done
5218
5219
5220 for ac_func in getpagesize
5221 do
5222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5223 echo "$as_me:$LINENO: checking for $ac_func" >&5
5224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5225 if eval "test \"\${$as_ac_var+set}\" = set"; then
5226   echo $ECHO_N "(cached) $ECHO_C" >&6
5227 else
5228   cat >conftest.$ac_ext <<_ACEOF
5229 /* confdefs.h.  */
5230 _ACEOF
5231 cat confdefs.h >>conftest.$ac_ext
5232 cat >>conftest.$ac_ext <<_ACEOF
5233 /* end confdefs.h.  */
5234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5236 #define $ac_func innocuous_$ac_func
5237
5238 /* System header to define __stub macros and hopefully few prototypes,
5239     which can conflict with char $ac_func (); below.
5240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5241     <limits.h> exists even on freestanding compilers.  */
5242
5243 #ifdef __STDC__
5244 # include <limits.h>
5245 #else
5246 # include <assert.h>
5247 #endif
5248
5249 #undef $ac_func
5250
5251 /* Override any gcc2 internal prototype to avoid an error.  */
5252 #ifdef __cplusplus
5253 extern "C"
5254 {
5255 #endif
5256 /* We use char because int might match the return type of a gcc2
5257    builtin and then its argument prototype would still apply.  */
5258 char $ac_func ();
5259 /* The GNU C library defines this for functions which it implements
5260     to always fail with ENOSYS.  Some functions are actually named
5261     something starting with __ and the normal name is an alias.  */
5262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5263 choke me
5264 #else
5265 char (*f) () = $ac_func;
5266 #endif
5267 #ifdef __cplusplus
5268 }
5269 #endif
5270
5271 int
5272 main ()
5273 {
5274 return f != $ac_func;
5275   ;
5276   return 0;
5277 }
5278 _ACEOF
5279 rm -f conftest.$ac_objext conftest$ac_exeext
5280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5281   (eval $ac_link) 2>conftest.er1
5282   ac_status=$?
5283   grep -v '^ *+' conftest.er1 >conftest.err
5284   rm -f conftest.er1
5285   cat conftest.err >&5
5286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287   (exit $ac_status); } &&
5288          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290   (eval $ac_try) 2>&5
5291   ac_status=$?
5292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293   (exit $ac_status); }; } &&
5294          { ac_try='test -s conftest$ac_exeext'
5295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5296   (eval $ac_try) 2>&5
5297   ac_status=$?
5298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299   (exit $ac_status); }; }; then
5300   eval "$as_ac_var=yes"
5301 else
5302   echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.$ac_ext >&5
5304
5305 eval "$as_ac_var=no"
5306 fi
5307 rm -f conftest.err conftest.$ac_objext \
5308       conftest$ac_exeext conftest.$ac_ext
5309 fi
5310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5312 if test `eval echo '${'$as_ac_var'}'` = yes; then
5313   cat >>confdefs.h <<_ACEOF
5314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5315 _ACEOF
5316
5317 fi
5318 done
5319
5320 echo "$as_me:$LINENO: checking for working mmap" >&5
5321 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5322 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5323   echo $ECHO_N "(cached) $ECHO_C" >&6
5324 else
5325   if test "$cross_compiling" = yes; then
5326   ac_cv_func_mmap_fixed_mapped=no
5327 else
5328   cat >conftest.$ac_ext <<_ACEOF
5329 /* confdefs.h.  */
5330 _ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h.  */
5334 $ac_includes_default
5335 /* malloc might have been renamed as rpl_malloc. */
5336 #undef malloc
5337
5338 /* Thanks to Mike Haertel and Jim Avera for this test.
5339    Here is a matrix of mmap possibilities:
5340         mmap private not fixed
5341         mmap private fixed at somewhere currently unmapped
5342         mmap private fixed at somewhere already mapped
5343         mmap shared not fixed
5344         mmap shared fixed at somewhere currently unmapped
5345         mmap shared fixed at somewhere already mapped
5346    For private mappings, we should verify that changes cannot be read()
5347    back from the file, nor mmap's back from the file at a different
5348    address.  (There have been systems where private was not correctly
5349    implemented like the infamous i386 svr4.0, and systems where the
5350    VM page cache was not coherent with the file system buffer cache
5351    like early versions of FreeBSD and possibly contemporary NetBSD.)
5352    For shared mappings, we should conversely verify that changes get
5353    propagated back to all the places they're supposed to be.
5354
5355    Grep wants private fixed already mapped.
5356    The main things grep needs to know about mmap are:
5357    * does it exist and is it safe to write into the mmap'd area
5358    * how to use it (BSD variants)  */
5359
5360 #include <fcntl.h>
5361 #include <sys/mman.h>
5362
5363 #if !STDC_HEADERS && !HAVE_STDLIB_H
5364 char *malloc ();
5365 #endif
5366
5367 /* This mess was copied from the GNU getpagesize.h.  */
5368 #if !HAVE_GETPAGESIZE
5369 /* Assume that all systems that can run configure have sys/param.h.  */
5370 # if !HAVE_SYS_PARAM_H
5371 #  define HAVE_SYS_PARAM_H 1
5372 # endif
5373
5374 # ifdef _SC_PAGESIZE
5375 #  define getpagesize() sysconf(_SC_PAGESIZE)
5376 # else /* no _SC_PAGESIZE */
5377 #  if HAVE_SYS_PARAM_H
5378 #   include <sys/param.h>
5379 #   ifdef EXEC_PAGESIZE
5380 #    define getpagesize() EXEC_PAGESIZE
5381 #   else /* no EXEC_PAGESIZE */
5382 #    ifdef NBPG
5383 #     define getpagesize() NBPG * CLSIZE
5384 #     ifndef CLSIZE
5385 #      define CLSIZE 1
5386 #     endif /* no CLSIZE */
5387 #    else /* no NBPG */
5388 #     ifdef NBPC
5389 #      define getpagesize() NBPC
5390 #     else /* no NBPC */
5391 #      ifdef PAGESIZE
5392 #       define getpagesize() PAGESIZE
5393 #      endif /* PAGESIZE */
5394 #     endif /* no NBPC */
5395 #    endif /* no NBPG */
5396 #   endif /* no EXEC_PAGESIZE */
5397 #  else /* no HAVE_SYS_PARAM_H */
5398 #   define getpagesize() 8192   /* punt totally */
5399 #  endif /* no HAVE_SYS_PARAM_H */
5400 # endif /* no _SC_PAGESIZE */
5401
5402 #endif /* no HAVE_GETPAGESIZE */
5403
5404 int
5405 main ()
5406 {
5407   char *data, *data2, *data3;
5408   int i, pagesize;
5409   int fd;
5410
5411   pagesize = getpagesize ();
5412
5413   /* First, make a file with some known garbage in it. */
5414   data = (char *) malloc (pagesize);
5415   if (!data)
5416     exit (1);
5417   for (i = 0; i < pagesize; ++i)
5418     *(data + i) = rand ();
5419   umask (0);
5420   fd = creat ("conftest.mmap", 0600);
5421   if (fd < 0)
5422     exit (1);
5423   if (write (fd, data, pagesize) != pagesize)
5424     exit (1);
5425   close (fd);
5426
5427   /* Next, try to mmap the file at a fixed address which already has
5428      something else allocated at it.  If we can, also make sure that
5429      we see the same garbage.  */
5430   fd = open ("conftest.mmap", O_RDWR);
5431   if (fd < 0)
5432     exit (1);
5433   data2 = (char *) malloc (2 * pagesize);
5434   if (!data2)
5435     exit (1);
5436   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5437   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5438                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
5439     exit (1);
5440   for (i = 0; i < pagesize; ++i)
5441     if (*(data + i) != *(data2 + i))
5442       exit (1);
5443
5444   /* Finally, make sure that changes to the mapped area do not
5445      percolate back to the file as seen by read().  (This is a bug on
5446      some variants of i386 svr4.0.)  */
5447   for (i = 0; i < pagesize; ++i)
5448     *(data2 + i) = *(data2 + i) + 1;
5449   data3 = (char *) malloc (pagesize);
5450   if (!data3)
5451     exit (1);
5452   if (read (fd, data3, pagesize) != pagesize)
5453     exit (1);
5454   for (i = 0; i < pagesize; ++i)
5455     if (*(data + i) != *(data3 + i))
5456       exit (1);
5457   close (fd);
5458   exit (0);
5459 }
5460 _ACEOF
5461 rm -f conftest$ac_exeext
5462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5463   (eval $ac_link) 2>&5
5464   ac_status=$?
5465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5468   (eval $ac_try) 2>&5
5469   ac_status=$?
5470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471   (exit $ac_status); }; }; then
5472   ac_cv_func_mmap_fixed_mapped=yes
5473 else
5474   echo "$as_me: program exited with status $ac_status" >&5
5475 echo "$as_me: failed program was:" >&5
5476 sed 's/^/| /' conftest.$ac_ext >&5
5477
5478 ( exit $ac_status )
5479 ac_cv_func_mmap_fixed_mapped=no
5480 fi
5481 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5482 fi
5483 fi
5484 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5485 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5486 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5487
5488 cat >>confdefs.h <<\_ACEOF
5489 #define HAVE_MMAP 1
5490 _ACEOF
5491
5492 fi
5493 rm -f conftest.mmap
5494
5495 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
5496 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
5497 if test "${ac_cv_type_signal+set}" = set; then
5498   echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500   cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h.  */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h.  */
5506 #include <sys/types.h>
5507 #include <signal.h>
5508 #ifdef signal
5509 # undef signal
5510 #endif
5511 #ifdef __cplusplus
5512 extern "C" void (*signal (int, void (*)(int)))(int);
5513 #else
5514 void (*signal ()) ();
5515 #endif
5516
5517 int
5518 main ()
5519 {
5520 int i;
5521   ;
5522   return 0;
5523 }
5524 _ACEOF
5525 rm -f conftest.$ac_objext
5526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5527   (eval $ac_compile) 2>conftest.er1
5528   ac_status=$?
5529   grep -v '^ *+' conftest.er1 >conftest.err
5530   rm -f conftest.er1
5531   cat conftest.err >&5
5532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533   (exit $ac_status); } &&
5534          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536   (eval $ac_try) 2>&5
5537   ac_status=$?
5538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539   (exit $ac_status); }; } &&
5540          { ac_try='test -s conftest.$ac_objext'
5541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542   (eval $ac_try) 2>&5
5543   ac_status=$?
5544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545   (exit $ac_status); }; }; then
5546   ac_cv_type_signal=void
5547 else
5548   echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.$ac_ext >&5
5550
5551 ac_cv_type_signal=int
5552 fi
5553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5554 fi
5555 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
5556 echo "${ECHO_T}$ac_cv_type_signal" >&6
5557
5558 cat >>confdefs.h <<_ACEOF
5559 #define RETSIGTYPE $ac_cv_type_signal
5560 _ACEOF
5561
5562
5563
5564
5565
5566
5567
5568
5569 for ac_func in getcwd gettimeofday mkdir mktime select socket
5570 do
5571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5572 echo "$as_me:$LINENO: checking for $ac_func" >&5
5573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5574 if eval "test \"\${$as_ac_var+set}\" = set"; then
5575   echo $ECHO_N "(cached) $ECHO_C" >&6
5576 else
5577   cat >conftest.$ac_ext <<_ACEOF
5578 /* confdefs.h.  */
5579 _ACEOF
5580 cat confdefs.h >>conftest.$ac_ext
5581 cat >>conftest.$ac_ext <<_ACEOF
5582 /* end confdefs.h.  */
5583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5585 #define $ac_func innocuous_$ac_func
5586
5587 /* System header to define __stub macros and hopefully few prototypes,
5588     which can conflict with char $ac_func (); below.
5589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5590     <limits.h> exists even on freestanding compilers.  */
5591
5592 #ifdef __STDC__
5593 # include <limits.h>
5594 #else
5595 # include <assert.h>
5596 #endif
5597
5598 #undef $ac_func
5599
5600 /* Override any gcc2 internal prototype to avoid an error.  */
5601 #ifdef __cplusplus
5602 extern "C"
5603 {
5604 #endif
5605 /* We use char because int might match the return type of a gcc2
5606    builtin and then its argument prototype would still apply.  */
5607 char $ac_func ();
5608 /* The GNU C library defines this for functions which it implements
5609     to always fail with ENOSYS.  Some functions are actually named
5610     something starting with __ and the normal name is an alias.  */
5611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5612 choke me
5613 #else
5614 char (*f) () = $ac_func;
5615 #endif
5616 #ifdef __cplusplus
5617 }
5618 #endif
5619
5620 int
5621 main ()
5622 {
5623 return f != $ac_func;
5624   ;
5625   return 0;
5626 }
5627 _ACEOF
5628 rm -f conftest.$ac_objext conftest$ac_exeext
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630   (eval $ac_link) 2>conftest.er1
5631   ac_status=$?
5632   grep -v '^ *+' conftest.er1 >conftest.err
5633   rm -f conftest.er1
5634   cat conftest.err >&5
5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636   (exit $ac_status); } &&
5637          { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639   (eval $ac_try) 2>&5
5640   ac_status=$?
5641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642   (exit $ac_status); }; } &&
5643          { ac_try='test -s conftest$ac_exeext'
5644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645   (eval $ac_try) 2>&5
5646   ac_status=$?
5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648   (exit $ac_status); }; }; then
5649   eval "$as_ac_var=yes"
5650 else
5651   echo "$as_me: failed program was:" >&5
5652 sed 's/^/| /' conftest.$ac_ext >&5
5653
5654 eval "$as_ac_var=no"
5655 fi
5656 rm -f conftest.err conftest.$ac_objext \
5657       conftest$ac_exeext conftest.$ac_ext
5658 fi
5659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5661 if test `eval echo '${'$as_ac_var'}'` = yes; then
5662   cat >>confdefs.h <<_ACEOF
5663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5664 _ACEOF
5665
5666 fi
5667 done
5668
5669
5670 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5671         echo "$as_me:$LINENO: checking whether MAP_FAILED is defined" >&5
5672 echo $ECHO_N "checking whether MAP_FAILED is defined... $ECHO_C" >&6
5673 if test "${ac_cv_map_failed+set}" = set; then
5674   echo $ECHO_N "(cached) $ECHO_C" >&6
5675 else
5676   cat >conftest.$ac_ext <<_ACEOF
5677 /* confdefs.h.  */
5678 _ACEOF
5679 cat confdefs.h >>conftest.$ac_ext
5680 cat >>conftest.$ac_ext <<_ACEOF
5681 /* end confdefs.h.  */
5682 #include <sys/mman.h>
5683                                      #ifdef MAP_FAILED
5684                                         yes
5685                                      #endif
5686 _ACEOF
5687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5688   $EGREP "yes" >/dev/null 2>&1; then
5689   ac_cv_map_failed=yes
5690 else
5691   ac_cv_map_failed=no
5692 fi
5693 rm -f conftest*
5694
5695 fi
5696 echo "$as_me:$LINENO: result: $ac_cv_map_failed" >&5
5697 echo "${ECHO_T}$ac_cv_map_failed" >&6
5698
5699         echo "$as_me:$LINENO: checking whether MAP_ANONYMOUS is defined" >&5
5700 echo $ECHO_N "checking whether MAP_ANONYMOUS is defined... $ECHO_C" >&6
5701 if test "${ac_cv_map_anonymous+set}" = set; then
5702   echo $ECHO_N "(cached) $ECHO_C" >&6
5703 else
5704   cat >conftest.$ac_ext <<_ACEOF
5705 /* confdefs.h.  */
5706 _ACEOF
5707 cat confdefs.h >>conftest.$ac_ext
5708 cat >>conftest.$ac_ext <<_ACEOF
5709 /* end confdefs.h.  */
5710 #include <sys/mman.h>
5711                                      #ifdef MAP_ANONYMOUS
5712                                         yes
5713                                      #endif
5714 _ACEOF
5715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5716   $EGREP "yes" >/dev/null 2>&1; then
5717   ac_cv_map_anonymous=yes
5718 else
5719   ac_cv_map_anonymous=no
5720 fi
5721 rm -f conftest*
5722
5723 fi
5724 echo "$as_me:$LINENO: result: $ac_cv_map_anonymous" >&5
5725 echo "${ECHO_T}$ac_cv_map_anonymous" >&6
5726
5727         if test $ac_cv_map_failed = yes; then
5728                 cat >>confdefs.h <<\_ACEOF
5729 #define HAVE_MAP_FAILED 1
5730 _ACEOF
5731
5732         fi
5733
5734         if test $ac_cv_map_anonymous = yes; then
5735                 cat >>confdefs.h <<\_ACEOF
5736 #define HAVE_MAP_ANONYMOUS 1
5737 _ACEOF
5738
5739         fi
5740 fi
5741
5742
5743
5744 # Check whether --enable-threads or --disable-threads was given.
5745 if test "${enable_threads+set}" = set; then
5746   enableval="$enable_threads"
5747
5748 fi;
5749 # Check whether --enable-__thread or --disable-__thread was given.
5750 if test "${enable___thread+set}" = set; then
5751   enableval="$enable___thread"
5752   use__thread=$enablevalval
5753 else
5754   use__thread=yes
5755 fi;
5756
5757
5758 echo "$as_me:$LINENO: checking whether to include threads support" >&5
5759 echo $ECHO_N "checking whether to include threads support... $ECHO_C" >&6
5760 if test x"$enable_threads" = "xno"; then
5761         echo "$as_me:$LINENO: result: no" >&5
5762 echo "${ECHO_T}no" >&6
5763 else
5764         echo "$as_me:$LINENO: result: yes" >&5
5765 echo "${ECHO_T}yes" >&6
5766
5767         cat >>confdefs.h <<\_ACEOF
5768 #define USE_THREADS 1
5769 _ACEOF
5770
5771         cat >>confdefs.h <<\_ACEOF
5772 #define EXTERNAL_OVERFLOW 1
5773 _ACEOF
5774
5775         cat >>confdefs.h <<\_ACEOF
5776 #define DONT_FREE_FIRST 1
5777 _ACEOF
5778
5779
5780         LIBTHREAD="libthreads.a"
5781         THREAD_OBJ="threads/libthreads.a"
5782
5783
5784 fi
5785
5786 if test "x$use__thread" != xno; then
5787   echo "$as_me:$LINENO: checking for __thread" >&5
5788 echo $ECHO_N "checking for __thread... $ECHO_C" >&6
5789 if test "${ac_cv_gcc___thread+set}" = set; then
5790   echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else
5792   cat > conftest.c <<\EOF
5793 __thread int a = 42;
5794 EOF
5795   if { ac_try='${CC-cc} $CFLAGS -c conftest.c >&5'
5796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797   (eval $ac_try) 2>&5
5798   ac_status=$?
5799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800   (exit $ac_status); }; }; then
5801     ac_cv_gcc___thread=yes
5802   else
5803     ac_cv_gcc___thread=no
5804   fi
5805   rm -f conftest*
5806 fi
5807 echo "$as_me:$LINENO: result: $ac_cv_gcc___thread" >&5
5808 echo "${ECHO_T}$ac_cv_gcc___thread" >&6
5809   if test "$ac_cv_gcc___thread" = yes; then
5810     cat >>confdefs.h <<\_ACEOF
5811 #define HAVE___THREAD 1
5812 _ACEOF
5813
5814   fi
5815 else
5816   ac_cv_gcc___thread=no
5817 fi
5818
5819 # Check whether --enable-zlib or --disable-zlib was given.
5820 if test "${enable_zlib+set}" = set; then
5821   enableval="$enable_zlib"
5822
5823 fi;
5824
5825 echo "$as_me:$LINENO: checking whether zip archives should be supported" >&5
5826 echo $ECHO_N "checking whether zip archives should be supported... $ECHO_C" >&6
5827 if test x"$enable_zlib" = "xyes"; then
5828         ZIP_LIBS=-lz
5829         ZIP_C=unzip.c
5830         cat >>confdefs.h <<\_ACEOF
5831 #define USE_ZLIB 1
5832 _ACEOF
5833
5834         echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5836
5837 else
5838         ZIP_LIBS=""
5839         ZIP_C=""
5840         echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6
5842
5843 fi
5844
5845
5846
5847 # Check whether --enable-gtk-peer or --disable-gtk-peer was given.
5848 if test "${enable_gtk_peer+set}" = set; then
5849   enableval="$enable_gtk_peer"
5850
5851 fi;
5852
5853 echo "$as_me:$LINENO: checking whether to use gtk awt peers" >&5
5854 echo $ECHO_N "checking whether to use gtk awt peers... $ECHO_C" >&6
5855 if test x"$enable_gtk_peer" = "xyes"; then
5856         echo "$as_me:$LINENO: result: yes" >&5
5857 echo "${ECHO_T}yes" >&6
5858         AWTPEERS="java.awt.peer.ComponentPeer \
5859                 java.awt.peer.MenuPeer \
5860                 java.awt.peer.MenuItemPeer \
5861                 gnu.java.awt.peer.gtk.GdkPixbufDecoder \
5862                 gnu.java.awt.peer.gtk.GtkMenuBarPeer \
5863                 gnu.java.awt.peer.gtk.GtkScrollPanePeer \
5864                 gnu.java.awt.peer.gtk.GtkMenuPeer \
5865                 gnu.java.awt.peer.gtk.GtkTextComponentPeer \
5866                 gnu.java.awt.peer.gtk.GtkComponentPeer \
5867                 gnu.java.awt.peer.gtk.GtkPopupMenuPeer \
5868                 gnu.java.awt.peer.gtk.GtkCheckboxGroupPeer \
5869                 gnu.java.awt.peer.gtk.GtkMenuItemPeer \
5870                 gnu.java.awt.peer.gtk.GdkGraphics \
5871                 gnu.java.awt.peer.gtk.GtkToolkit \
5872                 gnu.java.awt.peer.gtk.GtkCanvasPeer \
5873                 gnu.java.awt.peer.gtk.GtkFramePeer \
5874                 gnu.java.awt.peer.gtk.GdkFontMetrics \
5875                 gnu.java.awt.peer.gtk.GtkScrollbarPeer \
5876                 gnu.java.awt.peer.gtk.GtkGenericPeer \
5877                 gnu.java.awt.peer.gtk.GtkListPeer \
5878                 gnu.java.awt.peer.gtk.GtkLabelPeer \
5879                 gnu.java.awt.peer.gtk.GtkTextAreaPeer \
5880                 gnu.java.awt.peer.gtk.GtkCheckboxPeer \
5881                 gnu.java.awt.peer.gtk.GtkFileDialogPeer \
5882                 gnu.java.awt.peer.gtk.GtkImagePainter \
5883                 gnu.java.awt.peer.gtk.GtkChoicePeer \
5884                 gnu.java.awt.peer.gtk.GtkPanelPeer \
5885                 gnu.java.awt.peer.gtk.GtkMainThread \
5886                 gnu.java.awt.peer.gtk.GtkButtonPeer \
5887                 gnu.java.awt.peer.gtk.GtkTextFieldPeer \
5888                 gnu.java.awt.peer.gtk.GtkCheckboxMenuItemPeer \
5889                 gnu.java.awt.peer.gtk.GtkClipboard \
5890                 gnu.java.awt.peer.gtk.GtkWindowPeer"
5891                 AWT_OBJS="gnuclasspathnat/native/jni/gtk-peer/.libs/libgtkpeer.a \
5892                         -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 \
5893                         -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
5894                         -lgthread-2.0 -lart_lgpl_2"
5895                 USEGTK=yes
5896
5897
5898
5899                 cat >>confdefs.h <<\_ACEOF
5900 #define USE_GTK 1
5901 _ACEOF
5902
5903
5904 else
5905         AWT_OBJS=
5906         AWTPEERS=
5907         USEGTK=no
5908
5909
5910
5911         echo "$as_me:$LINENO: result: no" >&5
5912 echo "${ECHO_T}no" >&6
5913 fi
5914
5915 export CFLAGS
5916
5917
5918 subdirs="$subdirs mm/boehm-gc gnuclasspathnat"
5919
5920
5921                                                                                                                                                                 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"
5922 cat >confcache <<\_ACEOF
5923 # This file is a shell script that caches the results of configure
5924 # tests run on this system so they can be shared between configure
5925 # scripts and configure runs, see configure's option --config-cache.
5926 # It is not useful on other systems.  If it contains results you don't
5927 # want to keep, you may remove or edit it.
5928 #
5929 # config.status only pays attention to the cache file if you give it
5930 # the --recheck option to rerun configure.
5931 #
5932 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5933 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5934 # following values.
5935
5936 _ACEOF
5937
5938 # The following way of writing the cache mishandles newlines in values,
5939 # but we know of no workaround that is simple, portable, and efficient.
5940 # So, don't put newlines in cache variables' values.
5941 # Ultrix sh set writes to stderr and can't be redirected directly,
5942 # and sets the high bit in the cache file unless we assign to the vars.
5943 {
5944   (set) 2>&1 |
5945     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5946     *ac_space=\ *)
5947       # `set' does not quote correctly, so add quotes (double-quote
5948       # substitution turns \\\\ into \\, and sed turns \\ into \).
5949       sed -n \
5950         "s/'/'\\\\''/g;
5951           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5952       ;;
5953     *)
5954       # `set' quotes correctly as required by POSIX, so do not add quotes.
5955       sed -n \
5956         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5957       ;;
5958     esac;
5959 } |
5960   sed '
5961      t clear
5962      : clear
5963      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5964      t end
5965      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5966      : end' >>confcache
5967 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5968   if test -w $cache_file; then
5969     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5970     cat confcache >$cache_file
5971   else
5972     echo "not updating unwritable cache $cache_file"
5973   fi
5974 fi
5975 rm -f confcache
5976
5977 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5978 # Let make expand exec_prefix.
5979 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5980
5981 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5982 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5983 # trailing colons and then remove the whole line if VPATH becomes empty
5984 # (actually we leave an empty line to preserve line numbers).
5985 if test "x$srcdir" = x.; then
5986   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5987 s/:*\$(srcdir):*/:/;
5988 s/:*\${srcdir}:*/:/;
5989 s/:*@srcdir@:*/:/;
5990 s/^\([^=]*=[     ]*\):*/\1/;
5991 s/:*$//;
5992 s/^[^=]*=[       ]*$//;
5993 }'
5994 fi
5995
5996 DEFS=-DHAVE_CONFIG_H
5997
5998 ac_libobjs=
5999 ac_ltlibobjs=
6000 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6001   # 1. Remove the extension, and $U if already installed.
6002   ac_i=`echo "$ac_i" |
6003          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6004   # 2. Add them.
6005   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6006   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6007 done
6008 LIBOBJS=$ac_libobjs
6009
6010 LTLIBOBJS=$ac_ltlibobjs
6011
6012
6013 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6014   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6015 Usually this means the macro was only invoked conditionally." >&5
6016 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6017 Usually this means the macro was only invoked conditionally." >&2;}
6018    { (exit 1); exit 1; }; }
6019 fi
6020 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6021   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6022 Usually this means the macro was only invoked conditionally." >&5
6023 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6024 Usually this means the macro was only invoked conditionally." >&2;}
6025    { (exit 1); exit 1; }; }
6026 fi
6027
6028 : ${CONFIG_STATUS=./config.status}
6029 ac_clean_files_save=$ac_clean_files
6030 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6031 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6032 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6033 cat >$CONFIG_STATUS <<_ACEOF
6034 #! $SHELL
6035 # Generated by $as_me.
6036 # Run this file to recreate the current configuration.
6037 # Compiler output produced by configure, useful for debugging
6038 # configure, is in config.log if it exists.
6039
6040 debug=false
6041 ac_cs_recheck=false
6042 ac_cs_silent=false
6043 SHELL=\${CONFIG_SHELL-$SHELL}
6044 _ACEOF
6045
6046 cat >>$CONFIG_STATUS <<\_ACEOF
6047 ## --------------------- ##
6048 ## M4sh Initialization.  ##
6049 ## --------------------- ##
6050
6051 # Be Bourne compatible
6052 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6053   emulate sh
6054   NULLCMD=:
6055   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6056   # is contrary to our usage.  Disable this feature.
6057   alias -g '${1+"$@"}'='"$@"'
6058 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6059   set -o posix
6060 fi
6061 DUALCASE=1; export DUALCASE # for MKS sh
6062
6063 # Support unset when possible.
6064 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6065   as_unset=unset
6066 else
6067   as_unset=false
6068 fi
6069
6070
6071 # Work around bugs in pre-3.0 UWIN ksh.
6072 $as_unset ENV MAIL MAILPATH
6073 PS1='$ '
6074 PS2='> '
6075 PS4='+ '
6076
6077 # NLS nuisances.
6078 for as_var in \
6079   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6080   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6081   LC_TELEPHONE LC_TIME
6082 do
6083   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6084     eval $as_var=C; export $as_var
6085   else
6086     $as_unset $as_var
6087   fi
6088 done
6089
6090 # Required to use basename.
6091 if expr a : '\(a\)' >/dev/null 2>&1; then
6092   as_expr=expr
6093 else
6094   as_expr=false
6095 fi
6096
6097 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6098   as_basename=basename
6099 else
6100   as_basename=false
6101 fi
6102
6103
6104 # Name of the executable.
6105 as_me=`$as_basename "$0" ||
6106 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6107          X"$0" : 'X\(//\)$' \| \
6108          X"$0" : 'X\(/\)$' \| \
6109          .     : '\(.\)' 2>/dev/null ||
6110 echo X/"$0" |
6111     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6112           /^X\/\(\/\/\)$/{ s//\1/; q; }
6113           /^X\/\(\/\).*/{ s//\1/; q; }
6114           s/.*/./; q'`
6115
6116
6117 # PATH needs CR, and LINENO needs CR and PATH.
6118 # Avoid depending upon Character Ranges.
6119 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6120 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6121 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6122 as_cr_digits='0123456789'
6123 as_cr_alnum=$as_cr_Letters$as_cr_digits
6124
6125 # The user is always right.
6126 if test "${PATH_SEPARATOR+set}" != set; then
6127   echo "#! /bin/sh" >conf$$.sh
6128   echo  "exit 0"   >>conf$$.sh
6129   chmod +x conf$$.sh
6130   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6131     PATH_SEPARATOR=';'
6132   else
6133     PATH_SEPARATOR=:
6134   fi
6135   rm -f conf$$.sh
6136 fi
6137
6138
6139   as_lineno_1=$LINENO
6140   as_lineno_2=$LINENO
6141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6142   test "x$as_lineno_1" != "x$as_lineno_2" &&
6143   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
6144   # Find who we are.  Look in the path if we contain no path at all
6145   # relative or not.
6146   case $0 in
6147     *[\\/]* ) as_myself=$0 ;;
6148     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 for as_dir in $PATH
6150 do
6151   IFS=$as_save_IFS
6152   test -z "$as_dir" && as_dir=.
6153   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6154 done
6155
6156        ;;
6157   esac
6158   # We did not find ourselves, most probably we were run as `sh COMMAND'
6159   # in which case we are not to be found in the path.
6160   if test "x$as_myself" = x; then
6161     as_myself=$0
6162   fi
6163   if test ! -f "$as_myself"; then
6164     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6165 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6166    { (exit 1); exit 1; }; }
6167   fi
6168   case $CONFIG_SHELL in
6169   '')
6170     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6172 do
6173   IFS=$as_save_IFS
6174   test -z "$as_dir" && as_dir=.
6175   for as_base in sh bash ksh sh5; do
6176          case $as_dir in
6177          /*)
6178            if ("$as_dir/$as_base" -c '
6179   as_lineno_1=$LINENO
6180   as_lineno_2=$LINENO
6181   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6182   test "x$as_lineno_1" != "x$as_lineno_2" &&
6183   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
6184              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6185              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6186              CONFIG_SHELL=$as_dir/$as_base
6187              export CONFIG_SHELL
6188              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6189            fi;;
6190          esac
6191        done
6192 done
6193 ;;
6194   esac
6195
6196   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6197   # uniformly replaced by the line number.  The first 'sed' inserts a
6198   # line-number line before each line; the second 'sed' does the real
6199   # work.  The second script uses 'N' to pair each line-number line
6200   # with the numbered line, and appends trailing '-' during
6201   # substitution so that $LINENO is not a special case at line end.
6202   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6203   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
6204   sed '=' <$as_myself |
6205     sed '
6206       N
6207       s,$,-,
6208       : loop
6209       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6210       t loop
6211       s,-$,,
6212       s,^['$as_cr_digits']*\n,,
6213     ' >$as_me.lineno &&
6214   chmod +x $as_me.lineno ||
6215     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6216 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6217    { (exit 1); exit 1; }; }
6218
6219   # Don't try to exec as it changes $[0], causing all sort of problems
6220   # (the dirname of $[0] is not the place where we might find the
6221   # original and so on.  Autoconf is especially sensible to this).
6222   . ./$as_me.lineno
6223   # Exit status is that of the last command.
6224   exit
6225 }
6226
6227
6228 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6229   *c*,-n*) ECHO_N= ECHO_C='
6230 ' ECHO_T='      ' ;;
6231   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6232   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
6233 esac
6234
6235 if expr a : '\(a\)' >/dev/null 2>&1; then
6236   as_expr=expr
6237 else
6238   as_expr=false
6239 fi
6240
6241 rm -f conf$$ conf$$.exe conf$$.file
6242 echo >conf$$.file
6243 if ln -s conf$$.file conf$$ 2>/dev/null; then
6244   # We could just check for DJGPP; but this test a) works b) is more generic
6245   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6246   if test -f conf$$.exe; then
6247     # Don't use ln at all; we don't have any links
6248     as_ln_s='cp -p'
6249   else
6250     as_ln_s='ln -s'
6251   fi
6252 elif ln conf$$.file conf$$ 2>/dev/null; then
6253   as_ln_s=ln
6254 else
6255   as_ln_s='cp -p'
6256 fi
6257 rm -f conf$$ conf$$.exe conf$$.file
6258
6259 if mkdir -p . 2>/dev/null; then
6260   as_mkdir_p=:
6261 else
6262   test -d ./-p && rmdir ./-p
6263   as_mkdir_p=false
6264 fi
6265
6266 as_executable_p="test -f"
6267
6268 # Sed expression to map a string onto a valid CPP name.
6269 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6270
6271 # Sed expression to map a string onto a valid variable name.
6272 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6273
6274
6275 # IFS
6276 # We need space, tab and new line, in precisely that order.
6277 as_nl='
6278 '
6279 IFS="   $as_nl"
6280
6281 # CDPATH.
6282 $as_unset CDPATH
6283
6284 exec 6>&1
6285
6286 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6287 # report actual input values of CONFIG_FILES etc. instead of their
6288 # values after options handling.  Logging --version etc. is OK.
6289 exec 5>>config.log
6290 {
6291   echo
6292   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6293 ## Running $as_me. ##
6294 _ASBOX
6295 } >&5
6296 cat >&5 <<_CSEOF
6297
6298 This file was extended by $as_me, which was
6299 generated by GNU Autoconf 2.59.  Invocation command line was
6300
6301   CONFIG_FILES    = $CONFIG_FILES
6302   CONFIG_HEADERS  = $CONFIG_HEADERS
6303   CONFIG_LINKS    = $CONFIG_LINKS
6304   CONFIG_COMMANDS = $CONFIG_COMMANDS
6305   $ $0 $@
6306
6307 _CSEOF
6308 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6309 echo >&5
6310 _ACEOF
6311
6312 # Files that config.status was made for.
6313 if test -n "$ac_config_files"; then
6314   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6315 fi
6316
6317 if test -n "$ac_config_headers"; then
6318   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6319 fi
6320
6321 if test -n "$ac_config_links"; then
6322   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6323 fi
6324
6325 if test -n "$ac_config_commands"; then
6326   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6327 fi
6328
6329 cat >>$CONFIG_STATUS <<\_ACEOF
6330
6331 ac_cs_usage="\
6332 \`$as_me' instantiates files from templates according to the
6333 current configuration.
6334
6335 Usage: $0 [OPTIONS] [FILE]...
6336
6337   -h, --help       print this help, then exit
6338   -V, --version    print version number, then exit
6339   -q, --quiet      do not print progress messages
6340   -d, --debug      don't remove temporary files
6341       --recheck    update $as_me by reconfiguring in the same conditions
6342   --file=FILE[:TEMPLATE]
6343                    instantiate the configuration file FILE
6344   --header=FILE[:TEMPLATE]
6345                    instantiate the configuration header FILE
6346
6347 Configuration files:
6348 $config_files
6349
6350 Configuration headers:
6351 $config_headers
6352
6353 Configuration commands:
6354 $config_commands
6355
6356 Report bugs to <bug-autoconf@gnu.org>."
6357 _ACEOF
6358
6359 cat >>$CONFIG_STATUS <<_ACEOF
6360 ac_cs_version="\\
6361 config.status
6362 configured by $0, generated by GNU Autoconf 2.59,
6363   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6364
6365 Copyright (C) 2003 Free Software Foundation, Inc.
6366 This config.status script is free software; the Free Software Foundation
6367 gives unlimited permission to copy, distribute and modify it."
6368 srcdir=$srcdir
6369 INSTALL="$INSTALL"
6370 _ACEOF
6371
6372 cat >>$CONFIG_STATUS <<\_ACEOF
6373 # If no file are specified by the user, then we need to provide default
6374 # value.  By we need to know if files were specified by the user.
6375 ac_need_defaults=:
6376 while test $# != 0
6377 do
6378   case $1 in
6379   --*=*)
6380     ac_option=`expr "x$1" : 'x\([^=]*\)='`
6381     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6382     ac_shift=:
6383     ;;
6384   -*)
6385     ac_option=$1
6386     ac_optarg=$2
6387     ac_shift=shift
6388     ;;
6389   *) # This is not an option, so the user has probably given explicit
6390      # arguments.
6391      ac_option=$1
6392      ac_need_defaults=false;;
6393   esac
6394
6395   case $ac_option in
6396   # Handling of the options.
6397 _ACEOF
6398 cat >>$CONFIG_STATUS <<\_ACEOF
6399   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6400     ac_cs_recheck=: ;;
6401   --version | --vers* | -V )
6402     echo "$ac_cs_version"; exit 0 ;;
6403   --he | --h)
6404     # Conflict between --help and --header
6405     { { echo "$as_me:$LINENO: error: ambiguous option: $1
6406 Try \`$0 --help' for more information." >&5
6407 echo "$as_me: error: ambiguous option: $1
6408 Try \`$0 --help' for more information." >&2;}
6409    { (exit 1); exit 1; }; };;
6410   --help | --hel | -h )
6411     echo "$ac_cs_usage"; exit 0 ;;
6412   --debug | --d* | -d )
6413     debug=: ;;
6414   --file | --fil | --fi | --f )
6415     $ac_shift
6416     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6417     ac_need_defaults=false;;
6418   --header | --heade | --head | --hea )
6419     $ac_shift
6420     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6421     ac_need_defaults=false;;
6422   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6423   | -silent | --silent | --silen | --sile | --sil | --si | --s)
6424     ac_cs_silent=: ;;
6425
6426   # This is an error.
6427   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6428 Try \`$0 --help' for more information." >&5
6429 echo "$as_me: error: unrecognized option: $1
6430 Try \`$0 --help' for more information." >&2;}
6431    { (exit 1); exit 1; }; } ;;
6432
6433   *) ac_config_targets="$ac_config_targets $1" ;;
6434
6435   esac
6436   shift
6437 done
6438
6439 ac_configure_extra_args=
6440
6441 if $ac_cs_silent; then
6442   exec 6>/dev/null
6443   ac_configure_extra_args="$ac_configure_extra_args --silent"
6444 fi
6445
6446 _ACEOF
6447 cat >>$CONFIG_STATUS <<_ACEOF
6448 if \$ac_cs_recheck; then
6449   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6450   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6451 fi
6452
6453 _ACEOF
6454
6455 cat >>$CONFIG_STATUS <<_ACEOF
6456 #
6457 # INIT-COMMANDS section.
6458 #
6459
6460 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6461
6462 _ACEOF
6463
6464
6465
6466 cat >>$CONFIG_STATUS <<\_ACEOF
6467 for ac_config_target in $ac_config_targets
6468 do
6469   case "$ac_config_target" in
6470   # Handling of arguments.
6471   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6472   "mm/Makefile" ) CONFIG_FILES="$CONFIG_FILES mm/Makefile" ;;
6473   "toolbox/Makefile" ) CONFIG_FILES="$CONFIG_FILES toolbox/Makefile" ;;
6474   "threads/Makefile" ) CONFIG_FILES="$CONFIG_FILES threads/Makefile" ;;
6475   "jit/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/Makefile" ;;
6476   "jit/loop/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/loop/Makefile" ;;
6477   "jit/alpha/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/alpha/Makefile" ;;
6478   "jit/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/i386/Makefile" ;;
6479   "jit/mips/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/mips/Makefile" ;;
6480   "jit/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/powerpc/Makefile" ;;
6481   "jit/x86_64/Makefile" ) CONFIG_FILES="$CONFIG_FILES jit/x86_64/Makefile" ;;
6482   "nat/Makefile" ) CONFIG_FILES="$CONFIG_FILES nat/Makefile" ;;
6483   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6484   "tst/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/Makefile" ;;
6485   "tst/kaffe/Makefile" ) CONFIG_FILES="$CONFIG_FILES tst/kaffe/Makefile" ;;
6486   "jvmtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES jvmtst/Makefile" ;;
6487   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6488   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6489   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6490 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6491    { (exit 1); exit 1; }; };;
6492   esac
6493 done
6494
6495 # If the user did not use the arguments to specify the items to instantiate,
6496 # then the envvar interface is used.  Set only those that are not.
6497 # We use the long form for the default assignment because of an extremely
6498 # bizarre bug on SunOS 4.1.3.
6499 if $ac_need_defaults; then
6500   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6501   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6502   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6503 fi
6504
6505 # Have a temporary directory for convenience.  Make it in the build tree
6506 # simply because there is no reason to put it here, and in addition,
6507 # creating and moving files from /tmp can sometimes cause problems.
6508 # Create a temporary directory, and hook for its removal unless debugging.
6509 $debug ||
6510 {
6511   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6512   trap '{ (exit 1); exit 1; }' 1 2 13 15
6513 }
6514
6515 # Create a (secure) tmp directory for tmp files.
6516
6517 {
6518   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6519   test -n "$tmp" && test -d "$tmp"
6520 }  ||
6521 {
6522   tmp=./confstat$$-$RANDOM
6523   (umask 077 && mkdir $tmp)
6524 } ||
6525 {
6526    echo "$me: cannot create a temporary directory in ." >&2
6527    { (exit 1); exit 1; }
6528 }
6529
6530 _ACEOF
6531
6532 cat >>$CONFIG_STATUS <<_ACEOF
6533
6534 #
6535 # CONFIG_FILES section.
6536 #
6537
6538 # No need to generate the scripts if there are no CONFIG_FILES.
6539 # This happens for instance when ./config.status config.h
6540 if test -n "\$CONFIG_FILES"; then
6541   # Protect against being on the right side of a sed subst in config.status.
6542   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6543    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6544 s,@SHELL@,$SHELL,;t t
6545 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6546 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6547 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6548 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6549 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6550 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6551 s,@exec_prefix@,$exec_prefix,;t t
6552 s,@prefix@,$prefix,;t t
6553 s,@program_transform_name@,$program_transform_name,;t t
6554 s,@bindir@,$bindir,;t t
6555 s,@sbindir@,$sbindir,;t t
6556 s,@libexecdir@,$libexecdir,;t t
6557 s,@datadir@,$datadir,;t t
6558 s,@sysconfdir@,$sysconfdir,;t t
6559 s,@sharedstatedir@,$sharedstatedir,;t t
6560 s,@localstatedir@,$localstatedir,;t t
6561 s,@libdir@,$libdir,;t t
6562 s,@includedir@,$includedir,;t t
6563 s,@oldincludedir@,$oldincludedir,;t t
6564 s,@infodir@,$infodir,;t t
6565 s,@mandir@,$mandir,;t t
6566 s,@build_alias@,$build_alias,;t t
6567 s,@host_alias@,$host_alias,;t t
6568 s,@target_alias@,$target_alias,;t t
6569 s,@DEFS@,$DEFS,;t t
6570 s,@ECHO_C@,$ECHO_C,;t t
6571 s,@ECHO_N@,$ECHO_N,;t t
6572 s,@ECHO_T@,$ECHO_T,;t t
6573 s,@LIBS@,$LIBS,;t t
6574 s,@build@,$build,;t t
6575 s,@build_cpu@,$build_cpu,;t t
6576 s,@build_vendor@,$build_vendor,;t t
6577 s,@build_os@,$build_os,;t t
6578 s,@host@,$host,;t t
6579 s,@host_cpu@,$host_cpu,;t t
6580 s,@host_vendor@,$host_vendor,;t t
6581 s,@host_os@,$host_os,;t t
6582 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6583 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6584 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6585 s,@CYGPATH_W@,$CYGPATH_W,;t t
6586 s,@PACKAGE@,$PACKAGE,;t t
6587 s,@VERSION@,$VERSION,;t t
6588 s,@ACLOCAL@,$ACLOCAL,;t t
6589 s,@AUTOCONF@,$AUTOCONF,;t t
6590 s,@AUTOMAKE@,$AUTOMAKE,;t t
6591 s,@AUTOHEADER@,$AUTOHEADER,;t t
6592 s,@MAKEINFO@,$MAKEINFO,;t t
6593 s,@AMTAR@,$AMTAR,;t t
6594 s,@install_sh@,$install_sh,;t t
6595 s,@STRIP@,$STRIP,;t t
6596 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6597 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6598 s,@mkdir_p@,$mkdir_p,;t t
6599 s,@AWK@,$AWK,;t t
6600 s,@SET_MAKE@,$SET_MAKE,;t t
6601 s,@am__leading_dot@,$am__leading_dot,;t t
6602 s,@COMPILER_OBJECTS@,$COMPILER_OBJECTS,;t t
6603 s,@ARCH_DIR@,$ARCH_DIR,;t t
6604 s,@CC@,$CC,;t t
6605 s,@CFLAGS@,$CFLAGS,;t t
6606 s,@LDFLAGS@,$LDFLAGS,;t t
6607 s,@CPPFLAGS@,$CPPFLAGS,;t t
6608 s,@ac_ct_CC@,$ac_ct_CC,;t t
6609 s,@EXEEXT@,$EXEEXT,;t t
6610 s,@OBJEXT@,$OBJEXT,;t t
6611 s,@DEPDIR@,$DEPDIR,;t t
6612 s,@am__include@,$am__include,;t t
6613 s,@am__quote@,$am__quote,;t t
6614 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6615 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6616 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6617 s,@CCDEPMODE@,$CCDEPMODE,;t t
6618 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6619 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6620 s,@CCAS@,$CCAS,;t t
6621 s,@CCASFLAGS@,$CCASFLAGS,;t t
6622 s,@RANLIB@,$RANLIB,;t t
6623 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6624 s,@CPP@,$CPP,;t t
6625 s,@EGREP@,$EGREP,;t t
6626 s,@LIBOBJS@,$LIBOBJS,;t t
6627 s,@LIBTHREAD@,$LIBTHREAD,;t t
6628 s,@THREAD_OBJ@,$THREAD_OBJ,;t t
6629 s,@ZIP_LIBS@,$ZIP_LIBS,;t t
6630 s,@ZIP_C@,$ZIP_C,;t t
6631 s,@USEGTK@,$USEGTK,;t t
6632 s,@AWTPEERS@,$AWTPEERS,;t t
6633 s,@AWT_OBJS@,$AWT_OBJS,;t t
6634 s,@subdirs@,$subdirs,;t t
6635 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6636 CEOF
6637
6638 _ACEOF
6639
6640   cat >>$CONFIG_STATUS <<\_ACEOF
6641   # Split the substitutions into bite-sized pieces for seds with
6642   # small command number limits, like on Digital OSF/1 and HP-UX.
6643   ac_max_sed_lines=48
6644   ac_sed_frag=1 # Number of current file.
6645   ac_beg=1 # First line for current file.
6646   ac_end=$ac_max_sed_lines # Line after last line for current file.
6647   ac_more_lines=:
6648   ac_sed_cmds=
6649   while $ac_more_lines; do
6650     if test $ac_beg -gt 1; then
6651       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6652     else
6653       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6654     fi
6655     if test ! -s $tmp/subs.frag; then
6656       ac_more_lines=false
6657     else
6658       # The purpose of the label and of the branching condition is to
6659       # speed up the sed processing (if there are no `@' at all, there
6660       # is no need to browse any of the substitutions).
6661       # These are the two extra sed commands mentioned above.
6662       (echo ':t
6663   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6664       if test -z "$ac_sed_cmds"; then
6665         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6666       else
6667         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6668       fi
6669       ac_sed_frag=`expr $ac_sed_frag + 1`
6670       ac_beg=$ac_end
6671       ac_end=`expr $ac_end + $ac_max_sed_lines`
6672     fi
6673   done
6674   if test -z "$ac_sed_cmds"; then
6675     ac_sed_cmds=cat
6676   fi
6677 fi # test -n "$CONFIG_FILES"
6678
6679 _ACEOF
6680 cat >>$CONFIG_STATUS <<\_ACEOF
6681 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6682   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6683   case $ac_file in
6684   - | *:- | *:-:* ) # input from stdin
6685         cat >$tmp/stdin
6686         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6687         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6688   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6689         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6690   * )   ac_file_in=$ac_file.in ;;
6691   esac
6692
6693   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6694   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6696          X"$ac_file" : 'X\(//\)[^/]' \| \
6697          X"$ac_file" : 'X\(//\)$' \| \
6698          X"$ac_file" : 'X\(/\)' \| \
6699          .     : '\(.\)' 2>/dev/null ||
6700 echo X"$ac_file" |
6701     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6702           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6703           /^X\(\/\/\)$/{ s//\1/; q; }
6704           /^X\(\/\).*/{ s//\1/; q; }
6705           s/.*/./; q'`
6706   { if $as_mkdir_p; then
6707     mkdir -p "$ac_dir"
6708   else
6709     as_dir="$ac_dir"
6710     as_dirs=
6711     while test ! -d "$as_dir"; do
6712       as_dirs="$as_dir $as_dirs"
6713       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6715          X"$as_dir" : 'X\(//\)[^/]' \| \
6716          X"$as_dir" : 'X\(//\)$' \| \
6717          X"$as_dir" : 'X\(/\)' \| \
6718          .     : '\(.\)' 2>/dev/null ||
6719 echo X"$as_dir" |
6720     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6721           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6722           /^X\(\/\/\)$/{ s//\1/; q; }
6723           /^X\(\/\).*/{ s//\1/; q; }
6724           s/.*/./; q'`
6725     done
6726     test ! -n "$as_dirs" || mkdir $as_dirs
6727   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6728 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6729    { (exit 1); exit 1; }; }; }
6730
6731   ac_builddir=.
6732
6733 if test "$ac_dir" != .; then
6734   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6735   # A "../" for each directory in $ac_dir_suffix.
6736   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6737 else
6738   ac_dir_suffix= ac_top_builddir=
6739 fi
6740
6741 case $srcdir in
6742   .)  # No --srcdir option.  We are building in place.
6743     ac_srcdir=.
6744     if test -z "$ac_top_builddir"; then
6745        ac_top_srcdir=.
6746     else
6747        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6748     fi ;;
6749   [\\/]* | ?:[\\/]* )  # Absolute path.
6750     ac_srcdir=$srcdir$ac_dir_suffix;
6751     ac_top_srcdir=$srcdir ;;
6752   *) # Relative path.
6753     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6754     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6755 esac
6756
6757 # Do not use `cd foo && pwd` to compute absolute paths, because
6758 # the directories may not exist.
6759 case `pwd` in
6760 .) ac_abs_builddir="$ac_dir";;
6761 *)
6762   case "$ac_dir" in
6763   .) ac_abs_builddir=`pwd`;;
6764   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6765   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6766   esac;;
6767 esac
6768 case $ac_abs_builddir in
6769 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6770 *)
6771   case ${ac_top_builddir}. in
6772   .) ac_abs_top_builddir=$ac_abs_builddir;;
6773   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6774   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6775   esac;;
6776 esac
6777 case $ac_abs_builddir in
6778 .) ac_abs_srcdir=$ac_srcdir;;
6779 *)
6780   case $ac_srcdir in
6781   .) ac_abs_srcdir=$ac_abs_builddir;;
6782   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6783   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6784   esac;;
6785 esac
6786 case $ac_abs_builddir in
6787 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6788 *)
6789   case $ac_top_srcdir in
6790   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6791   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6792   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6793   esac;;
6794 esac
6795
6796
6797   case $INSTALL in
6798   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6799   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6800   esac
6801
6802   # Let's still pretend it is `configure' which instantiates (i.e., don't
6803   # use $as_me), people would be surprised to read:
6804   #    /* config.h.  Generated by config.status.  */
6805   if test x"$ac_file" = x-; then
6806     configure_input=
6807   else
6808     configure_input="$ac_file.  "
6809   fi
6810   configure_input=$configure_input"Generated from `echo $ac_file_in |
6811                                      sed 's,.*/,,'` by configure."
6812
6813   # First look for the input files in the build tree, otherwise in the
6814   # src tree.
6815   ac_file_inputs=`IFS=:
6816     for f in $ac_file_in; do
6817       case $f in
6818       -) echo $tmp/stdin ;;
6819       [\\/$]*)
6820          # Absolute (can't be DOS-style, as IFS=:)
6821          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6822 echo "$as_me: error: cannot find input file: $f" >&2;}
6823    { (exit 1); exit 1; }; }
6824          echo "$f";;
6825       *) # Relative
6826          if test -f "$f"; then
6827            # Build tree
6828            echo "$f"
6829          elif test -f "$srcdir/$f"; then
6830            # Source tree
6831            echo "$srcdir/$f"
6832          else
6833            # /dev/null tree
6834            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6835 echo "$as_me: error: cannot find input file: $f" >&2;}
6836    { (exit 1); exit 1; }; }
6837          fi;;
6838       esac
6839     done` || { (exit 1); exit 1; }
6840
6841   if test x"$ac_file" != x-; then
6842     { echo "$as_me:$LINENO: creating $ac_file" >&5
6843 echo "$as_me: creating $ac_file" >&6;}
6844     rm -f "$ac_file"
6845   fi
6846 _ACEOF
6847 cat >>$CONFIG_STATUS <<_ACEOF
6848   sed "$ac_vpsub
6849 $extrasub
6850 _ACEOF
6851 cat >>$CONFIG_STATUS <<\_ACEOF
6852 :t
6853 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6854 s,@configure_input@,$configure_input,;t t
6855 s,@srcdir@,$ac_srcdir,;t t
6856 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6857 s,@top_srcdir@,$ac_top_srcdir,;t t
6858 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6859 s,@builddir@,$ac_builddir,;t t
6860 s,@abs_builddir@,$ac_abs_builddir,;t t
6861 s,@top_builddir@,$ac_top_builddir,;t t
6862 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6863 s,@INSTALL@,$ac_INSTALL,;t t
6864 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6865   rm -f $tmp/stdin
6866   if test x"$ac_file" != x-; then
6867     mv $tmp/out $ac_file
6868   else
6869     cat $tmp/out
6870     rm -f $tmp/out
6871   fi
6872
6873 done
6874 _ACEOF
6875 cat >>$CONFIG_STATUS <<\_ACEOF
6876
6877 #
6878 # CONFIG_HEADER section.
6879 #
6880
6881 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6882 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6883 #
6884 # ac_d sets the value in "#define NAME VALUE" lines.
6885 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
6886 ac_dB='[         ].*$,\1#\2'
6887 ac_dC=' '
6888 ac_dD=',;t'
6889 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6890 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
6891 ac_uB='$,\1#\2define\3'
6892 ac_uC=' '
6893 ac_uD=',;t'
6894
6895 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6896   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6897   case $ac_file in
6898   - | *:- | *:-:* ) # input from stdin
6899         cat >$tmp/stdin
6900         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6901         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6902   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6903         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6904   * )   ac_file_in=$ac_file.in ;;
6905   esac
6906
6907   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6908 echo "$as_me: creating $ac_file" >&6;}
6909
6910   # First look for the input files in the build tree, otherwise in the
6911   # src tree.
6912   ac_file_inputs=`IFS=:
6913     for f in $ac_file_in; do
6914       case $f in
6915       -) echo $tmp/stdin ;;
6916       [\\/$]*)
6917          # Absolute (can't be DOS-style, as IFS=:)
6918          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6919 echo "$as_me: error: cannot find input file: $f" >&2;}
6920    { (exit 1); exit 1; }; }
6921          # Do quote $f, to prevent DOS paths from being IFS'd.
6922          echo "$f";;
6923       *) # Relative
6924          if test -f "$f"; then
6925            # Build tree
6926            echo "$f"
6927          elif test -f "$srcdir/$f"; then
6928            # Source tree
6929            echo "$srcdir/$f"
6930          else
6931            # /dev/null tree
6932            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6933 echo "$as_me: error: cannot find input file: $f" >&2;}
6934    { (exit 1); exit 1; }; }
6935          fi;;
6936       esac
6937     done` || { (exit 1); exit 1; }
6938   # Remove the trailing spaces.
6939   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6940
6941 _ACEOF
6942
6943 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6944 # `conftest.undefs', that substitutes the proper values into
6945 # config.h.in to produce config.h.  The first handles `#define'
6946 # templates, and the second `#undef' templates.
6947 # And first: Protect against being on the right side of a sed subst in
6948 # config.status.  Protect against being in an unquoted here document
6949 # in config.status.
6950 rm -f conftest.defines conftest.undefs
6951 # Using a here document instead of a string reduces the quoting nightmare.
6952 # Putting comments in sed scripts is not portable.
6953 #
6954 # `end' is used to avoid that the second main sed command (meant for
6955 # 0-ary CPP macros) applies to n-ary macro definitions.
6956 # See the Autoconf documentation for `clear'.
6957 cat >confdef2sed.sed <<\_ACEOF
6958 s/[\\&,]/\\&/g
6959 s,[\\$`],\\&,g
6960 t clear
6961 : clear
6962 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6963 t end
6964 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6965 : end
6966 _ACEOF
6967 # If some macros were called several times there might be several times
6968 # the same #defines, which is useless.  Nevertheless, we may not want to
6969 # sort them, since we want the *last* AC-DEFINE to be honored.
6970 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6971 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6972 rm -f confdef2sed.sed
6973
6974 # This sed command replaces #undef with comments.  This is necessary, for
6975 # example, in the case of _POSIX_SOURCE, which is predefined and required
6976 # on some systems where configure will not decide to define it.
6977 cat >>conftest.undefs <<\_ACEOF
6978 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6979 _ACEOF
6980
6981 # Break up conftest.defines because some shells have a limit on the size
6982 # of here documents, and old seds have small limits too (100 cmds).
6983 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6984 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6985 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6986 echo '  :' >>$CONFIG_STATUS
6987 rm -f conftest.tail
6988 while grep . conftest.defines >/dev/null
6989 do
6990   # Write a limited-size here document to $tmp/defines.sed.
6991   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6992   # Speed up: don't consider the non `#define' lines.
6993   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6994   # Work around the forget-to-reset-the-flag bug.
6995   echo 't clr' >>$CONFIG_STATUS
6996   echo ': clr' >>$CONFIG_STATUS
6997   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6998   echo 'CEOF
6999   sed -f $tmp/defines.sed $tmp/in >$tmp/out
7000   rm -f $tmp/in
7001   mv $tmp/out $tmp/in
7002 ' >>$CONFIG_STATUS
7003   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7004   rm -f conftest.defines
7005   mv conftest.tail conftest.defines
7006 done
7007 rm -f conftest.defines
7008 echo '  fi # grep' >>$CONFIG_STATUS
7009 echo >>$CONFIG_STATUS
7010
7011 # Break up conftest.undefs because some shells have a limit on the size
7012 # of here documents, and old seds have small limits too (100 cmds).
7013 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
7014 rm -f conftest.tail
7015 while grep . conftest.undefs >/dev/null
7016 do
7017   # Write a limited-size here document to $tmp/undefs.sed.
7018   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7019   # Speed up: don't consider the non `#undef'
7020   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
7021   # Work around the forget-to-reset-the-flag bug.
7022   echo 't clr' >>$CONFIG_STATUS
7023   echo ': clr' >>$CONFIG_STATUS
7024   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7025   echo 'CEOF
7026   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7027   rm -f $tmp/in
7028   mv $tmp/out $tmp/in
7029 ' >>$CONFIG_STATUS
7030   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7031   rm -f conftest.undefs
7032   mv conftest.tail conftest.undefs
7033 done
7034 rm -f conftest.undefs
7035
7036 cat >>$CONFIG_STATUS <<\_ACEOF
7037   # Let's still pretend it is `configure' which instantiates (i.e., don't
7038   # use $as_me), people would be surprised to read:
7039   #    /* config.h.  Generated by config.status.  */
7040   if test x"$ac_file" = x-; then
7041     echo "/* Generated by configure.  */" >$tmp/config.h
7042   else
7043     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
7044   fi
7045   cat $tmp/in >>$tmp/config.h
7046   rm -f $tmp/in
7047   if test x"$ac_file" != x-; then
7048     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7049       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7050 echo "$as_me: $ac_file is unchanged" >&6;}
7051     else
7052       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7053 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7054          X"$ac_file" : 'X\(//\)[^/]' \| \
7055          X"$ac_file" : 'X\(//\)$' \| \
7056          X"$ac_file" : 'X\(/\)' \| \
7057          .     : '\(.\)' 2>/dev/null ||
7058 echo X"$ac_file" |
7059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7060           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7061           /^X\(\/\/\)$/{ s//\1/; q; }
7062           /^X\(\/\).*/{ s//\1/; q; }
7063           s/.*/./; q'`
7064       { if $as_mkdir_p; then
7065     mkdir -p "$ac_dir"
7066   else
7067     as_dir="$ac_dir"
7068     as_dirs=
7069     while test ! -d "$as_dir"; do
7070       as_dirs="$as_dir $as_dirs"
7071       as_dir=`(dirname "$as_dir") 2>/dev/null ||
7072 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7073          X"$as_dir" : 'X\(//\)[^/]' \| \
7074          X"$as_dir" : 'X\(//\)$' \| \
7075          X"$as_dir" : 'X\(/\)' \| \
7076          .     : '\(.\)' 2>/dev/null ||
7077 echo X"$as_dir" |
7078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7079           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7080           /^X\(\/\/\)$/{ s//\1/; q; }
7081           /^X\(\/\).*/{ s//\1/; q; }
7082           s/.*/./; q'`
7083     done
7084     test ! -n "$as_dirs" || mkdir $as_dirs
7085   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7086 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7087    { (exit 1); exit 1; }; }; }
7088
7089       rm -f $ac_file
7090       mv $tmp/config.h $ac_file
7091     fi
7092   else
7093     cat $tmp/config.h
7094     rm -f $tmp/config.h
7095   fi
7096 # Compute $ac_file's index in $config_headers.
7097 _am_stamp_count=1
7098 for _am_header in $config_headers :; do
7099   case $_am_header in
7100     $ac_file | $ac_file:* )
7101       break ;;
7102     * )
7103       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7104   esac
7105 done
7106 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7107 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7108          X$ac_file : 'X\(//\)[^/]' \| \
7109          X$ac_file : 'X\(//\)$' \| \
7110          X$ac_file : 'X\(/\)' \| \
7111          .     : '\(.\)' 2>/dev/null ||
7112 echo X$ac_file |
7113     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7114           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7115           /^X\(\/\/\)$/{ s//\1/; q; }
7116           /^X\(\/\).*/{ s//\1/; q; }
7117           s/.*/./; q'`/stamp-h$_am_stamp_count
7118 done
7119 _ACEOF
7120 cat >>$CONFIG_STATUS <<\_ACEOF
7121
7122 #
7123 # CONFIG_COMMANDS section.
7124 #
7125 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7126   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7127   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7128   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7129 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7130          X"$ac_dest" : 'X\(//\)[^/]' \| \
7131          X"$ac_dest" : 'X\(//\)$' \| \
7132          X"$ac_dest" : 'X\(/\)' \| \
7133          .     : '\(.\)' 2>/dev/null ||
7134 echo X"$ac_dest" |
7135     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7136           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7137           /^X\(\/\/\)$/{ s//\1/; q; }
7138           /^X\(\/\).*/{ s//\1/; q; }
7139           s/.*/./; q'`
7140   { if $as_mkdir_p; then
7141     mkdir -p "$ac_dir"
7142   else
7143     as_dir="$ac_dir"
7144     as_dirs=
7145     while test ! -d "$as_dir"; do
7146       as_dirs="$as_dir $as_dirs"
7147       as_dir=`(dirname "$as_dir") 2>/dev/null ||
7148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7149          X"$as_dir" : 'X\(//\)[^/]' \| \
7150          X"$as_dir" : 'X\(//\)$' \| \
7151          X"$as_dir" : 'X\(/\)' \| \
7152          .     : '\(.\)' 2>/dev/null ||
7153 echo X"$as_dir" |
7154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7155           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7156           /^X\(\/\/\)$/{ s//\1/; q; }
7157           /^X\(\/\).*/{ s//\1/; q; }
7158           s/.*/./; q'`
7159     done
7160     test ! -n "$as_dirs" || mkdir $as_dirs
7161   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7162 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7163    { (exit 1); exit 1; }; }; }
7164
7165   ac_builddir=.
7166
7167 if test "$ac_dir" != .; then
7168   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7169   # A "../" for each directory in $ac_dir_suffix.
7170   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7171 else
7172   ac_dir_suffix= ac_top_builddir=
7173 fi
7174
7175 case $srcdir in
7176   .)  # No --srcdir option.  We are building in place.
7177     ac_srcdir=.
7178     if test -z "$ac_top_builddir"; then
7179        ac_top_srcdir=.
7180     else
7181        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7182     fi ;;
7183   [\\/]* | ?:[\\/]* )  # Absolute path.
7184     ac_srcdir=$srcdir$ac_dir_suffix;
7185     ac_top_srcdir=$srcdir ;;
7186   *) # Relative path.
7187     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7188     ac_top_srcdir=$ac_top_builddir$srcdir ;;
7189 esac
7190
7191 # Do not use `cd foo && pwd` to compute absolute paths, because
7192 # the directories may not exist.
7193 case `pwd` in
7194 .) ac_abs_builddir="$ac_dir";;
7195 *)
7196   case "$ac_dir" in
7197   .) ac_abs_builddir=`pwd`;;
7198   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7199   *) ac_abs_builddir=`pwd`/"$ac_dir";;
7200   esac;;
7201 esac
7202 case $ac_abs_builddir in
7203 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7204 *)
7205   case ${ac_top_builddir}. in
7206   .) ac_abs_top_builddir=$ac_abs_builddir;;
7207   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7208   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7209   esac;;
7210 esac
7211 case $ac_abs_builddir in
7212 .) ac_abs_srcdir=$ac_srcdir;;
7213 *)
7214   case $ac_srcdir in
7215   .) ac_abs_srcdir=$ac_abs_builddir;;
7216   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7217   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7218   esac;;
7219 esac
7220 case $ac_abs_builddir in
7221 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7222 *)
7223   case $ac_top_srcdir in
7224   .) ac_abs_top_srcdir=$ac_abs_builddir;;
7225   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7226   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7227   esac;;
7228 esac
7229
7230
7231   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7232 echo "$as_me: executing $ac_dest commands" >&6;}
7233   case $ac_dest in
7234     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7235   # Strip MF so we end up with the name of the file.
7236   mf=`echo "$mf" | sed -e 's/:.*$//'`
7237   # Check whether this is an Automake generated Makefile or not.
7238   # We used to match only the files named `Makefile.in', but
7239   # some people rename them; so instead we look at the file content.
7240   # Grep'ing the first line is not enough: some people post-process
7241   # each Makefile.in and add a new line on top of each file to say so.
7242   # So let's grep whole file.
7243   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7244     dirpart=`(dirname "$mf") 2>/dev/null ||
7245 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7246          X"$mf" : 'X\(//\)[^/]' \| \
7247          X"$mf" : 'X\(//\)$' \| \
7248          X"$mf" : 'X\(/\)' \| \
7249          .     : '\(.\)' 2>/dev/null ||
7250 echo X"$mf" |
7251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7252           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7253           /^X\(\/\/\)$/{ s//\1/; q; }
7254           /^X\(\/\).*/{ s//\1/; q; }
7255           s/.*/./; q'`
7256   else
7257     continue
7258   fi
7259   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
7260   # Extract the definition of DEP_FILES from the Makefile without
7261   # running `make'.
7262   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
7263   test -z "$DEPDIR" && continue
7264   # When using ansi2knr, U may be empty or an underscore; expand it
7265   U=`sed -n -e '/^U = / s///p' < "$mf"`
7266   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
7267   # We invoke sed twice because it is the simplest approach to
7268   # changing $(DEPDIR) to its actual value in the expansion.
7269   for file in `sed -n -e '
7270     /^DEP_FILES = .*\\\\$/ {
7271       s/^DEP_FILES = //
7272       :loop
7273         s/\\\\$//
7274         p
7275         n
7276         /\\\\$/ b loop
7277       p
7278     }
7279     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
7280        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7281     # Make sure the directory exists.
7282     test -f "$dirpart/$file" && continue
7283     fdir=`(dirname "$file") 2>/dev/null ||
7284 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7285          X"$file" : 'X\(//\)[^/]' \| \
7286          X"$file" : 'X\(//\)$' \| \
7287          X"$file" : 'X\(/\)' \| \
7288          .     : '\(.\)' 2>/dev/null ||
7289 echo X"$file" |
7290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7291           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7292           /^X\(\/\/\)$/{ s//\1/; q; }
7293           /^X\(\/\).*/{ s//\1/; q; }
7294           s/.*/./; q'`
7295     { if $as_mkdir_p; then
7296     mkdir -p $dirpart/$fdir
7297   else
7298     as_dir=$dirpart/$fdir
7299     as_dirs=
7300     while test ! -d "$as_dir"; do
7301       as_dirs="$as_dir $as_dirs"
7302       as_dir=`(dirname "$as_dir") 2>/dev/null ||
7303 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7304          X"$as_dir" : 'X\(//\)[^/]' \| \
7305          X"$as_dir" : 'X\(//\)$' \| \
7306          X"$as_dir" : 'X\(/\)' \| \
7307          .     : '\(.\)' 2>/dev/null ||
7308 echo X"$as_dir" |
7309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7310           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7311           /^X\(\/\/\)$/{ s//\1/; q; }
7312           /^X\(\/\).*/{ s//\1/; q; }
7313           s/.*/./; q'`
7314     done
7315     test ! -n "$as_dirs" || mkdir $as_dirs
7316   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7317 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7318    { (exit 1); exit 1; }; }; }
7319
7320     # echo "creating $dirpart/$file"
7321     echo '# dummy' > "$dirpart/$file"
7322   done
7323 done
7324  ;;
7325   esac
7326 done
7327 _ACEOF
7328
7329 cat >>$CONFIG_STATUS <<\_ACEOF
7330
7331 { (exit 0); exit 0; }
7332 _ACEOF
7333 chmod +x $CONFIG_STATUS
7334 ac_clean_files=$ac_clean_files_save
7335
7336
7337 # configure is writing to config.log, and then calls config.status.
7338 # config.status does its own redirection, appending to config.log.
7339 # Unfortunately, on DOS this fails, as config.log is still kept open
7340 # by configure, so config.status won't be able to write to it; its
7341 # output is simply discarded.  So we exec the FD to /dev/null,
7342 # effectively closing config.log, so it can be properly (re)opened and
7343 # appended to by config.status.  When coming back to configure, we
7344 # need to make the FD available again.
7345 if test "$no_create" != yes; then
7346   ac_cs_success=:
7347   ac_config_status_args=
7348   test "$silent" = yes &&
7349     ac_config_status_args="$ac_config_status_args --quiet"
7350   exec 5>/dev/null
7351   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7352   exec 5>>config.log
7353   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7354   # would make configure fail if this is the last instruction.
7355   $ac_cs_success || { (exit 1); exit 1; }
7356 fi
7357
7358 #
7359 # CONFIG_SUBDIRS section.
7360 #
7361 if test "$no_recursion" != yes; then
7362
7363   # Remove --cache-file and --srcdir arguments so they do not pile up.
7364   ac_sub_configure_args=
7365   ac_prev=
7366   for ac_arg in $ac_configure_args; do
7367     if test -n "$ac_prev"; then
7368       ac_prev=
7369       continue
7370     fi
7371     case $ac_arg in
7372     -cache-file | --cache-file | --cache-fil | --cache-fi \
7373     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
7374       ac_prev=cache_file ;;
7375     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
7376     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
7377     | --c=*)
7378       ;;
7379     --config-cache | -C)
7380       ;;
7381     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
7382       ac_prev=srcdir ;;
7383     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7384       ;;
7385     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7386       ac_prev=prefix ;;
7387     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7388       ;;
7389     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
7390     esac
7391   done
7392
7393   # Always prepend --prefix to ensure using the same prefix
7394   # in subdir configurations.
7395   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
7396
7397   ac_popdir=`pwd`
7398   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
7399
7400     # Do not complain, so a configure script can configure whichever
7401     # parts of a large source tree are present.
7402     test -d $srcdir/$ac_dir || continue
7403
7404     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7405 echo "$as_me: configuring in $ac_dir" >&6;}
7406     { if $as_mkdir_p; then
7407     mkdir -p "$ac_dir"
7408   else
7409     as_dir="$ac_dir"
7410     as_dirs=
7411     while test ! -d "$as_dir"; do
7412       as_dirs="$as_dir $as_dirs"
7413       as_dir=`(dirname "$as_dir") 2>/dev/null ||
7414 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7415          X"$as_dir" : 'X\(//\)[^/]' \| \
7416          X"$as_dir" : 'X\(//\)$' \| \
7417          X"$as_dir" : 'X\(/\)' \| \
7418          .     : '\(.\)' 2>/dev/null ||
7419 echo X"$as_dir" |
7420     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7421           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7422           /^X\(\/\/\)$/{ s//\1/; q; }
7423           /^X\(\/\).*/{ s//\1/; q; }
7424           s/.*/./; q'`
7425     done
7426     test ! -n "$as_dirs" || mkdir $as_dirs
7427   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7428 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7429    { (exit 1); exit 1; }; }; }
7430
7431     ac_builddir=.
7432
7433 if test "$ac_dir" != .; then
7434   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7435   # A "../" for each directory in $ac_dir_suffix.
7436   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7437 else
7438   ac_dir_suffix= ac_top_builddir=
7439 fi
7440
7441 case $srcdir in
7442   .)  # No --srcdir option.  We are building in place.
7443     ac_srcdir=.
7444     if test -z "$ac_top_builddir"; then
7445        ac_top_srcdir=.
7446     else
7447        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7448     fi ;;
7449   [\\/]* | ?:[\\/]* )  # Absolute path.
7450     ac_srcdir=$srcdir$ac_dir_suffix;
7451     ac_top_srcdir=$srcdir ;;
7452   *) # Relative path.
7453     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7454     ac_top_srcdir=$ac_top_builddir$srcdir ;;
7455 esac
7456
7457 # Do not use `cd foo && pwd` to compute absolute paths, because
7458 # the directories may not exist.
7459 case `pwd` in
7460 .) ac_abs_builddir="$ac_dir";;
7461 *)
7462   case "$ac_dir" in
7463   .) ac_abs_builddir=`pwd`;;
7464   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7465   *) ac_abs_builddir=`pwd`/"$ac_dir";;
7466   esac;;
7467 esac
7468 case $ac_abs_builddir in
7469 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7470 *)
7471   case ${ac_top_builddir}. in
7472   .) ac_abs_top_builddir=$ac_abs_builddir;;
7473   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7474   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7475   esac;;
7476 esac
7477 case $ac_abs_builddir in
7478 .) ac_abs_srcdir=$ac_srcdir;;
7479 *)
7480   case $ac_srcdir in
7481   .) ac_abs_srcdir=$ac_abs_builddir;;
7482   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7483   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7484   esac;;
7485 esac
7486 case $ac_abs_builddir in
7487 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7488 *)
7489   case $ac_top_srcdir in
7490   .) ac_abs_top_srcdir=$ac_abs_builddir;;
7491   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7492   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7493   esac;;
7494 esac
7495
7496
7497     cd $ac_dir
7498
7499     # Check for guested configure; otherwise get Cygnus style configure.
7500     if test -f $ac_srcdir/configure.gnu; then
7501       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7502     elif test -f $ac_srcdir/configure; then
7503       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7504     elif test -f $ac_srcdir/configure.in; then
7505       ac_sub_configure=$ac_configure
7506     else
7507       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7508 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7509       ac_sub_configure=
7510     fi
7511
7512     # The recursion is here.
7513     if test -n "$ac_sub_configure"; then
7514       # Make the cache file name correct relative to the subdirectory.
7515       case $cache_file in
7516       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7517       *) # Relative path.
7518         ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7519       esac
7520
7521       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7522 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7523       # The eval makes quoting arguments work.
7524       eval $ac_sub_configure $ac_sub_configure_args \
7525            --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7526         { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7527 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7528    { (exit 1); exit 1; }; }
7529     fi
7530
7531     cd "$ac_popdir"
7532   done
7533 fi
7534
7535
7536
7537