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