blob: 1bc6fc4dedd10b71c8a28ca1664a37d7638b55d6 [file] [log] [blame]
Param Reddappagari386ce4d2011-10-04 12:15:40 -07001#! /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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os EXE RNG_OBJS CPP EGREP 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
2423echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2424echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2425if test "${ac_cv_c_bigendian+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6
2427else
2428 # See if sys/param.h defines the BYTE_ORDER macro.
2429cat >conftest.$ac_ext <<_ACEOF
2430/* confdefs.h. */
2431_ACEOF
2432cat confdefs.h >>conftest.$ac_ext
2433cat >>conftest.$ac_ext <<_ACEOF
2434/* end confdefs.h. */
2435#include <sys/types.h>
2436#include <sys/param.h>
2437
2438int
2439main ()
2440{
2441#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2442 bogus endian macros
2443#endif
2444
2445 ;
2446 return 0;
2447}
2448_ACEOF
2449rm -f conftest.$ac_objext
2450if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2451 (eval $ac_compile) 2>conftest.er1
2452 ac_status=$?
2453 grep -v '^ *+' conftest.er1 >conftest.err
2454 rm -f conftest.er1
2455 cat conftest.err >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try='test -z "$ac_c_werror_flag"
2459 || test ! -s conftest.err'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 (eval $ac_try) 2>&5
2462 ac_status=$?
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; } &&
2465 { ac_try='test -s conftest.$ac_objext'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 (eval $ac_try) 2>&5
2468 ac_status=$?
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2471 # It does; now see whether it defined to BIG_ENDIAN or not.
2472cat >conftest.$ac_ext <<_ACEOF
2473/* confdefs.h. */
2474_ACEOF
2475cat confdefs.h >>conftest.$ac_ext
2476cat >>conftest.$ac_ext <<_ACEOF
2477/* end confdefs.h. */
2478#include <sys/types.h>
2479#include <sys/param.h>
2480
2481int
2482main ()
2483{
2484#if BYTE_ORDER != BIG_ENDIAN
2485 not big endian
2486#endif
2487
2488 ;
2489 return 0;
2490}
2491_ACEOF
2492rm -f conftest.$ac_objext
2493if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 (eval $ac_compile) 2>conftest.er1
2495 ac_status=$?
2496 grep -v '^ *+' conftest.er1 >conftest.err
2497 rm -f conftest.er1
2498 cat conftest.err >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); } &&
2501 { ac_try='test -z "$ac_c_werror_flag"
2502 || test ! -s conftest.err'
2503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2504 (eval $ac_try) 2>&5
2505 ac_status=$?
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; } &&
2508 { ac_try='test -s conftest.$ac_objext'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 (eval $ac_try) 2>&5
2511 ac_status=$?
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; }; then
2514 ac_cv_c_bigendian=yes
2515else
2516 echo "$as_me: failed program was:" >&5
2517sed 's/^/| /' conftest.$ac_ext >&5
2518
2519ac_cv_c_bigendian=no
2520fi
2521rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2522else
2523 echo "$as_me: failed program was:" >&5
2524sed 's/^/| /' conftest.$ac_ext >&5
2525
2526# It does not; compile a test program.
2527if test "$cross_compiling" = yes; then
2528 # try to guess the endianness by grepping values into an object file
2529 ac_cv_c_bigendian=unknown
2530 cat >conftest.$ac_ext <<_ACEOF
2531/* confdefs.h. */
2532_ACEOF
2533cat confdefs.h >>conftest.$ac_ext
2534cat >>conftest.$ac_ext <<_ACEOF
2535/* end confdefs.h. */
2536short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2537short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2538void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2539short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2540short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2541void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2542int
2543main ()
2544{
2545 _ascii (); _ebcdic ();
2546 ;
2547 return 0;
2548}
2549_ACEOF
2550rm -f conftest.$ac_objext
2551if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>conftest.er1
2553 ac_status=$?
2554 grep -v '^ *+' conftest.er1 >conftest.err
2555 rm -f conftest.er1
2556 cat conftest.err >&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); } &&
2559 { ac_try='test -z "$ac_c_werror_flag"
2560 || test ! -s conftest.err'
2561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 (eval $ac_try) 2>&5
2563 ac_status=$?
2564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565 (exit $ac_status); }; } &&
2566 { ac_try='test -s conftest.$ac_objext'
2567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 (eval $ac_try) 2>&5
2569 ac_status=$?
2570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; }; then
2572 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2573 ac_cv_c_bigendian=yes
2574fi
2575if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2576 if test "$ac_cv_c_bigendian" = unknown; then
2577 ac_cv_c_bigendian=no
2578 else
2579 # finding both strings is unlikely to happen, but who knows?
2580 ac_cv_c_bigendian=unknown
2581 fi
2582fi
2583else
2584 echo "$as_me: failed program was:" >&5
2585sed 's/^/| /' conftest.$ac_ext >&5
2586
2587fi
2588rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2589else
2590 cat >conftest.$ac_ext <<_ACEOF
2591/* confdefs.h. */
2592_ACEOF
2593cat confdefs.h >>conftest.$ac_ext
2594cat >>conftest.$ac_ext <<_ACEOF
2595/* end confdefs.h. */
2596int
2597main ()
2598{
2599 /* Are we little or big endian? From Harbison&Steele. */
2600 union
2601 {
2602 long l;
2603 char c[sizeof (long)];
2604 } u;
2605 u.l = 1;
2606 exit (u.c[sizeof (long) - 1] == 1);
2607}
2608_ACEOF
2609rm -f conftest$ac_exeext
2610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2611 (eval $ac_link) 2>&5
2612 ac_status=$?
2613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2616 (eval $ac_try) 2>&5
2617 ac_status=$?
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); }; }; then
2620 ac_cv_c_bigendian=no
2621else
2622 echo "$as_me: program exited with status $ac_status" >&5
2623echo "$as_me: failed program was:" >&5
2624sed 's/^/| /' conftest.$ac_ext >&5
2625
2626( exit $ac_status )
2627ac_cv_c_bigendian=yes
2628fi
2629rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2630fi
2631fi
2632rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2633fi
2634echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2635echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2636case $ac_cv_c_bigendian in
2637 yes)
2638
2639cat >>confdefs.h <<\_ACEOF
2640#define WORDS_BIGENDIAN 1
2641_ACEOF
2642 ;;
2643 no)
2644 ;;
2645 *)
2646 { { echo "$as_me:$LINENO: error: unknown endianness
2647presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2648echo "$as_me: error: unknown endianness
2649presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2650 { (exit 1); exit 1; }; } ;;
2651esac
2652
2653
2654# Make sure we can run config.sub.
2655$ac_config_sub sun4 >/dev/null 2>&1 ||
2656 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2657echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2658 { (exit 1); exit 1; }; }
2659
2660echo "$as_me:$LINENO: checking build system type" >&5
2661echo $ECHO_N "checking build system type... $ECHO_C" >&6
2662if test "${ac_cv_build+set}" = set; then
2663 echo $ECHO_N "(cached) $ECHO_C" >&6
2664else
2665 ac_cv_build_alias=$build_alias
2666test -z "$ac_cv_build_alias" &&
2667 ac_cv_build_alias=`$ac_config_guess`
2668test -z "$ac_cv_build_alias" &&
2669 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2670echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2671 { (exit 1); exit 1; }; }
2672ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2673 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2674echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2675 { (exit 1); exit 1; }; }
2676
2677fi
2678echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2679echo "${ECHO_T}$ac_cv_build" >&6
2680build=$ac_cv_build
2681build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2682build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2683build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2684
2685
2686echo "$as_me:$LINENO: checking host system type" >&5
2687echo $ECHO_N "checking host system type... $ECHO_C" >&6
2688if test "${ac_cv_host+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2690else
2691 ac_cv_host_alias=$host_alias
2692test -z "$ac_cv_host_alias" &&
2693 ac_cv_host_alias=$ac_cv_build_alias
2694ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2695 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2696echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2697 { (exit 1); exit 1; }; }
2698
2699fi
2700echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2701echo "${ECHO_T}$ac_cv_host" >&6
2702host=$ac_cv_host
2703host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2704host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2705host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2706
2707
2708
2709case $host_cpu in
2710 i*86 )
2711
2712cat >>confdefs.h <<\_ACEOF
2713#define CPU_CISC 1
2714_ACEOF
2715
2716
2717cat >>confdefs.h <<\_ACEOF
2718#define HAVE_X86 1
2719_ACEOF
2720;;
2721 * )
2722 # CPU_RISC is only supported for big endian machines.
2723 if test "$ac_cv_c_bigendian" = "yes"; then
2724
2725cat >>confdefs.h <<\_ACEOF
2726#define CPU_RISC 1
2727_ACEOF
2728
2729 else
2730 cat >>confdefs.h <<\_ACEOF
2731#define CPU_CISC 1
2732_ACEOF
2733
2734 fi
2735 ;;
2736esac
2737
2738case $host_os in
2739 *cygwin*|*mingw* )
2740 EXE=.exe
2741 HOST_IS_WINDOWS=yes
2742 ;;
2743 * )
2744 EXE=""
2745 ;;
2746esac
2747 # define executable suffix; this is needed for `make clean'
2748
2749
2750# Check whether --enable-kernel-linux or --disable-kernel-linux was given.
2751if test "${enable_kernel_linux+set}" = set; then
2752 enableval="$enable_kernel_linux"
2753
2754else
2755 enable_kernel_linux=no
2756fi;
2757echo "$as_me:$LINENO: checking whether to build for Linux kernel context" >&5
2758echo $ECHO_N "checking whether to build for Linux kernel context... $ECHO_C" >&6
2759if test "$enable_kernel_linux" = "yes"; then
2760
2761cat >>confdefs.h <<\_ACEOF
2762#define SRTP_KERNEL 1
2763_ACEOF
2764
2765
2766cat >>confdefs.h <<\_ACEOF
2767#define SRTP_KERNEL_LINUX 1
2768_ACEOF
2769
2770fi
2771echo "$as_me:$LINENO: result: $enable_kernel_linux" >&5
2772echo "${ECHO_T}$enable_kernel_linux" >&6
2773
2774if test "$cross_compiling" != yes -a "$HOST_IS_WINDOWS" != yes; then
2775 echo "$as_me:$LINENO: checking for /dev/urandom" >&5
2776echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6
2777if test "${ac_cv_file__dev_urandom+set}" = set; then
2778 echo $ECHO_N "(cached) $ECHO_C" >&6
2779else
2780 test "$cross_compiling" = yes &&
2781 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2782echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2783 { (exit 1); exit 1; }; }
2784if test -r "/dev/urandom"; then
2785 ac_cv_file__dev_urandom=yes
2786else
2787 ac_cv_file__dev_urandom=no
2788fi
2789fi
2790echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
2791echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6
2792if test $ac_cv_file__dev_urandom = yes; then
2793 DEV_URANDOM=/dev/urandom
2794else
2795 echo "$as_me:$LINENO: checking for /dev/random" >&5
2796echo $ECHO_N "checking for /dev/random... $ECHO_C" >&6
2797if test "${ac_cv_file__dev_random+set}" = set; then
2798 echo $ECHO_N "(cached) $ECHO_C" >&6
2799else
2800 test "$cross_compiling" = yes &&
2801 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2802echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2803 { (exit 1); exit 1; }; }
2804if test -r "/dev/random"; then
2805 ac_cv_file__dev_random=yes
2806else
2807 ac_cv_file__dev_random=no
2808fi
2809fi
2810echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&5
2811echo "${ECHO_T}$ac_cv_file__dev_random" >&6
2812if test $ac_cv_file__dev_random = yes; then
2813 DEV_URANDOM=/dev/random
2814fi
2815
2816fi
2817
2818fi
2819
2820echo "$as_me:$LINENO: checking which random device to use" >&5
2821echo $ECHO_N "checking which random device to use... $ECHO_C" >&6
2822if test "$enable_kernel_linux" = "yes"; then
2823 RNG_OBJS=rand_linux_kernel.o
2824 echo "$as_me:$LINENO: result: Linux kernel builtin" >&5
2825echo "${ECHO_T}Linux kernel builtin" >&6
2826else
2827 RNG_OBJS=rand_source.o
2828 if test -n "$DEV_URANDOM"; then
2829
2830cat >>confdefs.h <<_ACEOF
2831#define DEV_URANDOM "$DEV_URANDOM"
2832_ACEOF
2833
2834 echo "$as_me:$LINENO: result: $DEV_URANDOM" >&5
2835echo "${ECHO_T}$DEV_URANDOM" >&6
2836 else
2837 echo "$as_me:$LINENO: result: standard rand() function..." >&5
2838echo "${ECHO_T}standard rand() function..." >&6
2839 fi
2840fi
2841
2842
2843
2844ac_ext=c
2845ac_cpp='$CPP $CPPFLAGS'
2846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2848ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2850echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2851# On Suns, sometimes $CPP names a directory.
2852if test -n "$CPP" && test -d "$CPP"; then
2853 CPP=
2854fi
2855if test -z "$CPP"; then
2856 if test "${ac_cv_prog_CPP+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2858else
2859 # Double quotes because CPP needs to be expanded
2860 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2861 do
2862 ac_preproc_ok=false
2863for ac_c_preproc_warn_flag in '' yes
2864do
2865 # Use a header file that comes with gcc, so configuring glibc
2866 # with a fresh cross-compiler works.
2867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2868 # <limits.h> exists even on freestanding compilers.
2869 # On the NeXT, cc -E runs the code through the compiler's parser,
2870 # not just through cpp. "Syntax error" is here to catch this case.
2871 cat >conftest.$ac_ext <<_ACEOF
2872/* confdefs.h. */
2873_ACEOF
2874cat confdefs.h >>conftest.$ac_ext
2875cat >>conftest.$ac_ext <<_ACEOF
2876/* end confdefs.h. */
2877#ifdef __STDC__
2878# include <limits.h>
2879#else
2880# include <assert.h>
2881#endif
2882 Syntax error
2883_ACEOF
2884if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2886 ac_status=$?
2887 grep -v '^ *+' conftest.er1 >conftest.err
2888 rm -f conftest.er1
2889 cat conftest.err >&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } >/dev/null; then
2892 if test -s conftest.err; then
2893 ac_cpp_err=$ac_c_preproc_warn_flag
2894 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2895 else
2896 ac_cpp_err=
2897 fi
2898else
2899 ac_cpp_err=yes
2900fi
2901if test -z "$ac_cpp_err"; then
2902 :
2903else
2904 echo "$as_me: failed program was:" >&5
2905sed 's/^/| /' conftest.$ac_ext >&5
2906
2907 # Broken: fails on valid input.
2908continue
2909fi
2910rm -f conftest.err conftest.$ac_ext
2911
2912 # OK, works on sane cases. Now check whether non-existent headers
2913 # can be detected and how.
2914 cat >conftest.$ac_ext <<_ACEOF
2915/* confdefs.h. */
2916_ACEOF
2917cat confdefs.h >>conftest.$ac_ext
2918cat >>conftest.$ac_ext <<_ACEOF
2919/* end confdefs.h. */
2920#include <ac_nonexistent.h>
2921_ACEOF
2922if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2924 ac_status=$?
2925 grep -v '^ *+' conftest.er1 >conftest.err
2926 rm -f conftest.er1
2927 cat conftest.err >&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } >/dev/null; then
2930 if test -s conftest.err; then
2931 ac_cpp_err=$ac_c_preproc_warn_flag
2932 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2933 else
2934 ac_cpp_err=
2935 fi
2936else
2937 ac_cpp_err=yes
2938fi
2939if test -z "$ac_cpp_err"; then
2940 # Broken: success on invalid input.
2941continue
2942else
2943 echo "$as_me: failed program was:" >&5
2944sed 's/^/| /' conftest.$ac_ext >&5
2945
2946 # Passes both tests.
2947ac_preproc_ok=:
2948break
2949fi
2950rm -f conftest.err conftest.$ac_ext
2951
2952done
2953# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2954rm -f conftest.err conftest.$ac_ext
2955if $ac_preproc_ok; then
2956 break
2957fi
2958
2959 done
2960 ac_cv_prog_CPP=$CPP
2961
2962fi
2963 CPP=$ac_cv_prog_CPP
2964else
2965 ac_cv_prog_CPP=$CPP
2966fi
2967echo "$as_me:$LINENO: result: $CPP" >&5
2968echo "${ECHO_T}$CPP" >&6
2969ac_preproc_ok=false
2970for ac_c_preproc_warn_flag in '' yes
2971do
2972 # Use a header file that comes with gcc, so configuring glibc
2973 # with a fresh cross-compiler works.
2974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2975 # <limits.h> exists even on freestanding compilers.
2976 # On the NeXT, cc -E runs the code through the compiler's parser,
2977 # not just through cpp. "Syntax error" is here to catch this case.
2978 cat >conftest.$ac_ext <<_ACEOF
2979/* confdefs.h. */
2980_ACEOF
2981cat confdefs.h >>conftest.$ac_ext
2982cat >>conftest.$ac_ext <<_ACEOF
2983/* end confdefs.h. */
2984#ifdef __STDC__
2985# include <limits.h>
2986#else
2987# include <assert.h>
2988#endif
2989 Syntax error
2990_ACEOF
2991if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2993 ac_status=$?
2994 grep -v '^ *+' conftest.er1 >conftest.err
2995 rm -f conftest.er1
2996 cat conftest.err >&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } >/dev/null; then
2999 if test -s conftest.err; then
3000 ac_cpp_err=$ac_c_preproc_warn_flag
3001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3002 else
3003 ac_cpp_err=
3004 fi
3005else
3006 ac_cpp_err=yes
3007fi
3008if test -z "$ac_cpp_err"; then
3009 :
3010else
3011 echo "$as_me: failed program was:" >&5
3012sed 's/^/| /' conftest.$ac_ext >&5
3013
3014 # Broken: fails on valid input.
3015continue
3016fi
3017rm -f conftest.err conftest.$ac_ext
3018
3019 # OK, works on sane cases. Now check whether non-existent headers
3020 # can be detected and how.
3021 cat >conftest.$ac_ext <<_ACEOF
3022/* confdefs.h. */
3023_ACEOF
3024cat confdefs.h >>conftest.$ac_ext
3025cat >>conftest.$ac_ext <<_ACEOF
3026/* end confdefs.h. */
3027#include <ac_nonexistent.h>
3028_ACEOF
3029if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3031 ac_status=$?
3032 grep -v '^ *+' conftest.er1 >conftest.err
3033 rm -f conftest.er1
3034 cat conftest.err >&5
3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036 (exit $ac_status); } >/dev/null; then
3037 if test -s conftest.err; then
3038 ac_cpp_err=$ac_c_preproc_warn_flag
3039 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3040 else
3041 ac_cpp_err=
3042 fi
3043else
3044 ac_cpp_err=yes
3045fi
3046if test -z "$ac_cpp_err"; then
3047 # Broken: success on invalid input.
3048continue
3049else
3050 echo "$as_me: failed program was:" >&5
3051sed 's/^/| /' conftest.$ac_ext >&5
3052
3053 # Passes both tests.
3054ac_preproc_ok=:
3055break
3056fi
3057rm -f conftest.err conftest.$ac_ext
3058
3059done
3060# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3061rm -f conftest.err conftest.$ac_ext
3062if $ac_preproc_ok; then
3063 :
3064else
3065 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3066See \`config.log' for more details." >&5
3067echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3068See \`config.log' for more details." >&2;}
3069 { (exit 1); exit 1; }; }
3070fi
3071
3072ac_ext=c
3073ac_cpp='$CPP $CPPFLAGS'
3074ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3075ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3076ac_compiler_gnu=$ac_cv_c_compiler_gnu
3077
3078
3079echo "$as_me:$LINENO: checking for egrep" >&5
3080echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3081if test "${ac_cv_prog_egrep+set}" = set; then
3082 echo $ECHO_N "(cached) $ECHO_C" >&6
3083else
3084 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3085 then ac_cv_prog_egrep='grep -E'
3086 else ac_cv_prog_egrep='egrep'
3087 fi
3088fi
3089echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3090echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3091 EGREP=$ac_cv_prog_egrep
3092
3093
3094echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3095echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3096if test "${ac_cv_header_stdc+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3098else
3099 cat >conftest.$ac_ext <<_ACEOF
3100/* confdefs.h. */
3101_ACEOF
3102cat confdefs.h >>conftest.$ac_ext
3103cat >>conftest.$ac_ext <<_ACEOF
3104/* end confdefs.h. */
3105#include <stdlib.h>
3106#include <stdarg.h>
3107#include <string.h>
3108#include <float.h>
3109
3110int
3111main ()
3112{
3113
3114 ;
3115 return 0;
3116}
3117_ACEOF
3118rm -f conftest.$ac_objext
3119if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3120 (eval $ac_compile) 2>conftest.er1
3121 ac_status=$?
3122 grep -v '^ *+' conftest.er1 >conftest.err
3123 rm -f conftest.er1
3124 cat conftest.err >&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try='test -z "$ac_c_werror_flag"
3128 || test ! -s conftest.err'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3130 (eval $ac_try) 2>&5
3131 ac_status=$?
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; } &&
3134 { ac_try='test -s conftest.$ac_objext'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 (eval $ac_try) 2>&5
3137 ac_status=$?
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; }; then
3140 ac_cv_header_stdc=yes
3141else
3142 echo "$as_me: failed program was:" >&5
3143sed 's/^/| /' conftest.$ac_ext >&5
3144
3145ac_cv_header_stdc=no
3146fi
3147rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3148
3149if test $ac_cv_header_stdc = yes; then
3150 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3151 cat >conftest.$ac_ext <<_ACEOF
3152/* confdefs.h. */
3153_ACEOF
3154cat confdefs.h >>conftest.$ac_ext
3155cat >>conftest.$ac_ext <<_ACEOF
3156/* end confdefs.h. */
3157#include <string.h>
3158
3159_ACEOF
3160if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3161 $EGREP "memchr" >/dev/null 2>&1; then
3162 :
3163else
3164 ac_cv_header_stdc=no
3165fi
3166rm -f conftest*
3167
3168fi
3169
3170if test $ac_cv_header_stdc = yes; then
3171 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3172 cat >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#include <stdlib.h>
3179
3180_ACEOF
3181if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3182 $EGREP "free" >/dev/null 2>&1; then
3183 :
3184else
3185 ac_cv_header_stdc=no
3186fi
3187rm -f conftest*
3188
3189fi
3190
3191if test $ac_cv_header_stdc = yes; then
3192 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3193 if test "$cross_compiling" = yes; then
3194 :
3195else
3196 cat >conftest.$ac_ext <<_ACEOF
3197/* confdefs.h. */
3198_ACEOF
3199cat confdefs.h >>conftest.$ac_ext
3200cat >>conftest.$ac_ext <<_ACEOF
3201/* end confdefs.h. */
3202#include <ctype.h>
3203#if ((' ' & 0x0FF) == 0x020)
3204# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3205# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3206#else
3207# define ISLOWER(c) \
3208 (('a' <= (c) && (c) <= 'i') \
3209 || ('j' <= (c) && (c) <= 'r') \
3210 || ('s' <= (c) && (c) <= 'z'))
3211# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3212#endif
3213
3214#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3215int
3216main ()
3217{
3218 int i;
3219 for (i = 0; i < 256; i++)
3220 if (XOR (islower (i), ISLOWER (i))
3221 || toupper (i) != TOUPPER (i))
3222 exit(2);
3223 exit (0);
3224}
3225_ACEOF
3226rm -f conftest$ac_exeext
3227if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3228 (eval $ac_link) 2>&5
3229 ac_status=$?
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 (eval $ac_try) 2>&5
3234 ac_status=$?
3235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); }; }; then
3237 :
3238else
3239 echo "$as_me: program exited with status $ac_status" >&5
3240echo "$as_me: failed program was:" >&5
3241sed 's/^/| /' conftest.$ac_ext >&5
3242
3243( exit $ac_status )
3244ac_cv_header_stdc=no
3245fi
3246rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3247fi
3248fi
3249fi
3250echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3251echo "${ECHO_T}$ac_cv_header_stdc" >&6
3252if test $ac_cv_header_stdc = yes; then
3253
3254cat >>confdefs.h <<\_ACEOF
3255#define STDC_HEADERS 1
3256_ACEOF
3257
3258fi
3259
3260# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3271 inttypes.h stdint.h unistd.h
3272do
3273as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3274echo "$as_me:$LINENO: checking for $ac_header" >&5
3275echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3276if eval "test \"\${$as_ac_Header+set}\" = set"; then
3277 echo $ECHO_N "(cached) $ECHO_C" >&6
3278else
3279 cat >conftest.$ac_ext <<_ACEOF
3280/* confdefs.h. */
3281_ACEOF
3282cat confdefs.h >>conftest.$ac_ext
3283cat >>conftest.$ac_ext <<_ACEOF
3284/* end confdefs.h. */
3285$ac_includes_default
3286
3287#include <$ac_header>
3288_ACEOF
3289rm -f conftest.$ac_objext
3290if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3291 (eval $ac_compile) 2>conftest.er1
3292 ac_status=$?
3293 grep -v '^ *+' conftest.er1 >conftest.err
3294 rm -f conftest.er1
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try='test -z "$ac_c_werror_flag"
3299 || test ! -s conftest.err'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 (eval $ac_try) 2>&5
3302 ac_status=$?
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; } &&
3305 { ac_try='test -s conftest.$ac_objext'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 (eval $ac_try) 2>&5
3308 ac_status=$?
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; }; then
3311 eval "$as_ac_Header=yes"
3312else
3313 echo "$as_me: failed program was:" >&5
3314sed 's/^/| /' conftest.$ac_ext >&5
3315
3316eval "$as_ac_Header=no"
3317fi
3318rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3319fi
3320echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3321echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3322if test `eval echo '${'$as_ac_Header'}'` = yes; then
3323 cat >>confdefs.h <<_ACEOF
3324#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3325_ACEOF
3326
3327fi
3328
3329done
3330
3331
3332
3333for ac_header in stdlib.h
3334do
3335as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3336if eval "test \"\${$as_ac_Header+set}\" = set"; then
3337 echo "$as_me:$LINENO: checking for $ac_header" >&5
3338echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3339if eval "test \"\${$as_ac_Header+set}\" = set"; then
3340 echo $ECHO_N "(cached) $ECHO_C" >&6
3341fi
3342echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3343echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3344else
3345 # Is the header compilable?
3346echo "$as_me:$LINENO: checking $ac_header usability" >&5
3347echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3348cat >conftest.$ac_ext <<_ACEOF
3349/* confdefs.h. */
3350_ACEOF
3351cat confdefs.h >>conftest.$ac_ext
3352cat >>conftest.$ac_ext <<_ACEOF
3353/* end confdefs.h. */
3354$ac_includes_default
3355#include <$ac_header>
3356_ACEOF
3357rm -f conftest.$ac_objext
3358if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>conftest.er1
3360 ac_status=$?
3361 grep -v '^ *+' conftest.er1 >conftest.err
3362 rm -f conftest.er1
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } &&
3366 { ac_try='test -z "$ac_c_werror_flag"
3367 || test ! -s conftest.err'
3368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3369 (eval $ac_try) 2>&5
3370 ac_status=$?
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); }; } &&
3373 { ac_try='test -s conftest.$ac_objext'
3374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 (eval $ac_try) 2>&5
3376 ac_status=$?
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); }; }; then
3379 ac_header_compiler=yes
3380else
3381 echo "$as_me: failed program was:" >&5
3382sed 's/^/| /' conftest.$ac_ext >&5
3383
3384ac_header_compiler=no
3385fi
3386rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3387echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3388echo "${ECHO_T}$ac_header_compiler" >&6
3389
3390# Is the header present?
3391echo "$as_me:$LINENO: checking $ac_header presence" >&5
3392echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3393cat >conftest.$ac_ext <<_ACEOF
3394/* confdefs.h. */
3395_ACEOF
3396cat confdefs.h >>conftest.$ac_ext
3397cat >>conftest.$ac_ext <<_ACEOF
3398/* end confdefs.h. */
3399#include <$ac_header>
3400_ACEOF
3401if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3403 ac_status=$?
3404 grep -v '^ *+' conftest.er1 >conftest.err
3405 rm -f conftest.er1
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev/null; then
3409 if test -s conftest.err; then
3410 ac_cpp_err=$ac_c_preproc_warn_flag
3411 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3412 else
3413 ac_cpp_err=
3414 fi
3415else
3416 ac_cpp_err=yes
3417fi
3418if test -z "$ac_cpp_err"; then
3419 ac_header_preproc=yes
3420else
3421 echo "$as_me: failed program was:" >&5
3422sed 's/^/| /' conftest.$ac_ext >&5
3423
3424 ac_header_preproc=no
3425fi
3426rm -f conftest.err conftest.$ac_ext
3427echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3428echo "${ECHO_T}$ac_header_preproc" >&6
3429
3430# So? What about this header?
3431case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3432 yes:no: )
3433 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3434echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3436echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3437 ac_header_preproc=yes
3438 ;;
3439 no:yes:* )
3440 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3441echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3442 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3443echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3444 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3445echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3446 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3447echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3449echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3450 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3451echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3452 (
3453 cat <<\_ASBOX
3454## ------------------------------------------ ##
3455## Report this to the AC_PACKAGE_NAME lists. ##
3456## ------------------------------------------ ##
3457_ASBOX
3458 ) |
3459 sed "s/^/$as_me: WARNING: /" >&2
3460 ;;
3461esac
3462echo "$as_me:$LINENO: checking for $ac_header" >&5
3463echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3464if eval "test \"\${$as_ac_Header+set}\" = set"; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3466else
3467 eval "$as_ac_Header=\$ac_header_preproc"
3468fi
3469echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3470echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3471
3472fi
3473if test `eval echo '${'$as_ac_Header'}'` = yes; then
3474 cat >>confdefs.h <<_ACEOF
3475#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3476_ACEOF
3477
3478fi
3479
3480done
3481
3482
3483for ac_header in unistd.h
3484do
3485as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3486if eval "test \"\${$as_ac_Header+set}\" = set"; then
3487 echo "$as_me:$LINENO: checking for $ac_header" >&5
3488echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3489if eval "test \"\${$as_ac_Header+set}\" = set"; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3491fi
3492echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3493echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3494else
3495 # Is the header compilable?
3496echo "$as_me:$LINENO: checking $ac_header usability" >&5
3497echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3498cat >conftest.$ac_ext <<_ACEOF
3499/* confdefs.h. */
3500_ACEOF
3501cat confdefs.h >>conftest.$ac_ext
3502cat >>conftest.$ac_ext <<_ACEOF
3503/* end confdefs.h. */
3504$ac_includes_default
3505#include <$ac_header>
3506_ACEOF
3507rm -f conftest.$ac_objext
3508if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3509 (eval $ac_compile) 2>conftest.er1
3510 ac_status=$?
3511 grep -v '^ *+' conftest.er1 >conftest.err
3512 rm -f conftest.er1
3513 cat conftest.err >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } &&
3516 { ac_try='test -z "$ac_c_werror_flag"
3517 || test ! -s conftest.err'
3518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3519 (eval $ac_try) 2>&5
3520 ac_status=$?
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); }; } &&
3523 { ac_try='test -s conftest.$ac_objext'
3524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3525 (eval $ac_try) 2>&5
3526 ac_status=$?
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); }; }; then
3529 ac_header_compiler=yes
3530else
3531 echo "$as_me: failed program was:" >&5
3532sed 's/^/| /' conftest.$ac_ext >&5
3533
3534ac_header_compiler=no
3535fi
3536rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3537echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3538echo "${ECHO_T}$ac_header_compiler" >&6
3539
3540# Is the header present?
3541echo "$as_me:$LINENO: checking $ac_header presence" >&5
3542echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3543cat >conftest.$ac_ext <<_ACEOF
3544/* confdefs.h. */
3545_ACEOF
3546cat confdefs.h >>conftest.$ac_ext
3547cat >>conftest.$ac_ext <<_ACEOF
3548/* end confdefs.h. */
3549#include <$ac_header>
3550_ACEOF
3551if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3553 ac_status=$?
3554 grep -v '^ *+' conftest.er1 >conftest.err
3555 rm -f conftest.er1
3556 cat conftest.err >&5
3557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null; then
3559 if test -s conftest.err; then
3560 ac_cpp_err=$ac_c_preproc_warn_flag
3561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3562 else
3563 ac_cpp_err=
3564 fi
3565else
3566 ac_cpp_err=yes
3567fi
3568if test -z "$ac_cpp_err"; then
3569 ac_header_preproc=yes
3570else
3571 echo "$as_me: failed program was:" >&5
3572sed 's/^/| /' conftest.$ac_ext >&5
3573
3574 ac_header_preproc=no
3575fi
3576rm -f conftest.err conftest.$ac_ext
3577echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3578echo "${ECHO_T}$ac_header_preproc" >&6
3579
3580# So? What about this header?
3581case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3582 yes:no: )
3583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3584echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3586echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3587 ac_header_preproc=yes
3588 ;;
3589 no:yes:* )
3590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3591echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3593echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3595echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3597echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3599echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3601echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3602 (
3603 cat <<\_ASBOX
3604## ------------------------------------------ ##
3605## Report this to the AC_PACKAGE_NAME lists. ##
3606## ------------------------------------------ ##
3607_ASBOX
3608 ) |
3609 sed "s/^/$as_me: WARNING: /" >&2
3610 ;;
3611esac
3612echo "$as_me:$LINENO: checking for $ac_header" >&5
3613echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3614if eval "test \"\${$as_ac_Header+set}\" = set"; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3616else
3617 eval "$as_ac_Header=\$ac_header_preproc"
3618fi
3619echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3620echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3621
3622fi
3623if test `eval echo '${'$as_ac_Header'}'` = yes; then
3624 cat >>confdefs.h <<_ACEOF
3625#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3626_ACEOF
3627
3628fi
3629
3630done
3631
3632
3633for ac_header in byteswap.h
3634do
3635as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3636if eval "test \"\${$as_ac_Header+set}\" = set"; then
3637 echo "$as_me:$LINENO: checking for $ac_header" >&5
3638echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3639if eval "test \"\${$as_ac_Header+set}\" = set"; then
3640 echo $ECHO_N "(cached) $ECHO_C" >&6
3641fi
3642echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3643echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3644else
3645 # Is the header compilable?
3646echo "$as_me:$LINENO: checking $ac_header usability" >&5
3647echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3648cat >conftest.$ac_ext <<_ACEOF
3649/* confdefs.h. */
3650_ACEOF
3651cat confdefs.h >>conftest.$ac_ext
3652cat >>conftest.$ac_ext <<_ACEOF
3653/* end confdefs.h. */
3654$ac_includes_default
3655#include <$ac_header>
3656_ACEOF
3657rm -f conftest.$ac_objext
3658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3659 (eval $ac_compile) 2>conftest.er1
3660 ac_status=$?
3661 grep -v '^ *+' conftest.er1 >conftest.err
3662 rm -f conftest.er1
3663 cat conftest.err >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 (eval $ac_try) 2>&5
3670 ac_status=$?
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try='test -s conftest.$ac_objext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 (eval $ac_try) 2>&5
3676 ac_status=$?
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_header_compiler=yes
3680else
3681 echo "$as_me: failed program was:" >&5
3682sed 's/^/| /' conftest.$ac_ext >&5
3683
3684ac_header_compiler=no
3685fi
3686rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3687echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3688echo "${ECHO_T}$ac_header_compiler" >&6
3689
3690# Is the header present?
3691echo "$as_me:$LINENO: checking $ac_header presence" >&5
3692echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3693cat >conftest.$ac_ext <<_ACEOF
3694/* confdefs.h. */
3695_ACEOF
3696cat confdefs.h >>conftest.$ac_ext
3697cat >>conftest.$ac_ext <<_ACEOF
3698/* end confdefs.h. */
3699#include <$ac_header>
3700_ACEOF
3701if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3703 ac_status=$?
3704 grep -v '^ *+' conftest.er1 >conftest.err
3705 rm -f conftest.er1
3706 cat conftest.err >&5
3707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3708 (exit $ac_status); } >/dev/null; then
3709 if test -s conftest.err; then
3710 ac_cpp_err=$ac_c_preproc_warn_flag
3711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3712 else
3713 ac_cpp_err=
3714 fi
3715else
3716 ac_cpp_err=yes
3717fi
3718if test -z "$ac_cpp_err"; then
3719 ac_header_preproc=yes
3720else
3721 echo "$as_me: failed program was:" >&5
3722sed 's/^/| /' conftest.$ac_ext >&5
3723
3724 ac_header_preproc=no
3725fi
3726rm -f conftest.err conftest.$ac_ext
3727echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3728echo "${ECHO_T}$ac_header_preproc" >&6
3729
3730# So? What about this header?
3731case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3732 yes:no: )
3733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3734echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3736echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3737 ac_header_preproc=yes
3738 ;;
3739 no:yes:* )
3740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3741echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3743echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3745echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3747echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3749echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3751echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3752 (
3753 cat <<\_ASBOX
3754## ------------------------------------------ ##
3755## Report this to the AC_PACKAGE_NAME lists. ##
3756## ------------------------------------------ ##
3757_ASBOX
3758 ) |
3759 sed "s/^/$as_me: WARNING: /" >&2
3760 ;;
3761esac
3762echo "$as_me:$LINENO: checking for $ac_header" >&5
3763echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3764if eval "test \"\${$as_ac_Header+set}\" = set"; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6
3766else
3767 eval "$as_ac_Header=\$ac_header_preproc"
3768fi
3769echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3770echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3771
3772fi
3773if test `eval echo '${'$as_ac_Header'}'` = yes; then
3774 cat >>confdefs.h <<_ACEOF
3775#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3776_ACEOF
3777
3778fi
3779
3780done
3781
3782
3783for ac_header in stdint.h
3784do
3785as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3786if eval "test \"\${$as_ac_Header+set}\" = set"; then
3787 echo "$as_me:$LINENO: checking for $ac_header" >&5
3788echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3789if eval "test \"\${$as_ac_Header+set}\" = set"; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791fi
3792echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3793echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3794else
3795 # Is the header compilable?
3796echo "$as_me:$LINENO: checking $ac_header usability" >&5
3797echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3798cat >conftest.$ac_ext <<_ACEOF
3799/* confdefs.h. */
3800_ACEOF
3801cat confdefs.h >>conftest.$ac_ext
3802cat >>conftest.$ac_ext <<_ACEOF
3803/* end confdefs.h. */
3804$ac_includes_default
3805#include <$ac_header>
3806_ACEOF
3807rm -f conftest.$ac_objext
3808if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3809 (eval $ac_compile) 2>conftest.er1
3810 ac_status=$?
3811 grep -v '^ *+' conftest.er1 >conftest.err
3812 rm -f conftest.er1
3813 cat conftest.err >&5
3814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 (exit $ac_status); } &&
3816 { ac_try='test -z "$ac_c_werror_flag"
3817 || test ! -s conftest.err'
3818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 (eval $ac_try) 2>&5
3820 ac_status=$?
3821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3822 (exit $ac_status); }; } &&
3823 { ac_try='test -s conftest.$ac_objext'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3825 (eval $ac_try) 2>&5
3826 ac_status=$?
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; }; then
3829 ac_header_compiler=yes
3830else
3831 echo "$as_me: failed program was:" >&5
3832sed 's/^/| /' conftest.$ac_ext >&5
3833
3834ac_header_compiler=no
3835fi
3836rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3837echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3838echo "${ECHO_T}$ac_header_compiler" >&6
3839
3840# Is the header present?
3841echo "$as_me:$LINENO: checking $ac_header presence" >&5
3842echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3843cat >conftest.$ac_ext <<_ACEOF
3844/* confdefs.h. */
3845_ACEOF
3846cat confdefs.h >>conftest.$ac_ext
3847cat >>conftest.$ac_ext <<_ACEOF
3848/* end confdefs.h. */
3849#include <$ac_header>
3850_ACEOF
3851if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3853 ac_status=$?
3854 grep -v '^ *+' conftest.er1 >conftest.err
3855 rm -f conftest.er1
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } >/dev/null; then
3859 if test -s conftest.err; then
3860 ac_cpp_err=$ac_c_preproc_warn_flag
3861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3862 else
3863 ac_cpp_err=
3864 fi
3865else
3866 ac_cpp_err=yes
3867fi
3868if test -z "$ac_cpp_err"; then
3869 ac_header_preproc=yes
3870else
3871 echo "$as_me: failed program was:" >&5
3872sed 's/^/| /' conftest.$ac_ext >&5
3873
3874 ac_header_preproc=no
3875fi
3876rm -f conftest.err conftest.$ac_ext
3877echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3878echo "${ECHO_T}$ac_header_preproc" >&6
3879
3880# So? What about this header?
3881case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3882 yes:no: )
3883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3884echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3886echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3887 ac_header_preproc=yes
3888 ;;
3889 no:yes:* )
3890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3891echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3893echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3895echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3897echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3899echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3901echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3902 (
3903 cat <<\_ASBOX
3904## ------------------------------------------ ##
3905## Report this to the AC_PACKAGE_NAME lists. ##
3906## ------------------------------------------ ##
3907_ASBOX
3908 ) |
3909 sed "s/^/$as_me: WARNING: /" >&2
3910 ;;
3911esac
3912echo "$as_me:$LINENO: checking for $ac_header" >&5
3913echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3914if eval "test \"\${$as_ac_Header+set}\" = set"; then
3915 echo $ECHO_N "(cached) $ECHO_C" >&6
3916else
3917 eval "$as_ac_Header=\$ac_header_preproc"
3918fi
3919echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3920echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3921
3922fi
3923if test `eval echo '${'$as_ac_Header'}'` = yes; then
3924 cat >>confdefs.h <<_ACEOF
3925#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3926_ACEOF
3927
3928fi
3929
3930done
3931
3932
3933for ac_header in sys/uio.h
3934do
3935as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3936if eval "test \"\${$as_ac_Header+set}\" = set"; then
3937 echo "$as_me:$LINENO: checking for $ac_header" >&5
3938echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3939if eval "test \"\${$as_ac_Header+set}\" = set"; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3941fi
3942echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3943echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3944else
3945 # Is the header compilable?
3946echo "$as_me:$LINENO: checking $ac_header usability" >&5
3947echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3948cat >conftest.$ac_ext <<_ACEOF
3949/* confdefs.h. */
3950_ACEOF
3951cat confdefs.h >>conftest.$ac_ext
3952cat >>conftest.$ac_ext <<_ACEOF
3953/* end confdefs.h. */
3954$ac_includes_default
3955#include <$ac_header>
3956_ACEOF
3957rm -f conftest.$ac_objext
3958if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3959 (eval $ac_compile) 2>conftest.er1
3960 ac_status=$?
3961 grep -v '^ *+' conftest.er1 >conftest.err
3962 rm -f conftest.er1
3963 cat conftest.err >&5
3964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965 (exit $ac_status); } &&
3966 { ac_try='test -z "$ac_c_werror_flag"
3967 || test ! -s conftest.err'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3969 (eval $ac_try) 2>&5
3970 ac_status=$?
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; } &&
3973 { ac_try='test -s conftest.$ac_objext'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 (eval $ac_try) 2>&5
3976 ac_status=$?
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3979 ac_header_compiler=yes
3980else
3981 echo "$as_me: failed program was:" >&5
3982sed 's/^/| /' conftest.$ac_ext >&5
3983
3984ac_header_compiler=no
3985fi
3986rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3987echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3988echo "${ECHO_T}$ac_header_compiler" >&6
3989
3990# Is the header present?
3991echo "$as_me:$LINENO: checking $ac_header presence" >&5
3992echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3993cat >conftest.$ac_ext <<_ACEOF
3994/* confdefs.h. */
3995_ACEOF
3996cat confdefs.h >>conftest.$ac_ext
3997cat >>conftest.$ac_ext <<_ACEOF
3998/* end confdefs.h. */
3999#include <$ac_header>
4000_ACEOF
4001if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4003 ac_status=$?
4004 grep -v '^ *+' conftest.er1 >conftest.err
4005 rm -f conftest.er1
4006 cat conftest.err >&5
4007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008 (exit $ac_status); } >/dev/null; then
4009 if test -s conftest.err; then
4010 ac_cpp_err=$ac_c_preproc_warn_flag
4011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4012 else
4013 ac_cpp_err=
4014 fi
4015else
4016 ac_cpp_err=yes
4017fi
4018if test -z "$ac_cpp_err"; then
4019 ac_header_preproc=yes
4020else
4021 echo "$as_me: failed program was:" >&5
4022sed 's/^/| /' conftest.$ac_ext >&5
4023
4024 ac_header_preproc=no
4025fi
4026rm -f conftest.err conftest.$ac_ext
4027echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4028echo "${ECHO_T}$ac_header_preproc" >&6
4029
4030# So? What about this header?
4031case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4032 yes:no: )
4033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4034echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4036echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4037 ac_header_preproc=yes
4038 ;;
4039 no:yes:* )
4040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4041echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4043echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4045echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4047echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4049echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4051echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4052 (
4053 cat <<\_ASBOX
4054## ------------------------------------------ ##
4055## Report this to the AC_PACKAGE_NAME lists. ##
4056## ------------------------------------------ ##
4057_ASBOX
4058 ) |
4059 sed "s/^/$as_me: WARNING: /" >&2
4060 ;;
4061esac
4062echo "$as_me:$LINENO: checking for $ac_header" >&5
4063echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4064if eval "test \"\${$as_ac_Header+set}\" = set"; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066else
4067 eval "$as_ac_Header=\$ac_header_preproc"
4068fi
4069echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4070echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4071
4072fi
4073if test `eval echo '${'$as_ac_Header'}'` = yes; then
4074 cat >>confdefs.h <<_ACEOF
4075#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4076_ACEOF
4077
4078fi
4079
4080done
4081
4082
4083for ac_header in inttypes.h
4084do
4085as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4086if eval "test \"\${$as_ac_Header+set}\" = set"; then
4087 echo "$as_me:$LINENO: checking for $ac_header" >&5
4088echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4089if eval "test \"\${$as_ac_Header+set}\" = set"; then
4090 echo $ECHO_N "(cached) $ECHO_C" >&6
4091fi
4092echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4093echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4094else
4095 # Is the header compilable?
4096echo "$as_me:$LINENO: checking $ac_header usability" >&5
4097echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4098cat >conftest.$ac_ext <<_ACEOF
4099/* confdefs.h. */
4100_ACEOF
4101cat confdefs.h >>conftest.$ac_ext
4102cat >>conftest.$ac_ext <<_ACEOF
4103/* end confdefs.h. */
4104$ac_includes_default
4105#include <$ac_header>
4106_ACEOF
4107rm -f conftest.$ac_objext
4108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4109 (eval $ac_compile) 2>conftest.er1
4110 ac_status=$?
4111 grep -v '^ *+' conftest.er1 >conftest.err
4112 rm -f conftest.er1
4113 cat conftest.err >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } &&
4116 { ac_try='test -z "$ac_c_werror_flag"
4117 || test ! -s conftest.err'
4118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4119 (eval $ac_try) 2>&5
4120 ac_status=$?
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); }; } &&
4123 { ac_try='test -s conftest.$ac_objext'
4124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4125 (eval $ac_try) 2>&5
4126 ac_status=$?
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); }; }; then
4129 ac_header_compiler=yes
4130else
4131 echo "$as_me: failed program was:" >&5
4132sed 's/^/| /' conftest.$ac_ext >&5
4133
4134ac_header_compiler=no
4135fi
4136rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4137echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4138echo "${ECHO_T}$ac_header_compiler" >&6
4139
4140# Is the header present?
4141echo "$as_me:$LINENO: checking $ac_header presence" >&5
4142echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4143cat >conftest.$ac_ext <<_ACEOF
4144/* confdefs.h. */
4145_ACEOF
4146cat confdefs.h >>conftest.$ac_ext
4147cat >>conftest.$ac_ext <<_ACEOF
4148/* end confdefs.h. */
4149#include <$ac_header>
4150_ACEOF
4151if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4153 ac_status=$?
4154 grep -v '^ *+' conftest.er1 >conftest.err
4155 rm -f conftest.er1
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } >/dev/null; then
4159 if test -s conftest.err; then
4160 ac_cpp_err=$ac_c_preproc_warn_flag
4161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4162 else
4163 ac_cpp_err=
4164 fi
4165else
4166 ac_cpp_err=yes
4167fi
4168if test -z "$ac_cpp_err"; then
4169 ac_header_preproc=yes
4170else
4171 echo "$as_me: failed program was:" >&5
4172sed 's/^/| /' conftest.$ac_ext >&5
4173
4174 ac_header_preproc=no
4175fi
4176rm -f conftest.err conftest.$ac_ext
4177echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4178echo "${ECHO_T}$ac_header_preproc" >&6
4179
4180# So? What about this header?
4181case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4182 yes:no: )
4183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4184echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4186echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4187 ac_header_preproc=yes
4188 ;;
4189 no:yes:* )
4190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4191echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4193echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4195echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4197echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4199echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4201echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4202 (
4203 cat <<\_ASBOX
4204## ------------------------------------------ ##
4205## Report this to the AC_PACKAGE_NAME lists. ##
4206## ------------------------------------------ ##
4207_ASBOX
4208 ) |
4209 sed "s/^/$as_me: WARNING: /" >&2
4210 ;;
4211esac
4212echo "$as_me:$LINENO: checking for $ac_header" >&5
4213echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4214if eval "test \"\${$as_ac_Header+set}\" = set"; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4216else
4217 eval "$as_ac_Header=\$ac_header_preproc"
4218fi
4219echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4220echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4221
4222fi
4223if test `eval echo '${'$as_ac_Header'}'` = yes; then
4224 cat >>confdefs.h <<_ACEOF
4225#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4226_ACEOF
4227
4228fi
4229
4230done
4231
4232
4233for ac_header in sys/types.h
4234do
4235as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4236if eval "test \"\${$as_ac_Header+set}\" = set"; then
4237 echo "$as_me:$LINENO: checking for $ac_header" >&5
4238echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4239if eval "test \"\${$as_ac_Header+set}\" = set"; then
4240 echo $ECHO_N "(cached) $ECHO_C" >&6
4241fi
4242echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4243echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4244else
4245 # Is the header compilable?
4246echo "$as_me:$LINENO: checking $ac_header usability" >&5
4247echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4248cat >conftest.$ac_ext <<_ACEOF
4249/* confdefs.h. */
4250_ACEOF
4251cat confdefs.h >>conftest.$ac_ext
4252cat >>conftest.$ac_ext <<_ACEOF
4253/* end confdefs.h. */
4254$ac_includes_default
4255#include <$ac_header>
4256_ACEOF
4257rm -f conftest.$ac_objext
4258if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4259 (eval $ac_compile) 2>conftest.er1
4260 ac_status=$?
4261 grep -v '^ *+' conftest.er1 >conftest.err
4262 rm -f conftest.er1
4263 cat conftest.err >&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); } &&
4266 { ac_try='test -z "$ac_c_werror_flag"
4267 || test ! -s conftest.err'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 (eval $ac_try) 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; } &&
4273 { ac_try='test -s conftest.$ac_objext'
4274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 (eval $ac_try) 2>&5
4276 ac_status=$?
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); }; }; then
4279 ac_header_compiler=yes
4280else
4281 echo "$as_me: failed program was:" >&5
4282sed 's/^/| /' conftest.$ac_ext >&5
4283
4284ac_header_compiler=no
4285fi
4286rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4287echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4288echo "${ECHO_T}$ac_header_compiler" >&6
4289
4290# Is the header present?
4291echo "$as_me:$LINENO: checking $ac_header presence" >&5
4292echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4293cat >conftest.$ac_ext <<_ACEOF
4294/* confdefs.h. */
4295_ACEOF
4296cat confdefs.h >>conftest.$ac_ext
4297cat >>conftest.$ac_ext <<_ACEOF
4298/* end confdefs.h. */
4299#include <$ac_header>
4300_ACEOF
4301if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4302 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4303 ac_status=$?
4304 grep -v '^ *+' conftest.er1 >conftest.err
4305 rm -f conftest.er1
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } >/dev/null; then
4309 if test -s conftest.err; then
4310 ac_cpp_err=$ac_c_preproc_warn_flag
4311 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4312 else
4313 ac_cpp_err=
4314 fi
4315else
4316 ac_cpp_err=yes
4317fi
4318if test -z "$ac_cpp_err"; then
4319 ac_header_preproc=yes
4320else
4321 echo "$as_me: failed program was:" >&5
4322sed 's/^/| /' conftest.$ac_ext >&5
4323
4324 ac_header_preproc=no
4325fi
4326rm -f conftest.err conftest.$ac_ext
4327echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4328echo "${ECHO_T}$ac_header_preproc" >&6
4329
4330# So? What about this header?
4331case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4332 yes:no: )
4333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4334echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4336echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4337 ac_header_preproc=yes
4338 ;;
4339 no:yes:* )
4340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4341echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4343echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4345echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4347echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4349echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4351echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4352 (
4353 cat <<\_ASBOX
4354## ------------------------------------------ ##
4355## Report this to the AC_PACKAGE_NAME lists. ##
4356## ------------------------------------------ ##
4357_ASBOX
4358 ) |
4359 sed "s/^/$as_me: WARNING: /" >&2
4360 ;;
4361esac
4362echo "$as_me:$LINENO: checking for $ac_header" >&5
4363echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4364if eval "test \"\${$as_ac_Header+set}\" = set"; then
4365 echo $ECHO_N "(cached) $ECHO_C" >&6
4366else
4367 eval "$as_ac_Header=\$ac_header_preproc"
4368fi
4369echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4370echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4371
4372fi
4373if test `eval echo '${'$as_ac_Header'}'` = yes; then
4374 cat >>confdefs.h <<_ACEOF
4375#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4376_ACEOF
4377
4378fi
4379
4380done
4381
4382
4383for ac_header in machine/types.h
4384do
4385as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4386if eval "test \"\${$as_ac_Header+set}\" = set"; then
4387 echo "$as_me:$LINENO: checking for $ac_header" >&5
4388echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4389if eval "test \"\${$as_ac_Header+set}\" = set"; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391fi
4392echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4393echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4394else
4395 # Is the header compilable?
4396echo "$as_me:$LINENO: checking $ac_header usability" >&5
4397echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4398cat >conftest.$ac_ext <<_ACEOF
4399/* confdefs.h. */
4400_ACEOF
4401cat confdefs.h >>conftest.$ac_ext
4402cat >>conftest.$ac_ext <<_ACEOF
4403/* end confdefs.h. */
4404$ac_includes_default
4405#include <$ac_header>
4406_ACEOF
4407rm -f conftest.$ac_objext
4408if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4409 (eval $ac_compile) 2>conftest.er1
4410 ac_status=$?
4411 grep -v '^ *+' conftest.er1 >conftest.err
4412 rm -f conftest.er1
4413 cat conftest.err >&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try='test -z "$ac_c_werror_flag"
4417 || test ! -s conftest.err'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419 (eval $ac_try) 2>&5
4420 ac_status=$?
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; } &&
4423 { ac_try='test -s conftest.$ac_objext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4425 (eval $ac_try) 2>&5
4426 ac_status=$?
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 ac_header_compiler=yes
4430else
4431 echo "$as_me: failed program was:" >&5
4432sed 's/^/| /' conftest.$ac_ext >&5
4433
4434ac_header_compiler=no
4435fi
4436rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4437echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4438echo "${ECHO_T}$ac_header_compiler" >&6
4439
4440# Is the header present?
4441echo "$as_me:$LINENO: checking $ac_header presence" >&5
4442echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4443cat >conftest.$ac_ext <<_ACEOF
4444/* confdefs.h. */
4445_ACEOF
4446cat confdefs.h >>conftest.$ac_ext
4447cat >>conftest.$ac_ext <<_ACEOF
4448/* end confdefs.h. */
4449#include <$ac_header>
4450_ACEOF
4451if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4452 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4453 ac_status=$?
4454 grep -v '^ *+' conftest.er1 >conftest.err
4455 rm -f conftest.er1
4456 cat conftest.err >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); } >/dev/null; then
4459 if test -s conftest.err; then
4460 ac_cpp_err=$ac_c_preproc_warn_flag
4461 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4462 else
4463 ac_cpp_err=
4464 fi
4465else
4466 ac_cpp_err=yes
4467fi
4468if test -z "$ac_cpp_err"; then
4469 ac_header_preproc=yes
4470else
4471 echo "$as_me: failed program was:" >&5
4472sed 's/^/| /' conftest.$ac_ext >&5
4473
4474 ac_header_preproc=no
4475fi
4476rm -f conftest.err conftest.$ac_ext
4477echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4478echo "${ECHO_T}$ac_header_preproc" >&6
4479
4480# So? What about this header?
4481case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4482 yes:no: )
4483 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4484echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4486echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4487 ac_header_preproc=yes
4488 ;;
4489 no:yes:* )
4490 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4491echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4492 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4493echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4494 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4495echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4496 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4497echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4498 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4499echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4500 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4501echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4502 (
4503 cat <<\_ASBOX
4504## ------------------------------------------ ##
4505## Report this to the AC_PACKAGE_NAME lists. ##
4506## ------------------------------------------ ##
4507_ASBOX
4508 ) |
4509 sed "s/^/$as_me: WARNING: /" >&2
4510 ;;
4511esac
4512echo "$as_me:$LINENO: checking for $ac_header" >&5
4513echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4514if eval "test \"\${$as_ac_Header+set}\" = set"; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4516else
4517 eval "$as_ac_Header=\$ac_header_preproc"
4518fi
4519echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4520echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4521
4522fi
4523if test `eval echo '${'$as_ac_Header'}'` = yes; then
4524 cat >>confdefs.h <<_ACEOF
4525#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4526_ACEOF
4527
4528fi
4529
4530done
4531
4532
4533for ac_header in sys/int_types.h
4534do
4535as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4536if eval "test \"\${$as_ac_Header+set}\" = set"; then
4537 echo "$as_me:$LINENO: checking for $ac_header" >&5
4538echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4539if eval "test \"\${$as_ac_Header+set}\" = set"; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4541fi
4542echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4543echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4544else
4545 # Is the header compilable?
4546echo "$as_me:$LINENO: checking $ac_header usability" >&5
4547echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4548cat >conftest.$ac_ext <<_ACEOF
4549/* confdefs.h. */
4550_ACEOF
4551cat confdefs.h >>conftest.$ac_ext
4552cat >>conftest.$ac_ext <<_ACEOF
4553/* end confdefs.h. */
4554$ac_includes_default
4555#include <$ac_header>
4556_ACEOF
4557rm -f conftest.$ac_objext
4558if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4559 (eval $ac_compile) 2>conftest.er1
4560 ac_status=$?
4561 grep -v '^ *+' conftest.er1 >conftest.err
4562 rm -f conftest.er1
4563 cat conftest.err >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); } &&
4566 { ac_try='test -z "$ac_c_werror_flag"
4567 || test ! -s conftest.err'
4568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4569 (eval $ac_try) 2>&5
4570 ac_status=$?
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4575 (eval $ac_try) 2>&5
4576 ac_status=$?
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 ac_header_compiler=yes
4580else
4581 echo "$as_me: failed program was:" >&5
4582sed 's/^/| /' conftest.$ac_ext >&5
4583
4584ac_header_compiler=no
4585fi
4586rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4587echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4588echo "${ECHO_T}$ac_header_compiler" >&6
4589
4590# Is the header present?
4591echo "$as_me:$LINENO: checking $ac_header presence" >&5
4592echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4593cat >conftest.$ac_ext <<_ACEOF
4594/* confdefs.h. */
4595_ACEOF
4596cat confdefs.h >>conftest.$ac_ext
4597cat >>conftest.$ac_ext <<_ACEOF
4598/* end confdefs.h. */
4599#include <$ac_header>
4600_ACEOF
4601if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4603 ac_status=$?
4604 grep -v '^ *+' conftest.er1 >conftest.err
4605 rm -f conftest.er1
4606 cat conftest.err >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); } >/dev/null; then
4609 if test -s conftest.err; then
4610 ac_cpp_err=$ac_c_preproc_warn_flag
4611 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4612 else
4613 ac_cpp_err=
4614 fi
4615else
4616 ac_cpp_err=yes
4617fi
4618if test -z "$ac_cpp_err"; then
4619 ac_header_preproc=yes
4620else
4621 echo "$as_me: failed program was:" >&5
4622sed 's/^/| /' conftest.$ac_ext >&5
4623
4624 ac_header_preproc=no
4625fi
4626rm -f conftest.err conftest.$ac_ext
4627echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4628echo "${ECHO_T}$ac_header_preproc" >&6
4629
4630# So? What about this header?
4631case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4632 yes:no: )
4633 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4634echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4635 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4636echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4637 ac_header_preproc=yes
4638 ;;
4639 no:yes:* )
4640 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4641echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4642 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4643echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4644 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4645echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4646 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4647echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4648 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4649echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4650 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4651echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4652 (
4653 cat <<\_ASBOX
4654## ------------------------------------------ ##
4655## Report this to the AC_PACKAGE_NAME lists. ##
4656## ------------------------------------------ ##
4657_ASBOX
4658 ) |
4659 sed "s/^/$as_me: WARNING: /" >&2
4660 ;;
4661esac
4662echo "$as_me:$LINENO: checking for $ac_header" >&5
4663echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4664if eval "test \"\${$as_ac_Header+set}\" = set"; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4666else
4667 eval "$as_ac_Header=\$ac_header_preproc"
4668fi
4669echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4670echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4671
4672fi
4673if test `eval echo '${'$as_ac_Header'}'` = yes; then
4674 cat >>confdefs.h <<_ACEOF
4675#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4676_ACEOF
4677
4678fi
4679
4680done
4681
4682
4683
4684
4685
4686for ac_header in sys/socket.h netinet/in.h arpa/inet.h
4687do
4688as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4689if eval "test \"\${$as_ac_Header+set}\" = set"; then
4690 echo "$as_me:$LINENO: checking for $ac_header" >&5
4691echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4692if eval "test \"\${$as_ac_Header+set}\" = set"; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694fi
4695echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4696echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4697else
4698 # Is the header compilable?
4699echo "$as_me:$LINENO: checking $ac_header usability" >&5
4700echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4701cat >conftest.$ac_ext <<_ACEOF
4702/* confdefs.h. */
4703_ACEOF
4704cat confdefs.h >>conftest.$ac_ext
4705cat >>conftest.$ac_ext <<_ACEOF
4706/* end confdefs.h. */
4707$ac_includes_default
4708#include <$ac_header>
4709_ACEOF
4710rm -f conftest.$ac_objext
4711if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>conftest.er1
4713 ac_status=$?
4714 grep -v '^ *+' conftest.er1 >conftest.err
4715 rm -f conftest.er1
4716 cat conftest.err >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); } &&
4719 { ac_try='test -z "$ac_c_werror_flag"
4720 || test ! -s conftest.err'
4721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 (eval $ac_try) 2>&5
4723 ac_status=$?
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }; } &&
4726 { ac_try='test -s conftest.$ac_objext'
4727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4728 (eval $ac_try) 2>&5
4729 ac_status=$?
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); }; }; then
4732 ac_header_compiler=yes
4733else
4734 echo "$as_me: failed program was:" >&5
4735sed 's/^/| /' conftest.$ac_ext >&5
4736
4737ac_header_compiler=no
4738fi
4739rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4740echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4741echo "${ECHO_T}$ac_header_compiler" >&6
4742
4743# Is the header present?
4744echo "$as_me:$LINENO: checking $ac_header presence" >&5
4745echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4746cat >conftest.$ac_ext <<_ACEOF
4747/* confdefs.h. */
4748_ACEOF
4749cat confdefs.h >>conftest.$ac_ext
4750cat >>conftest.$ac_ext <<_ACEOF
4751/* end confdefs.h. */
4752#include <$ac_header>
4753_ACEOF
4754if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4756 ac_status=$?
4757 grep -v '^ *+' conftest.er1 >conftest.err
4758 rm -f conftest.er1
4759 cat conftest.err >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); } >/dev/null; then
4762 if test -s conftest.err; then
4763 ac_cpp_err=$ac_c_preproc_warn_flag
4764 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4765 else
4766 ac_cpp_err=
4767 fi
4768else
4769 ac_cpp_err=yes
4770fi
4771if test -z "$ac_cpp_err"; then
4772 ac_header_preproc=yes
4773else
4774 echo "$as_me: failed program was:" >&5
4775sed 's/^/| /' conftest.$ac_ext >&5
4776
4777 ac_header_preproc=no
4778fi
4779rm -f conftest.err conftest.$ac_ext
4780echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4781echo "${ECHO_T}$ac_header_preproc" >&6
4782
4783# So? What about this header?
4784case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4785 yes:no: )
4786 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4787echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4789echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4790 ac_header_preproc=yes
4791 ;;
4792 no:yes:* )
4793 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4794echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4795 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4796echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4797 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4798echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4799 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4800echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4802echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4803 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4804echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4805 (
4806 cat <<\_ASBOX
4807## ------------------------------------------ ##
4808## Report this to the AC_PACKAGE_NAME lists. ##
4809## ------------------------------------------ ##
4810_ASBOX
4811 ) |
4812 sed "s/^/$as_me: WARNING: /" >&2
4813 ;;
4814esac
4815echo "$as_me:$LINENO: checking for $ac_header" >&5
4816echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4817if eval "test \"\${$as_ac_Header+set}\" = set"; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6
4819else
4820 eval "$as_ac_Header=\$ac_header_preproc"
4821fi
4822echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4823echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4824
4825fi
4826if test `eval echo '${'$as_ac_Header'}'` = yes; then
4827 cat >>confdefs.h <<_ACEOF
4828#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4829_ACEOF
4830
4831fi
4832
4833done
4834
4835
4836for ac_header in windows.h
4837do
4838as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4839if eval "test \"\${$as_ac_Header+set}\" = set"; then
4840 echo "$as_me:$LINENO: checking for $ac_header" >&5
4841echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4842if eval "test \"\${$as_ac_Header+set}\" = set"; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4844fi
4845echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4846echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4847else
4848 # Is the header compilable?
4849echo "$as_me:$LINENO: checking $ac_header usability" >&5
4850echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4851cat >conftest.$ac_ext <<_ACEOF
4852/* confdefs.h. */
4853_ACEOF
4854cat confdefs.h >>conftest.$ac_ext
4855cat >>conftest.$ac_ext <<_ACEOF
4856/* end confdefs.h. */
4857$ac_includes_default
4858#include <$ac_header>
4859_ACEOF
4860rm -f conftest.$ac_objext
4861if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4862 (eval $ac_compile) 2>conftest.er1
4863 ac_status=$?
4864 grep -v '^ *+' conftest.er1 >conftest.err
4865 rm -f conftest.er1
4866 cat conftest.err >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); } &&
4869 { ac_try='test -z "$ac_c_werror_flag"
4870 || test ! -s conftest.err'
4871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4872 (eval $ac_try) 2>&5
4873 ac_status=$?
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); }; } &&
4876 { ac_try='test -s conftest.$ac_objext'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 (eval $ac_try) 2>&5
4879 ac_status=$?
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; }; then
4882 ac_header_compiler=yes
4883else
4884 echo "$as_me: failed program was:" >&5
4885sed 's/^/| /' conftest.$ac_ext >&5
4886
4887ac_header_compiler=no
4888fi
4889rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4890echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4891echo "${ECHO_T}$ac_header_compiler" >&6
4892
4893# Is the header present?
4894echo "$as_me:$LINENO: checking $ac_header presence" >&5
4895echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4896cat >conftest.$ac_ext <<_ACEOF
4897/* confdefs.h. */
4898_ACEOF
4899cat confdefs.h >>conftest.$ac_ext
4900cat >>conftest.$ac_ext <<_ACEOF
4901/* end confdefs.h. */
4902#include <$ac_header>
4903_ACEOF
4904if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4906 ac_status=$?
4907 grep -v '^ *+' conftest.er1 >conftest.err
4908 rm -f conftest.er1
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } >/dev/null; then
4912 if test -s conftest.err; then
4913 ac_cpp_err=$ac_c_preproc_warn_flag
4914 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4915 else
4916 ac_cpp_err=
4917 fi
4918else
4919 ac_cpp_err=yes
4920fi
4921if test -z "$ac_cpp_err"; then
4922 ac_header_preproc=yes
4923else
4924 echo "$as_me: failed program was:" >&5
4925sed 's/^/| /' conftest.$ac_ext >&5
4926
4927 ac_header_preproc=no
4928fi
4929rm -f conftest.err conftest.$ac_ext
4930echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4931echo "${ECHO_T}$ac_header_preproc" >&6
4932
4933# So? What about this header?
4934case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4935 yes:no: )
4936 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4937echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4939echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4940 ac_header_preproc=yes
4941 ;;
4942 no:yes:* )
4943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4944echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4946echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4947 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4948echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4949 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4950echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4952echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4953 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4954echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4955 (
4956 cat <<\_ASBOX
4957## ------------------------------------------ ##
4958## Report this to the AC_PACKAGE_NAME lists. ##
4959## ------------------------------------------ ##
4960_ASBOX
4961 ) |
4962 sed "s/^/$as_me: WARNING: /" >&2
4963 ;;
4964esac
4965echo "$as_me:$LINENO: checking for $ac_header" >&5
4966echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4967if eval "test \"\${$as_ac_Header+set}\" = set"; then
4968 echo $ECHO_N "(cached) $ECHO_C" >&6
4969else
4970 eval "$as_ac_Header=\$ac_header_preproc"
4971fi
4972echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4973echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4974
4975fi
4976if test `eval echo '${'$as_ac_Header'}'` = yes; then
4977 cat >>confdefs.h <<_ACEOF
4978#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4979_ACEOF
4980
4981for ac_header in winsock2.h
4982do
4983as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4984if eval "test \"\${$as_ac_Header+set}\" = set"; then
4985 echo "$as_me:$LINENO: checking for $ac_header" >&5
4986echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4987if eval "test \"\${$as_ac_Header+set}\" = set"; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4989fi
4990echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4991echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4992else
4993 # Is the header compilable?
4994echo "$as_me:$LINENO: checking $ac_header usability" >&5
4995echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4996cat >conftest.$ac_ext <<_ACEOF
4997/* confdefs.h. */
4998_ACEOF
4999cat confdefs.h >>conftest.$ac_ext
5000cat >>conftest.$ac_ext <<_ACEOF
5001/* end confdefs.h. */
5002$ac_includes_default
5003#include <$ac_header>
5004_ACEOF
5005rm -f conftest.$ac_objext
5006if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5007 (eval $ac_compile) 2>conftest.er1
5008 ac_status=$?
5009 grep -v '^ *+' conftest.er1 >conftest.err
5010 rm -f conftest.er1
5011 cat conftest.err >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); } &&
5014 { ac_try='test -z "$ac_c_werror_flag"
5015 || test ! -s conftest.err'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 (eval $ac_try) 2>&5
5018 ac_status=$?
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; } &&
5021 { ac_try='test -s conftest.$ac_objext'
5022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 (eval $ac_try) 2>&5
5024 ac_status=$?
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); }; }; then
5027 ac_header_compiler=yes
5028else
5029 echo "$as_me: failed program was:" >&5
5030sed 's/^/| /' conftest.$ac_ext >&5
5031
5032ac_header_compiler=no
5033fi
5034rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5035echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5036echo "${ECHO_T}$ac_header_compiler" >&6
5037
5038# Is the header present?
5039echo "$as_me:$LINENO: checking $ac_header presence" >&5
5040echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5041cat >conftest.$ac_ext <<_ACEOF
5042/* confdefs.h. */
5043_ACEOF
5044cat confdefs.h >>conftest.$ac_ext
5045cat >>conftest.$ac_ext <<_ACEOF
5046/* end confdefs.h. */
5047#include <$ac_header>
5048_ACEOF
5049if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5051 ac_status=$?
5052 grep -v '^ *+' conftest.er1 >conftest.err
5053 rm -f conftest.er1
5054 cat conftest.err >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); } >/dev/null; then
5057 if test -s conftest.err; then
5058 ac_cpp_err=$ac_c_preproc_warn_flag
5059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5060 else
5061 ac_cpp_err=
5062 fi
5063else
5064 ac_cpp_err=yes
5065fi
5066if test -z "$ac_cpp_err"; then
5067 ac_header_preproc=yes
5068else
5069 echo "$as_me: failed program was:" >&5
5070sed 's/^/| /' conftest.$ac_ext >&5
5071
5072 ac_header_preproc=no
5073fi
5074rm -f conftest.err conftest.$ac_ext
5075echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5076echo "${ECHO_T}$ac_header_preproc" >&6
5077
5078# So? What about this header?
5079case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5080 yes:no: )
5081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5082echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5084echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5085 ac_header_preproc=yes
5086 ;;
5087 no:yes:* )
5088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5089echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5091echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5092 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5093echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5094 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5095echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5097echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5098 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5099echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5100 (
5101 cat <<\_ASBOX
5102## ------------------------------------------ ##
5103## Report this to the AC_PACKAGE_NAME lists. ##
5104## ------------------------------------------ ##
5105_ASBOX
5106 ) |
5107 sed "s/^/$as_me: WARNING: /" >&2
5108 ;;
5109esac
5110echo "$as_me:$LINENO: checking for $ac_header" >&5
5111echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5112if eval "test \"\${$as_ac_Header+set}\" = set"; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5114else
5115 eval "$as_ac_Header=\$ac_header_preproc"
5116fi
5117echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5118echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5119
5120fi
5121if test `eval echo '${'$as_ac_Header'}'` = yes; then
5122 cat >>confdefs.h <<_ACEOF
5123#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5124_ACEOF
5125
5126fi
5127
5128done
5129
5130fi
5131
5132done
5133
5134
5135
5136for ac_header in syslog.h
5137do
5138as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5139if eval "test \"\${$as_ac_Header+set}\" = set"; then
5140 echo "$as_me:$LINENO: checking for $ac_header" >&5
5141echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5142if eval "test \"\${$as_ac_Header+set}\" = set"; then
5143 echo $ECHO_N "(cached) $ECHO_C" >&6
5144fi
5145echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5146echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5147else
5148 # Is the header compilable?
5149echo "$as_me:$LINENO: checking $ac_header usability" >&5
5150echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5151cat >conftest.$ac_ext <<_ACEOF
5152/* confdefs.h. */
5153_ACEOF
5154cat confdefs.h >>conftest.$ac_ext
5155cat >>conftest.$ac_ext <<_ACEOF
5156/* end confdefs.h. */
5157$ac_includes_default
5158#include <$ac_header>
5159_ACEOF
5160rm -f conftest.$ac_objext
5161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5162 (eval $ac_compile) 2>conftest.er1
5163 ac_status=$?
5164 grep -v '^ *+' conftest.er1 >conftest.err
5165 rm -f conftest.er1
5166 cat conftest.err >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); } &&
5169 { ac_try='test -z "$ac_c_werror_flag"
5170 || test ! -s conftest.err'
5171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 (eval $ac_try) 2>&5
5173 ac_status=$?
5174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175 (exit $ac_status); }; } &&
5176 { ac_try='test -s conftest.$ac_objext'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 (eval $ac_try) 2>&5
5179 ac_status=$?
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; }; then
5182 ac_header_compiler=yes
5183else
5184 echo "$as_me: failed program was:" >&5
5185sed 's/^/| /' conftest.$ac_ext >&5
5186
5187ac_header_compiler=no
5188fi
5189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5190echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5191echo "${ECHO_T}$ac_header_compiler" >&6
5192
5193# Is the header present?
5194echo "$as_me:$LINENO: checking $ac_header presence" >&5
5195echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5196cat >conftest.$ac_ext <<_ACEOF
5197/* confdefs.h. */
5198_ACEOF
5199cat confdefs.h >>conftest.$ac_ext
5200cat >>conftest.$ac_ext <<_ACEOF
5201/* end confdefs.h. */
5202#include <$ac_header>
5203_ACEOF
5204if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5206 ac_status=$?
5207 grep -v '^ *+' conftest.er1 >conftest.err
5208 rm -f conftest.er1
5209 cat conftest.err >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); } >/dev/null; then
5212 if test -s conftest.err; then
5213 ac_cpp_err=$ac_c_preproc_warn_flag
5214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5215 else
5216 ac_cpp_err=
5217 fi
5218else
5219 ac_cpp_err=yes
5220fi
5221if test -z "$ac_cpp_err"; then
5222 ac_header_preproc=yes
5223else
5224 echo "$as_me: failed program was:" >&5
5225sed 's/^/| /' conftest.$ac_ext >&5
5226
5227 ac_header_preproc=no
5228fi
5229rm -f conftest.err conftest.$ac_ext
5230echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5231echo "${ECHO_T}$ac_header_preproc" >&6
5232
5233# So? What about this header?
5234case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5235 yes:no: )
5236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5237echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5239echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5240 ac_header_preproc=yes
5241 ;;
5242 no:yes:* )
5243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5244echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5246echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5248echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5250echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5252echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5254echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5255 (
5256 cat <<\_ASBOX
5257## ------------------------------------------ ##
5258## Report this to the AC_PACKAGE_NAME lists. ##
5259## ------------------------------------------ ##
5260_ASBOX
5261 ) |
5262 sed "s/^/$as_me: WARNING: /" >&2
5263 ;;
5264esac
5265echo "$as_me:$LINENO: checking for $ac_header" >&5
5266echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5267if eval "test \"\${$as_ac_Header+set}\" = set"; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5269else
5270 eval "$as_ac_Header=\$ac_header_preproc"
5271fi
5272echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5273echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5274
5275fi
5276if test `eval echo '${'$as_ac_Header'}'` = yes; then
5277 cat >>confdefs.h <<_ACEOF
5278#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5279_ACEOF
5280
5281fi
5282
5283done
5284
5285
5286echo "$as_me:$LINENO: checking for int8_t" >&5
5287echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
5288if test "${ac_cv_type_int8_t+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5290else
5291 cat >conftest.$ac_ext <<_ACEOF
5292/* confdefs.h. */
5293_ACEOF
5294cat confdefs.h >>conftest.$ac_ext
5295cat >>conftest.$ac_ext <<_ACEOF
5296/* end confdefs.h. */
5297$ac_includes_default
5298int
5299main ()
5300{
5301if ((int8_t *) 0)
5302 return 0;
5303if (sizeof (int8_t))
5304 return 0;
5305 ;
5306 return 0;
5307}
5308_ACEOF
5309rm -f conftest.$ac_objext
5310if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5311 (eval $ac_compile) 2>conftest.er1
5312 ac_status=$?
5313 grep -v '^ *+' conftest.er1 >conftest.err
5314 rm -f conftest.er1
5315 cat conftest.err >&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } &&
5318 { ac_try='test -z "$ac_c_werror_flag"
5319 || test ! -s conftest.err'
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); }; } &&
5325 { ac_try='test -s conftest.$ac_objext'
5326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5327 (eval $ac_try) 2>&5
5328 ac_status=$?
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; }; then
5331 ac_cv_type_int8_t=yes
5332else
5333 echo "$as_me: failed program was:" >&5
5334sed 's/^/| /' conftest.$ac_ext >&5
5335
5336ac_cv_type_int8_t=no
5337fi
5338rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5339fi
5340echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
5341echo "${ECHO_T}$ac_cv_type_int8_t" >&6
5342if test $ac_cv_type_int8_t = yes; then
5343
5344cat >>confdefs.h <<_ACEOF
5345#define HAVE_INT8_T 1
5346_ACEOF
5347
5348
5349fi
5350echo "$as_me:$LINENO: checking for uint8_t" >&5
5351echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
5352if test "${ac_cv_type_uint8_t+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5354else
5355 cat >conftest.$ac_ext <<_ACEOF
5356/* confdefs.h. */
5357_ACEOF
5358cat confdefs.h >>conftest.$ac_ext
5359cat >>conftest.$ac_ext <<_ACEOF
5360/* end confdefs.h. */
5361$ac_includes_default
5362int
5363main ()
5364{
5365if ((uint8_t *) 0)
5366 return 0;
5367if (sizeof (uint8_t))
5368 return 0;
5369 ;
5370 return 0;
5371}
5372_ACEOF
5373rm -f conftest.$ac_objext
5374if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5375 (eval $ac_compile) 2>conftest.er1
5376 ac_status=$?
5377 grep -v '^ *+' conftest.er1 >conftest.err
5378 rm -f conftest.er1
5379 cat conftest.err >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); } &&
5382 { ac_try='test -z "$ac_c_werror_flag"
5383 || test ! -s conftest.err'
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); }; } &&
5389 { ac_try='test -s conftest.$ac_objext'
5390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5391 (eval $ac_try) 2>&5
5392 ac_status=$?
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; }; then
5395 ac_cv_type_uint8_t=yes
5396else
5397 echo "$as_me: failed program was:" >&5
5398sed 's/^/| /' conftest.$ac_ext >&5
5399
5400ac_cv_type_uint8_t=no
5401fi
5402rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5403fi
5404echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
5405echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
5406if test $ac_cv_type_uint8_t = yes; then
5407
5408cat >>confdefs.h <<_ACEOF
5409#define HAVE_UINT8_T 1
5410_ACEOF
5411
5412
5413fi
5414echo "$as_me:$LINENO: checking for int16_t" >&5
5415echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
5416if test "${ac_cv_type_int16_t+set}" = set; then
5417 echo $ECHO_N "(cached) $ECHO_C" >&6
5418else
5419 cat >conftest.$ac_ext <<_ACEOF
5420/* confdefs.h. */
5421_ACEOF
5422cat confdefs.h >>conftest.$ac_ext
5423cat >>conftest.$ac_ext <<_ACEOF
5424/* end confdefs.h. */
5425$ac_includes_default
5426int
5427main ()
5428{
5429if ((int16_t *) 0)
5430 return 0;
5431if (sizeof (int16_t))
5432 return 0;
5433 ;
5434 return 0;
5435}
5436_ACEOF
5437rm -f conftest.$ac_objext
5438if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5439 (eval $ac_compile) 2>conftest.er1
5440 ac_status=$?
5441 grep -v '^ *+' conftest.er1 >conftest.err
5442 rm -f conftest.er1
5443 cat conftest.err >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); } &&
5446 { ac_try='test -z "$ac_c_werror_flag"
5447 || test ! -s conftest.err'
5448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 (eval $ac_try) 2>&5
5450 ac_status=$?
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); }; } &&
5453 { ac_try='test -s conftest.$ac_objext'
5454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 (eval $ac_try) 2>&5
5456 ac_status=$?
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); }; }; then
5459 ac_cv_type_int16_t=yes
5460else
5461 echo "$as_me: failed program was:" >&5
5462sed 's/^/| /' conftest.$ac_ext >&5
5463
5464ac_cv_type_int16_t=no
5465fi
5466rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5467fi
5468echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5469echo "${ECHO_T}$ac_cv_type_int16_t" >&6
5470if test $ac_cv_type_int16_t = yes; then
5471
5472cat >>confdefs.h <<_ACEOF
5473#define HAVE_INT16_T 1
5474_ACEOF
5475
5476
5477fi
5478echo "$as_me:$LINENO: checking for uint16_t" >&5
5479echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
5480if test "${ac_cv_type_uint16_t+set}" = set; then
5481 echo $ECHO_N "(cached) $ECHO_C" >&6
5482else
5483 cat >conftest.$ac_ext <<_ACEOF
5484/* confdefs.h. */
5485_ACEOF
5486cat confdefs.h >>conftest.$ac_ext
5487cat >>conftest.$ac_ext <<_ACEOF
5488/* end confdefs.h. */
5489$ac_includes_default
5490int
5491main ()
5492{
5493if ((uint16_t *) 0)
5494 return 0;
5495if (sizeof (uint16_t))
5496 return 0;
5497 ;
5498 return 0;
5499}
5500_ACEOF
5501rm -f conftest.$ac_objext
5502if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503 (eval $ac_compile) 2>conftest.er1
5504 ac_status=$?
5505 grep -v '^ *+' conftest.er1 >conftest.err
5506 rm -f conftest.er1
5507 cat conftest.err >&5
5508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509 (exit $ac_status); } &&
5510 { ac_try='test -z "$ac_c_werror_flag"
5511 || test ! -s conftest.err'
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); }; } &&
5517 { ac_try='test -s conftest.$ac_objext'
5518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 (eval $ac_try) 2>&5
5520 ac_status=$?
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); }; }; then
5523 ac_cv_type_uint16_t=yes
5524else
5525 echo "$as_me: failed program was:" >&5
5526sed 's/^/| /' conftest.$ac_ext >&5
5527
5528ac_cv_type_uint16_t=no
5529fi
5530rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5531fi
5532echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
5533echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
5534if test $ac_cv_type_uint16_t = yes; then
5535
5536cat >>confdefs.h <<_ACEOF
5537#define HAVE_UINT16_T 1
5538_ACEOF
5539
5540
5541fi
5542echo "$as_me:$LINENO: checking for int32_t" >&5
5543echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
5544if test "${ac_cv_type_int32_t+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5546else
5547 cat >conftest.$ac_ext <<_ACEOF
5548/* confdefs.h. */
5549_ACEOF
5550cat confdefs.h >>conftest.$ac_ext
5551cat >>conftest.$ac_ext <<_ACEOF
5552/* end confdefs.h. */
5553$ac_includes_default
5554int
5555main ()
5556{
5557if ((int32_t *) 0)
5558 return 0;
5559if (sizeof (int32_t))
5560 return 0;
5561 ;
5562 return 0;
5563}
5564_ACEOF
5565rm -f conftest.$ac_objext
5566if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5567 (eval $ac_compile) 2>conftest.er1
5568 ac_status=$?
5569 grep -v '^ *+' conftest.er1 >conftest.err
5570 rm -f conftest.er1
5571 cat conftest.err >&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } &&
5574 { ac_try='test -z "$ac_c_werror_flag"
5575 || test ! -s conftest.err'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5577 (eval $ac_try) 2>&5
5578 ac_status=$?
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; } &&
5581 { ac_try='test -s conftest.$ac_objext'
5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 (eval $ac_try) 2>&5
5584 ac_status=$?
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; }; then
5587 ac_cv_type_int32_t=yes
5588else
5589 echo "$as_me: failed program was:" >&5
5590sed 's/^/| /' conftest.$ac_ext >&5
5591
5592ac_cv_type_int32_t=no
5593fi
5594rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5595fi
5596echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
5597echo "${ECHO_T}$ac_cv_type_int32_t" >&6
5598if test $ac_cv_type_int32_t = yes; then
5599
5600cat >>confdefs.h <<_ACEOF
5601#define HAVE_INT32_T 1
5602_ACEOF
5603
5604
5605fi
5606echo "$as_me:$LINENO: checking for uint32_t" >&5
5607echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
5608if test "${ac_cv_type_uint32_t+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610else
5611 cat >conftest.$ac_ext <<_ACEOF
5612/* confdefs.h. */
5613_ACEOF
5614cat confdefs.h >>conftest.$ac_ext
5615cat >>conftest.$ac_ext <<_ACEOF
5616/* end confdefs.h. */
5617$ac_includes_default
5618int
5619main ()
5620{
5621if ((uint32_t *) 0)
5622 return 0;
5623if (sizeof (uint32_t))
5624 return 0;
5625 ;
5626 return 0;
5627}
5628_ACEOF
5629rm -f conftest.$ac_objext
5630if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5631 (eval $ac_compile) 2>conftest.er1
5632 ac_status=$?
5633 grep -v '^ *+' conftest.er1 >conftest.err
5634 rm -f conftest.er1
5635 cat conftest.err >&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); } &&
5638 { ac_try='test -z "$ac_c_werror_flag"
5639 || test ! -s conftest.err'
5640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5641 (eval $ac_try) 2>&5
5642 ac_status=$?
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; } &&
5645 { ac_try='test -s conftest.$ac_objext'
5646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5647 (eval $ac_try) 2>&5
5648 ac_status=$?
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); }; }; then
5651 ac_cv_type_uint32_t=yes
5652else
5653 echo "$as_me: failed program was:" >&5
5654sed 's/^/| /' conftest.$ac_ext >&5
5655
5656ac_cv_type_uint32_t=no
5657fi
5658rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5659fi
5660echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5661echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
5662if test $ac_cv_type_uint32_t = yes; then
5663
5664cat >>confdefs.h <<_ACEOF
5665#define HAVE_UINT32_T 1
5666_ACEOF
5667
5668
5669fi
5670echo "$as_me:$LINENO: checking for uint64_t" >&5
5671echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5672if test "${ac_cv_type_uint64_t+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5674else
5675 cat >conftest.$ac_ext <<_ACEOF
5676/* confdefs.h. */
5677_ACEOF
5678cat confdefs.h >>conftest.$ac_ext
5679cat >>conftest.$ac_ext <<_ACEOF
5680/* end confdefs.h. */
5681$ac_includes_default
5682int
5683main ()
5684{
5685if ((uint64_t *) 0)
5686 return 0;
5687if (sizeof (uint64_t))
5688 return 0;
5689 ;
5690 return 0;
5691}
5692_ACEOF
5693rm -f conftest.$ac_objext
5694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5695 (eval $ac_compile) 2>conftest.er1
5696 ac_status=$?
5697 grep -v '^ *+' conftest.er1 >conftest.err
5698 rm -f conftest.er1
5699 cat conftest.err >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); } &&
5702 { ac_try='test -z "$ac_c_werror_flag"
5703 || test ! -s conftest.err'
5704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5705 (eval $ac_try) 2>&5
5706 ac_status=$?
5707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5708 (exit $ac_status); }; } &&
5709 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
5715 ac_cv_type_uint64_t=yes
5716else
5717 echo "$as_me: failed program was:" >&5
5718sed 's/^/| /' conftest.$ac_ext >&5
5719
5720ac_cv_type_uint64_t=no
5721fi
5722rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5723fi
5724echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5725echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5726if test $ac_cv_type_uint64_t = yes; then
5727
5728cat >>confdefs.h <<_ACEOF
5729#define HAVE_UINT64_T 1
5730_ACEOF
5731
5732
5733fi
5734
5735echo "$as_me:$LINENO: checking for unsigned long" >&5
5736echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
5737if test "${ac_cv_type_unsigned_long+set}" = set; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5739else
5740 cat >conftest.$ac_ext <<_ACEOF
5741/* confdefs.h. */
5742_ACEOF
5743cat confdefs.h >>conftest.$ac_ext
5744cat >>conftest.$ac_ext <<_ACEOF
5745/* end confdefs.h. */
5746$ac_includes_default
5747int
5748main ()
5749{
5750if ((unsigned long *) 0)
5751 return 0;
5752if (sizeof (unsigned long))
5753 return 0;
5754 ;
5755 return 0;
5756}
5757_ACEOF
5758rm -f conftest.$ac_objext
5759if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5760 (eval $ac_compile) 2>conftest.er1
5761 ac_status=$?
5762 grep -v '^ *+' conftest.er1 >conftest.err
5763 rm -f conftest.er1
5764 cat conftest.err >&5
5765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5766 (exit $ac_status); } &&
5767 { ac_try='test -z "$ac_c_werror_flag"
5768 || test ! -s conftest.err'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5770 (eval $ac_try) 2>&5
5771 ac_status=$?
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try='test -s conftest.$ac_objext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776 (eval $ac_try) 2>&5
5777 ac_status=$?
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5780 ac_cv_type_unsigned_long=yes
5781else
5782 echo "$as_me: failed program was:" >&5
5783sed 's/^/| /' conftest.$ac_ext >&5
5784
5785ac_cv_type_unsigned_long=no
5786fi
5787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5788fi
5789echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
5790echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
5791
5792echo "$as_me:$LINENO: checking size of unsigned long" >&5
5793echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
5794if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
5795 echo $ECHO_N "(cached) $ECHO_C" >&6
5796else
5797 if test "$ac_cv_type_unsigned_long" = yes; then
5798 # The cast to unsigned long works around a bug in the HP C Compiler
5799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5801 # This bug is HP SR number 8606223364.
5802 if test "$cross_compiling" = yes; then
5803 # Depending upon the size, compute the lo and hi bounds.
5804cat >conftest.$ac_ext <<_ACEOF
5805/* confdefs.h. */
5806_ACEOF
5807cat confdefs.h >>conftest.$ac_ext
5808cat >>conftest.$ac_ext <<_ACEOF
5809/* end confdefs.h. */
5810$ac_includes_default
5811int
5812main ()
5813{
5814static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
5815test_array [0] = 0
5816
5817 ;
5818 return 0;
5819}
5820_ACEOF
5821rm -f conftest.$ac_objext
5822if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5823 (eval $ac_compile) 2>conftest.er1
5824 ac_status=$?
5825 grep -v '^ *+' conftest.er1 >conftest.err
5826 rm -f conftest.er1
5827 cat conftest.err >&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try='test -z "$ac_c_werror_flag"
5831 || test ! -s conftest.err'
5832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 (eval $ac_try) 2>&5
5834 ac_status=$?
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); }; } &&
5837 { ac_try='test -s conftest.$ac_objext'
5838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5839 (eval $ac_try) 2>&5
5840 ac_status=$?
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); }; }; then
5843 ac_lo=0 ac_mid=0
5844 while :; do
5845 cat >conftest.$ac_ext <<_ACEOF
5846/* confdefs.h. */
5847_ACEOF
5848cat confdefs.h >>conftest.$ac_ext
5849cat >>conftest.$ac_ext <<_ACEOF
5850/* end confdefs.h. */
5851$ac_includes_default
5852int
5853main ()
5854{
5855static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
5856test_array [0] = 0
5857
5858 ;
5859 return 0;
5860}
5861_ACEOF
5862rm -f conftest.$ac_objext
5863if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5864 (eval $ac_compile) 2>conftest.er1
5865 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_c_werror_flag"
5872 || test ! -s conftest.err'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; } &&
5878 { ac_try='test -s conftest.$ac_objext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 (eval $ac_try) 2>&5
5881 ac_status=$?
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 ac_hi=$ac_mid; break
5885else
5886 echo "$as_me: failed program was:" >&5
5887sed 's/^/| /' conftest.$ac_ext >&5
5888
5889ac_lo=`expr $ac_mid + 1`
5890 if test $ac_lo -le $ac_mid; then
5891 ac_lo= ac_hi=
5892 break
5893 fi
5894 ac_mid=`expr 2 '*' $ac_mid + 1`
5895fi
5896rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5897 done
5898else
5899 echo "$as_me: failed program was:" >&5
5900sed 's/^/| /' conftest.$ac_ext >&5
5901
5902cat >conftest.$ac_ext <<_ACEOF
5903/* confdefs.h. */
5904_ACEOF
5905cat confdefs.h >>conftest.$ac_ext
5906cat >>conftest.$ac_ext <<_ACEOF
5907/* end confdefs.h. */
5908$ac_includes_default
5909int
5910main ()
5911{
5912static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
5913test_array [0] = 0
5914
5915 ;
5916 return 0;
5917}
5918_ACEOF
5919rm -f conftest.$ac_objext
5920if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5922 ac_status=$?
5923 grep -v '^ *+' conftest.er1 >conftest.err
5924 rm -f conftest.er1
5925 cat conftest.err >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try='test -z "$ac_c_werror_flag"
5929 || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5931 (eval $ac_try) 2>&5
5932 ac_status=$?
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try='test -s conftest.$ac_objext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 (eval $ac_try) 2>&5
5938 ac_status=$?
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_hi=-1 ac_mid=-1
5942 while :; do
5943 cat >conftest.$ac_ext <<_ACEOF
5944/* confdefs.h. */
5945_ACEOF
5946cat confdefs.h >>conftest.$ac_ext
5947cat >>conftest.$ac_ext <<_ACEOF
5948/* end confdefs.h. */
5949$ac_includes_default
5950int
5951main ()
5952{
5953static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
5954test_array [0] = 0
5955
5956 ;
5957 return 0;
5958}
5959_ACEOF
5960rm -f conftest.$ac_objext
5961if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5962 (eval $ac_compile) 2>conftest.er1
5963 ac_status=$?
5964 grep -v '^ *+' conftest.er1 >conftest.err
5965 rm -f conftest.er1
5966 cat conftest.err >&5
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); } &&
5969 { ac_try='test -z "$ac_c_werror_flag"
5970 || test ! -s conftest.err'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 (eval $ac_try) 2>&5
5973 ac_status=$?
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; } &&
5976 { ac_try='test -s conftest.$ac_objext'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5978 (eval $ac_try) 2>&5
5979 ac_status=$?
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 ac_lo=$ac_mid; break
5983else
5984 echo "$as_me: failed program was:" >&5
5985sed 's/^/| /' conftest.$ac_ext >&5
5986
5987ac_hi=`expr '(' $ac_mid ')' - 1`
5988 if test $ac_mid -le $ac_hi; then
5989 ac_lo= ac_hi=
5990 break
5991 fi
5992 ac_mid=`expr 2 '*' $ac_mid`
5993fi
5994rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5995 done
5996else
5997 echo "$as_me: failed program was:" >&5
5998sed 's/^/| /' conftest.$ac_ext >&5
5999
6000ac_lo= ac_hi=
6001fi
6002rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6003fi
6004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6005# Binary search between lo and hi bounds.
6006while test "x$ac_lo" != "x$ac_hi"; do
6007 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6008 cat >conftest.$ac_ext <<_ACEOF
6009/* confdefs.h. */
6010_ACEOF
6011cat confdefs.h >>conftest.$ac_ext
6012cat >>conftest.$ac_ext <<_ACEOF
6013/* end confdefs.h. */
6014$ac_includes_default
6015int
6016main ()
6017{
6018static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
6019test_array [0] = 0
6020
6021 ;
6022 return 0;
6023}
6024_ACEOF
6025rm -f conftest.$ac_objext
6026if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6027 (eval $ac_compile) 2>conftest.er1
6028 ac_status=$?
6029 grep -v '^ *+' conftest.er1 >conftest.err
6030 rm -f conftest.er1
6031 cat conftest.err >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); } &&
6034 { ac_try='test -z "$ac_c_werror_flag"
6035 || test ! -s conftest.err'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 (eval $ac_try) 2>&5
6038 ac_status=$?
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; } &&
6041 { ac_try='test -s conftest.$ac_objext'
6042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6043 (eval $ac_try) 2>&5
6044 ac_status=$?
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); }; }; then
6047 ac_hi=$ac_mid
6048else
6049 echo "$as_me: failed program was:" >&5
6050sed 's/^/| /' conftest.$ac_ext >&5
6051
6052ac_lo=`expr '(' $ac_mid ')' + 1`
6053fi
6054rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6055done
6056case $ac_lo in
6057?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
6058'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
6059See \`config.log' for more details." >&5
6060echo "$as_me: error: cannot compute sizeof (unsigned long), 77
6061See \`config.log' for more details." >&2;}
6062 { (exit 1); exit 1; }; } ;;
6063esac
6064else
6065 if test "$cross_compiling" = yes; then
6066 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6067See \`config.log' for more details." >&5
6068echo "$as_me: error: cannot run test program while cross compiling
6069See \`config.log' for more details." >&2;}
6070 { (exit 1); exit 1; }; }
6071else
6072 cat >conftest.$ac_ext <<_ACEOF
6073/* confdefs.h. */
6074_ACEOF
6075cat confdefs.h >>conftest.$ac_ext
6076cat >>conftest.$ac_ext <<_ACEOF
6077/* end confdefs.h. */
6078$ac_includes_default
6079long longval () { return (long) (sizeof (unsigned long)); }
6080unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
6081#include <stdio.h>
6082#include <stdlib.h>
6083int
6084main ()
6085{
6086
6087 FILE *f = fopen ("conftest.val", "w");
6088 if (! f)
6089 exit (1);
6090 if (((long) (sizeof (unsigned long))) < 0)
6091 {
6092 long i = longval ();
6093 if (i != ((long) (sizeof (unsigned long))))
6094 exit (1);
6095 fprintf (f, "%ld\n", i);
6096 }
6097 else
6098 {
6099 unsigned long i = ulongval ();
6100 if (i != ((long) (sizeof (unsigned long))))
6101 exit (1);
6102 fprintf (f, "%lu\n", i);
6103 }
6104 exit (ferror (f) || fclose (f) != 0);
6105
6106 ;
6107 return 0;
6108}
6109_ACEOF
6110rm -f conftest$ac_exeext
6111if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6112 (eval $ac_link) 2>&5
6113 ac_status=$?
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 (eval $ac_try) 2>&5
6118 ac_status=$?
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; }; then
6121 ac_cv_sizeof_unsigned_long=`cat conftest.val`
6122else
6123 echo "$as_me: program exited with status $ac_status" >&5
6124echo "$as_me: failed program was:" >&5
6125sed 's/^/| /' conftest.$ac_ext >&5
6126
6127( exit $ac_status )
6128{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
6129See \`config.log' for more details." >&5
6130echo "$as_me: error: cannot compute sizeof (unsigned long), 77
6131See \`config.log' for more details." >&2;}
6132 { (exit 1); exit 1; }; }
6133fi
6134rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6135fi
6136fi
6137rm -f conftest.val
6138else
6139 ac_cv_sizeof_unsigned_long=0
6140fi
6141fi
6142echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
6143echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
6144cat >>confdefs.h <<_ACEOF
6145#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
6146_ACEOF
6147
6148
6149echo "$as_me:$LINENO: checking for unsigned long long" >&5
6150echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
6151if test "${ac_cv_type_unsigned_long_long+set}" = set; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6153else
6154 cat >conftest.$ac_ext <<_ACEOF
6155/* confdefs.h. */
6156_ACEOF
6157cat confdefs.h >>conftest.$ac_ext
6158cat >>conftest.$ac_ext <<_ACEOF
6159/* end confdefs.h. */
6160$ac_includes_default
6161int
6162main ()
6163{
6164if ((unsigned long long *) 0)
6165 return 0;
6166if (sizeof (unsigned long long))
6167 return 0;
6168 ;
6169 return 0;
6170}
6171_ACEOF
6172rm -f conftest.$ac_objext
6173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174 (eval $ac_compile) 2>conftest.er1
6175 ac_status=$?
6176 grep -v '^ *+' conftest.er1 >conftest.err
6177 rm -f conftest.er1
6178 cat conftest.err >&5
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); } &&
6181 { ac_try='test -z "$ac_c_werror_flag"
6182 || test ! -s conftest.err'
6183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 (eval $ac_try) 2>&5
6185 ac_status=$?
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); }; } &&
6188 { ac_try='test -s conftest.$ac_objext'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190 (eval $ac_try) 2>&5
6191 ac_status=$?
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; }; then
6194 ac_cv_type_unsigned_long_long=yes
6195else
6196 echo "$as_me: failed program was:" >&5
6197sed 's/^/| /' conftest.$ac_ext >&5
6198
6199ac_cv_type_unsigned_long_long=no
6200fi
6201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6202fi
6203echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
6204echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
6205
6206echo "$as_me:$LINENO: checking size of unsigned long long" >&5
6207echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
6208if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
6209 echo $ECHO_N "(cached) $ECHO_C" >&6
6210else
6211 if test "$ac_cv_type_unsigned_long_long" = yes; then
6212 # The cast to unsigned long works around a bug in the HP C Compiler
6213 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6214 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6215 # This bug is HP SR number 8606223364.
6216 if test "$cross_compiling" = yes; then
6217 # Depending upon the size, compute the lo and hi bounds.
6218cat >conftest.$ac_ext <<_ACEOF
6219/* confdefs.h. */
6220_ACEOF
6221cat confdefs.h >>conftest.$ac_ext
6222cat >>conftest.$ac_ext <<_ACEOF
6223/* end confdefs.h. */
6224$ac_includes_default
6225int
6226main ()
6227{
6228static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
6229test_array [0] = 0
6230
6231 ;
6232 return 0;
6233}
6234_ACEOF
6235rm -f conftest.$ac_objext
6236if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6237 (eval $ac_compile) 2>conftest.er1
6238 ac_status=$?
6239 grep -v '^ *+' conftest.er1 >conftest.err
6240 rm -f conftest.er1
6241 cat conftest.err >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); } &&
6244 { ac_try='test -z "$ac_c_werror_flag"
6245 || test ! -s conftest.err'
6246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6247 (eval $ac_try) 2>&5
6248 ac_status=$?
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); }; } &&
6251 { ac_try='test -s conftest.$ac_objext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 (eval $ac_try) 2>&5
6254 ac_status=$?
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6257 ac_lo=0 ac_mid=0
6258 while :; do
6259 cat >conftest.$ac_ext <<_ACEOF
6260/* confdefs.h. */
6261_ACEOF
6262cat confdefs.h >>conftest.$ac_ext
6263cat >>conftest.$ac_ext <<_ACEOF
6264/* end confdefs.h. */
6265$ac_includes_default
6266int
6267main ()
6268{
6269static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
6270test_array [0] = 0
6271
6272 ;
6273 return 0;
6274}
6275_ACEOF
6276rm -f conftest.$ac_objext
6277if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6278 (eval $ac_compile) 2>conftest.er1
6279 ac_status=$?
6280 grep -v '^ *+' conftest.er1 >conftest.err
6281 rm -f conftest.er1
6282 cat conftest.err >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); } &&
6285 { ac_try='test -z "$ac_c_werror_flag"
6286 || test ! -s conftest.err'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 (eval $ac_try) 2>&5
6289 ac_status=$?
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; } &&
6292 { ac_try='test -s conftest.$ac_objext'
6293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6294 (eval $ac_try) 2>&5
6295 ac_status=$?
6296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6297 (exit $ac_status); }; }; then
6298 ac_hi=$ac_mid; break
6299else
6300 echo "$as_me: failed program was:" >&5
6301sed 's/^/| /' conftest.$ac_ext >&5
6302
6303ac_lo=`expr $ac_mid + 1`
6304 if test $ac_lo -le $ac_mid; then
6305 ac_lo= ac_hi=
6306 break
6307 fi
6308 ac_mid=`expr 2 '*' $ac_mid + 1`
6309fi
6310rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6311 done
6312else
6313 echo "$as_me: failed program was:" >&5
6314sed 's/^/| /' conftest.$ac_ext >&5
6315
6316cat >conftest.$ac_ext <<_ACEOF
6317/* confdefs.h. */
6318_ACEOF
6319cat confdefs.h >>conftest.$ac_ext
6320cat >>conftest.$ac_ext <<_ACEOF
6321/* end confdefs.h. */
6322$ac_includes_default
6323int
6324main ()
6325{
6326static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
6327test_array [0] = 0
6328
6329 ;
6330 return 0;
6331}
6332_ACEOF
6333rm -f conftest.$ac_objext
6334if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6335 (eval $ac_compile) 2>conftest.er1
6336 ac_status=$?
6337 grep -v '^ *+' conftest.er1 >conftest.err
6338 rm -f conftest.er1
6339 cat conftest.err >&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } &&
6342 { ac_try='test -z "$ac_c_werror_flag"
6343 || test ! -s conftest.err'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 (eval $ac_try) 2>&5
6346 ac_status=$?
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; } &&
6349 { ac_try='test -s conftest.$ac_objext'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 (eval $ac_try) 2>&5
6352 ac_status=$?
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6355 ac_hi=-1 ac_mid=-1
6356 while :; do
6357 cat >conftest.$ac_ext <<_ACEOF
6358/* confdefs.h. */
6359_ACEOF
6360cat confdefs.h >>conftest.$ac_ext
6361cat >>conftest.$ac_ext <<_ACEOF
6362/* end confdefs.h. */
6363$ac_includes_default
6364int
6365main ()
6366{
6367static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
6368test_array [0] = 0
6369
6370 ;
6371 return 0;
6372}
6373_ACEOF
6374rm -f conftest.$ac_objext
6375if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6376 (eval $ac_compile) 2>conftest.er1
6377 ac_status=$?
6378 grep -v '^ *+' conftest.er1 >conftest.err
6379 rm -f conftest.er1
6380 cat conftest.err >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); } &&
6383 { ac_try='test -z "$ac_c_werror_flag"
6384 || test ! -s conftest.err'
6385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6386 (eval $ac_try) 2>&5
6387 ac_status=$?
6388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); }; } &&
6390 { ac_try='test -s conftest.$ac_objext'
6391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392 (eval $ac_try) 2>&5
6393 ac_status=$?
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; }; then
6396 ac_lo=$ac_mid; break
6397else
6398 echo "$as_me: failed program was:" >&5
6399sed 's/^/| /' conftest.$ac_ext >&5
6400
6401ac_hi=`expr '(' $ac_mid ')' - 1`
6402 if test $ac_mid -le $ac_hi; then
6403 ac_lo= ac_hi=
6404 break
6405 fi
6406 ac_mid=`expr 2 '*' $ac_mid`
6407fi
6408rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6409 done
6410else
6411 echo "$as_me: failed program was:" >&5
6412sed 's/^/| /' conftest.$ac_ext >&5
6413
6414ac_lo= ac_hi=
6415fi
6416rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6417fi
6418rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6419# Binary search between lo and hi bounds.
6420while test "x$ac_lo" != "x$ac_hi"; do
6421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6422 cat >conftest.$ac_ext <<_ACEOF
6423/* confdefs.h. */
6424_ACEOF
6425cat confdefs.h >>conftest.$ac_ext
6426cat >>conftest.$ac_ext <<_ACEOF
6427/* end confdefs.h. */
6428$ac_includes_default
6429int
6430main ()
6431{
6432static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
6433test_array [0] = 0
6434
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_hi=$ac_mid
6462else
6463 echo "$as_me: failed program was:" >&5
6464sed 's/^/| /' conftest.$ac_ext >&5
6465
6466ac_lo=`expr '(' $ac_mid ')' + 1`
6467fi
6468rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6469done
6470case $ac_lo in
6471?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
6472'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
6473See \`config.log' for more details." >&5
6474echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
6475See \`config.log' for more details." >&2;}
6476 { (exit 1); exit 1; }; } ;;
6477esac
6478else
6479 if test "$cross_compiling" = yes; then
6480 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6481See \`config.log' for more details." >&5
6482echo "$as_me: error: cannot run test program while cross compiling
6483See \`config.log' for more details." >&2;}
6484 { (exit 1); exit 1; }; }
6485else
6486 cat >conftest.$ac_ext <<_ACEOF
6487/* confdefs.h. */
6488_ACEOF
6489cat confdefs.h >>conftest.$ac_ext
6490cat >>conftest.$ac_ext <<_ACEOF
6491/* end confdefs.h. */
6492$ac_includes_default
6493long longval () { return (long) (sizeof (unsigned long long)); }
6494unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
6495#include <stdio.h>
6496#include <stdlib.h>
6497int
6498main ()
6499{
6500
6501 FILE *f = fopen ("conftest.val", "w");
6502 if (! f)
6503 exit (1);
6504 if (((long) (sizeof (unsigned long long))) < 0)
6505 {
6506 long i = longval ();
6507 if (i != ((long) (sizeof (unsigned long long))))
6508 exit (1);
6509 fprintf (f, "%ld\n", i);
6510 }
6511 else
6512 {
6513 unsigned long i = ulongval ();
6514 if (i != ((long) (sizeof (unsigned long long))))
6515 exit (1);
6516 fprintf (f, "%lu\n", i);
6517 }
6518 exit (ferror (f) || fclose (f) != 0);
6519
6520 ;
6521 return 0;
6522}
6523_ACEOF
6524rm -f conftest$ac_exeext
6525if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6526 (eval $ac_link) 2>&5
6527 ac_status=$?
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 (eval $ac_try) 2>&5
6532 ac_status=$?
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); }; }; then
6535 ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
6536else
6537 echo "$as_me: program exited with status $ac_status" >&5
6538echo "$as_me: failed program was:" >&5
6539sed 's/^/| /' conftest.$ac_ext >&5
6540
6541( exit $ac_status )
6542{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
6543See \`config.log' for more details." >&5
6544echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
6545See \`config.log' for more details." >&2;}
6546 { (exit 1); exit 1; }; }
6547fi
6548rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6549fi
6550fi
6551rm -f conftest.val
6552else
6553 ac_cv_sizeof_unsigned_long_long=0
6554fi
6555fi
6556echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
6557echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
6558cat >>confdefs.h <<_ACEOF
6559#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
6560_ACEOF
6561
6562
6563
6564echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6565echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6566if test "${ac_cv_c_const+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6568else
6569 cat >conftest.$ac_ext <<_ACEOF
6570/* confdefs.h. */
6571_ACEOF
6572cat confdefs.h >>conftest.$ac_ext
6573cat >>conftest.$ac_ext <<_ACEOF
6574/* end confdefs.h. */
6575
6576int
6577main ()
6578{
6579/* FIXME: Include the comments suggested by Paul. */
6580#ifndef __cplusplus
6581 /* Ultrix mips cc rejects this. */
6582 typedef int charset[2];
6583 const charset x;
6584 /* SunOS 4.1.1 cc rejects this. */
6585 char const *const *ccp;
6586 char **p;
6587 /* NEC SVR4.0.2 mips cc rejects this. */
6588 struct point {int x, y;};
6589 static struct point const zero = {0,0};
6590 /* AIX XL C 1.02.0.0 rejects this.
6591 It does not let you subtract one const X* pointer from another in
6592 an arm of an if-expression whose if-part is not a constant
6593 expression */
6594 const char *g = "string";
6595 ccp = &g + (g ? g-g : 0);
6596 /* HPUX 7.0 cc rejects these. */
6597 ++ccp;
6598 p = (char**) ccp;
6599 ccp = (char const *const *) p;
6600 { /* SCO 3.2v4 cc rejects this. */
6601 char *t;
6602 char const *s = 0 ? (char *) 0 : (char const *) 0;
6603
6604 *t++ = 0;
6605 }
6606 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6607 int x[] = {25, 17};
6608 const int *foo = &x[0];
6609 ++foo;
6610 }
6611 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6612 typedef const int *iptr;
6613 iptr p = 0;
6614 ++p;
6615 }
6616 { /* AIX XL C 1.02.0.0 rejects this saying
6617 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6618 struct s { int j; const int *ap[3]; };
6619 struct s *b; b->j = 5;
6620 }
6621 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6622 const int foo = 10;
6623 }
6624#endif
6625
6626 ;
6627 return 0;
6628}
6629_ACEOF
6630rm -f conftest.$ac_objext
6631if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_c_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 (eval $ac_try) 2>&5
6643 ac_status=$?
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5
6649 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6652 ac_cv_c_const=yes
6653else
6654 echo "$as_me: failed program was:" >&5
6655sed 's/^/| /' conftest.$ac_ext >&5
6656
6657ac_cv_c_const=no
6658fi
6659rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660fi
6661echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6662echo "${ECHO_T}$ac_cv_c_const" >&6
6663if test $ac_cv_c_const = no; then
6664
6665cat >>confdefs.h <<\_ACEOF
6666#define const
6667_ACEOF
6668
6669fi
6670
6671echo "$as_me:$LINENO: checking for inline" >&5
6672echo $ECHO_N "checking for inline... $ECHO_C" >&6
6673if test "${ac_cv_c_inline+set}" = set; then
6674 echo $ECHO_N "(cached) $ECHO_C" >&6
6675else
6676 ac_cv_c_inline=no
6677for ac_kw in inline __inline__ __inline; do
6678 cat >conftest.$ac_ext <<_ACEOF
6679/* confdefs.h. */
6680_ACEOF
6681cat confdefs.h >>conftest.$ac_ext
6682cat >>conftest.$ac_ext <<_ACEOF
6683/* end confdefs.h. */
6684#ifndef __cplusplus
6685typedef int foo_t;
6686static $ac_kw foo_t static_foo () {return 0; }
6687$ac_kw foo_t foo () {return 0; }
6688#endif
6689
6690_ACEOF
6691rm -f conftest.$ac_objext
6692if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693 (eval $ac_compile) 2>conftest.er1
6694 ac_status=$?
6695 grep -v '^ *+' conftest.er1 >conftest.err
6696 rm -f conftest.er1
6697 cat conftest.err >&5
6698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699 (exit $ac_status); } &&
6700 { ac_try='test -z "$ac_c_werror_flag"
6701 || test ! -s conftest.err'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6703 (eval $ac_try) 2>&5
6704 ac_status=$?
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; } &&
6707 { ac_try='test -s conftest.$ac_objext'
6708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709 (eval $ac_try) 2>&5
6710 ac_status=$?
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); }; }; then
6713 ac_cv_c_inline=$ac_kw; break
6714else
6715 echo "$as_me: failed program was:" >&5
6716sed 's/^/| /' conftest.$ac_ext >&5
6717
6718fi
6719rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6720done
6721
6722fi
6723echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6724echo "${ECHO_T}$ac_cv_c_inline" >&6
6725
6726
6727case $ac_cv_c_inline in
6728 inline | yes) ;;
6729 *)
6730 case $ac_cv_c_inline in
6731 no) ac_val=;;
6732 *) ac_val=$ac_cv_c_inline;;
6733 esac
6734 cat >>confdefs.h <<_ACEOF
6735#ifndef __cplusplus
6736#define inline $ac_val
6737#endif
6738_ACEOF
6739 ;;
6740esac
6741
6742echo "$as_me:$LINENO: checking for size_t" >&5
6743echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6744if test "${ac_cv_type_size_t+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6746else
6747 cat >conftest.$ac_ext <<_ACEOF
6748/* confdefs.h. */
6749_ACEOF
6750cat confdefs.h >>conftest.$ac_ext
6751cat >>conftest.$ac_ext <<_ACEOF
6752/* end confdefs.h. */
6753$ac_includes_default
6754int
6755main ()
6756{
6757if ((size_t *) 0)
6758 return 0;
6759if (sizeof (size_t))
6760 return 0;
6761 ;
6762 return 0;
6763}
6764_ACEOF
6765rm -f conftest.$ac_objext
6766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_c_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 (eval $ac_try) 2>&5
6778 ac_status=$?
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 (eval $ac_try) 2>&5
6784 ac_status=$?
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6787 ac_cv_type_size_t=yes
6788else
6789 echo "$as_me: failed program was:" >&5
6790sed 's/^/| /' conftest.$ac_ext >&5
6791
6792ac_cv_type_size_t=no
6793fi
6794rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795fi
6796echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6797echo "${ECHO_T}$ac_cv_type_size_t" >&6
6798if test $ac_cv_type_size_t = yes; then
6799 :
6800else
6801
6802cat >>confdefs.h <<_ACEOF
6803#define size_t unsigned
6804_ACEOF
6805
6806fi
6807
6808
6809
6810
6811
6812for ac_func in socket inet_aton usleep
6813do
6814as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6815echo "$as_me:$LINENO: checking for $ac_func" >&5
6816echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6817if eval "test \"\${$as_ac_var+set}\" = set"; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6819else
6820 cat >conftest.$ac_ext <<_ACEOF
6821/* confdefs.h. */
6822_ACEOF
6823cat confdefs.h >>conftest.$ac_ext
6824cat >>conftest.$ac_ext <<_ACEOF
6825/* end confdefs.h. */
6826/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6828#define $ac_func innocuous_$ac_func
6829
6830/* System header to define __stub macros and hopefully few prototypes,
6831 which can conflict with char $ac_func (); below.
6832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6833 <limits.h> exists even on freestanding compilers. */
6834
6835#ifdef __STDC__
6836# include <limits.h>
6837#else
6838# include <assert.h>
6839#endif
6840
6841#undef $ac_func
6842
6843/* Override any gcc2 internal prototype to avoid an error. */
6844#ifdef __cplusplus
6845extern "C"
6846{
6847#endif
6848/* We use char because int might match the return type of a gcc2
6849 builtin and then its argument prototype would still apply. */
6850char $ac_func ();
6851/* The GNU C library defines this for functions which it implements
6852 to always fail with ENOSYS. Some functions are actually named
6853 something starting with __ and the normal name is an alias. */
6854#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6855choke me
6856#else
6857char (*f) () = $ac_func;
6858#endif
6859#ifdef __cplusplus
6860}
6861#endif
6862
6863int
6864main ()
6865{
6866return f != $ac_func;
6867 ;
6868 return 0;
6869}
6870_ACEOF
6871rm -f conftest.$ac_objext conftest$ac_exeext
6872if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6873 (eval $ac_link) 2>conftest.er1
6874 ac_status=$?
6875 grep -v '^ *+' conftest.er1 >conftest.err
6876 rm -f conftest.er1
6877 cat conftest.err >&5
6878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6879 (exit $ac_status); } &&
6880 { ac_try='test -z "$ac_c_werror_flag"
6881 || test ! -s conftest.err'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 (eval $ac_try) 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; } &&
6887 { ac_try='test -s conftest$ac_exeext'
6888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 (eval $ac_try) 2>&5
6890 ac_status=$?
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); }; }; then
6893 eval "$as_ac_var=yes"
6894else
6895 echo "$as_me: failed program was:" >&5
6896sed 's/^/| /' conftest.$ac_ext >&5
6897
6898eval "$as_ac_var=no"
6899fi
6900rm -f conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902fi
6903echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6904echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6905if test `eval echo '${'$as_ac_var'}'` = yes; then
6906 cat >>confdefs.h <<_ACEOF
6907#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6908_ACEOF
6909
6910fi
6911done
6912
6913
6914if test "x$ac_cv_func_socket" = "xno"; then
6915
6916echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6917echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
6918if test "${ac_cv_lib_socket_socket+set}" = set; then
6919 echo $ECHO_N "(cached) $ECHO_C" >&6
6920else
6921 ac_check_lib_save_LIBS=$LIBS
6922LIBS="-lsocket $LIBS"
6923cat >conftest.$ac_ext <<_ACEOF
6924/* confdefs.h. */
6925_ACEOF
6926cat confdefs.h >>conftest.$ac_ext
6927cat >>conftest.$ac_ext <<_ACEOF
6928/* end confdefs.h. */
6929
6930/* Override any gcc2 internal prototype to avoid an error. */
6931#ifdef __cplusplus
6932extern "C"
6933#endif
6934/* We use char because int might match the return type of a gcc2
6935 builtin and then its argument prototype would still apply. */
6936char socket ();
6937int
6938main ()
6939{
6940socket ();
6941 ;
6942 return 0;
6943}
6944_ACEOF
6945rm -f conftest.$ac_objext conftest$ac_exeext
6946if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6947 (eval $ac_link) 2>conftest.er1
6948 ac_status=$?
6949 grep -v '^ *+' conftest.er1 >conftest.err
6950 rm -f conftest.er1
6951 cat conftest.err >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try='test -z "$ac_c_werror_flag"
6955 || test ! -s conftest.err'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 (eval $ac_try) 2>&5
6958 ac_status=$?
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; } &&
6961 { ac_try='test -s conftest$ac_exeext'
6962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 (eval $ac_try) 2>&5
6964 ac_status=$?
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); }; }; then
6967 ac_cv_lib_socket_socket=yes
6968else
6969 echo "$as_me: failed program was:" >&5
6970sed 's/^/| /' conftest.$ac_ext >&5
6971
6972ac_cv_lib_socket_socket=no
6973fi
6974rm -f conftest.err conftest.$ac_objext \
6975 conftest$ac_exeext conftest.$ac_ext
6976LIBS=$ac_check_lib_save_LIBS
6977fi
6978echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6979echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
6980if test $ac_cv_lib_socket_socket = yes; then
6981 cat >>confdefs.h <<_ACEOF
6982#define HAVE_LIBSOCKET 1
6983_ACEOF
6984
6985 LIBS="-lsocket $LIBS"
6986
6987fi
6988
6989 echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
6990echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
6991 SAVELIBS="$LIBS"
6992 LIBS="$LIBS -lwsock32"
6993 cat >conftest.$ac_ext <<_ACEOF
6994/* confdefs.h. */
6995_ACEOF
6996cat confdefs.h >>conftest.$ac_ext
6997cat >>conftest.$ac_ext <<_ACEOF
6998/* end confdefs.h. */
6999
7000#include <winsock2.h>
7001
7002int
7003main ()
7004{
7005
7006socket(0, 0, 0);
7007
7008 ;
7009 return 0;
7010}
7011_ACEOF
7012rm -f conftest.$ac_objext conftest$ac_exeext
7013if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7014 (eval $ac_link) 2>conftest.er1
7015 ac_status=$?
7016 grep -v '^ *+' conftest.er1 >conftest.err
7017 rm -f conftest.er1
7018 cat conftest.err >&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } &&
7021 { ac_try='test -z "$ac_c_werror_flag"
7022 || test ! -s conftest.err'
7023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7024 (eval $ac_try) 2>&5
7025 ac_status=$?
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); }; } &&
7028 { ac_try='test -s conftest$ac_exeext'
7029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 (eval $ac_try) 2>&5
7031 ac_status=$?
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); }; }; then
7034 ac_cv_func_socket=yes
7035 echo "$as_me:$LINENO: result: yes" >&5
7036echo "${ECHO_T}yes" >&6
7037else
7038 echo "$as_me: failed program was:" >&5
7039sed 's/^/| /' conftest.$ac_ext >&5
7040
7041LIBS="$SAVELIBS"
7042 echo "$as_me:$LINENO: result: no" >&5
7043echo "${ECHO_T}no" >&6
7044fi
7045rm -f conftest.err conftest.$ac_objext \
7046 conftest$ac_exeext conftest.$ac_ext
7047fi
7048
7049echo "$as_me:$LINENO: checking whether to compile in debugging" >&5
7050echo $ECHO_N "checking whether to compile in debugging... $ECHO_C" >&6
7051# Check whether --enable-debug or --disable-debug was given.
7052if test "${enable_debug+set}" = set; then
7053 enableval="$enable_debug"
7054
7055else
7056 enable_debug=yes
7057fi;
7058if test "$enable_debug" = "yes"; then
7059
7060cat >>confdefs.h <<\_ACEOF
7061#define ENABLE_DEBUGGING 1
7062_ACEOF
7063
7064fi
7065echo "$as_me:$LINENO: result: $enable_debug" >&5
7066echo "${ECHO_T}$enable_debug" >&6
7067
7068echo "$as_me:$LINENO: checking whether to use ISMAcryp code" >&5
7069echo $ECHO_N "checking whether to use ISMAcryp code... $ECHO_C" >&6
7070# Check whether --enable-generic-aesicm or --disable-generic-aesicm was given.
7071if test "${enable_generic_aesicm+set}" = set; then
7072 enableval="$enable_generic_aesicm"
7073
7074else
7075 enable_generic_aesicm=no
7076fi;
7077if test "$enable_generic_aesicm" = "yes"; then
7078
7079cat >>confdefs.h <<\_ACEOF
7080#define GENERIC_AESICM 1
7081_ACEOF
7082
7083fi
7084echo "$as_me:$LINENO: result: $enable_generic_aesicm" >&5
7085echo "${ECHO_T}$enable_generic_aesicm" >&6
7086
7087echo "$as_me:$LINENO: checking whether to use syslog for error reporting" >&5
7088echo $ECHO_N "checking whether to use syslog for error reporting... $ECHO_C" >&6
7089# Check whether --enable-syslog or --disable-syslog was given.
7090if test "${enable_syslog+set}" = set; then
7091 enableval="$enable_syslog"
7092
7093else
7094 enable_syslog=no
7095fi;
7096if test "$enable_syslog" = "yes"; then
7097
7098cat >>confdefs.h <<\_ACEOF
7099#define USE_SYSLOG 1
7100_ACEOF
7101
7102fi
7103echo "$as_me:$LINENO: result: $enable_syslog" >&5
7104echo "${ECHO_T}$enable_syslog" >&6
7105
7106echo "$as_me:$LINENO: checking whether to use stdout for error reporting" >&5
7107echo $ECHO_N "checking whether to use stdout for error reporting... $ECHO_C" >&6
7108# Check whether --enable-stdout or --disable-stdout was given.
7109if test "${enable_stdout+set}" = set; then
7110 enableval="$enable_stdout"
7111
7112else
7113 enable_stdout=yes
7114fi;
7115if test "$enable_stdout" = "yes"; then
7116
7117cat >>confdefs.h <<\_ACEOF
7118#define ERR_REPORTING_STDOUT 1
7119_ACEOF
7120
7121fi
7122echo "$as_me:$LINENO: result: $enable_stdout" >&5
7123echo "${ECHO_T}$enable_stdout" >&6
7124
7125echo "$as_me:$LINENO: checking whether to use /dev/console for error reporting" >&5
7126echo $ECHO_N "checking whether to use /dev/console for error reporting... $ECHO_C" >&6
7127# Check whether --enable-console or --disable-console was given.
7128if test "${enable_console+set}" = set; then
7129 enableval="$enable_console"
7130
7131else
7132 enable_console=no
7133fi;
7134if test "$enable_console" = "yes"; then
7135
7136cat >>confdefs.h <<\_ACEOF
7137#define USE_ERR_REPORTING_FILE 1
7138_ACEOF
7139
7140
7141cat >>confdefs.h <<\_ACEOF
7142#define ERR_REPORTING_FILE "/dev/console"
7143_ACEOF
7144
7145fi
7146echo "$as_me:$LINENO: result: $enable_console" >&5
7147echo "${ECHO_T}$enable_console" >&6
7148
7149echo "$as_me:$LINENO: checking whether to use GDOI key management" >&5
7150echo $ECHO_N "checking whether to use GDOI key management... $ECHO_C" >&6
7151# Check whether --enable-gdoi or --disable-gdoi was given.
7152if test "${enable_gdoi+set}" = set; then
7153 enableval="$enable_gdoi"
7154
7155else
7156 enable_gdoi=no
7157fi;
7158if test "$enable_gdoi" = "yes"; then
7159
7160cat >>confdefs.h <<\_ACEOF
7161#define SRTP_GDOI 1
7162_ACEOF
7163
7164 GDOI_OBJS=gdoi/srtp+gdoi.o
7165
7166fi
7167echo "$as_me:$LINENO: result: $enable_gdoi" >&5
7168echo "${ECHO_T}$enable_gdoi" >&6
7169
7170 ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h"
7171
7172
7173 ac_config_files="$ac_config_files Makefile crypto/Makefile doc/Makefile"
7174cat >confcache <<\_ACEOF
7175# This file is a shell script that caches the results of configure
7176# tests run on this system so they can be shared between configure
7177# scripts and configure runs, see configure's option --config-cache.
7178# It is not useful on other systems. If it contains results you don't
7179# want to keep, you may remove or edit it.
7180#
7181# config.status only pays attention to the cache file if you give it
7182# the --recheck option to rerun configure.
7183#
7184# `ac_cv_env_foo' variables (set or unset) will be overridden when
7185# loading this file, other *unset* `ac_cv_foo' will be assigned the
7186# following values.
7187
7188_ACEOF
7189
7190# The following way of writing the cache mishandles newlines in values,
7191# but we know of no workaround that is simple, portable, and efficient.
7192# So, don't put newlines in cache variables' values.
7193# Ultrix sh set writes to stderr and can't be redirected directly,
7194# and sets the high bit in the cache file unless we assign to the vars.
7195{
7196 (set) 2>&1 |
7197 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7198 *ac_space=\ *)
7199 # `set' does not quote correctly, so add quotes (double-quote
7200 # substitution turns \\\\ into \\, and sed turns \\ into \).
7201 sed -n \
7202 "s/'/'\\\\''/g;
7203 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7204 ;;
7205 *)
7206 # `set' quotes correctly as required by POSIX, so do not add quotes.
7207 sed -n \
7208 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7209 ;;
7210 esac;
7211} |
7212 sed '
7213 t clear
7214 : clear
7215 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7216 t end
7217 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7218 : end' >>confcache
7219if diff $cache_file confcache >/dev/null 2>&1; then :; else
7220 if test -w $cache_file; then
7221 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7222 cat confcache >$cache_file
7223 else
7224 echo "not updating unwritable cache $cache_file"
7225 fi
7226fi
7227rm -f confcache
7228
7229test "x$prefix" = xNONE && prefix=$ac_default_prefix
7230# Let make expand exec_prefix.
7231test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7232
7233# VPATH may cause trouble with some makes, so we remove $(srcdir),
7234# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7235# trailing colons and then remove the whole line if VPATH becomes empty
7236# (actually we leave an empty line to preserve line numbers).
7237if test "x$srcdir" = x.; then
7238 ac_vpsub='/^[ ]*VPATH[ ]*=/{
7239s/:*\$(srcdir):*/:/;
7240s/:*\${srcdir}:*/:/;
7241s/:*@srcdir@:*/:/;
7242s/^\([^=]*=[ ]*\):*/\1/;
7243s/:*$//;
7244s/^[^=]*=[ ]*$//;
7245}'
7246fi
7247
7248DEFS=-DHAVE_CONFIG_H
7249
7250ac_libobjs=
7251ac_ltlibobjs=
7252for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7253 # 1. Remove the extension, and $U if already installed.
7254 ac_i=`echo "$ac_i" |
7255 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7256 # 2. Add them.
7257 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7258 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7259done
7260LIBOBJS=$ac_libobjs
7261
7262LTLIBOBJS=$ac_ltlibobjs
7263
7264
7265
7266: ${CONFIG_STATUS=./config.status}
7267ac_clean_files_save=$ac_clean_files
7268ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7269{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7270echo "$as_me: creating $CONFIG_STATUS" >&6;}
7271cat >$CONFIG_STATUS <<_ACEOF
7272#! $SHELL
7273# Generated by $as_me.
7274# Run this file to recreate the current configuration.
7275# Compiler output produced by configure, useful for debugging
7276# configure, is in config.log if it exists.
7277
7278debug=false
7279ac_cs_recheck=false
7280ac_cs_silent=false
7281SHELL=\${CONFIG_SHELL-$SHELL}
7282_ACEOF
7283
7284cat >>$CONFIG_STATUS <<\_ACEOF
7285## --------------------- ##
7286## M4sh Initialization. ##
7287## --------------------- ##
7288
7289# Be Bourne compatible
7290if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7291 emulate sh
7292 NULLCMD=:
7293 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7294 # is contrary to our usage. Disable this feature.
7295 alias -g '${1+"$@"}'='"$@"'
7296elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7297 set -o posix
7298fi
7299DUALCASE=1; export DUALCASE # for MKS sh
7300
7301# Support unset when possible.
7302if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7303 as_unset=unset
7304else
7305 as_unset=false
7306fi
7307
7308
7309# Work around bugs in pre-3.0 UWIN ksh.
7310$as_unset ENV MAIL MAILPATH
7311PS1='$ '
7312PS2='> '
7313PS4='+ '
7314
7315# NLS nuisances.
7316for as_var in \
7317 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7318 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7319 LC_TELEPHONE LC_TIME
7320do
7321 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7322 eval $as_var=C; export $as_var
7323 else
7324 $as_unset $as_var
7325 fi
7326done
7327
7328# Required to use basename.
7329if expr a : '\(a\)' >/dev/null 2>&1; then
7330 as_expr=expr
7331else
7332 as_expr=false
7333fi
7334
7335if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7336 as_basename=basename
7337else
7338 as_basename=false
7339fi
7340
7341
7342# Name of the executable.
7343as_me=`$as_basename "$0" ||
7344$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7345 X"$0" : 'X\(//\)$' \| \
7346 X"$0" : 'X\(/\)$' \| \
7347 . : '\(.\)' 2>/dev/null ||
7348echo X/"$0" |
7349 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7350 /^X\/\(\/\/\)$/{ s//\1/; q; }
7351 /^X\/\(\/\).*/{ s//\1/; q; }
7352 s/.*/./; q'`
7353
7354
7355# PATH needs CR, and LINENO needs CR and PATH.
7356# Avoid depending upon Character Ranges.
7357as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7358as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7359as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7360as_cr_digits='0123456789'
7361as_cr_alnum=$as_cr_Letters$as_cr_digits
7362
7363# The user is always right.
7364if test "${PATH_SEPARATOR+set}" != set; then
7365 echo "#! /bin/sh" >conf$$.sh
7366 echo "exit 0" >>conf$$.sh
7367 chmod +x conf$$.sh
7368 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7369 PATH_SEPARATOR=';'
7370 else
7371 PATH_SEPARATOR=:
7372 fi
7373 rm -f conf$$.sh
7374fi
7375
7376
7377 as_lineno_1=$LINENO
7378 as_lineno_2=$LINENO
7379 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7380 test "x$as_lineno_1" != "x$as_lineno_2" &&
7381 test "x$as_lineno_3" = "x$as_lineno_2" || {
7382 # Find who we are. Look in the path if we contain no path at all
7383 # relative or not.
7384 case $0 in
7385 *[\\/]* ) as_myself=$0 ;;
7386 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387for as_dir in $PATH
7388do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7392done
7393
7394 ;;
7395 esac
7396 # We did not find ourselves, most probably we were run as `sh COMMAND'
7397 # in which case we are not to be found in the path.
7398 if test "x$as_myself" = x; then
7399 as_myself=$0
7400 fi
7401 if test ! -f "$as_myself"; then
7402 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7403echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7404 { (exit 1); exit 1; }; }
7405 fi
7406 case $CONFIG_SHELL in
7407 '')
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7410do
7411 IFS=$as_save_IFS
7412 test -z "$as_dir" && as_dir=.
7413 for as_base in sh bash ksh sh5; do
7414 case $as_dir in
7415 /*)
7416 if ("$as_dir/$as_base" -c '
7417 as_lineno_1=$LINENO
7418 as_lineno_2=$LINENO
7419 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7420 test "x$as_lineno_1" != "x$as_lineno_2" &&
7421 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7422 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7423 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7424 CONFIG_SHELL=$as_dir/$as_base
7425 export CONFIG_SHELL
7426 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7427 fi;;
7428 esac
7429 done
7430done
7431;;
7432 esac
7433
7434 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7435 # uniformly replaced by the line number. The first 'sed' inserts a
7436 # line-number line before each line; the second 'sed' does the real
7437 # work. The second script uses 'N' to pair each line-number line
7438 # with the numbered line, and appends trailing '-' during
7439 # substitution so that $LINENO is not a special case at line end.
7440 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7441 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7442 sed '=' <$as_myself |
7443 sed '
7444 N
7445 s,$,-,
7446 : loop
7447 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7448 t loop
7449 s,-$,,
7450 s,^['$as_cr_digits']*\n,,
7451 ' >$as_me.lineno &&
7452 chmod +x $as_me.lineno ||
7453 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7454echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7455 { (exit 1); exit 1; }; }
7456
7457 # Don't try to exec as it changes $[0], causing all sort of problems
7458 # (the dirname of $[0] is not the place where we might find the
7459 # original and so on. Autoconf is especially sensible to this).
7460 . ./$as_me.lineno
7461 # Exit status is that of the last command.
7462 exit
7463}
7464
7465
7466case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7467 *c*,-n*) ECHO_N= ECHO_C='
7468' ECHO_T=' ' ;;
7469 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7470 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7471esac
7472
7473if expr a : '\(a\)' >/dev/null 2>&1; then
7474 as_expr=expr
7475else
7476 as_expr=false
7477fi
7478
7479rm -f conf$$ conf$$.exe conf$$.file
7480echo >conf$$.file
7481if ln -s conf$$.file conf$$ 2>/dev/null; then
7482 # We could just check for DJGPP; but this test a) works b) is more generic
7483 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7484 if test -f conf$$.exe; then
7485 # Don't use ln at all; we don't have any links
7486 as_ln_s='cp -p'
7487 else
7488 as_ln_s='ln -s'
7489 fi
7490elif ln conf$$.file conf$$ 2>/dev/null; then
7491 as_ln_s=ln
7492else
7493 as_ln_s='cp -p'
7494fi
7495rm -f conf$$ conf$$.exe conf$$.file
7496
7497if mkdir -p . 2>/dev/null; then
7498 as_mkdir_p=:
7499else
7500 test -d ./-p && rmdir ./-p
7501 as_mkdir_p=false
7502fi
7503
7504as_executable_p="test -f"
7505
7506# Sed expression to map a string onto a valid CPP name.
7507as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7508
7509# Sed expression to map a string onto a valid variable name.
7510as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7511
7512
7513# IFS
7514# We need space, tab and new line, in precisely that order.
7515as_nl='
7516'
7517IFS=" $as_nl"
7518
7519# CDPATH.
7520$as_unset CDPATH
7521
7522exec 6>&1
7523
7524# Open the log real soon, to keep \$[0] and so on meaningful, and to
7525# report actual input values of CONFIG_FILES etc. instead of their
7526# values after options handling. Logging --version etc. is OK.
7527exec 5>>config.log
7528{
7529 echo
7530 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7531## Running $as_me. ##
7532_ASBOX
7533} >&5
7534cat >&5 <<_CSEOF
7535
7536This file was extended by $as_me, which was
7537generated by GNU Autoconf 2.59. Invocation command line was
7538
7539 CONFIG_FILES = $CONFIG_FILES
7540 CONFIG_HEADERS = $CONFIG_HEADERS
7541 CONFIG_LINKS = $CONFIG_LINKS
7542 CONFIG_COMMANDS = $CONFIG_COMMANDS
7543 $ $0 $@
7544
7545_CSEOF
7546echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7547echo >&5
7548_ACEOF
7549
7550# Files that config.status was made for.
7551if test -n "$ac_config_files"; then
7552 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7553fi
7554
7555if test -n "$ac_config_headers"; then
7556 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7557fi
7558
7559if test -n "$ac_config_links"; then
7560 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7561fi
7562
7563if test -n "$ac_config_commands"; then
7564 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7565fi
7566
7567cat >>$CONFIG_STATUS <<\_ACEOF
7568
7569ac_cs_usage="\
7570\`$as_me' instantiates files from templates according to the
7571current configuration.
7572
7573Usage: $0 [OPTIONS] [FILE]...
7574
7575 -h, --help print this help, then exit
7576 -V, --version print version number, then exit
7577 -q, --quiet do not print progress messages
7578 -d, --debug don't remove temporary files
7579 --recheck update $as_me by reconfiguring in the same conditions
7580 --file=FILE[:TEMPLATE]
7581 instantiate the configuration file FILE
7582 --header=FILE[:TEMPLATE]
7583 instantiate the configuration header FILE
7584
7585Configuration files:
7586$config_files
7587
7588Configuration headers:
7589$config_headers
7590
7591Report bugs to <bug-autoconf@gnu.org>."
7592_ACEOF
7593
7594cat >>$CONFIG_STATUS <<_ACEOF
7595ac_cs_version="\\
7596config.status
7597configured by $0, generated by GNU Autoconf 2.59,
7598 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7599
7600Copyright (C) 2003 Free Software Foundation, Inc.
7601This config.status script is free software; the Free Software Foundation
7602gives unlimited permission to copy, distribute and modify it."
7603srcdir=$srcdir
7604INSTALL="$INSTALL"
7605_ACEOF
7606
7607cat >>$CONFIG_STATUS <<\_ACEOF
7608# If no file are specified by the user, then we need to provide default
7609# value. By we need to know if files were specified by the user.
7610ac_need_defaults=:
7611while test $# != 0
7612do
7613 case $1 in
7614 --*=*)
7615 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7616 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7617 ac_shift=:
7618 ;;
7619 -*)
7620 ac_option=$1
7621 ac_optarg=$2
7622 ac_shift=shift
7623 ;;
7624 *) # This is not an option, so the user has probably given explicit
7625 # arguments.
7626 ac_option=$1
7627 ac_need_defaults=false;;
7628 esac
7629
7630 case $ac_option in
7631 # Handling of the options.
7632_ACEOF
7633cat >>$CONFIG_STATUS <<\_ACEOF
7634 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7635 ac_cs_recheck=: ;;
7636 --version | --vers* | -V )
7637 echo "$ac_cs_version"; exit 0 ;;
7638 --he | --h)
7639 # Conflict between --help and --header
7640 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7641Try \`$0 --help' for more information." >&5
7642echo "$as_me: error: ambiguous option: $1
7643Try \`$0 --help' for more information." >&2;}
7644 { (exit 1); exit 1; }; };;
7645 --help | --hel | -h )
7646 echo "$ac_cs_usage"; exit 0 ;;
7647 --debug | --d* | -d )
7648 debug=: ;;
7649 --file | --fil | --fi | --f )
7650 $ac_shift
7651 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7652 ac_need_defaults=false;;
7653 --header | --heade | --head | --hea )
7654 $ac_shift
7655 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7656 ac_need_defaults=false;;
7657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7658 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7659 ac_cs_silent=: ;;
7660
7661 # This is an error.
7662 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7663Try \`$0 --help' for more information." >&5
7664echo "$as_me: error: unrecognized option: $1
7665Try \`$0 --help' for more information." >&2;}
7666 { (exit 1); exit 1; }; } ;;
7667
7668 *) ac_config_targets="$ac_config_targets $1" ;;
7669
7670 esac
7671 shift
7672done
7673
7674ac_configure_extra_args=
7675
7676if $ac_cs_silent; then
7677 exec 6>/dev/null
7678 ac_configure_extra_args="$ac_configure_extra_args --silent"
7679fi
7680
7681_ACEOF
7682cat >>$CONFIG_STATUS <<_ACEOF
7683if \$ac_cs_recheck; then
7684 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7685 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7686fi
7687
7688_ACEOF
7689
7690
7691
7692
7693
7694cat >>$CONFIG_STATUS <<\_ACEOF
7695for ac_config_target in $ac_config_targets
7696do
7697 case "$ac_config_target" in
7698 # Handling of arguments.
7699 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7700 "crypto/Makefile" ) CONFIG_FILES="$CONFIG_FILES crypto/Makefile" ;;
7701 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7702 "crypto/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;;
7703 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7704echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7705 { (exit 1); exit 1; }; };;
7706 esac
7707done
7708
7709# If the user did not use the arguments to specify the items to instantiate,
7710# then the envvar interface is used. Set only those that are not.
7711# We use the long form for the default assignment because of an extremely
7712# bizarre bug on SunOS 4.1.3.
7713if $ac_need_defaults; then
7714 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7715 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7716fi
7717
7718# Have a temporary directory for convenience. Make it in the build tree
7719# simply because there is no reason to put it here, and in addition,
7720# creating and moving files from /tmp can sometimes cause problems.
7721# Create a temporary directory, and hook for its removal unless debugging.
7722$debug ||
7723{
7724 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7725 trap '{ (exit 1); exit 1; }' 1 2 13 15
7726}
7727
7728# Create a (secure) tmp directory for tmp files.
7729
7730{
7731 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7732 test -n "$tmp" && test -d "$tmp"
7733} ||
7734{
7735 tmp=./confstat$$-$RANDOM
7736 (umask 077 && mkdir $tmp)
7737} ||
7738{
7739 echo "$me: cannot create a temporary directory in ." >&2
7740 { (exit 1); exit 1; }
7741}
7742
7743_ACEOF
7744
7745cat >>$CONFIG_STATUS <<_ACEOF
7746
7747#
7748# CONFIG_FILES section.
7749#
7750
7751# No need to generate the scripts if there are no CONFIG_FILES.
7752# This happens for instance when ./config.status config.h
7753if test -n "\$CONFIG_FILES"; then
7754 # Protect against being on the right side of a sed subst in config.status.
7755 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7756 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7757s,@SHELL@,$SHELL,;t t
7758s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7759s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7760s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7761s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7762s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7763s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7764s,@exec_prefix@,$exec_prefix,;t t
7765s,@prefix@,$prefix,;t t
7766s,@program_transform_name@,$program_transform_name,;t t
7767s,@bindir@,$bindir,;t t
7768s,@sbindir@,$sbindir,;t t
7769s,@libexecdir@,$libexecdir,;t t
7770s,@datadir@,$datadir,;t t
7771s,@sysconfdir@,$sysconfdir,;t t
7772s,@sharedstatedir@,$sharedstatedir,;t t
7773s,@localstatedir@,$localstatedir,;t t
7774s,@libdir@,$libdir,;t t
7775s,@includedir@,$includedir,;t t
7776s,@oldincludedir@,$oldincludedir,;t t
7777s,@infodir@,$infodir,;t t
7778s,@mandir@,$mandir,;t t
7779s,@build_alias@,$build_alias,;t t
7780s,@host_alias@,$host_alias,;t t
7781s,@target_alias@,$target_alias,;t t
7782s,@DEFS@,$DEFS,;t t
7783s,@ECHO_C@,$ECHO_C,;t t
7784s,@ECHO_N@,$ECHO_N,;t t
7785s,@ECHO_T@,$ECHO_T,;t t
7786s,@LIBS@,$LIBS,;t t
7787s,@RANLIB@,$RANLIB,;t t
7788s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7789s,@CC@,$CC,;t t
7790s,@CFLAGS@,$CFLAGS,;t t
7791s,@LDFLAGS@,$LDFLAGS,;t t
7792s,@CPPFLAGS@,$CPPFLAGS,;t t
7793s,@ac_ct_CC@,$ac_ct_CC,;t t
7794s,@EXEEXT@,$EXEEXT,;t t
7795s,@OBJEXT@,$OBJEXT,;t t
7796s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7797s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7798s,@INSTALL_DATA@,$INSTALL_DATA,;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,@RNG_OBJS@,$RNG_OBJS,;t t
7809s,@CPP@,$CPP,;t t
7810s,@EGREP@,$EGREP,;t t
7811s,@GDOI_OBJS@,$GDOI_OBJS,;t t
7812s,@LIBOBJS@,$LIBOBJS,;t t
7813s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7814CEOF
7815
7816_ACEOF
7817
7818 cat >>$CONFIG_STATUS <<\_ACEOF
7819 # Split the substitutions into bite-sized pieces for seds with
7820 # small command number limits, like on Digital OSF/1 and HP-UX.
7821 ac_max_sed_lines=48
7822 ac_sed_frag=1 # Number of current file.
7823 ac_beg=1 # First line for current file.
7824 ac_end=$ac_max_sed_lines # Line after last line for current file.
7825 ac_more_lines=:
7826 ac_sed_cmds=
7827 while $ac_more_lines; do
7828 if test $ac_beg -gt 1; then
7829 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7830 else
7831 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7832 fi
7833 if test ! -s $tmp/subs.frag; then
7834 ac_more_lines=false
7835 else
7836 # The purpose of the label and of the branching condition is to
7837 # speed up the sed processing (if there are no `@' at all, there
7838 # is no need to browse any of the substitutions).
7839 # These are the two extra sed commands mentioned above.
7840 (echo ':t
7841 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7842 if test -z "$ac_sed_cmds"; then
7843 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7844 else
7845 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7846 fi
7847 ac_sed_frag=`expr $ac_sed_frag + 1`
7848 ac_beg=$ac_end
7849 ac_end=`expr $ac_end + $ac_max_sed_lines`
7850 fi
7851 done
7852 if test -z "$ac_sed_cmds"; then
7853 ac_sed_cmds=cat
7854 fi
7855fi # test -n "$CONFIG_FILES"
7856
7857_ACEOF
7858cat >>$CONFIG_STATUS <<\_ACEOF
7859for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7860 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7861 case $ac_file in
7862 - | *:- | *:-:* ) # input from stdin
7863 cat >$tmp/stdin
7864 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7865 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7866 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7867 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7868 * ) ac_file_in=$ac_file.in ;;
7869 esac
7870
7871 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7872 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7873$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7874 X"$ac_file" : 'X\(//\)[^/]' \| \
7875 X"$ac_file" : 'X\(//\)$' \| \
7876 X"$ac_file" : 'X\(/\)' \| \
7877 . : '\(.\)' 2>/dev/null ||
7878echo X"$ac_file" |
7879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7880 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7881 /^X\(\/\/\)$/{ s//\1/; q; }
7882 /^X\(\/\).*/{ s//\1/; q; }
7883 s/.*/./; q'`
7884 { if $as_mkdir_p; then
7885 mkdir -p "$ac_dir"
7886 else
7887 as_dir="$ac_dir"
7888 as_dirs=
7889 while test ! -d "$as_dir"; do
7890 as_dirs="$as_dir $as_dirs"
7891 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7892$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7893 X"$as_dir" : 'X\(//\)[^/]' \| \
7894 X"$as_dir" : 'X\(//\)$' \| \
7895 X"$as_dir" : 'X\(/\)' \| \
7896 . : '\(.\)' 2>/dev/null ||
7897echo X"$as_dir" |
7898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7900 /^X\(\/\/\)$/{ s//\1/; q; }
7901 /^X\(\/\).*/{ s//\1/; q; }
7902 s/.*/./; q'`
7903 done
7904 test ! -n "$as_dirs" || mkdir $as_dirs
7905 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7906echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7907 { (exit 1); exit 1; }; }; }
7908
7909 ac_builddir=.
7910
7911if test "$ac_dir" != .; then
7912 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7913 # A "../" for each directory in $ac_dir_suffix.
7914 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7915else
7916 ac_dir_suffix= ac_top_builddir=
7917fi
7918
7919case $srcdir in
7920 .) # No --srcdir option. We are building in place.
7921 ac_srcdir=.
7922 if test -z "$ac_top_builddir"; then
7923 ac_top_srcdir=.
7924 else
7925 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7926 fi ;;
7927 [\\/]* | ?:[\\/]* ) # Absolute path.
7928 ac_srcdir=$srcdir$ac_dir_suffix;
7929 ac_top_srcdir=$srcdir ;;
7930 *) # Relative path.
7931 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7932 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7933esac
7934
7935# Do not use `cd foo && pwd` to compute absolute paths, because
7936# the directories may not exist.
7937case `pwd` in
7938.) ac_abs_builddir="$ac_dir";;
7939*)
7940 case "$ac_dir" in
7941 .) ac_abs_builddir=`pwd`;;
7942 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7943 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7944 esac;;
7945esac
7946case $ac_abs_builddir in
7947.) ac_abs_top_builddir=${ac_top_builddir}.;;
7948*)
7949 case ${ac_top_builddir}. in
7950 .) ac_abs_top_builddir=$ac_abs_builddir;;
7951 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7952 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7953 esac;;
7954esac
7955case $ac_abs_builddir in
7956.) ac_abs_srcdir=$ac_srcdir;;
7957*)
7958 case $ac_srcdir in
7959 .) ac_abs_srcdir=$ac_abs_builddir;;
7960 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7961 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7962 esac;;
7963esac
7964case $ac_abs_builddir in
7965.) ac_abs_top_srcdir=$ac_top_srcdir;;
7966*)
7967 case $ac_top_srcdir in
7968 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7969 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7970 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7971 esac;;
7972esac
7973
7974
7975 case $INSTALL in
7976 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7977 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7978 esac
7979
7980 if test x"$ac_file" != x-; then
7981 { echo "$as_me:$LINENO: creating $ac_file" >&5
7982echo "$as_me: creating $ac_file" >&6;}
7983 rm -f "$ac_file"
7984 fi
7985 # Let's still pretend it is `configure' which instantiates (i.e., don't
7986 # use $as_me), people would be surprised to read:
7987 # /* config.h. Generated by config.status. */
7988 if test x"$ac_file" = x-; then
7989 configure_input=
7990 else
7991 configure_input="$ac_file. "
7992 fi
7993 configure_input=$configure_input"Generated from `echo $ac_file_in |
7994 sed 's,.*/,,'` by configure."
7995
7996 # First look for the input files in the build tree, otherwise in the
7997 # src tree.
7998 ac_file_inputs=`IFS=:
7999 for f in $ac_file_in; do
8000 case $f in
8001 -) echo $tmp/stdin ;;
8002 [\\/$]*)
8003 # Absolute (can't be DOS-style, as IFS=:)
8004 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8005echo "$as_me: error: cannot find input file: $f" >&2;}
8006 { (exit 1); exit 1; }; }
8007 echo "$f";;
8008 *) # Relative
8009 if test -f "$f"; then
8010 # Build tree
8011 echo "$f"
8012 elif test -f "$srcdir/$f"; then
8013 # Source tree
8014 echo "$srcdir/$f"
8015 else
8016 # /dev/null tree
8017 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8018echo "$as_me: error: cannot find input file: $f" >&2;}
8019 { (exit 1); exit 1; }; }
8020 fi;;
8021 esac
8022 done` || { (exit 1); exit 1; }
8023_ACEOF
8024cat >>$CONFIG_STATUS <<_ACEOF
8025 sed "$ac_vpsub
8026$extrasub
8027_ACEOF
8028cat >>$CONFIG_STATUS <<\_ACEOF
8029:t
8030/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8031s,@configure_input@,$configure_input,;t t
8032s,@srcdir@,$ac_srcdir,;t t
8033s,@abs_srcdir@,$ac_abs_srcdir,;t t
8034s,@top_srcdir@,$ac_top_srcdir,;t t
8035s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8036s,@builddir@,$ac_builddir,;t t
8037s,@abs_builddir@,$ac_abs_builddir,;t t
8038s,@top_builddir@,$ac_top_builddir,;t t
8039s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8040s,@INSTALL@,$ac_INSTALL,;t t
8041" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8042 rm -f $tmp/stdin
8043 if test x"$ac_file" != x-; then
8044 mv $tmp/out $ac_file
8045 else
8046 cat $tmp/out
8047 rm -f $tmp/out
8048 fi
8049
8050done
8051_ACEOF
8052cat >>$CONFIG_STATUS <<\_ACEOF
8053
8054#
8055# CONFIG_HEADER section.
8056#
8057
8058# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8059# NAME is the cpp macro being defined and VALUE is the value it is being given.
8060#
8061# ac_d sets the value in "#define NAME VALUE" lines.
8062ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8063ac_dB='[ ].*$,\1#\2'
8064ac_dC=' '
8065ac_dD=',;t'
8066# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8067ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8068ac_uB='$,\1#\2define\3'
8069ac_uC=' '
8070ac_uD=',;t'
8071
8072for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8073 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8074 case $ac_file in
8075 - | *:- | *:-:* ) # input from stdin
8076 cat >$tmp/stdin
8077 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8078 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8079 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8080 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8081 * ) ac_file_in=$ac_file.in ;;
8082 esac
8083
8084 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8085echo "$as_me: creating $ac_file" >&6;}
8086
8087 # First look for the input files in the build tree, otherwise in the
8088 # src tree.
8089 ac_file_inputs=`IFS=:
8090 for f in $ac_file_in; do
8091 case $f in
8092 -) echo $tmp/stdin ;;
8093 [\\/$]*)
8094 # Absolute (can't be DOS-style, as IFS=:)
8095 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8096echo "$as_me: error: cannot find input file: $f" >&2;}
8097 { (exit 1); exit 1; }; }
8098 # Do quote $f, to prevent DOS paths from being IFS'd.
8099 echo "$f";;
8100 *) # Relative
8101 if test -f "$f"; then
8102 # Build tree
8103 echo "$f"
8104 elif test -f "$srcdir/$f"; then
8105 # Source tree
8106 echo "$srcdir/$f"
8107 else
8108 # /dev/null tree
8109 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8110echo "$as_me: error: cannot find input file: $f" >&2;}
8111 { (exit 1); exit 1; }; }
8112 fi;;
8113 esac
8114 done` || { (exit 1); exit 1; }
8115 # Remove the trailing spaces.
8116 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8117
8118_ACEOF
8119
8120# Transform confdefs.h into two sed scripts, `conftest.defines' and
8121# `conftest.undefs', that substitutes the proper values into
8122# config.h.in to produce config.h. The first handles `#define'
8123# templates, and the second `#undef' templates.
8124# And first: Protect against being on the right side of a sed subst in
8125# config.status. Protect against being in an unquoted here document
8126# in config.status.
8127rm -f conftest.defines conftest.undefs
8128# Using a here document instead of a string reduces the quoting nightmare.
8129# Putting comments in sed scripts is not portable.
8130#
8131# `end' is used to avoid that the second main sed command (meant for
8132# 0-ary CPP macros) applies to n-ary macro definitions.
8133# See the Autoconf documentation for `clear'.
8134cat >confdef2sed.sed <<\_ACEOF
8135s/[\\&,]/\\&/g
8136s,[\\$`],\\&,g
8137t clear
8138: clear
8139s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8140t end
8141s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8142: end
8143_ACEOF
8144# If some macros were called several times there might be several times
8145# the same #defines, which is useless. Nevertheless, we may not want to
8146# sort them, since we want the *last* AC-DEFINE to be honored.
8147uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8148sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8149rm -f confdef2sed.sed
8150
8151# This sed command replaces #undef with comments. This is necessary, for
8152# example, in the case of _POSIX_SOURCE, which is predefined and required
8153# on some systems where configure will not decide to define it.
8154cat >>conftest.undefs <<\_ACEOF
8155s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8156_ACEOF
8157
8158# Break up conftest.defines because some shells have a limit on the size
8159# of here documents, and old seds have small limits too (100 cmds).
8160echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8161echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8162echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8163echo ' :' >>$CONFIG_STATUS
8164rm -f conftest.tail
8165while grep . conftest.defines >/dev/null
8166do
8167 # Write a limited-size here document to $tmp/defines.sed.
8168 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8169 # Speed up: don't consider the non `#define' lines.
8170 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8171 # Work around the forget-to-reset-the-flag bug.
8172 echo 't clr' >>$CONFIG_STATUS
8173 echo ': clr' >>$CONFIG_STATUS
8174 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8175 echo 'CEOF
8176 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8177 rm -f $tmp/in
8178 mv $tmp/out $tmp/in
8179' >>$CONFIG_STATUS
8180 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8181 rm -f conftest.defines
8182 mv conftest.tail conftest.defines
8183done
8184rm -f conftest.defines
8185echo ' fi # grep' >>$CONFIG_STATUS
8186echo >>$CONFIG_STATUS
8187
8188# Break up conftest.undefs because some shells have a limit on the size
8189# of here documents, and old seds have small limits too (100 cmds).
8190echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8191rm -f conftest.tail
8192while grep . conftest.undefs >/dev/null
8193do
8194 # Write a limited-size here document to $tmp/undefs.sed.
8195 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8196 # Speed up: don't consider the non `#undef'
8197 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8198 # Work around the forget-to-reset-the-flag bug.
8199 echo 't clr' >>$CONFIG_STATUS
8200 echo ': clr' >>$CONFIG_STATUS
8201 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8202 echo 'CEOF
8203 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8204 rm -f $tmp/in
8205 mv $tmp/out $tmp/in
8206' >>$CONFIG_STATUS
8207 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8208 rm -f conftest.undefs
8209 mv conftest.tail conftest.undefs
8210done
8211rm -f conftest.undefs
8212
8213cat >>$CONFIG_STATUS <<\_ACEOF
8214 # Let's still pretend it is `configure' which instantiates (i.e., don't
8215 # use $as_me), people would be surprised to read:
8216 # /* config.h. Generated by config.status. */
8217 if test x"$ac_file" = x-; then
8218 echo "/* Generated by configure. */" >$tmp/config.h
8219 else
8220 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8221 fi
8222 cat $tmp/in >>$tmp/config.h
8223 rm -f $tmp/in
8224 if test x"$ac_file" != x-; then
8225 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8226 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8227echo "$as_me: $ac_file is unchanged" >&6;}
8228 else
8229 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8230$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8231 X"$ac_file" : 'X\(//\)[^/]' \| \
8232 X"$ac_file" : 'X\(//\)$' \| \
8233 X"$ac_file" : 'X\(/\)' \| \
8234 . : '\(.\)' 2>/dev/null ||
8235echo X"$ac_file" |
8236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8237 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8238 /^X\(\/\/\)$/{ s//\1/; q; }
8239 /^X\(\/\).*/{ s//\1/; q; }
8240 s/.*/./; q'`
8241 { if $as_mkdir_p; then
8242 mkdir -p "$ac_dir"
8243 else
8244 as_dir="$ac_dir"
8245 as_dirs=
8246 while test ! -d "$as_dir"; do
8247 as_dirs="$as_dir $as_dirs"
8248 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8249$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8250 X"$as_dir" : 'X\(//\)[^/]' \| \
8251 X"$as_dir" : 'X\(//\)$' \| \
8252 X"$as_dir" : 'X\(/\)' \| \
8253 . : '\(.\)' 2>/dev/null ||
8254echo X"$as_dir" |
8255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8256 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8257 /^X\(\/\/\)$/{ s//\1/; q; }
8258 /^X\(\/\).*/{ s//\1/; q; }
8259 s/.*/./; q'`
8260 done
8261 test ! -n "$as_dirs" || mkdir $as_dirs
8262 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8263echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8264 { (exit 1); exit 1; }; }; }
8265
8266 rm -f $ac_file
8267 mv $tmp/config.h $ac_file
8268 fi
8269 else
8270 cat $tmp/config.h
8271 rm -f $tmp/config.h
8272 fi
8273done
8274_ACEOF
8275
8276cat >>$CONFIG_STATUS <<\_ACEOF
8277
8278{ (exit 0); exit 0; }
8279_ACEOF
8280chmod +x $CONFIG_STATUS
8281ac_clean_files=$ac_clean_files_save
8282
8283
8284# configure is writing to config.log, and then calls config.status.
8285# config.status does its own redirection, appending to config.log.
8286# Unfortunately, on DOS this fails, as config.log is still kept open
8287# by configure, so config.status won't be able to write to it; its
8288# output is simply discarded. So we exec the FD to /dev/null,
8289# effectively closing config.log, so it can be properly (re)opened and
8290# appended to by config.status. When coming back to configure, we
8291# need to make the FD available again.
8292if test "$no_create" != yes; then
8293 ac_cs_success=:
8294 ac_config_status_args=
8295 test "$silent" = yes &&
8296 ac_config_status_args="$ac_config_status_args --quiet"
8297 exec 5>/dev/null
8298 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8299 exec 5>>config.log
8300 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8301 # would make configure fail if this is the last instruction.
8302 $ac_cs_success || { (exit 1); exit 1; }
8303fi
8304
8305
8306# This is needed when building outside the source dir.
8307{ if $as_mkdir_p; then
8308 mkdir -p crypto/ae_xfm
8309 else
8310 as_dir=crypto/ae_xfm
8311 as_dirs=
8312 while test ! -d "$as_dir"; do
8313 as_dirs="$as_dir $as_dirs"
8314 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8315$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8316 X"$as_dir" : 'X\(//\)[^/]' \| \
8317 X"$as_dir" : 'X\(//\)$' \| \
8318 X"$as_dir" : 'X\(/\)' \| \
8319 . : '\(.\)' 2>/dev/null ||
8320echo X"$as_dir" |
8321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8323 /^X\(\/\/\)$/{ s//\1/; q; }
8324 /^X\(\/\).*/{ s//\1/; q; }
8325 s/.*/./; q'`
8326 done
8327 test ! -n "$as_dirs" || mkdir $as_dirs
8328 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/ae_xfm" >&5
8329echo "$as_me: error: cannot create directory crypto/ae_xfm" >&2;}
8330 { (exit 1); exit 1; }; }; }
8331
8332{ if $as_mkdir_p; then
8333 mkdir -p crypto/cipher
8334 else
8335 as_dir=crypto/cipher
8336 as_dirs=
8337 while test ! -d "$as_dir"; do
8338 as_dirs="$as_dir $as_dirs"
8339 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8340$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8341 X"$as_dir" : 'X\(//\)[^/]' \| \
8342 X"$as_dir" : 'X\(//\)$' \| \
8343 X"$as_dir" : 'X\(/\)' \| \
8344 . : '\(.\)' 2>/dev/null ||
8345echo X"$as_dir" |
8346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8348 /^X\(\/\/\)$/{ s//\1/; q; }
8349 /^X\(\/\).*/{ s//\1/; q; }
8350 s/.*/./; q'`
8351 done
8352 test ! -n "$as_dirs" || mkdir $as_dirs
8353 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/cipher" >&5
8354echo "$as_me: error: cannot create directory crypto/cipher" >&2;}
8355 { (exit 1); exit 1; }; }; }
8356
8357{ if $as_mkdir_p; then
8358 mkdir -p crypto/hash
8359 else
8360 as_dir=crypto/hash
8361 as_dirs=
8362 while test ! -d "$as_dir"; do
8363 as_dirs="$as_dir $as_dirs"
8364 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8365$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8366 X"$as_dir" : 'X\(//\)[^/]' \| \
8367 X"$as_dir" : 'X\(//\)$' \| \
8368 X"$as_dir" : 'X\(/\)' \| \
8369 . : '\(.\)' 2>/dev/null ||
8370echo X"$as_dir" |
8371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8372 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8373 /^X\(\/\/\)$/{ s//\1/; q; }
8374 /^X\(\/\).*/{ s//\1/; q; }
8375 s/.*/./; q'`
8376 done
8377 test ! -n "$as_dirs" || mkdir $as_dirs
8378 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/hash" >&5
8379echo "$as_me: error: cannot create directory crypto/hash" >&2;}
8380 { (exit 1); exit 1; }; }; }
8381
8382{ if $as_mkdir_p; then
8383 mkdir -p crypto/kernel
8384 else
8385 as_dir=crypto/kernel
8386 as_dirs=
8387 while test ! -d "$as_dir"; do
8388 as_dirs="$as_dir $as_dirs"
8389 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8390$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8391 X"$as_dir" : 'X\(//\)[^/]' \| \
8392 X"$as_dir" : 'X\(//\)$' \| \
8393 X"$as_dir" : 'X\(/\)' \| \
8394 . : '\(.\)' 2>/dev/null ||
8395echo X"$as_dir" |
8396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8397 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8398 /^X\(\/\/\)$/{ s//\1/; q; }
8399 /^X\(\/\).*/{ s//\1/; q; }
8400 s/.*/./; q'`
8401 done
8402 test ! -n "$as_dirs" || mkdir $as_dirs
8403 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/kernel" >&5
8404echo "$as_me: error: cannot create directory crypto/kernel" >&2;}
8405 { (exit 1); exit 1; }; }; }
8406
8407{ if $as_mkdir_p; then
8408 mkdir -p crypto/math
8409 else
8410 as_dir=crypto/math
8411 as_dirs=
8412 while test ! -d "$as_dir"; do
8413 as_dirs="$as_dir $as_dirs"
8414 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8415$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8416 X"$as_dir" : 'X\(//\)[^/]' \| \
8417 X"$as_dir" : 'X\(//\)$' \| \
8418 X"$as_dir" : 'X\(/\)' \| \
8419 . : '\(.\)' 2>/dev/null ||
8420echo X"$as_dir" |
8421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8422 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8423 /^X\(\/\/\)$/{ s//\1/; q; }
8424 /^X\(\/\).*/{ s//\1/; q; }
8425 s/.*/./; q'`
8426 done
8427 test ! -n "$as_dirs" || mkdir $as_dirs
8428 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/math" >&5
8429echo "$as_me: error: cannot create directory crypto/math" >&2;}
8430 { (exit 1); exit 1; }; }; }
8431
8432{ if $as_mkdir_p; then
8433 mkdir -p crypto/replay
8434 else
8435 as_dir=crypto/replay
8436 as_dirs=
8437 while test ! -d "$as_dir"; do
8438 as_dirs="$as_dir $as_dirs"
8439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8440$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8441 X"$as_dir" : 'X\(//\)[^/]' \| \
8442 X"$as_dir" : 'X\(//\)$' \| \
8443 X"$as_dir" : 'X\(/\)' \| \
8444 . : '\(.\)' 2>/dev/null ||
8445echo X"$as_dir" |
8446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8448 /^X\(\/\/\)$/{ s//\1/; q; }
8449 /^X\(\/\).*/{ s//\1/; q; }
8450 s/.*/./; q'`
8451 done
8452 test ! -n "$as_dirs" || mkdir $as_dirs
8453 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/replay" >&5
8454echo "$as_me: error: cannot create directory crypto/replay" >&2;}
8455 { (exit 1); exit 1; }; }; }
8456
8457{ if $as_mkdir_p; then
8458 mkdir -p crypto/rng
8459 else
8460 as_dir=crypto/rng
8461 as_dirs=
8462 while test ! -d "$as_dir"; do
8463 as_dirs="$as_dir $as_dirs"
8464 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8465$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8466 X"$as_dir" : 'X\(//\)[^/]' \| \
8467 X"$as_dir" : 'X\(//\)$' \| \
8468 X"$as_dir" : 'X\(/\)' \| \
8469 . : '\(.\)' 2>/dev/null ||
8470echo X"$as_dir" |
8471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8472 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8473 /^X\(\/\/\)$/{ s//\1/; q; }
8474 /^X\(\/\).*/{ s//\1/; q; }
8475 s/.*/./; q'`
8476 done
8477 test ! -n "$as_dirs" || mkdir $as_dirs
8478 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/rng" >&5
8479echo "$as_me: error: cannot create directory crypto/rng" >&2;}
8480 { (exit 1); exit 1; }; }; }
8481
8482{ if $as_mkdir_p; then
8483 mkdir -p crypto/test
8484 else
8485 as_dir=crypto/test
8486 as_dirs=
8487 while test ! -d "$as_dir"; do
8488 as_dirs="$as_dir $as_dirs"
8489 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8490$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8491 X"$as_dir" : 'X\(//\)[^/]' \| \
8492 X"$as_dir" : 'X\(//\)$' \| \
8493 X"$as_dir" : 'X\(/\)' \| \
8494 . : '\(.\)' 2>/dev/null ||
8495echo X"$as_dir" |
8496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8497 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8498 /^X\(\/\/\)$/{ s//\1/; q; }
8499 /^X\(\/\).*/{ s//\1/; q; }
8500 s/.*/./; q'`
8501 done
8502 test ! -n "$as_dirs" || mkdir $as_dirs
8503 fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/test" >&5
8504echo "$as_me: error: cannot create directory crypto/test" >&2;}
8505 { (exit 1); exit 1; }; }; }
8506
8507{ if $as_mkdir_p; then
8508 mkdir -p doc
8509 else
8510 as_dir=doc
8511 as_dirs=
8512 while test ! -d "$as_dir"; do
8513 as_dirs="$as_dir $as_dirs"
8514 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8515$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8516 X"$as_dir" : 'X\(//\)[^/]' \| \
8517 X"$as_dir" : 'X\(//\)$' \| \
8518 X"$as_dir" : 'X\(/\)' \| \
8519 . : '\(.\)' 2>/dev/null ||
8520echo X"$as_dir" |
8521 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8522 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8523 /^X\(\/\/\)$/{ s//\1/; q; }
8524 /^X\(\/\).*/{ s//\1/; q; }
8525 s/.*/./; q'`
8526 done
8527 test ! -n "$as_dirs" || mkdir $as_dirs
8528 fi || { { echo "$as_me:$LINENO: error: cannot create directory doc" >&5
8529echo "$as_me: error: cannot create directory doc" >&2;}
8530 { (exit 1); exit 1; }; }; }
8531
8532{ if $as_mkdir_p; then
8533 mkdir -p srtp
8534 else
8535 as_dir=srtp
8536 as_dirs=
8537 while test ! -d "$as_dir"; do
8538 as_dirs="$as_dir $as_dirs"
8539 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8540$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8541 X"$as_dir" : 'X\(//\)[^/]' \| \
8542 X"$as_dir" : 'X\(//\)$' \| \
8543 X"$as_dir" : 'X\(/\)' \| \
8544 . : '\(.\)' 2>/dev/null ||
8545echo X"$as_dir" |
8546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8548 /^X\(\/\/\)$/{ s//\1/; q; }
8549 /^X\(\/\).*/{ s//\1/; q; }
8550 s/.*/./; q'`
8551 done
8552 test ! -n "$as_dirs" || mkdir $as_dirs
8553 fi || { { echo "$as_me:$LINENO: error: cannot create directory srtp" >&5
8554echo "$as_me: error: cannot create directory srtp" >&2;}
8555 { (exit 1); exit 1; }; }; }
8556
8557{ if $as_mkdir_p; then
8558 mkdir -p tables
8559 else
8560 as_dir=tables
8561 as_dirs=
8562 while test ! -d "$as_dir"; do
8563 as_dirs="$as_dir $as_dirs"
8564 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8565$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8566 X"$as_dir" : 'X\(//\)[^/]' \| \
8567 X"$as_dir" : 'X\(//\)$' \| \
8568 X"$as_dir" : 'X\(/\)' \| \
8569 . : '\(.\)' 2>/dev/null ||
8570echo X"$as_dir" |
8571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8572 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8573 /^X\(\/\/\)$/{ s//\1/; q; }
8574 /^X\(\/\).*/{ s//\1/; q; }
8575 s/.*/./; q'`
8576 done
8577 test ! -n "$as_dirs" || mkdir $as_dirs
8578 fi || { { echo "$as_me:$LINENO: error: cannot create directory tables" >&5
8579echo "$as_me: error: cannot create directory tables" >&2;}
8580 { (exit 1); exit 1; }; }; }
8581
8582{ if $as_mkdir_p; then
8583 mkdir -p test
8584 else
8585 as_dir=test
8586 as_dirs=
8587 while test ! -d "$as_dir"; do
8588 as_dirs="$as_dir $as_dirs"
8589 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8590$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8591 X"$as_dir" : 'X\(//\)[^/]' \| \
8592 X"$as_dir" : 'X\(//\)$' \| \
8593 X"$as_dir" : 'X\(/\)' \| \
8594 . : '\(.\)' 2>/dev/null ||
8595echo X"$as_dir" |
8596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8597 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8598 /^X\(\/\/\)$/{ s//\1/; q; }
8599 /^X\(\/\).*/{ s//\1/; q; }
8600 s/.*/./; q'`
8601 done
8602 test ! -n "$as_dirs" || mkdir $as_dirs
8603 fi || { { echo "$as_me:$LINENO: error: cannot create directory test" >&5
8604echo "$as_me: error: cannot create directory test" >&2;}
8605 { (exit 1); exit 1; }; }; }
8606