2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59.
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
## --------------------- ##
12
# Be Bourne compatible
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
24
# Support unset when possible.
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
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 \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65
# Name of the executable.
66
as_me=`$as_basename "$0" ||
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128
case $CONFIG_SHELL in
130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
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
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172
s,^['$as_cr_digits']*\n,,
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; }; }
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).
182
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194
if expr a : '\(a\)' >/dev/null 2>&1; then
200
rm -f conf$$ conf$$.exe conf$$.file
202
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
211
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
225
as_executable_p="test -f"
227
# Sed expression to map a string onto a valid CPP name.
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230
# Sed expression to map a string onto a valid variable name.
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
# We need space, tab and new line, in precisely that order.
245
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246
# so uname gets run too.
247
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254
ac_default_prefix=/usr/local
255
ac_config_libobj_dir=.
260
SHELL=${CONFIG_SHELL-/bin/sh}
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}
267
# Identity of this package.
274
ac_unique_file="srtp"
275
# Factoring default headers for most tests.
276
ac_includes_default="\
279
# include <sys/types.h>
282
# include <sys/stat.h>
293
# if !STDC_HEADERS && HAVE_MEMORY_H
299
# include <strings.h>
302
# include <inttypes.h>
312
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RNG_OBJS CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os EXE GDOI_OBJS LIBOBJS LTLIBOBJS'
315
# Initialize some variables set by options.
317
ac_init_version=false
318
# The variables have the same names as the options, with
319
# dashes changed to underlines.
327
program_transform_name=s,x,x,
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.
340
bindir='${exec_prefix}/bin'
341
sbindir='${exec_prefix}/sbin'
342
libexecdir='${exec_prefix}/libexec'
343
datadir='${prefix}/share'
344
sysconfdir='${prefix}/etc'
345
sharedstatedir='${prefix}/com'
346
localstatedir='${prefix}/var'
347
libdir='${exec_prefix}/lib'
348
includedir='${prefix}/include'
349
oldincludedir='/usr/include'
350
infodir='${prefix}/info'
351
mandir='${prefix}/man'
356
# If the previous option needs an argument, assign it.
357
if test -n "$ac_prev"; then
358
eval "$ac_prev=\$ac_option"
363
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365
# Accept the important Cygnus configure options, so we can diagnose typos.
369
-bindir | --bindir | --bindi | --bind | --bin | --bi)
371
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374
-build | --build | --buil | --bui | --bu)
375
ac_prev=build_alias ;;
376
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
377
build_alias=$ac_optarg ;;
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 ;;
387
cache_file=config.cache ;;
389
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393
datadir=$ac_optarg ;;
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" ;;
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'`
412
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415
eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
426
-gas | --gas | --ga | --g)
427
# Obsolete; use --with-gas.
430
-help | --help | --hel | --he | -h)
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 ;;
437
-host | --host | --hos | --ho)
438
ac_prev=host_alias ;;
439
-host=* | --host=* | --hos=* | --ho=*)
440
host_alias=$ac_optarg ;;
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 ;;
449
-infodir | --infodir | --infodi | --infod | --info | --inf)
451
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452
infodir=$ac_optarg ;;
454
-libdir | --libdir | --libdi | --libd)
456
-libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
475
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481
# Obsolete; use --without-fp.
484
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
485
| --no-cr | --no-c | -n)
488
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
489
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
501
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
537
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
538
| -silent | --silent | --silen | --sile | --sil)
541
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545
sbindir=$ac_optarg ;;
547
-sharedstatedir | --sharedstatedir | --sharedstatedi \
548
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549
| --sharedst | --shareds | --shared | --share | --shar \
551
ac_prev=sharedstatedir ;;
552
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556
sharedstatedir=$ac_optarg ;;
558
-site | --site | --sit)
560
-site=* | --site=* | --sit=*)
563
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
580
-v | -verbose | --verbose | --verbos | --verbo | --verb)
583
-version | --version | --versio | --versi | --vers | -V)
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'`
594
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597
eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
609
# Obsolete; use --with-x.
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 ;;
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 ;;
626
-*) { echo "$as_me: error: unrecognized option: $ac_option
627
Try \`$0 --help' for more information." >&2
628
{ (exit 1); exit 1; }; }
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'"
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}
652
if 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; }; }
658
# Be sure to have absolute paths.
659
for ac_var in exec_prefix prefix
661
eval ac_val=$`echo $ac_var`
663
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665
{ (exit 1); exit 1; }; };;
669
# Be sure to have absolute paths.
670
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671
localstatedir libdir includedir oldincludedir infodir mandir
673
eval ac_val=$`echo $ac_var`
675
[\\/$]* | ?:[\\/]* ) ;;
676
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677
{ (exit 1); exit 1; }; };;
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.
688
# FIXME: To remove some day.
689
if 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
700
test -n "$host_alias" && ac_tool_prefix=$host_alias-
702
test "$silent" = yes && exec 6>/dev/null
705
# Find the source files, if location was not specified.
706
if 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 ||
716
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
718
/^X\(\/\/\)$/{ s//\1/; q; }
719
/^X\(\/\).*/{ s//\1/; q; }
722
if test ! -r $srcdir/$ac_unique_file; then
726
ac_srcdir_defaulted=no
728
if 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; }; }
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734
{ (exit 1); exit 1; }; }
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; }; }
740
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741
ac_env_build_alias_set=${build_alias+set}
742
ac_env_build_alias_value=$build_alias
743
ac_cv_env_build_alias_set=${build_alias+set}
744
ac_cv_env_build_alias_value=$build_alias
745
ac_env_host_alias_set=${host_alias+set}
746
ac_env_host_alias_value=$host_alias
747
ac_cv_env_host_alias_set=${host_alias+set}
748
ac_cv_env_host_alias_value=$host_alias
749
ac_env_target_alias_set=${target_alias+set}
750
ac_env_target_alias_value=$target_alias
751
ac_cv_env_target_alias_set=${target_alias+set}
752
ac_cv_env_target_alias_value=$target_alias
753
ac_env_CC_set=${CC+set}
755
ac_cv_env_CC_set=${CC+set}
756
ac_cv_env_CC_value=$CC
757
ac_env_CFLAGS_set=${CFLAGS+set}
758
ac_env_CFLAGS_value=$CFLAGS
759
ac_cv_env_CFLAGS_set=${CFLAGS+set}
760
ac_cv_env_CFLAGS_value=$CFLAGS
761
ac_env_LDFLAGS_set=${LDFLAGS+set}
762
ac_env_LDFLAGS_value=$LDFLAGS
763
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764
ac_cv_env_LDFLAGS_value=$LDFLAGS
765
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766
ac_env_CPPFLAGS_value=$CPPFLAGS
767
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769
ac_env_CPP_set=${CPP+set}
770
ac_env_CPP_value=$CPP
771
ac_cv_env_CPP_set=${CPP+set}
772
ac_cv_env_CPP_value=$CPP
775
# Report the --help message.
777
if 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.
781
\`configure' configures this package to adapt to many kinds of systems.
783
Usage: $0 [OPTION]... [VAR=VALUE]...
785
To assign environment variables (e.g., CC, CFLAGS...), specify them as
786
VAR=VALUE. See below for descriptions of some of the useful variables.
788
Defaults for the options are specified in brackets.
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 \`..']
804
Installation directories:
805
--prefix=PREFIX install architecture-independent files in PREFIX
807
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810
By default, \`make install' will install all the files in
811
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813
for instance \`--prefix=\$HOME'.
815
For better control, use the options below.
817
Fine 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]
835
--build=BUILD configure for building on BUILD [guessed]
836
--host=HOST cross-compile to build programs to run on HOST [BUILD]
840
if test -n "$ac_init_help"; then
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
855
Some 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>
864
Use these variables to override the choices made by `configure' or to help
865
it to find libraries and programs with nonstandard names/locations.
870
if test "$ac_init_help" = "recursive"; then
871
# If there are subdirs, report their specific --help.
873
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874
test -d $ac_dir || continue
877
if 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'`
882
ac_dir_suffix= ac_top_builddir=
886
.) # No --srcdir option. We are building in place.
888
if test -z "$ac_top_builddir"; then
891
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
893
[\\/]* | ?:[\\/]* ) # Absolute path.
894
ac_srcdir=$srcdir$ac_dir_suffix;
895
ac_top_srcdir=$srcdir ;;
897
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898
ac_top_srcdir=$ac_top_builddir$srcdir ;;
901
# Do not use `cd foo && pwd` to compute absolute paths, because
902
# the directories may not exist.
904
.) ac_abs_builddir="$ac_dir";;
907
.) ac_abs_builddir=`pwd`;;
908
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909
*) ac_abs_builddir=`pwd`/"$ac_dir";;
912
case $ac_abs_builddir in
913
.) ac_abs_top_builddir=${ac_top_builddir}.;;
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}.;;
921
case $ac_abs_builddir in
922
.) ac_abs_srcdir=$ac_srcdir;;
925
.) ac_abs_srcdir=$ac_abs_builddir;;
926
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
930
case $ac_abs_builddir in
931
.) ac_abs_top_srcdir=$ac_top_srcdir;;
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;;
941
# Check for guested configure; otherwise get Cygnus style configure.
942
if test -f $ac_srcdir/configure.gnu; then
944
$SHELL $ac_srcdir/configure.gnu --help=recursive
945
elif test -f $ac_srcdir/configure; then
947
$SHELL $ac_srcdir/configure --help=recursive
948
elif test -f $ac_srcdir/configure.ac ||
949
test -f $ac_srcdir/configure.in; then
953
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959
test -n "$ac_init_help" && exit 0
960
if $ac_init_version; then
963
Copyright (C) 2003 Free Software Foundation, Inc.
964
This configure script is free software; the Free Software Foundation
965
gives unlimited permission to copy, distribute and modify it.
971
This file contains any messages produced by compilers while
972
running configure, to aid debugging if configure makes a mistake.
974
It was created by $as_me, which was
975
generated by GNU Autoconf 2.59. Invocation command line was
986
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
987
uname -m = `(uname -m) 2>/dev/null || echo unknown`
988
uname -r = `(uname -r) 2>/dev/null || echo unknown`
989
uname -s = `(uname -s) 2>/dev/null || echo unknown`
990
uname -v = `(uname -v) 2>/dev/null || echo unknown`
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`
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`
998
hostinfo = `(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`
1005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1009
test -z "$as_dir" && as_dir=.
1010
echo "PATH: $as_dir"
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.
1034
ac_must_keep_next=false
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)
1044
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1045
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1048
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
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.
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 ;;
1063
-* ) ac_must_keep_next=true ;;
1066
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1067
# Get rid of the leading space.
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; }
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.
1081
trap 'exit_status=$?
1082
# Save into config.log some information that might help in debugging.
1087
## ---------------- ##
1088
## Cache variables. ##
1089
## ---------------- ##
1092
# The following way of writing the cache mishandles newlines in values,
1095
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1099
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1103
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1110
## ----------------- ##
1111
## Output variables. ##
1112
## ----------------- ##
1115
for ac_var in $ac_subst_vars
1117
eval ac_val=$`echo $ac_var`
1118
echo "$ac_var='"'"'$ac_val'"'"'"
1122
if test -n "$ac_subst_files"; then
1129
for ac_var in $ac_subst_files
1131
eval ac_val=$`echo $ac_var`
1132
echo "$ac_var='"'"'$ac_val'"'"'"
1137
if test -s confdefs.h; then
1144
sed "/^$/d" confdefs.h | sort
1147
test "$ac_signal" != 0 &&
1148
echo "$as_me: caught signal $ac_signal"
1149
echo "$as_me: exit $exit_status"
1151
rm -f core *.core &&
1152
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1155
for ac_signal in 1 2 13 15; do
1156
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1160
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1161
rm -rf conftest* confdefs.h
1162
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165
# Predefined preprocessor variables.
1167
cat >>confdefs.h <<_ACEOF
1168
#define PACKAGE_NAME "$PACKAGE_NAME"
1172
cat >>confdefs.h <<_ACEOF
1173
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1177
cat >>confdefs.h <<_ACEOF
1178
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1182
cat >>confdefs.h <<_ACEOF
1183
#define PACKAGE_STRING "$PACKAGE_STRING"
1187
cat >>confdefs.h <<_ACEOF
1188
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1192
# Let the site file select an alternate cache file if it wants to.
1193
# Prefer explicitly selected file to automatically selected ones.
1194
if test -z "$CONFIG_SITE"; then
1195
if test "x$prefix" != xNONE; then
1196
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1198
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201
for 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
1204
echo "$as_me: loading site script $ac_site_file" >&6;}
1205
sed 's/^/| /' "$ac_site_file" >&5
1210
if 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
1215
echo "$as_me: loading cache $cache_file" >&6;}
1217
[\\/]* | ?:[\\/]* ) . $cache_file;;
1218
*) . ./$cache_file;;
1222
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1223
echo "$as_me: creating cache $cache_file" >&6;}
1227
# Check that the precious variables saved in the cache have kept the same
1229
ac_cache_corrupted=false
1230
for 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
1238
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1239
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1240
ac_cache_corrupted=: ;;
1242
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1243
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1244
ac_cache_corrupted=: ;;
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
1249
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1250
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1251
echo "$as_me: former value: $ac_old_val" >&2;}
1252
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1253
echo "$as_me: current value: $ac_new_val" >&2;}
1254
ac_cache_corrupted=:
1257
# Pass precious variables to config.status.
1258
if test "$ac_new_set" = set; then
1260
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1261
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1262
*) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
1270
if $ac_cache_corrupted; then
1271
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1272
echo "$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
1274
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1275
{ (exit 1); exit 1; }; }
1279
ac_cpp='$CPP $CPPFLAGS'
1280
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1281
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1282
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1303
if test -z "$CFLAGS"; then
1304
CFLAGS="-Wall -O4 -fexpensive-optimizations -funroll-loops"
1307
if 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.
1309
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1310
echo "$as_me:$LINENO: checking for $ac_word" >&5
1311
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1312
if test "${ac_cv_prog_RANLIB+set}" = set; then
1313
echo $ECHO_N "(cached) $ECHO_C" >&6
1315
if test -n "$RANLIB"; then
1316
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1318
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1334
RANLIB=$ac_cv_prog_RANLIB
1335
if test -n "$RANLIB"; then
1336
echo "$as_me:$LINENO: result: $RANLIB" >&5
1337
echo "${ECHO_T}$RANLIB" >&6
1339
echo "$as_me:$LINENO: result: no" >&5
1340
echo "${ECHO_T}no" >&6
1344
if 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.
1347
set dummy ranlib; ac_word=$2
1348
echo "$as_me:$LINENO: checking for $ac_word" >&5
1349
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1350
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1351
echo $ECHO_N "(cached) $ECHO_C" >&6
1353
if test -n "$ac_ct_RANLIB"; then
1354
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1370
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1373
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1374
if test -n "$ac_ct_RANLIB"; then
1375
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1376
echo "${ECHO_T}$ac_ct_RANLIB" >&6
1378
echo "$as_me:$LINENO: result: no" >&5
1379
echo "${ECHO_T}no" >&6
1382
RANLIB=$ac_ct_RANLIB
1384
RANLIB="$ac_cv_prog_RANLIB"
1388
ac_cpp='$CPP $CPPFLAGS'
1389
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1390
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1391
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1392
if 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.
1394
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1395
echo "$as_me:$LINENO: checking for $ac_word" >&5
1396
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1397
if test "${ac_cv_prog_CC+set}" = set; then
1398
echo $ECHO_N "(cached) $ECHO_C" >&6
1400
if test -n "$CC"; then
1401
ac_cv_prog_CC="$CC" # Let the user override the test.
1403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1420
if test -n "$CC"; then
1421
echo "$as_me:$LINENO: result: $CC" >&5
1422
echo "${ECHO_T}$CC" >&6
1424
echo "$as_me:$LINENO: result: no" >&5
1425
echo "${ECHO_T}no" >&6
1429
if test -z "$ac_cv_prog_CC"; then
1431
# Extract the first word of "gcc", so it can be a program name with args.
1432
set dummy gcc; ac_word=$2
1433
echo "$as_me:$LINENO: checking for $ac_word" >&5
1434
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1435
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1436
echo $ECHO_N "(cached) $ECHO_C" >&6
1438
if test -n "$ac_ct_CC"; then
1439
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1441
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1457
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1458
if test -n "$ac_ct_CC"; then
1459
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1460
echo "${ECHO_T}$ac_ct_CC" >&6
1462
echo "$as_me:$LINENO: result: no" >&5
1463
echo "${ECHO_T}no" >&6
1471
if 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.
1474
set dummy ${ac_tool_prefix}cc; ac_word=$2
1475
echo "$as_me:$LINENO: checking for $ac_word" >&5
1476
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1477
if test "${ac_cv_prog_CC+set}" = set; then
1478
echo $ECHO_N "(cached) $ECHO_C" >&6
1480
if test -n "$CC"; then
1481
ac_cv_prog_CC="$CC" # Let the user override the test.
1483
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1500
if test -n "$CC"; then
1501
echo "$as_me:$LINENO: result: $CC" >&5
1502
echo "${ECHO_T}$CC" >&6
1504
echo "$as_me:$LINENO: result: no" >&5
1505
echo "${ECHO_T}no" >&6
1509
if test -z "$ac_cv_prog_CC"; then
1511
# Extract the first word of "cc", so it can be a program name with args.
1512
set dummy cc; ac_word=$2
1513
echo "$as_me:$LINENO: checking for $ac_word" >&5
1514
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1516
echo $ECHO_N "(cached) $ECHO_C" >&6
1518
if test -n "$ac_ct_CC"; then
1519
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1537
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1538
if test -n "$ac_ct_CC"; then
1539
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1540
echo "${ECHO_T}$ac_ct_CC" >&6
1542
echo "$as_me:$LINENO: result: no" >&5
1543
echo "${ECHO_T}no" >&6
1552
if test -z "$CC"; then
1553
# Extract the first word of "cc", so it can be a program name with args.
1554
set dummy cc; ac_word=$2
1555
echo "$as_me:$LINENO: checking for $ac_word" >&5
1556
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557
if test "${ac_cv_prog_CC+set}" = set; then
1558
echo $ECHO_N "(cached) $ECHO_C" >&6
1560
if test -n "$CC"; then
1561
ac_cv_prog_CC="$CC" # Let the user override the test.
1564
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1576
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1582
if 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
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.
1591
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1597
if test -n "$CC"; then
1598
echo "$as_me:$LINENO: result: $CC" >&5
1599
echo "${ECHO_T}$CC" >&6
1601
echo "$as_me:$LINENO: result: no" >&5
1602
echo "${ECHO_T}no" >&6
1606
if test -z "$CC"; then
1607
if test -n "$ac_tool_prefix"; then
1610
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1611
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1612
echo "$as_me:$LINENO: checking for $ac_word" >&5
1613
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1614
if test "${ac_cv_prog_CC+set}" = set; then
1615
echo $ECHO_N "(cached) $ECHO_C" >&6
1617
if test -n "$CC"; then
1618
ac_cv_prog_CC="$CC" # Let the user override the test.
1620
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1637
if test -n "$CC"; then
1638
echo "$as_me:$LINENO: result: $CC" >&5
1639
echo "${ECHO_T}$CC" >&6
1641
echo "$as_me:$LINENO: result: no" >&5
1642
echo "${ECHO_T}no" >&6
1645
test -n "$CC" && break
1648
if test -z "$CC"; then
1652
# Extract the first word of "$ac_prog", so it can be a program name with args.
1653
set dummy $ac_prog; ac_word=$2
1654
echo "$as_me:$LINENO: checking for $ac_word" >&5
1655
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657
echo $ECHO_N "(cached) $ECHO_C" >&6
1659
if test -n "$ac_ct_CC"; then
1660
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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
1678
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1679
if test -n "$ac_ct_CC"; then
1680
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1681
echo "${ECHO_T}$ac_ct_CC" >&6
1683
echo "$as_me:$LINENO: result: no" >&5
1684
echo "${ECHO_T}no" >&6
1687
test -n "$ac_ct_CC" && break
1696
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1697
See \`config.log' for more details." >&5
1698
echo "$as_me: error: no acceptable C compiler found in \$PATH
1699
See \`config.log' for more details." >&2;}
1700
{ (exit 1); exit 1; }; }
1702
# Provide some information about the compiler.
1703
echo "$as_me:$LINENO:" \
1704
"checking for C compiler version" >&5
1705
ac_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
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
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
1719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1720
(exit $ac_status); }
1722
cat >conftest.$ac_ext <<_ACEOF
1725
cat confdefs.h >>conftest.$ac_ext
1726
cat >>conftest.$ac_ext <<_ACEOF
1727
/* end confdefs.h. */
1737
ac_clean_files_save=$ac_clean_files
1738
ac_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
1742
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1743
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1744
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1745
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1746
(eval $ac_link_default) 2>&5
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
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.
1757
# b.out is created by i960 compilers.
1758
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1760
test -f "$ac_file" || continue
1762
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1765
# This is the source file.
1768
# We found the default executable, but exeext='' is most
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.
1783
echo "$as_me: failed program was:" >&5
1784
sed 's/^/| /' conftest.$ac_ext >&5
1786
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1787
See \`config.log' for more details." >&5
1788
echo "$as_me: error: C compiler cannot create executables
1789
See \`config.log' for more details." >&2;}
1790
{ (exit 77); exit 77; }; }
1793
ac_exeext=$ac_cv_exeext
1794
echo "$as_me:$LINENO: result: $ac_file" >&5
1795
echo "${ECHO_T}$ac_file" >&6
1797
# Check the compiler produces executables we can run. If not, either
1798
# the compiler is broken, or we cross compile.
1799
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1800
echo $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.
1803
if test "$cross_compiling" != yes; then
1804
if { ac_try='./$ac_file'
1805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809
(exit $ac_status); }; }; then
1812
if test "$cross_compiling" = maybe; then
1815
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1816
If you meant to cross compile, use \`--host'.
1817
See \`config.log' for more details." >&5
1818
echo "$as_me: error: cannot run C compiled programs.
1819
If you meant to cross compile, use \`--host'.
1820
See \`config.log' for more details." >&2;}
1821
{ (exit 1); exit 1; }; }
1825
echo "$as_me:$LINENO: result: yes" >&5
1826
echo "${ECHO_T}yes" >&6
1828
rm -f a.out a.exe conftest$ac_cv_exeext b.out
1829
ac_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.
1832
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1833
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1834
echo "$as_me:$LINENO: result: $cross_compiling" >&5
1835
echo "${ECHO_T}$cross_compiling" >&6
1837
echo "$as_me:$LINENO: checking for suffix of executables" >&5
1838
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1839
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1840
(eval $ac_link) 2>&5
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
1848
for ac_file in conftest.exe conftest conftest.*; do
1849
test -f "$ac_file" || continue
1851
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1852
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1859
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1860
See \`config.log' for more details." >&5
1861
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1862
See \`config.log' for more details." >&2;}
1863
{ (exit 1); exit 1; }; }
1866
rm -f conftest$ac_cv_exeext
1867
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1868
echo "${ECHO_T}$ac_cv_exeext" >&6
1870
rm -f conftest.$ac_ext
1871
EXEEXT=$ac_cv_exeext
1873
echo "$as_me:$LINENO: checking for suffix of object files" >&5
1874
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1875
if test "${ac_cv_objext+set}" = set; then
1876
echo $ECHO_N "(cached) $ECHO_C" >&6
1878
cat >conftest.$ac_ext <<_ACEOF
1881
cat confdefs.h >>conftest.$ac_ext
1882
cat >>conftest.$ac_ext <<_ACEOF
1883
/* end confdefs.h. */
1893
rm -f conftest.o conftest.obj
1894
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1895
(eval $ac_compile) 2>&5
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
1901
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1902
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1907
echo "$as_me: failed program was:" >&5
1908
sed 's/^/| /' conftest.$ac_ext >&5
1910
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1911
See \`config.log' for more details." >&5
1912
echo "$as_me: error: cannot compute suffix of object files: cannot compile
1913
See \`config.log' for more details." >&2;}
1914
{ (exit 1); exit 1; }; }
1917
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1919
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1920
echo "${ECHO_T}$ac_cv_objext" >&6
1921
OBJEXT=$ac_cv_objext
1923
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1924
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1925
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1926
echo $ECHO_N "(cached) $ECHO_C" >&6
1928
cat >conftest.$ac_ext <<_ACEOF
1931
cat confdefs.h >>conftest.$ac_ext
1932
cat >>conftest.$ac_ext <<_ACEOF
1933
/* end confdefs.h. */
1946
rm -f conftest.$ac_objext
1947
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1948
(eval $ac_compile) 2>conftest.er1
1950
grep -v '^ *+' conftest.er1 >conftest.err
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
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
1966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967
(exit $ac_status); }; }; then
1970
echo "$as_me: failed program was:" >&5
1971
sed 's/^/| /' conftest.$ac_ext >&5
1975
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1976
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1979
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1980
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1981
GCC=`test $ac_compiler_gnu = yes && echo yes`
1982
ac_test_CFLAGS=${CFLAGS+set}
1983
ac_save_CFLAGS=$CFLAGS
1985
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1986
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1987
if test "${ac_cv_prog_cc_g+set}" = set; then
1988
echo $ECHO_N "(cached) $ECHO_C" >&6
1990
cat >conftest.$ac_ext <<_ACEOF
1993
cat confdefs.h >>conftest.$ac_ext
1994
cat >>conftest.$ac_ext <<_ACEOF
1995
/* end confdefs.h. */
2005
rm -f conftest.$ac_objext
2006
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2007
(eval $ac_compile) 2>conftest.er1
2009
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026
(exit $ac_status); }; }; then
2029
echo "$as_me: failed program was:" >&5
2030
sed 's/^/| /' conftest.$ac_ext >&5
2034
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2036
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2037
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2038
if test "$ac_test_CFLAGS" = set; then
2039
CFLAGS=$ac_save_CFLAGS
2040
elif test $ac_cv_prog_cc_g = yes; then
2041
if test "$GCC" = yes; then
2047
if test "$GCC" = yes; then
2053
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2054
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2055
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2056
echo $ECHO_N "(cached) $ECHO_C" >&6
2058
ac_cv_prog_cc_stdc=no
2060
cat >conftest.$ac_ext <<_ACEOF
2063
cat confdefs.h >>conftest.$ac_ext
2064
cat >>conftest.$ac_ext <<_ACEOF
2065
/* end confdefs.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. */
2071
struct buf { int x; };
2072
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2073
static char *e (p, i)
2079
static char *f (char * (*g) (char **, int), char **p, ...)
2084
s = g (p, va_arg (v,int));
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. */
2096
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2098
int test (int i, double x);
2099
struct s1 {int (*f) (int a);};
2100
struct s2 {int (*f) (double a);};
2101
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2107
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__
2119
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2121
CC="$ac_save_CC $ac_arg"
2122
rm -f conftest.$ac_objext
2123
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124
(eval $ac_compile) 2>conftest.er1
2126
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143
(exit $ac_status); }; }; then
2144
ac_cv_prog_cc_stdc=$ac_arg
2147
echo "$as_me: failed program was:" >&5
2148
sed 's/^/| /' conftest.$ac_ext >&5
2151
rm -f conftest.err conftest.$ac_objext
2153
rm -f conftest.$ac_ext conftest.$ac_objext
2158
case "x$ac_cv_prog_cc_stdc" in
2160
echo "$as_me:$LINENO: result: none needed" >&5
2161
echo "${ECHO_T}none needed" >&6 ;;
2163
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2164
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2165
CC="$CC $ac_cv_prog_cc_stdc" ;;
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.
2172
cat >conftest.$ac_ext <<_ACEOF
2177
rm -f conftest.$ac_objext
2178
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2179
(eval $ac_compile) 2>conftest.er1
2181
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198
(exit $ac_status); }; }; then
2199
for ac_declaration in \
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);' \
2207
cat >conftest.$ac_ext <<_ACEOF
2210
cat confdefs.h >>conftest.$ac_ext
2211
cat >>conftest.$ac_ext <<_ACEOF
2212
/* end confdefs.h. */
2223
rm -f conftest.$ac_objext
2224
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225
(eval $ac_compile) 2>conftest.er1
2227
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244
(exit $ac_status); }; }; then
2247
echo "$as_me: failed program was:" >&5
2248
sed 's/^/| /' conftest.$ac_ext >&5
2252
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2253
cat >conftest.$ac_ext <<_ACEOF
2256
cat confdefs.h >>conftest.$ac_ext
2257
cat >>conftest.$ac_ext <<_ACEOF
2258
/* end confdefs.h. */
2268
rm -f conftest.$ac_objext
2269
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2270
(eval $ac_compile) 2>conftest.er1
2272
grep -v '^ *+' conftest.er1 >conftest.err
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
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
2288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289
(exit $ac_status); }; }; then
2292
echo "$as_me: failed program was:" >&5
2293
sed 's/^/| /' conftest.$ac_ext >&5
2296
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2299
if test -n "$ac_declaration"; then
2300
echo '#ifdef __cplusplus' >>confdefs.h
2301
echo $ac_declaration >>confdefs.h
2302
echo '#endif' >>confdefs.h
2306
echo "$as_me: failed program was:" >&5
2307
sed 's/^/| /' conftest.$ac_ext >&5
2310
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2312
ac_cpp='$CPP $CPPFLAGS'
2313
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2314
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2315
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2318
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2319
if test -f $ac_dir/install-sh; then
2321
ac_install_sh="$ac_aux_dir/install-sh -c"
2323
elif test -f $ac_dir/install.sh; then
2325
ac_install_sh="$ac_aux_dir/install.sh -c"
2327
elif test -f $ac_dir/shtool; then
2329
ac_install_sh="$ac_aux_dir/shtool install -c"
2333
if test -z "$ac_aux_dir"; then
2334
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2335
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2336
{ (exit 1); exit 1; }; }
2338
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2339
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2340
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
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
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.
2355
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2356
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2357
if test -z "$INSTALL"; then
2358
if test "${ac_cv_path_install+set}" = set; then
2359
echo $ECHO_N "(cached) $ECHO_C" >&6
2361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365
test -z "$as_dir" && as_dir=.
2366
# Account for people who put trailing slashes in PATH elements.
2368
./ | .// | /cC/* | \
2369
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2370
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
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
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.
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.
2388
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2400
if test "${ac_cv_path_install+set}" = set; then
2401
INSTALL=$ac_cv_path_install
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
2410
echo "$as_me:$LINENO: result: $INSTALL" >&5
2411
echo "${ECHO_T}$INSTALL" >&6
2413
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2414
# It thinks the first close brace ends the variable substitution.
2415
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2417
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2419
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2423
# Check whether --enable-kernel-linux or --disable-kernel-linux was given.
2424
if test "${enable_kernel_linux+set}" = set; then
2425
enableval="$enable_kernel_linux"
2428
enable_kernel_linux=no
2430
echo "$as_me:$LINENO: checking whether to build for Linux kernel context" >&5
2431
echo $ECHO_N "checking whether to build for Linux kernel context... $ECHO_C" >&6
2432
if test "$enable_kernel_linux" = "yes"; then
2434
cat >>confdefs.h <<\_ACEOF
2435
#define SRTP_KERNEL 1
2439
cat >>confdefs.h <<\_ACEOF
2440
#define SRTP_KERNEL_LINUX 1
2444
echo "$as_me:$LINENO: result: $enable_kernel_linux" >&5
2445
echo "${ECHO_T}$enable_kernel_linux" >&6
2447
if test "$cross_compiling" != yes; then
2448
echo "$as_me:$LINENO: checking for /dev/urandom" >&5
2449
echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6
2450
if test "${ac_cv_file__dev_urandom+set}" = set; then
2451
echo $ECHO_N "(cached) $ECHO_C" >&6
2453
test "$cross_compiling" = yes &&
2454
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2455
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2456
{ (exit 1); exit 1; }; }
2457
if test -r "/dev/urandom"; then
2458
ac_cv_file__dev_urandom=yes
2460
ac_cv_file__dev_urandom=no
2463
echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
2464
echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6
2465
if test $ac_cv_file__dev_urandom = yes; then
2466
DEV_URANDOM=/dev/urandom
2468
echo "$as_me:$LINENO: checking for /dev/random" >&5
2469
echo $ECHO_N "checking for /dev/random... $ECHO_C" >&6
2470
if test "${ac_cv_file__dev_random+set}" = set; then
2471
echo $ECHO_N "(cached) $ECHO_C" >&6
2473
test "$cross_compiling" = yes &&
2474
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2475
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2476
{ (exit 1); exit 1; }; }
2477
if test -r "/dev/random"; then
2478
ac_cv_file__dev_random=yes
2480
ac_cv_file__dev_random=no
2483
echo "$as_me:$LINENO: result: $ac_cv_file__dev_random" >&5
2484
echo "${ECHO_T}$ac_cv_file__dev_random" >&6
2485
if test $ac_cv_file__dev_random = yes; then
2486
DEV_URANDOM=/dev/random
2493
echo "$as_me:$LINENO: checking which random device to use" >&5
2494
echo $ECHO_N "checking which random device to use... $ECHO_C" >&6
2495
if test "$enable_kernel_linux" = "yes"; then
2496
RNG_OBJS=rand_linux_kernel.o
2497
echo "$as_me:$LINENO: result: Linux kernel builtin" >&5
2498
echo "${ECHO_T}Linux kernel builtin" >&6
2500
RNG_OBJS=rand_source.o
2501
if test -n "$DEV_URANDOM"; then
2503
cat >>confdefs.h <<_ACEOF
2504
#define DEV_URANDOM "$DEV_URANDOM"
2507
echo "$as_me:$LINENO: result: $DEV_URANDOM" >&5
2508
echo "${ECHO_T}$DEV_URANDOM" >&6
2510
echo "$as_me:$LINENO: result: standard rand() function..." >&5
2511
echo "${ECHO_T}standard rand() function..." >&6
2519
ac_cpp='$CPP $CPPFLAGS'
2520
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2524
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2525
# On Suns, sometimes $CPP names a directory.
2526
if test -n "$CPP" && test -d "$CPP"; then
2529
if test -z "$CPP"; then
2530
if test "${ac_cv_prog_CPP+set}" = set; then
2531
echo $ECHO_N "(cached) $ECHO_C" >&6
2533
# Double quotes because CPP needs to be expanded
2534
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2537
for ac_c_preproc_warn_flag in '' yes
2539
# Use a header file that comes with gcc, so configuring glibc
2540
# with a fresh cross-compiler works.
2541
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2542
# <limits.h> exists even on freestanding compilers.
2543
# On the NeXT, cc -E runs the code through the compiler's parser,
2544
# not just through cpp. "Syntax error" is here to catch this case.
2545
cat >conftest.$ac_ext <<_ACEOF
2548
cat confdefs.h >>conftest.$ac_ext
2549
cat >>conftest.$ac_ext <<_ACEOF
2550
/* end confdefs.h. */
2552
# include <limits.h>
2554
# include <assert.h>
2558
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2559
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2561
grep -v '^ *+' conftest.er1 >conftest.err
2563
cat conftest.err >&5
2564
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565
(exit $ac_status); } >/dev/null; then
2566
if test -s conftest.err; then
2567
ac_cpp_err=$ac_c_preproc_warn_flag
2568
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2575
if test -z "$ac_cpp_err"; then
2578
echo "$as_me: failed program was:" >&5
2579
sed 's/^/| /' conftest.$ac_ext >&5
2581
# Broken: fails on valid input.
2584
rm -f conftest.err conftest.$ac_ext
2586
# OK, works on sane cases. Now check whether non-existent headers
2587
# can be detected and how.
2588
cat >conftest.$ac_ext <<_ACEOF
2591
cat confdefs.h >>conftest.$ac_ext
2592
cat >>conftest.$ac_ext <<_ACEOF
2593
/* end confdefs.h. */
2594
#include <ac_nonexistent.h>
2596
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2597
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2599
grep -v '^ *+' conftest.er1 >conftest.err
2601
cat conftest.err >&5
2602
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603
(exit $ac_status); } >/dev/null; then
2604
if test -s conftest.err; then
2605
ac_cpp_err=$ac_c_preproc_warn_flag
2606
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2613
if test -z "$ac_cpp_err"; then
2614
# Broken: success on invalid input.
2617
echo "$as_me: failed program was:" >&5
2618
sed 's/^/| /' conftest.$ac_ext >&5
2620
# Passes both tests.
2624
rm -f conftest.err conftest.$ac_ext
2627
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2628
rm -f conftest.err conftest.$ac_ext
2629
if $ac_preproc_ok; then
2641
echo "$as_me:$LINENO: result: $CPP" >&5
2642
echo "${ECHO_T}$CPP" >&6
2644
for ac_c_preproc_warn_flag in '' yes
2646
# Use a header file that comes with gcc, so configuring glibc
2647
# with a fresh cross-compiler works.
2648
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2649
# <limits.h> exists even on freestanding compilers.
2650
# On the NeXT, cc -E runs the code through the compiler's parser,
2651
# not just through cpp. "Syntax error" is here to catch this case.
2652
cat >conftest.$ac_ext <<_ACEOF
2655
cat confdefs.h >>conftest.$ac_ext
2656
cat >>conftest.$ac_ext <<_ACEOF
2657
/* end confdefs.h. */
2659
# include <limits.h>
2661
# include <assert.h>
2665
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2666
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2668
grep -v '^ *+' conftest.er1 >conftest.err
2670
cat conftest.err >&5
2671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672
(exit $ac_status); } >/dev/null; then
2673
if test -s conftest.err; then
2674
ac_cpp_err=$ac_c_preproc_warn_flag
2675
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2682
if test -z "$ac_cpp_err"; then
2685
echo "$as_me: failed program was:" >&5
2686
sed 's/^/| /' conftest.$ac_ext >&5
2688
# Broken: fails on valid input.
2691
rm -f conftest.err conftest.$ac_ext
2693
# OK, works on sane cases. Now check whether non-existent headers
2694
# can be detected and how.
2695
cat >conftest.$ac_ext <<_ACEOF
2698
cat confdefs.h >>conftest.$ac_ext
2699
cat >>conftest.$ac_ext <<_ACEOF
2700
/* end confdefs.h. */
2701
#include <ac_nonexistent.h>
2703
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2704
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2706
grep -v '^ *+' conftest.er1 >conftest.err
2708
cat conftest.err >&5
2709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710
(exit $ac_status); } >/dev/null; then
2711
if test -s conftest.err; then
2712
ac_cpp_err=$ac_c_preproc_warn_flag
2713
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2720
if test -z "$ac_cpp_err"; then
2721
# Broken: success on invalid input.
2724
echo "$as_me: failed program was:" >&5
2725
sed 's/^/| /' conftest.$ac_ext >&5
2727
# Passes both tests.
2731
rm -f conftest.err conftest.$ac_ext
2734
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2735
rm -f conftest.err conftest.$ac_ext
2736
if $ac_preproc_ok; then
2739
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2740
See \`config.log' for more details." >&5
2741
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2742
See \`config.log' for more details." >&2;}
2743
{ (exit 1); exit 1; }; }
2747
ac_cpp='$CPP $CPPFLAGS'
2748
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2749
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2750
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2753
echo "$as_me:$LINENO: checking for egrep" >&5
2754
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2755
if test "${ac_cv_prog_egrep+set}" = set; then
2756
echo $ECHO_N "(cached) $ECHO_C" >&6
2758
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2759
then ac_cv_prog_egrep='grep -E'
2760
else ac_cv_prog_egrep='egrep'
2763
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2764
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2765
EGREP=$ac_cv_prog_egrep
2768
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2769
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2770
if test "${ac_cv_header_stdc+set}" = set; then
2771
echo $ECHO_N "(cached) $ECHO_C" >&6
2773
cat >conftest.$ac_ext <<_ACEOF
2776
cat confdefs.h >>conftest.$ac_ext
2777
cat >>conftest.$ac_ext <<_ACEOF
2778
/* end confdefs.h. */
2792
rm -f conftest.$ac_objext
2793
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2794
(eval $ac_compile) 2>conftest.er1
2796
grep -v '^ *+' conftest.er1 >conftest.err
2798
cat conftest.err >&5
2799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800
(exit $ac_status); } &&
2801
{ ac_try='test -z "$ac_c_werror_flag"
2802
|| test ! -s conftest.err'
2803
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
(exit $ac_status); }; } &&
2808
{ ac_try='test -s conftest.$ac_objext'
2809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813
(exit $ac_status); }; }; then
2814
ac_cv_header_stdc=yes
2816
echo "$as_me: failed program was:" >&5
2817
sed 's/^/| /' conftest.$ac_ext >&5
2819
ac_cv_header_stdc=no
2821
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2823
if test $ac_cv_header_stdc = yes; then
2824
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2825
cat >conftest.$ac_ext <<_ACEOF
2828
cat confdefs.h >>conftest.$ac_ext
2829
cat >>conftest.$ac_ext <<_ACEOF
2830
/* end confdefs.h. */
2834
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2835
$EGREP "memchr" >/dev/null 2>&1; then
2838
ac_cv_header_stdc=no
2844
if test $ac_cv_header_stdc = yes; then
2845
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2846
cat >conftest.$ac_ext <<_ACEOF
2849
cat confdefs.h >>conftest.$ac_ext
2850
cat >>conftest.$ac_ext <<_ACEOF
2851
/* end confdefs.h. */
2855
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2856
$EGREP "free" >/dev/null 2>&1; then
2859
ac_cv_header_stdc=no
2865
if test $ac_cv_header_stdc = yes; then
2866
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2867
if test "$cross_compiling" = yes; then
2870
cat >conftest.$ac_ext <<_ACEOF
2873
cat confdefs.h >>conftest.$ac_ext
2874
cat >>conftest.$ac_ext <<_ACEOF
2875
/* end confdefs.h. */
2877
#if ((' ' & 0x0FF) == 0x020)
2878
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2879
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2881
# define ISLOWER(c) \
2882
(('a' <= (c) && (c) <= 'i') \
2883
|| ('j' <= (c) && (c) <= 'r') \
2884
|| ('s' <= (c) && (c) <= 'z'))
2885
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2888
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2893
for (i = 0; i < 256; i++)
2894
if (XOR (islower (i), ISLOWER (i))
2895
|| toupper (i) != TOUPPER (i))
2900
rm -f conftest$ac_exeext
2901
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2902
(eval $ac_link) 2>&5
2904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2906
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910
(exit $ac_status); }; }; then
2913
echo "$as_me: program exited with status $ac_status" >&5
2914
echo "$as_me: failed program was:" >&5
2915
sed 's/^/| /' conftest.$ac_ext >&5
2918
ac_cv_header_stdc=no
2920
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2924
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2925
echo "${ECHO_T}$ac_cv_header_stdc" >&6
2926
if test $ac_cv_header_stdc = yes; then
2928
cat >>confdefs.h <<\_ACEOF
2929
#define STDC_HEADERS 1
2934
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2944
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2945
inttypes.h stdint.h unistd.h
2947
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2948
echo "$as_me:$LINENO: checking for $ac_header" >&5
2949
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2950
if eval "test \"\${$as_ac_Header+set}\" = set"; then
2951
echo $ECHO_N "(cached) $ECHO_C" >&6
2953
cat >conftest.$ac_ext <<_ACEOF
2956
cat confdefs.h >>conftest.$ac_ext
2957
cat >>conftest.$ac_ext <<_ACEOF
2958
/* end confdefs.h. */
2959
$ac_includes_default
2961
#include <$ac_header>
2963
rm -f conftest.$ac_objext
2964
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2965
(eval $ac_compile) 2>conftest.er1
2967
grep -v '^ *+' conftest.er1 >conftest.err
2969
cat conftest.err >&5
2970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971
(exit $ac_status); } &&
2972
{ ac_try='test -z "$ac_c_werror_flag"
2973
|| test ! -s conftest.err'
2974
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
(exit $ac_status); }; } &&
2979
{ ac_try='test -s conftest.$ac_objext'
2980
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984
(exit $ac_status); }; }; then
2985
eval "$as_ac_Header=yes"
2987
echo "$as_me: failed program was:" >&5
2988
sed 's/^/| /' conftest.$ac_ext >&5
2990
eval "$as_ac_Header=no"
2992
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2994
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2995
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2996
if test `eval echo '${'$as_ac_Header'}'` = yes; then
2997
cat >>confdefs.h <<_ACEOF
2998
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3007
for ac_header in stdlib.h
3009
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3010
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3011
echo "$as_me:$LINENO: checking for $ac_header" >&5
3012
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3013
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3014
echo $ECHO_N "(cached) $ECHO_C" >&6
3016
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3017
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3019
# Is the header compilable?
3020
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3021
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3022
cat >conftest.$ac_ext <<_ACEOF
3025
cat confdefs.h >>conftest.$ac_ext
3026
cat >>conftest.$ac_ext <<_ACEOF
3027
/* end confdefs.h. */
3028
$ac_includes_default
3029
#include <$ac_header>
3031
rm -f conftest.$ac_objext
3032
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3033
(eval $ac_compile) 2>conftest.er1
3035
grep -v '^ *+' conftest.er1 >conftest.err
3037
cat conftest.err >&5
3038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039
(exit $ac_status); } &&
3040
{ ac_try='test -z "$ac_c_werror_flag"
3041
|| test ! -s conftest.err'
3042
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046
(exit $ac_status); }; } &&
3047
{ ac_try='test -s conftest.$ac_objext'
3048
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3051
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3052
(exit $ac_status); }; }; then
3053
ac_header_compiler=yes
3055
echo "$as_me: failed program was:" >&5
3056
sed 's/^/| /' conftest.$ac_ext >&5
3058
ac_header_compiler=no
3060
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3061
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3062
echo "${ECHO_T}$ac_header_compiler" >&6
3064
# Is the header present?
3065
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3066
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3067
cat >conftest.$ac_ext <<_ACEOF
3070
cat confdefs.h >>conftest.$ac_ext
3071
cat >>conftest.$ac_ext <<_ACEOF
3072
/* end confdefs.h. */
3073
#include <$ac_header>
3075
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3076
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3078
grep -v '^ *+' conftest.er1 >conftest.err
3080
cat conftest.err >&5
3081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082
(exit $ac_status); } >/dev/null; then
3083
if test -s conftest.err; then
3084
ac_cpp_err=$ac_c_preproc_warn_flag
3085
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3092
if test -z "$ac_cpp_err"; then
3093
ac_header_preproc=yes
3095
echo "$as_me: failed program was:" >&5
3096
sed 's/^/| /' conftest.$ac_ext >&5
3098
ac_header_preproc=no
3100
rm -f conftest.err conftest.$ac_ext
3101
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3102
echo "${ECHO_T}$ac_header_preproc" >&6
3104
# So? What about this header?
3105
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3107
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3108
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3109
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3110
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3111
ac_header_preproc=yes
3114
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3115
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3116
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3117
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3118
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3119
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3120
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3121
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3122
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3123
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3124
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3125
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3128
## ------------------------------------------ ##
3129
## Report this to the AC_PACKAGE_NAME lists. ##
3130
## ------------------------------------------ ##
3133
sed "s/^/$as_me: WARNING: /" >&2
3136
echo "$as_me:$LINENO: checking for $ac_header" >&5
3137
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3138
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3139
echo $ECHO_N "(cached) $ECHO_C" >&6
3141
eval "$as_ac_Header=\$ac_header_preproc"
3143
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3144
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3147
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3148
cat >>confdefs.h <<_ACEOF
3149
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3157
for ac_header in unistd.h
3159
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3160
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3161
echo "$as_me:$LINENO: checking for $ac_header" >&5
3162
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3163
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3164
echo $ECHO_N "(cached) $ECHO_C" >&6
3166
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3167
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3169
# Is the header compilable?
3170
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3171
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3172
cat >conftest.$ac_ext <<_ACEOF
3175
cat confdefs.h >>conftest.$ac_ext
3176
cat >>conftest.$ac_ext <<_ACEOF
3177
/* end confdefs.h. */
3178
$ac_includes_default
3179
#include <$ac_header>
3181
rm -f conftest.$ac_objext
3182
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3183
(eval $ac_compile) 2>conftest.er1
3185
grep -v '^ *+' conftest.er1 >conftest.err
3187
cat conftest.err >&5
3188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
(exit $ac_status); } &&
3190
{ ac_try='test -z "$ac_c_werror_flag"
3191
|| test ! -s conftest.err'
3192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196
(exit $ac_status); }; } &&
3197
{ ac_try='test -s conftest.$ac_objext'
3198
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202
(exit $ac_status); }; }; then
3203
ac_header_compiler=yes
3205
echo "$as_me: failed program was:" >&5
3206
sed 's/^/| /' conftest.$ac_ext >&5
3208
ac_header_compiler=no
3210
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3211
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3212
echo "${ECHO_T}$ac_header_compiler" >&6
3214
# Is the header present?
3215
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3216
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3217
cat >conftest.$ac_ext <<_ACEOF
3220
cat confdefs.h >>conftest.$ac_ext
3221
cat >>conftest.$ac_ext <<_ACEOF
3222
/* end confdefs.h. */
3223
#include <$ac_header>
3225
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3226
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3228
grep -v '^ *+' conftest.er1 >conftest.err
3230
cat conftest.err >&5
3231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232
(exit $ac_status); } >/dev/null; then
3233
if test -s conftest.err; then
3234
ac_cpp_err=$ac_c_preproc_warn_flag
3235
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3242
if test -z "$ac_cpp_err"; then
3243
ac_header_preproc=yes
3245
echo "$as_me: failed program was:" >&5
3246
sed 's/^/| /' conftest.$ac_ext >&5
3248
ac_header_preproc=no
3250
rm -f conftest.err conftest.$ac_ext
3251
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3252
echo "${ECHO_T}$ac_header_preproc" >&6
3254
# So? What about this header?
3255
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3257
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3258
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3259
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3260
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3261
ac_header_preproc=yes
3264
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3265
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3266
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3267
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3268
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3269
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3270
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3271
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3272
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3273
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3274
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3275
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3278
## ------------------------------------------ ##
3279
## Report this to the AC_PACKAGE_NAME lists. ##
3280
## ------------------------------------------ ##
3283
sed "s/^/$as_me: WARNING: /" >&2
3286
echo "$as_me:$LINENO: checking for $ac_header" >&5
3287
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3288
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3289
echo $ECHO_N "(cached) $ECHO_C" >&6
3291
eval "$as_ac_Header=\$ac_header_preproc"
3293
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3294
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3297
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3298
cat >>confdefs.h <<_ACEOF
3299
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3307
for ac_header in byteswap.h
3309
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3310
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3311
echo "$as_me:$LINENO: checking for $ac_header" >&5
3312
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3313
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3314
echo $ECHO_N "(cached) $ECHO_C" >&6
3316
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3317
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3319
# Is the header compilable?
3320
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3321
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3322
cat >conftest.$ac_ext <<_ACEOF
3325
cat confdefs.h >>conftest.$ac_ext
3326
cat >>conftest.$ac_ext <<_ACEOF
3327
/* end confdefs.h. */
3328
$ac_includes_default
3329
#include <$ac_header>
3331
rm -f conftest.$ac_objext
3332
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333
(eval $ac_compile) 2>conftest.er1
3335
grep -v '^ *+' conftest.er1 >conftest.err
3337
cat conftest.err >&5
3338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339
(exit $ac_status); } &&
3340
{ ac_try='test -z "$ac_c_werror_flag"
3341
|| test ! -s conftest.err'
3342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346
(exit $ac_status); }; } &&
3347
{ ac_try='test -s conftest.$ac_objext'
3348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352
(exit $ac_status); }; }; then
3353
ac_header_compiler=yes
3355
echo "$as_me: failed program was:" >&5
3356
sed 's/^/| /' conftest.$ac_ext >&5
3358
ac_header_compiler=no
3360
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3361
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3362
echo "${ECHO_T}$ac_header_compiler" >&6
3364
# Is the header present?
3365
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3366
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3367
cat >conftest.$ac_ext <<_ACEOF
3370
cat confdefs.h >>conftest.$ac_ext
3371
cat >>conftest.$ac_ext <<_ACEOF
3372
/* end confdefs.h. */
3373
#include <$ac_header>
3375
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3376
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3378
grep -v '^ *+' conftest.er1 >conftest.err
3380
cat conftest.err >&5
3381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382
(exit $ac_status); } >/dev/null; then
3383
if test -s conftest.err; then
3384
ac_cpp_err=$ac_c_preproc_warn_flag
3385
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3392
if test -z "$ac_cpp_err"; then
3393
ac_header_preproc=yes
3395
echo "$as_me: failed program was:" >&5
3396
sed 's/^/| /' conftest.$ac_ext >&5
3398
ac_header_preproc=no
3400
rm -f conftest.err conftest.$ac_ext
3401
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3402
echo "${ECHO_T}$ac_header_preproc" >&6
3404
# So? What about this header?
3405
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3407
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3408
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3409
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3410
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3411
ac_header_preproc=yes
3414
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3415
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3416
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3417
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3418
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3419
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3420
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3421
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3422
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3423
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3424
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3425
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3428
## ------------------------------------------ ##
3429
## Report this to the AC_PACKAGE_NAME lists. ##
3430
## ------------------------------------------ ##
3433
sed "s/^/$as_me: WARNING: /" >&2
3436
echo "$as_me:$LINENO: checking for $ac_header" >&5
3437
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3438
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3439
echo $ECHO_N "(cached) $ECHO_C" >&6
3441
eval "$as_ac_Header=\$ac_header_preproc"
3443
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3444
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3447
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3448
cat >>confdefs.h <<_ACEOF
3449
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3457
for ac_header in stdint.h
3459
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3460
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3461
echo "$as_me:$LINENO: checking for $ac_header" >&5
3462
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3463
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3464
echo $ECHO_N "(cached) $ECHO_C" >&6
3466
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3467
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3469
# Is the header compilable?
3470
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3471
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3472
cat >conftest.$ac_ext <<_ACEOF
3475
cat confdefs.h >>conftest.$ac_ext
3476
cat >>conftest.$ac_ext <<_ACEOF
3477
/* end confdefs.h. */
3478
$ac_includes_default
3479
#include <$ac_header>
3481
rm -f conftest.$ac_objext
3482
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483
(eval $ac_compile) 2>conftest.er1
3485
grep -v '^ *+' conftest.er1 >conftest.err
3487
cat conftest.err >&5
3488
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489
(exit $ac_status); } &&
3490
{ ac_try='test -z "$ac_c_werror_flag"
3491
|| test ! -s conftest.err'
3492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496
(exit $ac_status); }; } &&
3497
{ ac_try='test -s conftest.$ac_objext'
3498
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502
(exit $ac_status); }; }; then
3503
ac_header_compiler=yes
3505
echo "$as_me: failed program was:" >&5
3506
sed 's/^/| /' conftest.$ac_ext >&5
3508
ac_header_compiler=no
3510
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3511
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3512
echo "${ECHO_T}$ac_header_compiler" >&6
3514
# Is the header present?
3515
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3516
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3517
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3523
#include <$ac_header>
3525
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3528
grep -v '^ *+' conftest.er1 >conftest.err
3530
cat conftest.err >&5
3531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532
(exit $ac_status); } >/dev/null; then
3533
if test -s conftest.err; then
3534
ac_cpp_err=$ac_c_preproc_warn_flag
3535
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3542
if test -z "$ac_cpp_err"; then
3543
ac_header_preproc=yes
3545
echo "$as_me: failed program was:" >&5
3546
sed 's/^/| /' conftest.$ac_ext >&5
3548
ac_header_preproc=no
3550
rm -f conftest.err conftest.$ac_ext
3551
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3552
echo "${ECHO_T}$ac_header_preproc" >&6
3554
# So? What about this header?
3555
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3557
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3558
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3559
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3560
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3561
ac_header_preproc=yes
3564
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3565
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3566
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3567
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3568
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3569
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3570
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3571
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3572
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3573
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3574
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3575
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3578
## ------------------------------------------ ##
3579
## Report this to the AC_PACKAGE_NAME lists. ##
3580
## ------------------------------------------ ##
3583
sed "s/^/$as_me: WARNING: /" >&2
3586
echo "$as_me:$LINENO: checking for $ac_header" >&5
3587
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3588
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3589
echo $ECHO_N "(cached) $ECHO_C" >&6
3591
eval "$as_ac_Header=\$ac_header_preproc"
3593
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3594
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3597
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3598
cat >>confdefs.h <<_ACEOF
3599
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3607
for ac_header in sys/uio.h
3609
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3610
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3611
echo "$as_me:$LINENO: checking for $ac_header" >&5
3612
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3613
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3614
echo $ECHO_N "(cached) $ECHO_C" >&6
3616
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3617
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3619
# Is the header compilable?
3620
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3621
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3622
cat >conftest.$ac_ext <<_ACEOF
3625
cat confdefs.h >>conftest.$ac_ext
3626
cat >>conftest.$ac_ext <<_ACEOF
3627
/* end confdefs.h. */
3628
$ac_includes_default
3629
#include <$ac_header>
3631
rm -f conftest.$ac_objext
3632
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633
(eval $ac_compile) 2>conftest.er1
3635
grep -v '^ *+' conftest.er1 >conftest.err
3637
cat conftest.err >&5
3638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639
(exit $ac_status); } &&
3640
{ ac_try='test -z "$ac_c_werror_flag"
3641
|| test ! -s conftest.err'
3642
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646
(exit $ac_status); }; } &&
3647
{ ac_try='test -s conftest.$ac_objext'
3648
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652
(exit $ac_status); }; }; then
3653
ac_header_compiler=yes
3655
echo "$as_me: failed program was:" >&5
3656
sed 's/^/| /' conftest.$ac_ext >&5
3658
ac_header_compiler=no
3660
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3661
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3662
echo "${ECHO_T}$ac_header_compiler" >&6
3664
# Is the header present?
3665
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3666
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3667
cat >conftest.$ac_ext <<_ACEOF
3670
cat confdefs.h >>conftest.$ac_ext
3671
cat >>conftest.$ac_ext <<_ACEOF
3672
/* end confdefs.h. */
3673
#include <$ac_header>
3675
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3676
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3678
grep -v '^ *+' conftest.er1 >conftest.err
3680
cat conftest.err >&5
3681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); } >/dev/null; then
3683
if test -s conftest.err; then
3684
ac_cpp_err=$ac_c_preproc_warn_flag
3685
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3692
if test -z "$ac_cpp_err"; then
3693
ac_header_preproc=yes
3695
echo "$as_me: failed program was:" >&5
3696
sed 's/^/| /' conftest.$ac_ext >&5
3698
ac_header_preproc=no
3700
rm -f conftest.err conftest.$ac_ext
3701
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3702
echo "${ECHO_T}$ac_header_preproc" >&6
3704
# So? What about this header?
3705
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3707
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3708
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3709
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3710
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3711
ac_header_preproc=yes
3714
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3715
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3716
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3717
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3718
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3719
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3720
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3721
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3722
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3723
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3724
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3725
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3728
## ------------------------------------------ ##
3729
## Report this to the AC_PACKAGE_NAME lists. ##
3730
## ------------------------------------------ ##
3733
sed "s/^/$as_me: WARNING: /" >&2
3736
echo "$as_me:$LINENO: checking for $ac_header" >&5
3737
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3738
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3739
echo $ECHO_N "(cached) $ECHO_C" >&6
3741
eval "$as_ac_Header=\$ac_header_preproc"
3743
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3747
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3748
cat >>confdefs.h <<_ACEOF
3749
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3757
for ac_header in inttypes.h
3759
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3760
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3761
echo "$as_me:$LINENO: checking for $ac_header" >&5
3762
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3763
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3764
echo $ECHO_N "(cached) $ECHO_C" >&6
3766
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3767
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3769
# Is the header compilable?
3770
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3771
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3772
cat >conftest.$ac_ext <<_ACEOF
3775
cat confdefs.h >>conftest.$ac_ext
3776
cat >>conftest.$ac_ext <<_ACEOF
3777
/* end confdefs.h. */
3778
$ac_includes_default
3779
#include <$ac_header>
3781
rm -f conftest.$ac_objext
3782
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3783
(eval $ac_compile) 2>conftest.er1
3785
grep -v '^ *+' conftest.er1 >conftest.err
3787
cat conftest.err >&5
3788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789
(exit $ac_status); } &&
3790
{ ac_try='test -z "$ac_c_werror_flag"
3791
|| test ! -s conftest.err'
3792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3795
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796
(exit $ac_status); }; } &&
3797
{ ac_try='test -s conftest.$ac_objext'
3798
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802
(exit $ac_status); }; }; then
3803
ac_header_compiler=yes
3805
echo "$as_me: failed program was:" >&5
3806
sed 's/^/| /' conftest.$ac_ext >&5
3808
ac_header_compiler=no
3810
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3811
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3812
echo "${ECHO_T}$ac_header_compiler" >&6
3814
# Is the header present?
3815
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3816
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3817
cat >conftest.$ac_ext <<_ACEOF
3820
cat confdefs.h >>conftest.$ac_ext
3821
cat >>conftest.$ac_ext <<_ACEOF
3822
/* end confdefs.h. */
3823
#include <$ac_header>
3825
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3826
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3828
grep -v '^ *+' conftest.er1 >conftest.err
3830
cat conftest.err >&5
3831
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832
(exit $ac_status); } >/dev/null; then
3833
if test -s conftest.err; then
3834
ac_cpp_err=$ac_c_preproc_warn_flag
3835
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3842
if test -z "$ac_cpp_err"; then
3843
ac_header_preproc=yes
3845
echo "$as_me: failed program was:" >&5
3846
sed 's/^/| /' conftest.$ac_ext >&5
3848
ac_header_preproc=no
3850
rm -f conftest.err conftest.$ac_ext
3851
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3852
echo "${ECHO_T}$ac_header_preproc" >&6
3854
# So? What about this header?
3855
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3857
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3858
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3859
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3860
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3861
ac_header_preproc=yes
3864
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3865
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3866
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3867
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3868
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3869
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3870
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3871
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3872
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3873
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3874
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3875
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3878
## ------------------------------------------ ##
3879
## Report this to the AC_PACKAGE_NAME lists. ##
3880
## ------------------------------------------ ##
3883
sed "s/^/$as_me: WARNING: /" >&2
3886
echo "$as_me:$LINENO: checking for $ac_header" >&5
3887
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3888
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3889
echo $ECHO_N "(cached) $ECHO_C" >&6
3891
eval "$as_ac_Header=\$ac_header_preproc"
3893
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3894
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3897
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3898
cat >>confdefs.h <<_ACEOF
3899
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3907
for ac_header in sys/types.h
3909
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3910
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3911
echo "$as_me:$LINENO: checking for $ac_header" >&5
3912
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3913
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3914
echo $ECHO_N "(cached) $ECHO_C" >&6
3916
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3917
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3919
# Is the header compilable?
3920
echo "$as_me:$LINENO: checking $ac_header usability" >&5
3921
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3922
cat >conftest.$ac_ext <<_ACEOF
3925
cat confdefs.h >>conftest.$ac_ext
3926
cat >>conftest.$ac_ext <<_ACEOF
3927
/* end confdefs.h. */
3928
$ac_includes_default
3929
#include <$ac_header>
3931
rm -f conftest.$ac_objext
3932
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3933
(eval $ac_compile) 2>conftest.er1
3935
grep -v '^ *+' conftest.er1 >conftest.err
3937
cat conftest.err >&5
3938
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939
(exit $ac_status); } &&
3940
{ ac_try='test -z "$ac_c_werror_flag"
3941
|| test ! -s conftest.err'
3942
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3946
(exit $ac_status); }; } &&
3947
{ ac_try='test -s conftest.$ac_objext'
3948
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3951
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3952
(exit $ac_status); }; }; then
3953
ac_header_compiler=yes
3955
echo "$as_me: failed program was:" >&5
3956
sed 's/^/| /' conftest.$ac_ext >&5
3958
ac_header_compiler=no
3960
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3961
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3962
echo "${ECHO_T}$ac_header_compiler" >&6
3964
# Is the header present?
3965
echo "$as_me:$LINENO: checking $ac_header presence" >&5
3966
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3967
cat >conftest.$ac_ext <<_ACEOF
3970
cat confdefs.h >>conftest.$ac_ext
3971
cat >>conftest.$ac_ext <<_ACEOF
3972
/* end confdefs.h. */
3973
#include <$ac_header>
3975
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3976
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3978
grep -v '^ *+' conftest.er1 >conftest.err
3980
cat conftest.err >&5
3981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982
(exit $ac_status); } >/dev/null; then
3983
if test -s conftest.err; then
3984
ac_cpp_err=$ac_c_preproc_warn_flag
3985
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3992
if test -z "$ac_cpp_err"; then
3993
ac_header_preproc=yes
3995
echo "$as_me: failed program was:" >&5
3996
sed 's/^/| /' conftest.$ac_ext >&5
3998
ac_header_preproc=no
4000
rm -f conftest.err conftest.$ac_ext
4001
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4002
echo "${ECHO_T}$ac_header_preproc" >&6
4004
# So? What about this header?
4005
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4007
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4008
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4009
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4010
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4011
ac_header_preproc=yes
4014
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4015
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4016
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4017
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4018
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4019
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4020
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4021
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4022
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4023
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4024
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4025
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4028
## ------------------------------------------ ##
4029
## Report this to the AC_PACKAGE_NAME lists. ##
4030
## ------------------------------------------ ##
4033
sed "s/^/$as_me: WARNING: /" >&2
4036
echo "$as_me:$LINENO: checking for $ac_header" >&5
4037
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4038
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4039
echo $ECHO_N "(cached) $ECHO_C" >&6
4041
eval "$as_ac_Header=\$ac_header_preproc"
4043
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4044
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4047
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4048
cat >>confdefs.h <<_ACEOF
4049
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4057
for ac_header in machine/types.h
4059
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4060
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4061
echo "$as_me:$LINENO: checking for $ac_header" >&5
4062
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4063
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4064
echo $ECHO_N "(cached) $ECHO_C" >&6
4066
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4067
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4069
# Is the header compilable?
4070
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4071
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4072
cat >conftest.$ac_ext <<_ACEOF
4075
cat confdefs.h >>conftest.$ac_ext
4076
cat >>conftest.$ac_ext <<_ACEOF
4077
/* end confdefs.h. */
4078
$ac_includes_default
4079
#include <$ac_header>
4081
rm -f conftest.$ac_objext
4082
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4083
(eval $ac_compile) 2>conftest.er1
4085
grep -v '^ *+' conftest.er1 >conftest.err
4087
cat conftest.err >&5
4088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089
(exit $ac_status); } &&
4090
{ ac_try='test -z "$ac_c_werror_flag"
4091
|| test ! -s conftest.err'
4092
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096
(exit $ac_status); }; } &&
4097
{ ac_try='test -s conftest.$ac_objext'
4098
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4101
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4102
(exit $ac_status); }; }; then
4103
ac_header_compiler=yes
4105
echo "$as_me: failed program was:" >&5
4106
sed 's/^/| /' conftest.$ac_ext >&5
4108
ac_header_compiler=no
4110
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4111
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4112
echo "${ECHO_T}$ac_header_compiler" >&6
4114
# Is the header present?
4115
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4116
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4117
cat >conftest.$ac_ext <<_ACEOF
4120
cat confdefs.h >>conftest.$ac_ext
4121
cat >>conftest.$ac_ext <<_ACEOF
4122
/* end confdefs.h. */
4123
#include <$ac_header>
4125
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4126
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4128
grep -v '^ *+' conftest.er1 >conftest.err
4130
cat conftest.err >&5
4131
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132
(exit $ac_status); } >/dev/null; then
4133
if test -s conftest.err; then
4134
ac_cpp_err=$ac_c_preproc_warn_flag
4135
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4142
if test -z "$ac_cpp_err"; then
4143
ac_header_preproc=yes
4145
echo "$as_me: failed program was:" >&5
4146
sed 's/^/| /' conftest.$ac_ext >&5
4148
ac_header_preproc=no
4150
rm -f conftest.err conftest.$ac_ext
4151
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4152
echo "${ECHO_T}$ac_header_preproc" >&6
4154
# So? What about this header?
4155
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4157
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4158
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4159
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4160
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4161
ac_header_preproc=yes
4164
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4165
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4166
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4167
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4168
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4169
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4170
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4171
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4172
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4173
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4174
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4175
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4178
## ------------------------------------------ ##
4179
## Report this to the AC_PACKAGE_NAME lists. ##
4180
## ------------------------------------------ ##
4183
sed "s/^/$as_me: WARNING: /" >&2
4186
echo "$as_me:$LINENO: checking for $ac_header" >&5
4187
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4188
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4189
echo $ECHO_N "(cached) $ECHO_C" >&6
4191
eval "$as_ac_Header=\$ac_header_preproc"
4193
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4194
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4197
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4198
cat >>confdefs.h <<_ACEOF
4199
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4207
for ac_header in sys/int_types.h
4209
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4210
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4211
echo "$as_me:$LINENO: checking for $ac_header" >&5
4212
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4213
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4214
echo $ECHO_N "(cached) $ECHO_C" >&6
4216
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4217
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4219
# Is the header compilable?
4220
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4221
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4222
cat >conftest.$ac_ext <<_ACEOF
4225
cat confdefs.h >>conftest.$ac_ext
4226
cat >>conftest.$ac_ext <<_ACEOF
4227
/* end confdefs.h. */
4228
$ac_includes_default
4229
#include <$ac_header>
4231
rm -f conftest.$ac_objext
4232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4233
(eval $ac_compile) 2>conftest.er1
4235
grep -v '^ *+' conftest.er1 >conftest.err
4237
cat conftest.err >&5
4238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239
(exit $ac_status); } &&
4240
{ ac_try='test -z "$ac_c_werror_flag"
4241
|| test ! -s conftest.err'
4242
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246
(exit $ac_status); }; } &&
4247
{ ac_try='test -s conftest.$ac_objext'
4248
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252
(exit $ac_status); }; }; then
4253
ac_header_compiler=yes
4255
echo "$as_me: failed program was:" >&5
4256
sed 's/^/| /' conftest.$ac_ext >&5
4258
ac_header_compiler=no
4260
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4261
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4262
echo "${ECHO_T}$ac_header_compiler" >&6
4264
# Is the header present?
4265
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4266
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4267
cat >conftest.$ac_ext <<_ACEOF
4270
cat confdefs.h >>conftest.$ac_ext
4271
cat >>conftest.$ac_ext <<_ACEOF
4272
/* end confdefs.h. */
4273
#include <$ac_header>
4275
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4276
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4278
grep -v '^ *+' conftest.er1 >conftest.err
4280
cat conftest.err >&5
4281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282
(exit $ac_status); } >/dev/null; then
4283
if test -s conftest.err; then
4284
ac_cpp_err=$ac_c_preproc_warn_flag
4285
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4292
if test -z "$ac_cpp_err"; then
4293
ac_header_preproc=yes
4295
echo "$as_me: failed program was:" >&5
4296
sed 's/^/| /' conftest.$ac_ext >&5
4298
ac_header_preproc=no
4300
rm -f conftest.err conftest.$ac_ext
4301
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4302
echo "${ECHO_T}$ac_header_preproc" >&6
4304
# So? What about this header?
4305
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4307
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4308
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4309
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4310
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4311
ac_header_preproc=yes
4314
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4315
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4316
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4317
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4318
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4319
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4320
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4321
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4322
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4323
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4324
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4325
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4328
## ------------------------------------------ ##
4329
## Report this to the AC_PACKAGE_NAME lists. ##
4330
## ------------------------------------------ ##
4333
sed "s/^/$as_me: WARNING: /" >&2
4336
echo "$as_me:$LINENO: checking for $ac_header" >&5
4337
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4338
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4339
echo $ECHO_N "(cached) $ECHO_C" >&6
4341
eval "$as_ac_Header=\$ac_header_preproc"
4343
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4344
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4347
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4348
cat >>confdefs.h <<_ACEOF
4349
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4360
for ac_header in sys/socket.h netinet/in.h arpa/inet.h
4362
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4363
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4364
echo "$as_me:$LINENO: checking for $ac_header" >&5
4365
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4366
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4367
echo $ECHO_N "(cached) $ECHO_C" >&6
4369
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4370
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4372
# Is the header compilable?
4373
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4374
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4375
cat >conftest.$ac_ext <<_ACEOF
4378
cat confdefs.h >>conftest.$ac_ext
4379
cat >>conftest.$ac_ext <<_ACEOF
4380
/* end confdefs.h. */
4381
$ac_includes_default
4382
#include <$ac_header>
4384
rm -f conftest.$ac_objext
4385
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4386
(eval $ac_compile) 2>conftest.er1
4388
grep -v '^ *+' conftest.er1 >conftest.err
4390
cat conftest.err >&5
4391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392
(exit $ac_status); } &&
4393
{ ac_try='test -z "$ac_c_werror_flag"
4394
|| test ! -s conftest.err'
4395
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399
(exit $ac_status); }; } &&
4400
{ ac_try='test -s conftest.$ac_objext'
4401
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405
(exit $ac_status); }; }; then
4406
ac_header_compiler=yes
4408
echo "$as_me: failed program was:" >&5
4409
sed 's/^/| /' conftest.$ac_ext >&5
4411
ac_header_compiler=no
4413
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4414
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4415
echo "${ECHO_T}$ac_header_compiler" >&6
4417
# Is the header present?
4418
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4419
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4420
cat >conftest.$ac_ext <<_ACEOF
4423
cat confdefs.h >>conftest.$ac_ext
4424
cat >>conftest.$ac_ext <<_ACEOF
4425
/* end confdefs.h. */
4426
#include <$ac_header>
4428
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4429
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4431
grep -v '^ *+' conftest.er1 >conftest.err
4433
cat conftest.err >&5
4434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435
(exit $ac_status); } >/dev/null; then
4436
if test -s conftest.err; then
4437
ac_cpp_err=$ac_c_preproc_warn_flag
4438
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4445
if test -z "$ac_cpp_err"; then
4446
ac_header_preproc=yes
4448
echo "$as_me: failed program was:" >&5
4449
sed 's/^/| /' conftest.$ac_ext >&5
4451
ac_header_preproc=no
4453
rm -f conftest.err conftest.$ac_ext
4454
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4455
echo "${ECHO_T}$ac_header_preproc" >&6
4457
# So? What about this header?
4458
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4460
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4461
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4462
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4463
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4464
ac_header_preproc=yes
4467
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4468
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4469
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4470
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4471
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4472
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4473
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4474
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4475
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4476
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4477
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4478
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4481
## ------------------------------------------ ##
4482
## Report this to the AC_PACKAGE_NAME lists. ##
4483
## ------------------------------------------ ##
4486
sed "s/^/$as_me: WARNING: /" >&2
4489
echo "$as_me:$LINENO: checking for $ac_header" >&5
4490
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4491
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4492
echo $ECHO_N "(cached) $ECHO_C" >&6
4494
eval "$as_ac_Header=\$ac_header_preproc"
4496
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4497
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4500
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4501
cat >>confdefs.h <<_ACEOF
4502
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4510
for ac_header in windows.h
4512
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4513
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4514
echo "$as_me:$LINENO: checking for $ac_header" >&5
4515
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4516
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4517
echo $ECHO_N "(cached) $ECHO_C" >&6
4519
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4520
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4522
# Is the header compilable?
4523
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4524
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4525
cat >conftest.$ac_ext <<_ACEOF
4528
cat confdefs.h >>conftest.$ac_ext
4529
cat >>conftest.$ac_ext <<_ACEOF
4530
/* end confdefs.h. */
4531
$ac_includes_default
4532
#include <$ac_header>
4534
rm -f conftest.$ac_objext
4535
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4536
(eval $ac_compile) 2>conftest.er1
4538
grep -v '^ *+' conftest.er1 >conftest.err
4540
cat conftest.err >&5
4541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542
(exit $ac_status); } &&
4543
{ ac_try='test -z "$ac_c_werror_flag"
4544
|| test ! -s conftest.err'
4545
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549
(exit $ac_status); }; } &&
4550
{ ac_try='test -s conftest.$ac_objext'
4551
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555
(exit $ac_status); }; }; then
4556
ac_header_compiler=yes
4558
echo "$as_me: failed program was:" >&5
4559
sed 's/^/| /' conftest.$ac_ext >&5
4561
ac_header_compiler=no
4563
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4564
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4565
echo "${ECHO_T}$ac_header_compiler" >&6
4567
# Is the header present?
4568
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4569
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4570
cat >conftest.$ac_ext <<_ACEOF
4573
cat confdefs.h >>conftest.$ac_ext
4574
cat >>conftest.$ac_ext <<_ACEOF
4575
/* end confdefs.h. */
4576
#include <$ac_header>
4578
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4579
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4581
grep -v '^ *+' conftest.er1 >conftest.err
4583
cat conftest.err >&5
4584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585
(exit $ac_status); } >/dev/null; then
4586
if test -s conftest.err; then
4587
ac_cpp_err=$ac_c_preproc_warn_flag
4588
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4595
if test -z "$ac_cpp_err"; then
4596
ac_header_preproc=yes
4598
echo "$as_me: failed program was:" >&5
4599
sed 's/^/| /' conftest.$ac_ext >&5
4601
ac_header_preproc=no
4603
rm -f conftest.err conftest.$ac_ext
4604
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4605
echo "${ECHO_T}$ac_header_preproc" >&6
4607
# So? What about this header?
4608
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4610
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4611
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4612
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4613
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4614
ac_header_preproc=yes
4617
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4618
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4619
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4620
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4621
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4622
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4623
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4624
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4625
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4626
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4627
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4628
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4631
## ------------------------------------------ ##
4632
## Report this to the AC_PACKAGE_NAME lists. ##
4633
## ------------------------------------------ ##
4636
sed "s/^/$as_me: WARNING: /" >&2
4639
echo "$as_me:$LINENO: checking for $ac_header" >&5
4640
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4641
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4642
echo $ECHO_N "(cached) $ECHO_C" >&6
4644
eval "$as_ac_Header=\$ac_header_preproc"
4646
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4647
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4650
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4651
cat >>confdefs.h <<_ACEOF
4652
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4655
for ac_header in winsock2.h
4657
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4658
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4659
echo "$as_me:$LINENO: checking for $ac_header" >&5
4660
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4661
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4662
echo $ECHO_N "(cached) $ECHO_C" >&6
4664
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4665
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4667
# Is the header compilable?
4668
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4669
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4670
cat >conftest.$ac_ext <<_ACEOF
4673
cat confdefs.h >>conftest.$ac_ext
4674
cat >>conftest.$ac_ext <<_ACEOF
4675
/* end confdefs.h. */
4676
$ac_includes_default
4677
#include <$ac_header>
4679
rm -f conftest.$ac_objext
4680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4681
(eval $ac_compile) 2>conftest.er1
4683
grep -v '^ *+' conftest.er1 >conftest.err
4685
cat conftest.err >&5
4686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687
(exit $ac_status); } &&
4688
{ ac_try='test -z "$ac_c_werror_flag"
4689
|| test ! -s conftest.err'
4690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694
(exit $ac_status); }; } &&
4695
{ ac_try='test -s conftest.$ac_objext'
4696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700
(exit $ac_status); }; }; then
4701
ac_header_compiler=yes
4703
echo "$as_me: failed program was:" >&5
4704
sed 's/^/| /' conftest.$ac_ext >&5
4706
ac_header_compiler=no
4708
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4709
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4710
echo "${ECHO_T}$ac_header_compiler" >&6
4712
# Is the header present?
4713
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4714
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4715
cat >conftest.$ac_ext <<_ACEOF
4718
cat confdefs.h >>conftest.$ac_ext
4719
cat >>conftest.$ac_ext <<_ACEOF
4720
/* end confdefs.h. */
4721
#include <$ac_header>
4723
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4724
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4726
grep -v '^ *+' conftest.er1 >conftest.err
4728
cat conftest.err >&5
4729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730
(exit $ac_status); } >/dev/null; then
4731
if test -s conftest.err; then
4732
ac_cpp_err=$ac_c_preproc_warn_flag
4733
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4740
if test -z "$ac_cpp_err"; then
4741
ac_header_preproc=yes
4743
echo "$as_me: failed program was:" >&5
4744
sed 's/^/| /' conftest.$ac_ext >&5
4746
ac_header_preproc=no
4748
rm -f conftest.err conftest.$ac_ext
4749
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4750
echo "${ECHO_T}$ac_header_preproc" >&6
4752
# So? What about this header?
4753
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4755
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4756
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4757
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4758
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4759
ac_header_preproc=yes
4762
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4763
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4764
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4765
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4766
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4767
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4768
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4769
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4770
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4771
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4772
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4773
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4776
## ------------------------------------------ ##
4777
## Report this to the AC_PACKAGE_NAME lists. ##
4778
## ------------------------------------------ ##
4781
sed "s/^/$as_me: WARNING: /" >&2
4784
echo "$as_me:$LINENO: checking for $ac_header" >&5
4785
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4786
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4787
echo $ECHO_N "(cached) $ECHO_C" >&6
4789
eval "$as_ac_Header=\$ac_header_preproc"
4791
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4792
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4795
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4796
cat >>confdefs.h <<_ACEOF
4797
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4810
for ac_header in syslog.h
4812
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4813
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4814
echo "$as_me:$LINENO: checking for $ac_header" >&5
4815
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4816
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4817
echo $ECHO_N "(cached) $ECHO_C" >&6
4819
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4820
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4822
# Is the header compilable?
4823
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4824
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4825
cat >conftest.$ac_ext <<_ACEOF
4828
cat confdefs.h >>conftest.$ac_ext
4829
cat >>conftest.$ac_ext <<_ACEOF
4830
/* end confdefs.h. */
4831
$ac_includes_default
4832
#include <$ac_header>
4834
rm -f conftest.$ac_objext
4835
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4836
(eval $ac_compile) 2>conftest.er1
4838
grep -v '^ *+' conftest.er1 >conftest.err
4840
cat conftest.err >&5
4841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
(exit $ac_status); } &&
4843
{ ac_try='test -z "$ac_c_werror_flag"
4844
|| test ! -s conftest.err'
4845
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849
(exit $ac_status); }; } &&
4850
{ ac_try='test -s conftest.$ac_objext'
4851
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855
(exit $ac_status); }; }; then
4856
ac_header_compiler=yes
4858
echo "$as_me: failed program was:" >&5
4859
sed 's/^/| /' conftest.$ac_ext >&5
4861
ac_header_compiler=no
4863
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4864
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4865
echo "${ECHO_T}$ac_header_compiler" >&6
4867
# Is the header present?
4868
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4869
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4870
cat >conftest.$ac_ext <<_ACEOF
4873
cat confdefs.h >>conftest.$ac_ext
4874
cat >>conftest.$ac_ext <<_ACEOF
4875
/* end confdefs.h. */
4876
#include <$ac_header>
4878
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4879
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4881
grep -v '^ *+' conftest.er1 >conftest.err
4883
cat conftest.err >&5
4884
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885
(exit $ac_status); } >/dev/null; then
4886
if test -s conftest.err; then
4887
ac_cpp_err=$ac_c_preproc_warn_flag
4888
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4895
if test -z "$ac_cpp_err"; then
4896
ac_header_preproc=yes
4898
echo "$as_me: failed program was:" >&5
4899
sed 's/^/| /' conftest.$ac_ext >&5
4901
ac_header_preproc=no
4903
rm -f conftest.err conftest.$ac_ext
4904
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4905
echo "${ECHO_T}$ac_header_preproc" >&6
4907
# So? What about this header?
4908
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4910
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4911
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4912
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4913
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4914
ac_header_preproc=yes
4917
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4918
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4919
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4920
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4921
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4922
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4923
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4924
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4925
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4926
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4927
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4928
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4931
## ------------------------------------------ ##
4932
## Report this to the AC_PACKAGE_NAME lists. ##
4933
## ------------------------------------------ ##
4936
sed "s/^/$as_me: WARNING: /" >&2
4939
echo "$as_me:$LINENO: checking for $ac_header" >&5
4940
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4941
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4942
echo $ECHO_N "(cached) $ECHO_C" >&6
4944
eval "$as_ac_Header=\$ac_header_preproc"
4946
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4947
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4950
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4951
cat >>confdefs.h <<_ACEOF
4952
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4960
echo "$as_me:$LINENO: checking for int8_t" >&5
4961
echo $ECHO_N "checking for int8_t... $ECHO_C" >&6
4962
if test "${ac_cv_type_int8_t+set}" = set; then
4963
echo $ECHO_N "(cached) $ECHO_C" >&6
4965
cat >conftest.$ac_ext <<_ACEOF
4968
cat confdefs.h >>conftest.$ac_ext
4969
cat >>conftest.$ac_ext <<_ACEOF
4970
/* end confdefs.h. */
4971
$ac_includes_default
4977
if (sizeof (int8_t))
4983
rm -f conftest.$ac_objext
4984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4985
(eval $ac_compile) 2>conftest.er1
4987
grep -v '^ *+' conftest.er1 >conftest.err
4989
cat conftest.err >&5
4990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991
(exit $ac_status); } &&
4992
{ ac_try='test -z "$ac_c_werror_flag"
4993
|| test ! -s conftest.err'
4994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998
(exit $ac_status); }; } &&
4999
{ ac_try='test -s conftest.$ac_objext'
5000
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004
(exit $ac_status); }; }; then
5005
ac_cv_type_int8_t=yes
5007
echo "$as_me: failed program was:" >&5
5008
sed 's/^/| /' conftest.$ac_ext >&5
5010
ac_cv_type_int8_t=no
5012
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5014
echo "$as_me:$LINENO: result: $ac_cv_type_int8_t" >&5
5015
echo "${ECHO_T}$ac_cv_type_int8_t" >&6
5016
if test $ac_cv_type_int8_t = yes; then
5018
cat >>confdefs.h <<_ACEOF
5019
#define HAVE_INT8_T 1
5024
echo "$as_me:$LINENO: checking for uint8_t" >&5
5025
echo $ECHO_N "checking for uint8_t... $ECHO_C" >&6
5026
if test "${ac_cv_type_uint8_t+set}" = set; then
5027
echo $ECHO_N "(cached) $ECHO_C" >&6
5029
cat >conftest.$ac_ext <<_ACEOF
5032
cat confdefs.h >>conftest.$ac_ext
5033
cat >>conftest.$ac_ext <<_ACEOF
5034
/* end confdefs.h. */
5035
$ac_includes_default
5041
if (sizeof (uint8_t))
5047
rm -f conftest.$ac_objext
5048
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5049
(eval $ac_compile) 2>conftest.er1
5051
grep -v '^ *+' conftest.er1 >conftest.err
5053
cat conftest.err >&5
5054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055
(exit $ac_status); } &&
5056
{ ac_try='test -z "$ac_c_werror_flag"
5057
|| test ! -s conftest.err'
5058
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062
(exit $ac_status); }; } &&
5063
{ ac_try='test -s conftest.$ac_objext'
5064
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068
(exit $ac_status); }; }; then
5069
ac_cv_type_uint8_t=yes
5071
echo "$as_me: failed program was:" >&5
5072
sed 's/^/| /' conftest.$ac_ext >&5
5074
ac_cv_type_uint8_t=no
5076
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5078
echo "$as_me:$LINENO: result: $ac_cv_type_uint8_t" >&5
5079
echo "${ECHO_T}$ac_cv_type_uint8_t" >&6
5080
if test $ac_cv_type_uint8_t = yes; then
5082
cat >>confdefs.h <<_ACEOF
5083
#define HAVE_UINT8_T 1
5088
echo "$as_me:$LINENO: checking for int16_t" >&5
5089
echo $ECHO_N "checking for int16_t... $ECHO_C" >&6
5090
if test "${ac_cv_type_int16_t+set}" = set; then
5091
echo $ECHO_N "(cached) $ECHO_C" >&6
5093
cat >conftest.$ac_ext <<_ACEOF
5096
cat confdefs.h >>conftest.$ac_ext
5097
cat >>conftest.$ac_ext <<_ACEOF
5098
/* end confdefs.h. */
5099
$ac_includes_default
5105
if (sizeof (int16_t))
5111
rm -f conftest.$ac_objext
5112
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5113
(eval $ac_compile) 2>conftest.er1
5115
grep -v '^ *+' conftest.er1 >conftest.err
5117
cat conftest.err >&5
5118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5119
(exit $ac_status); } &&
5120
{ ac_try='test -z "$ac_c_werror_flag"
5121
|| test ! -s conftest.err'
5122
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5126
(exit $ac_status); }; } &&
5127
{ ac_try='test -s conftest.$ac_objext'
5128
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132
(exit $ac_status); }; }; then
5133
ac_cv_type_int16_t=yes
5135
echo "$as_me: failed program was:" >&5
5136
sed 's/^/| /' conftest.$ac_ext >&5
5138
ac_cv_type_int16_t=no
5140
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5142
echo "$as_me:$LINENO: result: $ac_cv_type_int16_t" >&5
5143
echo "${ECHO_T}$ac_cv_type_int16_t" >&6
5144
if test $ac_cv_type_int16_t = yes; then
5146
cat >>confdefs.h <<_ACEOF
5147
#define HAVE_INT16_T 1
5152
echo "$as_me:$LINENO: checking for uint16_t" >&5
5153
echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
5154
if test "${ac_cv_type_uint16_t+set}" = set; then
5155
echo $ECHO_N "(cached) $ECHO_C" >&6
5157
cat >conftest.$ac_ext <<_ACEOF
5160
cat confdefs.h >>conftest.$ac_ext
5161
cat >>conftest.$ac_ext <<_ACEOF
5162
/* end confdefs.h. */
5163
$ac_includes_default
5169
if (sizeof (uint16_t))
5175
rm -f conftest.$ac_objext
5176
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5177
(eval $ac_compile) 2>conftest.er1
5179
grep -v '^ *+' conftest.er1 >conftest.err
5181
cat conftest.err >&5
5182
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183
(exit $ac_status); } &&
5184
{ ac_try='test -z "$ac_c_werror_flag"
5185
|| test ! -s conftest.err'
5186
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
(exit $ac_status); }; } &&
5191
{ ac_try='test -s conftest.$ac_objext'
5192
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196
(exit $ac_status); }; }; then
5197
ac_cv_type_uint16_t=yes
5199
echo "$as_me: failed program was:" >&5
5200
sed 's/^/| /' conftest.$ac_ext >&5
5202
ac_cv_type_uint16_t=no
5204
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5206
echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
5207
echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
5208
if test $ac_cv_type_uint16_t = yes; then
5210
cat >>confdefs.h <<_ACEOF
5211
#define HAVE_UINT16_T 1
5216
echo "$as_me:$LINENO: checking for int32_t" >&5
5217
echo $ECHO_N "checking for int32_t... $ECHO_C" >&6
5218
if test "${ac_cv_type_int32_t+set}" = set; then
5219
echo $ECHO_N "(cached) $ECHO_C" >&6
5221
cat >conftest.$ac_ext <<_ACEOF
5224
cat confdefs.h >>conftest.$ac_ext
5225
cat >>conftest.$ac_ext <<_ACEOF
5226
/* end confdefs.h. */
5227
$ac_includes_default
5233
if (sizeof (int32_t))
5239
rm -f conftest.$ac_objext
5240
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5241
(eval $ac_compile) 2>conftest.er1
5243
grep -v '^ *+' conftest.er1 >conftest.err
5245
cat conftest.err >&5
5246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247
(exit $ac_status); } &&
5248
{ ac_try='test -z "$ac_c_werror_flag"
5249
|| test ! -s conftest.err'
5250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254
(exit $ac_status); }; } &&
5255
{ ac_try='test -s conftest.$ac_objext'
5256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260
(exit $ac_status); }; }; then
5261
ac_cv_type_int32_t=yes
5263
echo "$as_me: failed program was:" >&5
5264
sed 's/^/| /' conftest.$ac_ext >&5
5266
ac_cv_type_int32_t=no
5268
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5270
echo "$as_me:$LINENO: result: $ac_cv_type_int32_t" >&5
5271
echo "${ECHO_T}$ac_cv_type_int32_t" >&6
5272
if test $ac_cv_type_int32_t = yes; then
5274
cat >>confdefs.h <<_ACEOF
5275
#define HAVE_INT32_T 1
5280
echo "$as_me:$LINENO: checking for uint32_t" >&5
5281
echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
5282
if test "${ac_cv_type_uint32_t+set}" = set; then
5283
echo $ECHO_N "(cached) $ECHO_C" >&6
5285
cat >conftest.$ac_ext <<_ACEOF
5288
cat confdefs.h >>conftest.$ac_ext
5289
cat >>conftest.$ac_ext <<_ACEOF
5290
/* end confdefs.h. */
5291
$ac_includes_default
5297
if (sizeof (uint32_t))
5303
rm -f conftest.$ac_objext
5304
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5305
(eval $ac_compile) 2>conftest.er1
5307
grep -v '^ *+' conftest.er1 >conftest.err
5309
cat conftest.err >&5
5310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5311
(exit $ac_status); } &&
5312
{ ac_try='test -z "$ac_c_werror_flag"
5313
|| test ! -s conftest.err'
5314
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318
(exit $ac_status); }; } &&
5319
{ ac_try='test -s conftest.$ac_objext'
5320
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5323
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5324
(exit $ac_status); }; }; then
5325
ac_cv_type_uint32_t=yes
5327
echo "$as_me: failed program was:" >&5
5328
sed 's/^/| /' conftest.$ac_ext >&5
5330
ac_cv_type_uint32_t=no
5332
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5334
echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
5335
echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
5336
if test $ac_cv_type_uint32_t = yes; then
5338
cat >>confdefs.h <<_ACEOF
5339
#define HAVE_UINT32_T 1
5344
echo "$as_me:$LINENO: checking for uint64_t" >&5
5345
echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5346
if test "${ac_cv_type_uint64_t+set}" = set; then
5347
echo $ECHO_N "(cached) $ECHO_C" >&6
5349
cat >conftest.$ac_ext <<_ACEOF
5352
cat confdefs.h >>conftest.$ac_ext
5353
cat >>conftest.$ac_ext <<_ACEOF
5354
/* end confdefs.h. */
5355
$ac_includes_default
5361
if (sizeof (uint64_t))
5367
rm -f conftest.$ac_objext
5368
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5369
(eval $ac_compile) 2>conftest.er1
5371
grep -v '^ *+' conftest.er1 >conftest.err
5373
cat conftest.err >&5
5374
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375
(exit $ac_status); } &&
5376
{ ac_try='test -z "$ac_c_werror_flag"
5377
|| test ! -s conftest.err'
5378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382
(exit $ac_status); }; } &&
5383
{ ac_try='test -s conftest.$ac_objext'
5384
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388
(exit $ac_status); }; }; then
5389
ac_cv_type_uint64_t=yes
5391
echo "$as_me: failed program was:" >&5
5392
sed 's/^/| /' conftest.$ac_ext >&5
5394
ac_cv_type_uint64_t=no
5396
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5398
echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5399
echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5400
if test $ac_cv_type_uint64_t = yes; then
5402
cat >>confdefs.h <<_ACEOF
5403
#define HAVE_UINT64_T 1
5409
echo "$as_me:$LINENO: checking for unsigned long" >&5
5410
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
5411
if test "${ac_cv_type_unsigned_long+set}" = set; then
5412
echo $ECHO_N "(cached) $ECHO_C" >&6
5414
cat >conftest.$ac_ext <<_ACEOF
5417
cat confdefs.h >>conftest.$ac_ext
5418
cat >>conftest.$ac_ext <<_ACEOF
5419
/* end confdefs.h. */
5420
$ac_includes_default
5424
if ((unsigned long *) 0)
5426
if (sizeof (unsigned long))
5432
rm -f conftest.$ac_objext
5433
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5434
(eval $ac_compile) 2>conftest.er1
5436
grep -v '^ *+' conftest.er1 >conftest.err
5438
cat conftest.err >&5
5439
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440
(exit $ac_status); } &&
5441
{ ac_try='test -z "$ac_c_werror_flag"
5442
|| test ! -s conftest.err'
5443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447
(exit $ac_status); }; } &&
5448
{ ac_try='test -s conftest.$ac_objext'
5449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453
(exit $ac_status); }; }; then
5454
ac_cv_type_unsigned_long=yes
5456
echo "$as_me: failed program was:" >&5
5457
sed 's/^/| /' conftest.$ac_ext >&5
5459
ac_cv_type_unsigned_long=no
5461
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5463
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
5464
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
5466
echo "$as_me:$LINENO: checking size of unsigned long" >&5
5467
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
5468
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
5469
echo $ECHO_N "(cached) $ECHO_C" >&6
5471
if test "$ac_cv_type_unsigned_long" = yes; then
5472
# The cast to unsigned long works around a bug in the HP C Compiler
5473
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5474
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5475
# This bug is HP SR number 8606223364.
5476
if test "$cross_compiling" = yes; then
5477
# Depending upon the size, compute the lo and hi bounds.
5478
cat >conftest.$ac_ext <<_ACEOF
5481
cat confdefs.h >>conftest.$ac_ext
5482
cat >>conftest.$ac_ext <<_ACEOF
5483
/* end confdefs.h. */
5484
$ac_includes_default
5488
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
5495
rm -f conftest.$ac_objext
5496
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497
(eval $ac_compile) 2>conftest.er1
5499
grep -v '^ *+' conftest.er1 >conftest.err
5501
cat conftest.err >&5
5502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503
(exit $ac_status); } &&
5504
{ ac_try='test -z "$ac_c_werror_flag"
5505
|| test ! -s conftest.err'
5506
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510
(exit $ac_status); }; } &&
5511
{ ac_try='test -s conftest.$ac_objext'
5512
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516
(exit $ac_status); }; }; then
5519
cat >conftest.$ac_ext <<_ACEOF
5522
cat confdefs.h >>conftest.$ac_ext
5523
cat >>conftest.$ac_ext <<_ACEOF
5524
/* end confdefs.h. */
5525
$ac_includes_default
5529
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
5536
rm -f conftest.$ac_objext
5537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5538
(eval $ac_compile) 2>conftest.er1
5540
grep -v '^ *+' conftest.er1 >conftest.err
5542
cat conftest.err >&5
5543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544
(exit $ac_status); } &&
5545
{ ac_try='test -z "$ac_c_werror_flag"
5546
|| test ! -s conftest.err'
5547
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551
(exit $ac_status); }; } &&
5552
{ ac_try='test -s conftest.$ac_objext'
5553
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5557
(exit $ac_status); }; }; then
5558
ac_hi=$ac_mid; break
5560
echo "$as_me: failed program was:" >&5
5561
sed 's/^/| /' conftest.$ac_ext >&5
5563
ac_lo=`expr $ac_mid + 1`
5564
if test $ac_lo -le $ac_mid; then
5568
ac_mid=`expr 2 '*' $ac_mid + 1`
5570
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5573
echo "$as_me: failed program was:" >&5
5574
sed 's/^/| /' conftest.$ac_ext >&5
5576
cat >conftest.$ac_ext <<_ACEOF
5579
cat confdefs.h >>conftest.$ac_ext
5580
cat >>conftest.$ac_ext <<_ACEOF
5581
/* end confdefs.h. */
5582
$ac_includes_default
5586
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
5593
rm -f conftest.$ac_objext
5594
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5595
(eval $ac_compile) 2>conftest.er1
5597
grep -v '^ *+' conftest.er1 >conftest.err
5599
cat conftest.err >&5
5600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601
(exit $ac_status); } &&
5602
{ ac_try='test -z "$ac_c_werror_flag"
5603
|| test ! -s conftest.err'
5604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608
(exit $ac_status); }; } &&
5609
{ ac_try='test -s conftest.$ac_objext'
5610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614
(exit $ac_status); }; }; then
5617
cat >conftest.$ac_ext <<_ACEOF
5620
cat confdefs.h >>conftest.$ac_ext
5621
cat >>conftest.$ac_ext <<_ACEOF
5622
/* end confdefs.h. */
5623
$ac_includes_default
5627
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
5634
rm -f conftest.$ac_objext
5635
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5636
(eval $ac_compile) 2>conftest.er1
5638
grep -v '^ *+' conftest.er1 >conftest.err
5640
cat conftest.err >&5
5641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5642
(exit $ac_status); } &&
5643
{ ac_try='test -z "$ac_c_werror_flag"
5644
|| test ! -s conftest.err'
5645
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5649
(exit $ac_status); }; } &&
5650
{ ac_try='test -s conftest.$ac_objext'
5651
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655
(exit $ac_status); }; }; then
5656
ac_lo=$ac_mid; break
5658
echo "$as_me: failed program was:" >&5
5659
sed 's/^/| /' conftest.$ac_ext >&5
5661
ac_hi=`expr '(' $ac_mid ')' - 1`
5662
if test $ac_mid -le $ac_hi; then
5666
ac_mid=`expr 2 '*' $ac_mid`
5668
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5671
echo "$as_me: failed program was:" >&5
5672
sed 's/^/| /' conftest.$ac_ext >&5
5676
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5678
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5679
# Binary search between lo and hi bounds.
5680
while test "x$ac_lo" != "x$ac_hi"; do
5681
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5682
cat >conftest.$ac_ext <<_ACEOF
5685
cat confdefs.h >>conftest.$ac_ext
5686
cat >>conftest.$ac_ext <<_ACEOF
5687
/* end confdefs.h. */
5688
$ac_includes_default
5692
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
5699
rm -f conftest.$ac_objext
5700
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5701
(eval $ac_compile) 2>conftest.er1
5703
grep -v '^ *+' conftest.er1 >conftest.err
5705
cat conftest.err >&5
5706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707
(exit $ac_status); } &&
5708
{ ac_try='test -z "$ac_c_werror_flag"
5709
|| test ! -s conftest.err'
5710
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714
(exit $ac_status); }; } &&
5715
{ ac_try='test -s conftest.$ac_objext'
5716
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720
(exit $ac_status); }; }; then
5723
echo "$as_me: failed program was:" >&5
5724
sed 's/^/| /' conftest.$ac_ext >&5
5726
ac_lo=`expr '(' $ac_mid ')' + 1`
5728
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5731
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
5732
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
5733
See \`config.log' for more details." >&5
5734
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
5735
See \`config.log' for more details." >&2;}
5736
{ (exit 1); exit 1; }; } ;;
5739
if test "$cross_compiling" = yes; then
5740
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5741
See \`config.log' for more details." >&5
5742
echo "$as_me: error: cannot run test program while cross compiling
5743
See \`config.log' for more details." >&2;}
5744
{ (exit 1); exit 1; }; }
5746
cat >conftest.$ac_ext <<_ACEOF
5749
cat confdefs.h >>conftest.$ac_ext
5750
cat >>conftest.$ac_ext <<_ACEOF
5751
/* end confdefs.h. */
5752
$ac_includes_default
5753
long longval () { return (long) (sizeof (unsigned long)); }
5754
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
5761
FILE *f = fopen ("conftest.val", "w");
5764
if (((long) (sizeof (unsigned long))) < 0)
5766
long i = longval ();
5767
if (i != ((long) (sizeof (unsigned long))))
5769
fprintf (f, "%ld\n", i);
5773
unsigned long i = ulongval ();
5774
if (i != ((long) (sizeof (unsigned long))))
5776
fprintf (f, "%lu\n", i);
5778
exit (ferror (f) || fclose (f) != 0);
5784
rm -f conftest$ac_exeext
5785
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5786
(eval $ac_link) 2>&5
5788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5790
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794
(exit $ac_status); }; }; then
5795
ac_cv_sizeof_unsigned_long=`cat conftest.val`
5797
echo "$as_me: program exited with status $ac_status" >&5
5798
echo "$as_me: failed program was:" >&5
5799
sed 's/^/| /' conftest.$ac_ext >&5
5802
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
5803
See \`config.log' for more details." >&5
5804
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
5805
See \`config.log' for more details." >&2;}
5806
{ (exit 1); exit 1; }; }
5808
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5813
ac_cv_sizeof_unsigned_long=0
5816
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
5817
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
5818
cat >>confdefs.h <<_ACEOF
5819
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
5823
echo "$as_me:$LINENO: checking for unsigned long long" >&5
5824
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
5825
if test "${ac_cv_type_unsigned_long_long+set}" = set; then
5826
echo $ECHO_N "(cached) $ECHO_C" >&6
5828
cat >conftest.$ac_ext <<_ACEOF
5831
cat confdefs.h >>conftest.$ac_ext
5832
cat >>conftest.$ac_ext <<_ACEOF
5833
/* end confdefs.h. */
5834
$ac_includes_default
5838
if ((unsigned long long *) 0)
5840
if (sizeof (unsigned long long))
5846
rm -f conftest.$ac_objext
5847
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5848
(eval $ac_compile) 2>conftest.er1
5850
grep -v '^ *+' conftest.er1 >conftest.err
5852
cat conftest.err >&5
5853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854
(exit $ac_status); } &&
5855
{ ac_try='test -z "$ac_c_werror_flag"
5856
|| test ! -s conftest.err'
5857
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861
(exit $ac_status); }; } &&
5862
{ ac_try='test -s conftest.$ac_objext'
5863
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867
(exit $ac_status); }; }; then
5868
ac_cv_type_unsigned_long_long=yes
5870
echo "$as_me: failed program was:" >&5
5871
sed 's/^/| /' conftest.$ac_ext >&5
5873
ac_cv_type_unsigned_long_long=no
5875
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5877
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
5878
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
5880
echo "$as_me:$LINENO: checking size of unsigned long long" >&5
5881
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6
5882
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then
5883
echo $ECHO_N "(cached) $ECHO_C" >&6
5885
if test "$ac_cv_type_unsigned_long_long" = yes; then
5886
# The cast to unsigned long works around a bug in the HP C Compiler
5887
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
5888
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
5889
# This bug is HP SR number 8606223364.
5890
if test "$cross_compiling" = yes; then
5891
# Depending upon the size, compute the lo and hi bounds.
5892
cat >conftest.$ac_ext <<_ACEOF
5895
cat confdefs.h >>conftest.$ac_ext
5896
cat >>conftest.$ac_ext <<_ACEOF
5897
/* end confdefs.h. */
5898
$ac_includes_default
5902
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)];
5909
rm -f conftest.$ac_objext
5910
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5911
(eval $ac_compile) 2>conftest.er1
5913
grep -v '^ *+' conftest.er1 >conftest.err
5915
cat conftest.err >&5
5916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917
(exit $ac_status); } &&
5918
{ ac_try='test -z "$ac_c_werror_flag"
5919
|| test ! -s conftest.err'
5920
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924
(exit $ac_status); }; } &&
5925
{ ac_try='test -s conftest.$ac_objext'
5926
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930
(exit $ac_status); }; }; then
5933
cat >conftest.$ac_ext <<_ACEOF
5936
cat confdefs.h >>conftest.$ac_ext
5937
cat >>conftest.$ac_ext <<_ACEOF
5938
/* end confdefs.h. */
5939
$ac_includes_default
5943
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
5950
rm -f conftest.$ac_objext
5951
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5952
(eval $ac_compile) 2>conftest.er1
5954
grep -v '^ *+' conftest.er1 >conftest.err
5956
cat conftest.err >&5
5957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958
(exit $ac_status); } &&
5959
{ ac_try='test -z "$ac_c_werror_flag"
5960
|| test ! -s conftest.err'
5961
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965
(exit $ac_status); }; } &&
5966
{ ac_try='test -s conftest.$ac_objext'
5967
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5971
(exit $ac_status); }; }; then
5972
ac_hi=$ac_mid; break
5974
echo "$as_me: failed program was:" >&5
5975
sed 's/^/| /' conftest.$ac_ext >&5
5977
ac_lo=`expr $ac_mid + 1`
5978
if test $ac_lo -le $ac_mid; then
5982
ac_mid=`expr 2 '*' $ac_mid + 1`
5984
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5987
echo "$as_me: failed program was:" >&5
5988
sed 's/^/| /' conftest.$ac_ext >&5
5990
cat >conftest.$ac_ext <<_ACEOF
5993
cat confdefs.h >>conftest.$ac_ext
5994
cat >>conftest.$ac_ext <<_ACEOF
5995
/* end confdefs.h. */
5996
$ac_includes_default
6000
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)];
6007
rm -f conftest.$ac_objext
6008
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009
(eval $ac_compile) 2>conftest.er1
6011
grep -v '^ *+' conftest.er1 >conftest.err
6013
cat conftest.err >&5
6014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015
(exit $ac_status); } &&
6016
{ ac_try='test -z "$ac_c_werror_flag"
6017
|| test ! -s conftest.err'
6018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022
(exit $ac_status); }; } &&
6023
{ ac_try='test -s conftest.$ac_objext'
6024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028
(exit $ac_status); }; }; then
6031
cat >conftest.$ac_ext <<_ACEOF
6034
cat confdefs.h >>conftest.$ac_ext
6035
cat >>conftest.$ac_ext <<_ACEOF
6036
/* end confdefs.h. */
6037
$ac_includes_default
6041
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)];
6048
rm -f conftest.$ac_objext
6049
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6050
(eval $ac_compile) 2>conftest.er1
6052
grep -v '^ *+' conftest.er1 >conftest.err
6054
cat conftest.err >&5
6055
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056
(exit $ac_status); } &&
6057
{ ac_try='test -z "$ac_c_werror_flag"
6058
|| test ! -s conftest.err'
6059
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6062
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6063
(exit $ac_status); }; } &&
6064
{ ac_try='test -s conftest.$ac_objext'
6065
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069
(exit $ac_status); }; }; then
6070
ac_lo=$ac_mid; break
6072
echo "$as_me: failed program was:" >&5
6073
sed 's/^/| /' conftest.$ac_ext >&5
6075
ac_hi=`expr '(' $ac_mid ')' - 1`
6076
if test $ac_mid -le $ac_hi; then
6080
ac_mid=`expr 2 '*' $ac_mid`
6082
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6085
echo "$as_me: failed program was:" >&5
6086
sed 's/^/| /' conftest.$ac_ext >&5
6090
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6092
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6093
# Binary search between lo and hi bounds.
6094
while test "x$ac_lo" != "x$ac_hi"; do
6095
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6096
cat >conftest.$ac_ext <<_ACEOF
6099
cat confdefs.h >>conftest.$ac_ext
6100
cat >>conftest.$ac_ext <<_ACEOF
6101
/* end confdefs.h. */
6102
$ac_includes_default
6106
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)];
6113
rm -f conftest.$ac_objext
6114
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6115
(eval $ac_compile) 2>conftest.er1
6117
grep -v '^ *+' conftest.er1 >conftest.err
6119
cat conftest.err >&5
6120
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6121
(exit $ac_status); } &&
6122
{ ac_try='test -z "$ac_c_werror_flag"
6123
|| test ! -s conftest.err'
6124
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128
(exit $ac_status); }; } &&
6129
{ ac_try='test -s conftest.$ac_objext'
6130
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134
(exit $ac_status); }; }; then
6137
echo "$as_me: failed program was:" >&5
6138
sed 's/^/| /' conftest.$ac_ext >&5
6140
ac_lo=`expr '(' $ac_mid ')' + 1`
6142
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6145
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;;
6146
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
6147
See \`config.log' for more details." >&5
6148
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
6149
See \`config.log' for more details." >&2;}
6150
{ (exit 1); exit 1; }; } ;;
6153
if test "$cross_compiling" = yes; then
6154
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6155
See \`config.log' for more details." >&5
6156
echo "$as_me: error: cannot run test program while cross compiling
6157
See \`config.log' for more details." >&2;}
6158
{ (exit 1); exit 1; }; }
6160
cat >conftest.$ac_ext <<_ACEOF
6163
cat confdefs.h >>conftest.$ac_ext
6164
cat >>conftest.$ac_ext <<_ACEOF
6165
/* end confdefs.h. */
6166
$ac_includes_default
6167
long longval () { return (long) (sizeof (unsigned long long)); }
6168
unsigned long ulongval () { return (long) (sizeof (unsigned long long)); }
6175
FILE *f = fopen ("conftest.val", "w");
6178
if (((long) (sizeof (unsigned long long))) < 0)
6180
long i = longval ();
6181
if (i != ((long) (sizeof (unsigned long long))))
6183
fprintf (f, "%ld\n", i);
6187
unsigned long i = ulongval ();
6188
if (i != ((long) (sizeof (unsigned long long))))
6190
fprintf (f, "%lu\n", i);
6192
exit (ferror (f) || fclose (f) != 0);
6198
rm -f conftest$ac_exeext
6199
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6200
(eval $ac_link) 2>&5
6202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208
(exit $ac_status); }; }; then
6209
ac_cv_sizeof_unsigned_long_long=`cat conftest.val`
6211
echo "$as_me: program exited with status $ac_status" >&5
6212
echo "$as_me: failed program was:" >&5
6213
sed 's/^/| /' conftest.$ac_ext >&5
6216
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77
6217
See \`config.log' for more details." >&5
6218
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77
6219
See \`config.log' for more details." >&2;}
6220
{ (exit 1); exit 1; }; }
6222
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6227
ac_cv_sizeof_unsigned_long_long=0
6230
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5
6231
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6
6232
cat >>confdefs.h <<_ACEOF
6233
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long
6238
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6239
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6240
if test "${ac_cv_c_const+set}" = set; then
6241
echo $ECHO_N "(cached) $ECHO_C" >&6
6243
cat >conftest.$ac_ext <<_ACEOF
6246
cat confdefs.h >>conftest.$ac_ext
6247
cat >>conftest.$ac_ext <<_ACEOF
6248
/* end confdefs.h. */
6253
/* FIXME: Include the comments suggested by Paul. */
6255
/* Ultrix mips cc rejects this. */
6256
typedef int charset[2];
6258
/* SunOS 4.1.1 cc rejects this. */
6259
char const *const *ccp;
6261
/* NEC SVR4.0.2 mips cc rejects this. */
6262
struct point {int x, y;};
6263
static struct point const zero = {0,0};
6264
/* AIX XL C 1.02.0.0 rejects this.
6265
It does not let you subtract one const X* pointer from another in
6266
an arm of an if-expression whose if-part is not a constant
6268
const char *g = "string";
6269
ccp = &g + (g ? g-g : 0);
6270
/* HPUX 7.0 cc rejects these. */
6273
ccp = (char const *const *) p;
6274
{ /* SCO 3.2v4 cc rejects this. */
6276
char const *s = 0 ? (char *) 0 : (char const *) 0;
6280
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6282
const int *foo = &x[0];
6285
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6286
typedef const int *iptr;
6290
{ /* AIX XL C 1.02.0.0 rejects this saying
6291
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6292
struct s { int j; const int *ap[3]; };
6293
struct s *b; b->j = 5;
6295
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6304
rm -f conftest.$ac_objext
6305
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6306
(eval $ac_compile) 2>conftest.er1
6308
grep -v '^ *+' conftest.er1 >conftest.err
6310
cat conftest.err >&5
6311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312
(exit $ac_status); } &&
6313
{ ac_try='test -z "$ac_c_werror_flag"
6314
|| test ! -s conftest.err'
6315
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
(exit $ac_status); }; } &&
6320
{ ac_try='test -s conftest.$ac_objext'
6321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325
(exit $ac_status); }; }; then
6328
echo "$as_me: failed program was:" >&5
6329
sed 's/^/| /' conftest.$ac_ext >&5
6333
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6335
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6336
echo "${ECHO_T}$ac_cv_c_const" >&6
6337
if test $ac_cv_c_const = no; then
6339
cat >>confdefs.h <<\_ACEOF
6345
echo "$as_me:$LINENO: checking for inline" >&5
6346
echo $ECHO_N "checking for inline... $ECHO_C" >&6
6347
if test "${ac_cv_c_inline+set}" = set; then
6348
echo $ECHO_N "(cached) $ECHO_C" >&6
6351
for ac_kw in inline __inline__ __inline; do
6352
cat >conftest.$ac_ext <<_ACEOF
6355
cat confdefs.h >>conftest.$ac_ext
6356
cat >>conftest.$ac_ext <<_ACEOF
6357
/* end confdefs.h. */
6360
static $ac_kw foo_t static_foo () {return 0; }
6361
$ac_kw foo_t foo () {return 0; }
6365
rm -f conftest.$ac_objext
6366
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6367
(eval $ac_compile) 2>conftest.er1
6369
grep -v '^ *+' conftest.er1 >conftest.err
6371
cat conftest.err >&5
6372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373
(exit $ac_status); } &&
6374
{ ac_try='test -z "$ac_c_werror_flag"
6375
|| test ! -s conftest.err'
6376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380
(exit $ac_status); }; } &&
6381
{ ac_try='test -s conftest.$ac_objext'
6382
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386
(exit $ac_status); }; }; then
6387
ac_cv_c_inline=$ac_kw; break
6389
echo "$as_me: failed program was:" >&5
6390
sed 's/^/| /' conftest.$ac_ext >&5
6393
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6398
echo "${ECHO_T}$ac_cv_c_inline" >&6
6401
case $ac_cv_c_inline in
6404
case $ac_cv_c_inline in
6406
*) ac_val=$ac_cv_c_inline;;
6408
cat >>confdefs.h <<_ACEOF
6410
#define inline $ac_val
6416
echo "$as_me:$LINENO: checking for size_t" >&5
6417
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6418
if test "${ac_cv_type_size_t+set}" = set; then
6419
echo $ECHO_N "(cached) $ECHO_C" >&6
6421
cat >conftest.$ac_ext <<_ACEOF
6424
cat confdefs.h >>conftest.$ac_ext
6425
cat >>conftest.$ac_ext <<_ACEOF
6426
/* end confdefs.h. */
6427
$ac_includes_default
6433
if (sizeof (size_t))
6439
rm -f conftest.$ac_objext
6440
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6441
(eval $ac_compile) 2>conftest.er1
6443
grep -v '^ *+' conftest.er1 >conftest.err
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
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
6459
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460
(exit $ac_status); }; }; then
6461
ac_cv_type_size_t=yes
6463
echo "$as_me: failed program was:" >&5
6464
sed 's/^/| /' conftest.$ac_ext >&5
6466
ac_cv_type_size_t=no
6468
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6470
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6471
echo "${ECHO_T}$ac_cv_type_size_t" >&6
6472
if test $ac_cv_type_size_t = yes; then
6476
cat >>confdefs.h <<_ACEOF
6477
#define size_t unsigned
6486
for ac_func in socket inet_aton usleep
6488
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6489
echo "$as_me:$LINENO: checking for $ac_func" >&5
6490
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6491
if eval "test \"\${$as_ac_var+set}\" = set"; then
6492
echo $ECHO_N "(cached) $ECHO_C" >&6
6494
cat >conftest.$ac_ext <<_ACEOF
6497
cat confdefs.h >>conftest.$ac_ext
6498
cat >>conftest.$ac_ext <<_ACEOF
6499
/* end confdefs.h. */
6500
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6501
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6502
#define $ac_func innocuous_$ac_func
6504
/* System header to define __stub macros and hopefully few prototypes,
6505
which can conflict with char $ac_func (); below.
6506
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6507
<limits.h> exists even on freestanding compilers. */
6510
# include <limits.h>
6512
# include <assert.h>
6517
/* Override any gcc2 internal prototype to avoid an error. */
6522
/* We use char because int might match the return type of a gcc2
6523
builtin and then its argument prototype would still apply. */
6525
/* The GNU C library defines this for functions which it implements
6526
to always fail with ENOSYS. Some functions are actually named
6527
something starting with __ and the normal name is an alias. */
6528
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6531
char (*f) () = $ac_func;
6540
return f != $ac_func;
6545
rm -f conftest.$ac_objext conftest$ac_exeext
6546
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6547
(eval $ac_link) 2>conftest.er1
6549
grep -v '^ *+' conftest.er1 >conftest.err
6551
cat conftest.err >&5
6552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553
(exit $ac_status); } &&
6554
{ ac_try='test -z "$ac_c_werror_flag"
6555
|| test ! -s conftest.err'
6556
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6560
(exit $ac_status); }; } &&
6561
{ ac_try='test -s conftest$ac_exeext'
6562
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566
(exit $ac_status); }; }; then
6567
eval "$as_ac_var=yes"
6569
echo "$as_me: failed program was:" >&5
6570
sed 's/^/| /' conftest.$ac_ext >&5
6572
eval "$as_ac_var=no"
6574
rm -f conftest.err conftest.$ac_objext \
6575
conftest$ac_exeext conftest.$ac_ext
6577
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6578
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6579
if test `eval echo '${'$as_ac_var'}'` = yes; then
6580
cat >>confdefs.h <<_ACEOF
6581
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6588
if test "x$ac_cv_func_socket" = "xno"; then
6590
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6591
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
6592
if test "${ac_cv_lib_socket_socket+set}" = set; then
6593
echo $ECHO_N "(cached) $ECHO_C" >&6
6595
ac_check_lib_save_LIBS=$LIBS
6596
LIBS="-lsocket $LIBS"
6597
cat >conftest.$ac_ext <<_ACEOF
6600
cat confdefs.h >>conftest.$ac_ext
6601
cat >>conftest.$ac_ext <<_ACEOF
6602
/* end confdefs.h. */
6604
/* Override any gcc2 internal prototype to avoid an error. */
6608
/* We use char because int might match the return type of a gcc2
6609
builtin and then its argument prototype would still apply. */
6619
rm -f conftest.$ac_objext conftest$ac_exeext
6620
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6621
(eval $ac_link) 2>conftest.er1
6623
grep -v '^ *+' conftest.er1 >conftest.err
6625
cat conftest.err >&5
6626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627
(exit $ac_status); } &&
6628
{ ac_try='test -z "$ac_c_werror_flag"
6629
|| test ! -s conftest.err'
6630
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634
(exit $ac_status); }; } &&
6635
{ ac_try='test -s conftest$ac_exeext'
6636
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640
(exit $ac_status); }; }; then
6641
ac_cv_lib_socket_socket=yes
6643
echo "$as_me: failed program was:" >&5
6644
sed 's/^/| /' conftest.$ac_ext >&5
6646
ac_cv_lib_socket_socket=no
6648
rm -f conftest.err conftest.$ac_objext \
6649
conftest$ac_exeext conftest.$ac_ext
6650
LIBS=$ac_check_lib_save_LIBS
6652
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6653
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
6654
if test $ac_cv_lib_socket_socket = yes; then
6655
cat >>confdefs.h <<_ACEOF
6656
#define HAVE_LIBSOCKET 1
6659
LIBS="-lsocket $LIBS"
6663
echo "$as_me:$LINENO: checking for socket in -lwsock32" >&5
6664
echo $ECHO_N "checking for socket in -lwsock32... $ECHO_C" >&6
6666
LIBS="$LIBS -lwsock32"
6667
cat >conftest.$ac_ext <<_ACEOF
6670
cat confdefs.h >>conftest.$ac_ext
6671
cat >>conftest.$ac_ext <<_ACEOF
6672
/* end confdefs.h. */
6674
#include <winsock2.h>
6686
rm -f conftest.$ac_objext conftest$ac_exeext
6687
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6688
(eval $ac_link) 2>conftest.er1
6690
grep -v '^ *+' conftest.er1 >conftest.err
6692
cat conftest.err >&5
6693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694
(exit $ac_status); } &&
6695
{ ac_try='test -z "$ac_c_werror_flag"
6696
|| test ! -s conftest.err'
6697
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6700
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701
(exit $ac_status); }; } &&
6702
{ ac_try='test -s conftest$ac_exeext'
6703
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707
(exit $ac_status); }; }; then
6708
ac_cv_func_socket=yes
6709
echo "$as_me:$LINENO: result: yes" >&5
6710
echo "${ECHO_T}yes" >&6
6712
echo "$as_me: failed program was:" >&5
6713
sed 's/^/| /' conftest.$ac_ext >&5
6716
echo "$as_me:$LINENO: result: no" >&5
6717
echo "${ECHO_T}no" >&6
6719
rm -f conftest.err conftest.$ac_objext \
6720
conftest$ac_exeext conftest.$ac_ext
6723
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
6724
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
6725
if test "${ac_cv_c_bigendian+set}" = set; then
6726
echo $ECHO_N "(cached) $ECHO_C" >&6
6728
# See if sys/param.h defines the BYTE_ORDER macro.
6729
cat >conftest.$ac_ext <<_ACEOF
6732
cat confdefs.h >>conftest.$ac_ext
6733
cat >>conftest.$ac_ext <<_ACEOF
6734
/* end confdefs.h. */
6735
#include <sys/types.h>
6736
#include <sys/param.h>
6741
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
6749
rm -f conftest.$ac_objext
6750
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751
(eval $ac_compile) 2>conftest.er1
6753
grep -v '^ *+' conftest.er1 >conftest.err
6755
cat conftest.err >&5
6756
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757
(exit $ac_status); } &&
6758
{ ac_try='test -z "$ac_c_werror_flag"
6759
|| test ! -s conftest.err'
6760
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764
(exit $ac_status); }; } &&
6765
{ ac_try='test -s conftest.$ac_objext'
6766
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770
(exit $ac_status); }; }; then
6771
# It does; now see whether it defined to BIG_ENDIAN or not.
6772
cat >conftest.$ac_ext <<_ACEOF
6775
cat confdefs.h >>conftest.$ac_ext
6776
cat >>conftest.$ac_ext <<_ACEOF
6777
/* end confdefs.h. */
6778
#include <sys/types.h>
6779
#include <sys/param.h>
6784
#if BYTE_ORDER != BIG_ENDIAN
6792
rm -f conftest.$ac_objext
6793
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6794
(eval $ac_compile) 2>conftest.er1
6796
grep -v '^ *+' conftest.er1 >conftest.err
6798
cat conftest.err >&5
6799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6800
(exit $ac_status); } &&
6801
{ ac_try='test -z "$ac_c_werror_flag"
6802
|| test ! -s conftest.err'
6803
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807
(exit $ac_status); }; } &&
6808
{ ac_try='test -s conftest.$ac_objext'
6809
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813
(exit $ac_status); }; }; then
6814
ac_cv_c_bigendian=yes
6816
echo "$as_me: failed program was:" >&5
6817
sed 's/^/| /' conftest.$ac_ext >&5
6819
ac_cv_c_bigendian=no
6821
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6823
echo "$as_me: failed program was:" >&5
6824
sed 's/^/| /' conftest.$ac_ext >&5
6826
# It does not; compile a test program.
6827
if test "$cross_compiling" = yes; then
6828
# try to guess the endianness by grepping values into an object file
6829
ac_cv_c_bigendian=unknown
6830
cat >conftest.$ac_ext <<_ACEOF
6833
cat confdefs.h >>conftest.$ac_ext
6834
cat >>conftest.$ac_ext <<_ACEOF
6835
/* end confdefs.h. */
6836
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
6837
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
6838
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
6839
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
6840
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
6841
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
6845
_ascii (); _ebcdic ();
6850
rm -f conftest.$ac_objext
6851
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6852
(eval $ac_compile) 2>conftest.er1
6854
grep -v '^ *+' conftest.er1 >conftest.err
6856
cat conftest.err >&5
6857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858
(exit $ac_status); } &&
6859
{ ac_try='test -z "$ac_c_werror_flag"
6860
|| test ! -s conftest.err'
6861
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865
(exit $ac_status); }; } &&
6866
{ ac_try='test -s conftest.$ac_objext'
6867
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871
(exit $ac_status); }; }; then
6872
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
6873
ac_cv_c_bigendian=yes
6875
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
6876
if test "$ac_cv_c_bigendian" = unknown; then
6877
ac_cv_c_bigendian=no
6879
# finding both strings is unlikely to happen, but who knows?
6880
ac_cv_c_bigendian=unknown
6884
echo "$as_me: failed program was:" >&5
6885
sed 's/^/| /' conftest.$ac_ext >&5
6888
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6890
cat >conftest.$ac_ext <<_ACEOF
6893
cat confdefs.h >>conftest.$ac_ext
6894
cat >>conftest.$ac_ext <<_ACEOF
6895
/* end confdefs.h. */
6899
/* Are we little or big endian? From Harbison&Steele. */
6903
char c[sizeof (long)];
6906
exit (u.c[sizeof (long) - 1] == 1);
6909
rm -f conftest$ac_exeext
6910
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6911
(eval $ac_link) 2>&5
6913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6915
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919
(exit $ac_status); }; }; then
6920
ac_cv_c_bigendian=no
6922
echo "$as_me: program exited with status $ac_status" >&5
6923
echo "$as_me: failed program was:" >&5
6924
sed 's/^/| /' conftest.$ac_ext >&5
6927
ac_cv_c_bigendian=yes
6929
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6932
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6934
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
6935
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
6936
case $ac_cv_c_bigendian in
6939
cat >>confdefs.h <<\_ACEOF
6940
#define WORDS_BIGENDIAN 1
6946
{ { echo "$as_me:$LINENO: error: unknown endianness
6947
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
6948
echo "$as_me: error: unknown endianness
6949
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
6950
{ (exit 1); exit 1; }; } ;;
6954
# Make sure we can run config.sub.
6955
$ac_config_sub sun4 >/dev/null 2>&1 ||
6956
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6957
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6958
{ (exit 1); exit 1; }; }
6960
echo "$as_me:$LINENO: checking build system type" >&5
6961
echo $ECHO_N "checking build system type... $ECHO_C" >&6
6962
if test "${ac_cv_build+set}" = set; then
6963
echo $ECHO_N "(cached) $ECHO_C" >&6
6965
ac_cv_build_alias=$build_alias
6966
test -z "$ac_cv_build_alias" &&
6967
ac_cv_build_alias=`$ac_config_guess`
6968
test -z "$ac_cv_build_alias" &&
6969
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6970
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6971
{ (exit 1); exit 1; }; }
6972
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6973
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6974
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6975
{ (exit 1); exit 1; }; }
6978
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6979
echo "${ECHO_T}$ac_cv_build" >&6
6981
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6982
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6983
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6986
echo "$as_me:$LINENO: checking host system type" >&5
6987
echo $ECHO_N "checking host system type... $ECHO_C" >&6
6988
if test "${ac_cv_host+set}" = set; then
6989
echo $ECHO_N "(cached) $ECHO_C" >&6
6991
ac_cv_host_alias=$host_alias
6992
test -z "$ac_cv_host_alias" &&
6993
ac_cv_host_alias=$ac_cv_build_alias
6994
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
6995
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
6996
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
6997
{ (exit 1); exit 1; }; }
7000
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7001
echo "${ECHO_T}$ac_cv_host" >&6
7003
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7004
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7005
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7012
cat >>confdefs.h <<\_ACEOF
7017
cat >>confdefs.h <<\_ACEOF
7022
# CPU_RISC is only supported for big endian machines.
7023
if test "$ac_cv_c_bigendian" = "yes"; then
7025
cat >>confdefs.h <<\_ACEOF
7030
cat >>confdefs.h <<\_ACEOF
7044
# define executable suffix; this is needed for `make clean'
7046
echo "$as_me:$LINENO: checking whether to compile in debugging" >&5
7047
echo $ECHO_N "checking whether to compile in debugging... $ECHO_C" >&6
7048
# Check whether --enable-debug or --disable-debug was given.
7049
if test "${enable_debug+set}" = set; then
7050
enableval="$enable_debug"
7055
if test "$enable_debug" = "yes"; then
7057
cat >>confdefs.h <<\_ACEOF
7058
#define ENABLE_DEBUGGING 1
7062
echo "$as_me:$LINENO: result: $enable_debug" >&5
7063
echo "${ECHO_T}$enable_debug" >&6
7065
echo "$as_me:$LINENO: checking whether to use ISMAcryp code" >&5
7066
echo $ECHO_N "checking whether to use ISMAcryp code... $ECHO_C" >&6
7067
# Check whether --enable-generic-aesicm or --disable-generic-aesicm was given.
7068
if test "${enable_generic_aesicm+set}" = set; then
7069
enableval="$enable_generic_aesicm"
7072
enable_generic_aesicm=no
7074
if test "$enable_generic_aesicm" = "yes"; then
7076
cat >>confdefs.h <<\_ACEOF
7077
#define GENERIC_AESICM 1
7081
echo "$as_me:$LINENO: result: $enable_generic_aesicm" >&5
7082
echo "${ECHO_T}$enable_generic_aesicm" >&6
7084
echo "$as_me:$LINENO: checking whether to use syslog for error reporting" >&5
7085
echo $ECHO_N "checking whether to use syslog for error reporting... $ECHO_C" >&6
7086
# Check whether --enable-syslog or --disable-syslog was given.
7087
if test "${enable_syslog+set}" = set; then
7088
enableval="$enable_syslog"
7093
if test "$enable_syslog" = "yes"; then
7095
cat >>confdefs.h <<\_ACEOF
7096
#define USE_SYSLOG 1
7100
echo "$as_me:$LINENO: result: $enable_syslog" >&5
7101
echo "${ECHO_T}$enable_syslog" >&6
7103
echo "$as_me:$LINENO: checking whether to use stdout for error reporting" >&5
7104
echo $ECHO_N "checking whether to use stdout for error reporting... $ECHO_C" >&6
7105
# Check whether --enable-stdout or --disable-stdout was given.
7106
if test "${enable_stdout+set}" = set; then
7107
enableval="$enable_stdout"
7112
if test "$enable_stdout" = "yes"; then
7114
cat >>confdefs.h <<\_ACEOF
7115
#define ERR_REPORTING_STDOUT 1
7119
echo "$as_me:$LINENO: result: $enable_stdout" >&5
7120
echo "${ECHO_T}$enable_stdout" >&6
7122
echo "$as_me:$LINENO: checking whether to use /dev/console for error reporting" >&5
7123
echo $ECHO_N "checking whether to use /dev/console for error reporting... $ECHO_C" >&6
7124
# Check whether --enable-console or --disable-console was given.
7125
if test "${enable_console+set}" = set; then
7126
enableval="$enable_console"
7131
if test "$enable_console" = "yes"; then
7133
cat >>confdefs.h <<\_ACEOF
7134
#define USE_ERR_REPORTING_FILE 1
7138
cat >>confdefs.h <<\_ACEOF
7139
#define ERR_REPORTING_FILE "/dev/console"
7143
echo "$as_me:$LINENO: result: $enable_console" >&5
7144
echo "${ECHO_T}$enable_console" >&6
7146
echo "$as_me:$LINENO: checking whether to use GDOI key management" >&5
7147
echo $ECHO_N "checking whether to use GDOI key management... $ECHO_C" >&6
7148
# Check whether --enable-gdoi or --disable-gdoi was given.
7149
if test "${enable_gdoi+set}" = set; then
7150
enableval="$enable_gdoi"
7155
if test "$enable_gdoi" = "yes"; then
7157
cat >>confdefs.h <<\_ACEOF
7161
GDOI_OBJS=gdoi/srtp+gdoi.o
7164
echo "$as_me:$LINENO: result: $enable_gdoi" >&5
7165
echo "${ECHO_T}$enable_gdoi" >&6
7167
ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h"
7170
ac_config_files="$ac_config_files Makefile crypto/Makefile doc/Makefile"
7171
cat >confcache <<\_ACEOF
7172
# This file is a shell script that caches the results of configure
7173
# tests run on this system so they can be shared between configure
7174
# scripts and configure runs, see configure's option --config-cache.
7175
# It is not useful on other systems. If it contains results you don't
7176
# want to keep, you may remove or edit it.
7178
# config.status only pays attention to the cache file if you give it
7179
# the --recheck option to rerun configure.
7181
# `ac_cv_env_foo' variables (set or unset) will be overridden when
7182
# loading this file, other *unset* `ac_cv_foo' will be assigned the
7187
# The following way of writing the cache mishandles newlines in values,
7188
# but we know of no workaround that is simple, portable, and efficient.
7189
# So, don't put newlines in cache variables' values.
7190
# Ultrix sh set writes to stderr and can't be redirected directly,
7191
# and sets the high bit in the cache file unless we assign to the vars.
7194
case `(ac_space=' '; set | grep ac_space) 2>&1` in
7196
# `set' does not quote correctly, so add quotes (double-quote
7197
# substitution turns \\\\ into \\, and sed turns \\ into \).
7200
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7203
# `set' quotes correctly as required by POSIX, so do not add quotes.
7205
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7212
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7214
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7216
if diff $cache_file confcache >/dev/null 2>&1; then :; else
7217
if test -w $cache_file; then
7218
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7219
cat confcache >$cache_file
7221
echo "not updating unwritable cache $cache_file"
7226
test "x$prefix" = xNONE && prefix=$ac_default_prefix
7227
# Let make expand exec_prefix.
7228
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7230
# VPATH may cause trouble with some makes, so we remove $(srcdir),
7231
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7232
# trailing colons and then remove the whole line if VPATH becomes empty
7233
# (actually we leave an empty line to preserve line numbers).
7234
if test "x$srcdir" = x.; then
7235
ac_vpsub='/^[ ]*VPATH[ ]*=/{
7236
s/:*\$(srcdir):*/:/;
7237
s/:*\${srcdir}:*/:/;
7239
s/^\([^=]*=[ ]*\):*/\1/;
7245
DEFS=-DHAVE_CONFIG_H
7249
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7250
# 1. Remove the extension, and $U if already installed.
7251
ac_i=`echo "$ac_i" |
7252
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7254
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
7255
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
7259
LTLIBOBJS=$ac_ltlibobjs
7263
: ${CONFIG_STATUS=./config.status}
7264
ac_clean_files_save=$ac_clean_files
7265
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7266
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7267
echo "$as_me: creating $CONFIG_STATUS" >&6;}
7268
cat >$CONFIG_STATUS <<_ACEOF
7270
# Generated by $as_me.
7271
# Run this file to recreate the current configuration.
7272
# Compiler output produced by configure, useful for debugging
7273
# configure, is in config.log if it exists.
7278
SHELL=\${CONFIG_SHELL-$SHELL}
7281
cat >>$CONFIG_STATUS <<\_ACEOF
7282
## --------------------- ##
7283
## M4sh Initialization. ##
7284
## --------------------- ##
7286
# Be Bourne compatible
7287
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7290
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7291
# is contrary to our usage. Disable this feature.
7292
alias -g '${1+"$@"}'='"$@"'
7293
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
7296
DUALCASE=1; export DUALCASE # for MKS sh
7298
# Support unset when possible.
7299
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7306
# Work around bugs in pre-3.0 UWIN ksh.
7307
$as_unset ENV MAIL MAILPATH
7314
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7315
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7316
LC_TELEPHONE LC_TIME
7318
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7319
eval $as_var=C; export $as_var
7325
# Required to use basename.
7326
if expr a : '\(a\)' >/dev/null 2>&1; then
7332
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
7333
as_basename=basename
7339
# Name of the executable.
7340
as_me=`$as_basename "$0" ||
7341
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7342
X"$0" : 'X\(//\)$' \| \
7343
X"$0" : 'X\(/\)$' \| \
7344
. : '\(.\)' 2>/dev/null ||
7346
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7347
/^X\/\(\/\/\)$/{ s//\1/; q; }
7348
/^X\/\(\/\).*/{ s//\1/; q; }
7352
# PATH needs CR, and LINENO needs CR and PATH.
7353
# Avoid depending upon Character Ranges.
7354
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7355
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7356
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7357
as_cr_digits='0123456789'
7358
as_cr_alnum=$as_cr_Letters$as_cr_digits
7360
# The user is always right.
7361
if test "${PATH_SEPARATOR+set}" != set; then
7362
echo "#! /bin/sh" >conf$$.sh
7363
echo "exit 0" >>conf$$.sh
7365
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7376
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7377
test "x$as_lineno_1" != "x$as_lineno_2" &&
7378
test "x$as_lineno_3" = "x$as_lineno_2" || {
7379
# Find who we are. Look in the path if we contain no path at all
7382
*[\\/]* ) as_myself=$0 ;;
7383
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387
test -z "$as_dir" && as_dir=.
7388
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7393
# We did not find ourselves, most probably we were run as `sh COMMAND'
7394
# in which case we are not to be found in the path.
7395
if test "x$as_myself" = x; then
7398
if test ! -f "$as_myself"; then
7399
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7400
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7401
{ (exit 1); exit 1; }; }
7403
case $CONFIG_SHELL in
7405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7409
test -z "$as_dir" && as_dir=.
7410
for as_base in sh bash ksh sh5; do
7413
if ("$as_dir/$as_base" -c '
7416
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7417
test "x$as_lineno_1" != "x$as_lineno_2" &&
7418
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7419
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7420
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7421
CONFIG_SHELL=$as_dir/$as_base
7423
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7431
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7432
# uniformly replaced by the line number. The first 'sed' inserts a
7433
# line-number line before each line; the second 'sed' does the real
7434
# work. The second script uses 'N' to pair each line-number line
7435
# with the numbered line, and appends trailing '-' during
7436
# substitution so that $LINENO is not a special case at line end.
7437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7438
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7439
sed '=' <$as_myself |
7444
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7447
s,^['$as_cr_digits']*\n,,
7449
chmod +x $as_me.lineno ||
7450
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7451
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7452
{ (exit 1); exit 1; }; }
7454
# Don't try to exec as it changes $[0], causing all sort of problems
7455
# (the dirname of $[0] is not the place where we might find the
7456
# original and so on. Autoconf is especially sensible to this).
7458
# Exit status is that of the last command.
7463
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7464
*c*,-n*) ECHO_N= ECHO_C='
7466
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7467
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7470
if expr a : '\(a\)' >/dev/null 2>&1; then
7476
rm -f conf$$ conf$$.exe conf$$.file
7478
if ln -s conf$$.file conf$$ 2>/dev/null; then
7479
# We could just check for DJGPP; but this test a) works b) is more generic
7480
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7481
if test -f conf$$.exe; then
7482
# Don't use ln at all; we don't have any links
7487
elif ln conf$$.file conf$$ 2>/dev/null; then
7492
rm -f conf$$ conf$$.exe conf$$.file
7494
if mkdir -p . 2>/dev/null; then
7497
test -d ./-p && rmdir ./-p
7501
as_executable_p="test -f"
7503
# Sed expression to map a string onto a valid CPP name.
7504
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7506
# Sed expression to map a string onto a valid variable name.
7507
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7511
# We need space, tab and new line, in precisely that order.
7521
# Open the log real soon, to keep \$[0] and so on meaningful, and to
7522
# report actual input values of CONFIG_FILES etc. instead of their
7523
# values after options handling. Logging --version etc. is OK.
7527
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7528
## Running $as_me. ##
7533
This file was extended by $as_me, which was
7534
generated by GNU Autoconf 2.59. Invocation command line was
7536
CONFIG_FILES = $CONFIG_FILES
7537
CONFIG_HEADERS = $CONFIG_HEADERS
7538
CONFIG_LINKS = $CONFIG_LINKS
7539
CONFIG_COMMANDS = $CONFIG_COMMANDS
7543
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7547
# Files that config.status was made for.
7548
if test -n "$ac_config_files"; then
7549
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7552
if test -n "$ac_config_headers"; then
7553
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7556
if test -n "$ac_config_links"; then
7557
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7560
if test -n "$ac_config_commands"; then
7561
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7564
cat >>$CONFIG_STATUS <<\_ACEOF
7567
\`$as_me' instantiates files from templates according to the
7568
current configuration.
7570
Usage: $0 [OPTIONS] [FILE]...
7572
-h, --help print this help, then exit
7573
-V, --version print version number, then exit
7574
-q, --quiet do not print progress messages
7575
-d, --debug don't remove temporary files
7576
--recheck update $as_me by reconfiguring in the same conditions
7577
--file=FILE[:TEMPLATE]
7578
instantiate the configuration file FILE
7579
--header=FILE[:TEMPLATE]
7580
instantiate the configuration header FILE
7582
Configuration files:
7585
Configuration headers:
7588
Report bugs to <bug-autoconf@gnu.org>."
7591
cat >>$CONFIG_STATUS <<_ACEOF
7594
configured by $0, generated by GNU Autoconf 2.59,
7595
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7597
Copyright (C) 2003 Free Software Foundation, Inc.
7598
This config.status script is free software; the Free Software Foundation
7599
gives unlimited permission to copy, distribute and modify it."
7604
cat >>$CONFIG_STATUS <<\_ACEOF
7605
# If no file are specified by the user, then we need to provide default
7606
# value. By we need to know if files were specified by the user.
7612
ac_option=`expr "x$1" : 'x\([^=]*\)='`
7613
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7621
*) # This is not an option, so the user has probably given explicit
7624
ac_need_defaults=false;;
7628
# Handling of the options.
7630
cat >>$CONFIG_STATUS <<\_ACEOF
7631
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7633
--version | --vers* | -V )
7634
echo "$ac_cs_version"; exit 0 ;;
7636
# Conflict between --help and --header
7637
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
7638
Try \`$0 --help' for more information." >&5
7639
echo "$as_me: error: ambiguous option: $1
7640
Try \`$0 --help' for more information." >&2;}
7641
{ (exit 1); exit 1; }; };;
7642
--help | --hel | -h )
7643
echo "$ac_cs_usage"; exit 0 ;;
7644
--debug | --d* | -d )
7646
--file | --fil | --fi | --f )
7648
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7649
ac_need_defaults=false;;
7650
--header | --heade | --head | --hea )
7652
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7653
ac_need_defaults=false;;
7654
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
7655
| -silent | --silent | --silen | --sile | --sil | --si | --s)
7659
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7660
Try \`$0 --help' for more information." >&5
7661
echo "$as_me: error: unrecognized option: $1
7662
Try \`$0 --help' for more information." >&2;}
7663
{ (exit 1); exit 1; }; } ;;
7665
*) ac_config_targets="$ac_config_targets $1" ;;
7671
ac_configure_extra_args=
7673
if $ac_cs_silent; then
7675
ac_configure_extra_args="$ac_configure_extra_args --silent"
7679
cat >>$CONFIG_STATUS <<_ACEOF
7680
if \$ac_cs_recheck; then
7681
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7682
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7691
cat >>$CONFIG_STATUS <<\_ACEOF
7692
for ac_config_target in $ac_config_targets
7694
case "$ac_config_target" in
7695
# Handling of arguments.
7696
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7697
"crypto/Makefile" ) CONFIG_FILES="$CONFIG_FILES crypto/Makefile" ;;
7698
"doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
7699
"crypto/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;;
7700
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7701
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7702
{ (exit 1); exit 1; }; };;
7706
# If the user did not use the arguments to specify the items to instantiate,
7707
# then the envvar interface is used. Set only those that are not.
7708
# We use the long form for the default assignment because of an extremely
7709
# bizarre bug on SunOS 4.1.3.
7710
if $ac_need_defaults; then
7711
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7712
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7715
# Have a temporary directory for convenience. Make it in the build tree
7716
# simply because there is no reason to put it here, and in addition,
7717
# creating and moving files from /tmp can sometimes cause problems.
7718
# Create a temporary directory, and hook for its removal unless debugging.
7721
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7722
trap '{ (exit 1); exit 1; }' 1 2 13 15
7725
# Create a (secure) tmp directory for tmp files.
7728
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7729
test -n "$tmp" && test -d "$tmp"
7732
tmp=./confstat$$-$RANDOM
7733
(umask 077 && mkdir $tmp)
7736
echo "$me: cannot create a temporary directory in ." >&2
7737
{ (exit 1); exit 1; }
7742
cat >>$CONFIG_STATUS <<_ACEOF
7745
# CONFIG_FILES section.
7748
# No need to generate the scripts if there are no CONFIG_FILES.
7749
# This happens for instance when ./config.status config.h
7750
if test -n "\$CONFIG_FILES"; then
7751
# Protect against being on the right side of a sed subst in config.status.
7752
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7753
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7754
s,@SHELL@,$SHELL,;t t
7755
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7756
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7757
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7758
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7759
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7760
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7761
s,@exec_prefix@,$exec_prefix,;t t
7762
s,@prefix@,$prefix,;t t
7763
s,@program_transform_name@,$program_transform_name,;t t
7764
s,@bindir@,$bindir,;t t
7765
s,@sbindir@,$sbindir,;t t
7766
s,@libexecdir@,$libexecdir,;t t
7767
s,@datadir@,$datadir,;t t
7768
s,@sysconfdir@,$sysconfdir,;t t
7769
s,@sharedstatedir@,$sharedstatedir,;t t
7770
s,@localstatedir@,$localstatedir,;t t
7771
s,@libdir@,$libdir,;t t
7772
s,@includedir@,$includedir,;t t
7773
s,@oldincludedir@,$oldincludedir,;t t
7774
s,@infodir@,$infodir,;t t
7775
s,@mandir@,$mandir,;t t
7776
s,@build_alias@,$build_alias,;t t
7777
s,@host_alias@,$host_alias,;t t
7778
s,@target_alias@,$target_alias,;t t
7780
s,@ECHO_C@,$ECHO_C,;t t
7781
s,@ECHO_N@,$ECHO_N,;t t
7782
s,@ECHO_T@,$ECHO_T,;t t
7784
s,@RANLIB@,$RANLIB,;t t
7785
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7787
s,@CFLAGS@,$CFLAGS,;t t
7788
s,@LDFLAGS@,$LDFLAGS,;t t
7789
s,@CPPFLAGS@,$CPPFLAGS,;t t
7790
s,@ac_ct_CC@,$ac_ct_CC,;t t
7791
s,@EXEEXT@,$EXEEXT,;t t
7792
s,@OBJEXT@,$OBJEXT,;t t
7793
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7794
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7795
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7796
s,@RNG_OBJS@,$RNG_OBJS,;t t
7798
s,@EGREP@,$EGREP,;t t
7799
s,@build@,$build,;t t
7800
s,@build_cpu@,$build_cpu,;t t
7801
s,@build_vendor@,$build_vendor,;t t
7802
s,@build_os@,$build_os,;t t
7804
s,@host_cpu@,$host_cpu,;t t
7805
s,@host_vendor@,$host_vendor,;t t
7806
s,@host_os@,$host_os,;t t
7808
s,@GDOI_OBJS@,$GDOI_OBJS,;t t
7809
s,@LIBOBJS@,$LIBOBJS,;t t
7810
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7815
cat >>$CONFIG_STATUS <<\_ACEOF
7816
# Split the substitutions into bite-sized pieces for seds with
7817
# small command number limits, like on Digital OSF/1 and HP-UX.
7819
ac_sed_frag=1 # Number of current file.
7820
ac_beg=1 # First line for current file.
7821
ac_end=$ac_max_sed_lines # Line after last line for current file.
7824
while $ac_more_lines; do
7825
if test $ac_beg -gt 1; then
7826
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7828
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7830
if test ! -s $tmp/subs.frag; then
7833
# The purpose of the label and of the branching condition is to
7834
# speed up the sed processing (if there are no `@' at all, there
7835
# is no need to browse any of the substitutions).
7836
# These are the two extra sed commands mentioned above.
7838
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7839
if test -z "$ac_sed_cmds"; then
7840
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7842
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7844
ac_sed_frag=`expr $ac_sed_frag + 1`
7846
ac_end=`expr $ac_end + $ac_max_sed_lines`
7849
if test -z "$ac_sed_cmds"; then
7852
fi # test -n "$CONFIG_FILES"
7855
cat >>$CONFIG_STATUS <<\_ACEOF
7856
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7857
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7859
- | *:- | *:-:* ) # input from stdin
7861
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7862
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7863
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7864
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7865
* ) ac_file_in=$ac_file.in ;;
7868
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7869
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7870
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7871
X"$ac_file" : 'X\(//\)[^/]' \| \
7872
X"$ac_file" : 'X\(//\)$' \| \
7873
X"$ac_file" : 'X\(/\)' \| \
7874
. : '\(.\)' 2>/dev/null ||
7876
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7877
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7878
/^X\(\/\/\)$/{ s//\1/; q; }
7879
/^X\(\/\).*/{ s//\1/; q; }
7881
{ if $as_mkdir_p; then
7886
while test ! -d "$as_dir"; do
7887
as_dirs="$as_dir $as_dirs"
7888
as_dir=`(dirname "$as_dir") 2>/dev/null ||
7889
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7890
X"$as_dir" : 'X\(//\)[^/]' \| \
7891
X"$as_dir" : 'X\(//\)$' \| \
7892
X"$as_dir" : 'X\(/\)' \| \
7893
. : '\(.\)' 2>/dev/null ||
7895
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7896
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7897
/^X\(\/\/\)$/{ s//\1/; q; }
7898
/^X\(\/\).*/{ s//\1/; q; }
7901
test ! -n "$as_dirs" || mkdir $as_dirs
7902
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7903
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7904
{ (exit 1); exit 1; }; }; }
7908
if test "$ac_dir" != .; then
7909
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7910
# A "../" for each directory in $ac_dir_suffix.
7911
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7913
ac_dir_suffix= ac_top_builddir=
7917
.) # No --srcdir option. We are building in place.
7919
if test -z "$ac_top_builddir"; then
7922
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7924
[\\/]* | ?:[\\/]* ) # Absolute path.
7925
ac_srcdir=$srcdir$ac_dir_suffix;
7926
ac_top_srcdir=$srcdir ;;
7928
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7929
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7932
# Do not use `cd foo && pwd` to compute absolute paths, because
7933
# the directories may not exist.
7935
.) ac_abs_builddir="$ac_dir";;
7938
.) ac_abs_builddir=`pwd`;;
7939
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7940
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7943
case $ac_abs_builddir in
7944
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7946
case ${ac_top_builddir}. in
7947
.) ac_abs_top_builddir=$ac_abs_builddir;;
7948
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7949
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7952
case $ac_abs_builddir in
7953
.) ac_abs_srcdir=$ac_srcdir;;
7956
.) ac_abs_srcdir=$ac_abs_builddir;;
7957
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7958
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7961
case $ac_abs_builddir in
7962
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7964
case $ac_top_srcdir in
7965
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7966
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7967
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7973
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7974
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7977
if test x"$ac_file" != x-; then
7978
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7979
echo "$as_me: creating $ac_file" >&6;}
7982
# Let's still pretend it is `configure' which instantiates (i.e., don't
7983
# use $as_me), people would be surprised to read:
7984
# /* config.h. Generated by config.status. */
7985
if test x"$ac_file" = x-; then
7988
configure_input="$ac_file. "
7990
configure_input=$configure_input"Generated from `echo $ac_file_in |
7991
sed 's,.*/,,'` by configure."
7993
# First look for the input files in the build tree, otherwise in the
7995
ac_file_inputs=`IFS=:
7996
for f in $ac_file_in; do
7998
-) echo $tmp/stdin ;;
8000
# Absolute (can't be DOS-style, as IFS=:)
8001
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8002
echo "$as_me: error: cannot find input file: $f" >&2;}
8003
{ (exit 1); exit 1; }; }
8006
if test -f "$f"; then
8009
elif test -f "$srcdir/$f"; then
8014
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8015
echo "$as_me: error: cannot find input file: $f" >&2;}
8016
{ (exit 1); exit 1; }; }
8019
done` || { (exit 1); exit 1; }
8021
cat >>$CONFIG_STATUS <<_ACEOF
8025
cat >>$CONFIG_STATUS <<\_ACEOF
8027
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8028
s,@configure_input@,$configure_input,;t t
8029
s,@srcdir@,$ac_srcdir,;t t
8030
s,@abs_srcdir@,$ac_abs_srcdir,;t t
8031
s,@top_srcdir@,$ac_top_srcdir,;t t
8032
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8033
s,@builddir@,$ac_builddir,;t t
8034
s,@abs_builddir@,$ac_abs_builddir,;t t
8035
s,@top_builddir@,$ac_top_builddir,;t t
8036
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8037
s,@INSTALL@,$ac_INSTALL,;t t
8038
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8040
if test x"$ac_file" != x-; then
8041
mv $tmp/out $ac_file
8049
cat >>$CONFIG_STATUS <<\_ACEOF
8052
# CONFIG_HEADER section.
8055
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8056
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8058
# ac_d sets the value in "#define NAME VALUE" lines.
8059
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8060
ac_dB='[ ].*$,\1#\2'
8063
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8064
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8065
ac_uB='$,\1#\2define\3'
8069
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8070
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8072
- | *:- | *:-:* ) # input from stdin
8074
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8075
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8076
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8077
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8078
* ) ac_file_in=$ac_file.in ;;
8081
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8082
echo "$as_me: creating $ac_file" >&6;}
8084
# First look for the input files in the build tree, otherwise in the
8086
ac_file_inputs=`IFS=:
8087
for f in $ac_file_in; do
8089
-) echo $tmp/stdin ;;
8091
# Absolute (can't be DOS-style, as IFS=:)
8092
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8093
echo "$as_me: error: cannot find input file: $f" >&2;}
8094
{ (exit 1); exit 1; }; }
8095
# Do quote $f, to prevent DOS paths from being IFS'd.
8098
if test -f "$f"; then
8101
elif test -f "$srcdir/$f"; then
8106
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8107
echo "$as_me: error: cannot find input file: $f" >&2;}
8108
{ (exit 1); exit 1; }; }
8111
done` || { (exit 1); exit 1; }
8112
# Remove the trailing spaces.
8113
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8117
# Transform confdefs.h into two sed scripts, `conftest.defines' and
8118
# `conftest.undefs', that substitutes the proper values into
8119
# config.h.in to produce config.h. The first handles `#define'
8120
# templates, and the second `#undef' templates.
8121
# And first: Protect against being on the right side of a sed subst in
8122
# config.status. Protect against being in an unquoted here document
8124
rm -f conftest.defines conftest.undefs
8125
# Using a here document instead of a string reduces the quoting nightmare.
8126
# Putting comments in sed scripts is not portable.
8128
# `end' is used to avoid that the second main sed command (meant for
8129
# 0-ary CPP macros) applies to n-ary macro definitions.
8130
# See the Autoconf documentation for `clear'.
8131
cat >confdef2sed.sed <<\_ACEOF
8136
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8138
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8141
# If some macros were called several times there might be several times
8142
# the same #defines, which is useless. Nevertheless, we may not want to
8143
# sort them, since we want the *last* AC-DEFINE to be honored.
8144
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8145
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8146
rm -f confdef2sed.sed
8148
# This sed command replaces #undef with comments. This is necessary, for
8149
# example, in the case of _POSIX_SOURCE, which is predefined and required
8150
# on some systems where configure will not decide to define it.
8151
cat >>conftest.undefs <<\_ACEOF
8152
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8155
# Break up conftest.defines because some shells have a limit on the size
8156
# of here documents, and old seds have small limits too (100 cmds).
8157
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8158
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8159
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8160
echo ' :' >>$CONFIG_STATUS
8162
while grep . conftest.defines >/dev/null
8164
# Write a limited-size here document to $tmp/defines.sed.
8165
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8166
# Speed up: don't consider the non `#define' lines.
8167
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8168
# Work around the forget-to-reset-the-flag bug.
8169
echo 't clr' >>$CONFIG_STATUS
8170
echo ': clr' >>$CONFIG_STATUS
8171
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8173
sed -f $tmp/defines.sed $tmp/in >$tmp/out
8177
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8178
rm -f conftest.defines
8179
mv conftest.tail conftest.defines
8181
rm -f conftest.defines
8182
echo ' fi # grep' >>$CONFIG_STATUS
8183
echo >>$CONFIG_STATUS
8185
# Break up conftest.undefs because some shells have a limit on the size
8186
# of here documents, and old seds have small limits too (100 cmds).
8187
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8189
while grep . conftest.undefs >/dev/null
8191
# Write a limited-size here document to $tmp/undefs.sed.
8192
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8193
# Speed up: don't consider the non `#undef'
8194
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8195
# Work around the forget-to-reset-the-flag bug.
8196
echo 't clr' >>$CONFIG_STATUS
8197
echo ': clr' >>$CONFIG_STATUS
8198
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8200
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8204
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8205
rm -f conftest.undefs
8206
mv conftest.tail conftest.undefs
8208
rm -f conftest.undefs
8210
cat >>$CONFIG_STATUS <<\_ACEOF
8211
# Let's still pretend it is `configure' which instantiates (i.e., don't
8212
# use $as_me), people would be surprised to read:
8213
# /* config.h. Generated by config.status. */
8214
if test x"$ac_file" = x-; then
8215
echo "/* Generated by configure. */" >$tmp/config.h
8217
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8219
cat $tmp/in >>$tmp/config.h
8221
if test x"$ac_file" != x-; then
8222
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8223
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8224
echo "$as_me: $ac_file is unchanged" >&6;}
8226
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8227
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8228
X"$ac_file" : 'X\(//\)[^/]' \| \
8229
X"$ac_file" : 'X\(//\)$' \| \
8230
X"$ac_file" : 'X\(/\)' \| \
8231
. : '\(.\)' 2>/dev/null ||
8233
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8234
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8235
/^X\(\/\/\)$/{ s//\1/; q; }
8236
/^X\(\/\).*/{ s//\1/; q; }
8238
{ if $as_mkdir_p; then
8243
while test ! -d "$as_dir"; do
8244
as_dirs="$as_dir $as_dirs"
8245
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8246
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8247
X"$as_dir" : 'X\(//\)[^/]' \| \
8248
X"$as_dir" : 'X\(//\)$' \| \
8249
X"$as_dir" : 'X\(/\)' \| \
8250
. : '\(.\)' 2>/dev/null ||
8252
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8253
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8254
/^X\(\/\/\)$/{ s//\1/; q; }
8255
/^X\(\/\).*/{ s//\1/; q; }
8258
test ! -n "$as_dirs" || mkdir $as_dirs
8259
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8260
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8261
{ (exit 1); exit 1; }; }; }
8264
mv $tmp/config.h $ac_file
8273
cat >>$CONFIG_STATUS <<\_ACEOF
8275
{ (exit 0); exit 0; }
8277
chmod +x $CONFIG_STATUS
8278
ac_clean_files=$ac_clean_files_save
8281
# configure is writing to config.log, and then calls config.status.
8282
# config.status does its own redirection, appending to config.log.
8283
# Unfortunately, on DOS this fails, as config.log is still kept open
8284
# by configure, so config.status won't be able to write to it; its
8285
# output is simply discarded. So we exec the FD to /dev/null,
8286
# effectively closing config.log, so it can be properly (re)opened and
8287
# appended to by config.status. When coming back to configure, we
8288
# need to make the FD available again.
8289
if test "$no_create" != yes; then
8291
ac_config_status_args=
8292
test "$silent" = yes &&
8293
ac_config_status_args="$ac_config_status_args --quiet"
8295
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8297
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
8298
# would make configure fail if this is the last instruction.
8299
$ac_cs_success || { (exit 1); exit 1; }
8303
# This is needed when building outside the source dir.
8304
{ if $as_mkdir_p; then
8305
mkdir -p crypto/ae_xfm
8307
as_dir=crypto/ae_xfm
8309
while test ! -d "$as_dir"; do
8310
as_dirs="$as_dir $as_dirs"
8311
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8312
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8313
X"$as_dir" : 'X\(//\)[^/]' \| \
8314
X"$as_dir" : 'X\(//\)$' \| \
8315
X"$as_dir" : 'X\(/\)' \| \
8316
. : '\(.\)' 2>/dev/null ||
8318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8319
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8320
/^X\(\/\/\)$/{ s//\1/; q; }
8321
/^X\(\/\).*/{ s//\1/; q; }
8324
test ! -n "$as_dirs" || mkdir $as_dirs
8325
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/ae_xfm" >&5
8326
echo "$as_me: error: cannot create directory crypto/ae_xfm" >&2;}
8327
{ (exit 1); exit 1; }; }; }
8329
{ if $as_mkdir_p; then
8330
mkdir -p crypto/cipher
8332
as_dir=crypto/cipher
8334
while test ! -d "$as_dir"; do
8335
as_dirs="$as_dir $as_dirs"
8336
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8337
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8338
X"$as_dir" : 'X\(//\)[^/]' \| \
8339
X"$as_dir" : 'X\(//\)$' \| \
8340
X"$as_dir" : 'X\(/\)' \| \
8341
. : '\(.\)' 2>/dev/null ||
8343
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8344
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8345
/^X\(\/\/\)$/{ s//\1/; q; }
8346
/^X\(\/\).*/{ s//\1/; q; }
8349
test ! -n "$as_dirs" || mkdir $as_dirs
8350
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/cipher" >&5
8351
echo "$as_me: error: cannot create directory crypto/cipher" >&2;}
8352
{ (exit 1); exit 1; }; }; }
8354
{ if $as_mkdir_p; then
8355
mkdir -p crypto/hash
8359
while test ! -d "$as_dir"; do
8360
as_dirs="$as_dir $as_dirs"
8361
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8362
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8363
X"$as_dir" : 'X\(//\)[^/]' \| \
8364
X"$as_dir" : 'X\(//\)$' \| \
8365
X"$as_dir" : 'X\(/\)' \| \
8366
. : '\(.\)' 2>/dev/null ||
8368
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8369
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8370
/^X\(\/\/\)$/{ s//\1/; q; }
8371
/^X\(\/\).*/{ s//\1/; q; }
8374
test ! -n "$as_dirs" || mkdir $as_dirs
8375
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/hash" >&5
8376
echo "$as_me: error: cannot create directory crypto/hash" >&2;}
8377
{ (exit 1); exit 1; }; }; }
8379
{ if $as_mkdir_p; then
8380
mkdir -p crypto/kernel
8382
as_dir=crypto/kernel
8384
while test ! -d "$as_dir"; do
8385
as_dirs="$as_dir $as_dirs"
8386
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8387
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8388
X"$as_dir" : 'X\(//\)[^/]' \| \
8389
X"$as_dir" : 'X\(//\)$' \| \
8390
X"$as_dir" : 'X\(/\)' \| \
8391
. : '\(.\)' 2>/dev/null ||
8393
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8394
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8395
/^X\(\/\/\)$/{ s//\1/; q; }
8396
/^X\(\/\).*/{ s//\1/; q; }
8399
test ! -n "$as_dirs" || mkdir $as_dirs
8400
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/kernel" >&5
8401
echo "$as_me: error: cannot create directory crypto/kernel" >&2;}
8402
{ (exit 1); exit 1; }; }; }
8404
{ if $as_mkdir_p; then
8405
mkdir -p crypto/math
8409
while test ! -d "$as_dir"; do
8410
as_dirs="$as_dir $as_dirs"
8411
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8412
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8413
X"$as_dir" : 'X\(//\)[^/]' \| \
8414
X"$as_dir" : 'X\(//\)$' \| \
8415
X"$as_dir" : 'X\(/\)' \| \
8416
. : '\(.\)' 2>/dev/null ||
8418
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8419
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8420
/^X\(\/\/\)$/{ s//\1/; q; }
8421
/^X\(\/\).*/{ s//\1/; q; }
8424
test ! -n "$as_dirs" || mkdir $as_dirs
8425
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/math" >&5
8426
echo "$as_me: error: cannot create directory crypto/math" >&2;}
8427
{ (exit 1); exit 1; }; }; }
8429
{ if $as_mkdir_p; then
8430
mkdir -p crypto/replay
8432
as_dir=crypto/replay
8434
while test ! -d "$as_dir"; do
8435
as_dirs="$as_dir $as_dirs"
8436
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8437
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8438
X"$as_dir" : 'X\(//\)[^/]' \| \
8439
X"$as_dir" : 'X\(//\)$' \| \
8440
X"$as_dir" : 'X\(/\)' \| \
8441
. : '\(.\)' 2>/dev/null ||
8443
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8444
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8445
/^X\(\/\/\)$/{ s//\1/; q; }
8446
/^X\(\/\).*/{ s//\1/; q; }
8449
test ! -n "$as_dirs" || mkdir $as_dirs
8450
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/replay" >&5
8451
echo "$as_me: error: cannot create directory crypto/replay" >&2;}
8452
{ (exit 1); exit 1; }; }; }
8454
{ if $as_mkdir_p; then
8459
while test ! -d "$as_dir"; do
8460
as_dirs="$as_dir $as_dirs"
8461
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8462
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8463
X"$as_dir" : 'X\(//\)[^/]' \| \
8464
X"$as_dir" : 'X\(//\)$' \| \
8465
X"$as_dir" : 'X\(/\)' \| \
8466
. : '\(.\)' 2>/dev/null ||
8468
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8469
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8470
/^X\(\/\/\)$/{ s//\1/; q; }
8471
/^X\(\/\).*/{ s//\1/; q; }
8474
test ! -n "$as_dirs" || mkdir $as_dirs
8475
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/rng" >&5
8476
echo "$as_me: error: cannot create directory crypto/rng" >&2;}
8477
{ (exit 1); exit 1; }; }; }
8479
{ if $as_mkdir_p; then
8480
mkdir -p crypto/test
8484
while test ! -d "$as_dir"; do
8485
as_dirs="$as_dir $as_dirs"
8486
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8487
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8488
X"$as_dir" : 'X\(//\)[^/]' \| \
8489
X"$as_dir" : 'X\(//\)$' \| \
8490
X"$as_dir" : 'X\(/\)' \| \
8491
. : '\(.\)' 2>/dev/null ||
8493
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8494
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8495
/^X\(\/\/\)$/{ s//\1/; q; }
8496
/^X\(\/\).*/{ s//\1/; q; }
8499
test ! -n "$as_dirs" || mkdir $as_dirs
8500
fi || { { echo "$as_me:$LINENO: error: cannot create directory crypto/test" >&5
8501
echo "$as_me: error: cannot create directory crypto/test" >&2;}
8502
{ (exit 1); exit 1; }; }; }
8504
{ if $as_mkdir_p; then
8509
while test ! -d "$as_dir"; do
8510
as_dirs="$as_dir $as_dirs"
8511
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8512
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8513
X"$as_dir" : 'X\(//\)[^/]' \| \
8514
X"$as_dir" : 'X\(//\)$' \| \
8515
X"$as_dir" : 'X\(/\)' \| \
8516
. : '\(.\)' 2>/dev/null ||
8518
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8519
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8520
/^X\(\/\/\)$/{ s//\1/; q; }
8521
/^X\(\/\).*/{ s//\1/; q; }
8524
test ! -n "$as_dirs" || mkdir $as_dirs
8525
fi || { { echo "$as_me:$LINENO: error: cannot create directory doc" >&5
8526
echo "$as_me: error: cannot create directory doc" >&2;}
8527
{ (exit 1); exit 1; }; }; }
8529
{ if $as_mkdir_p; then
8534
while test ! -d "$as_dir"; do
8535
as_dirs="$as_dir $as_dirs"
8536
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8537
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8538
X"$as_dir" : 'X\(//\)[^/]' \| \
8539
X"$as_dir" : 'X\(//\)$' \| \
8540
X"$as_dir" : 'X\(/\)' \| \
8541
. : '\(.\)' 2>/dev/null ||
8543
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8544
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8545
/^X\(\/\/\)$/{ s//\1/; q; }
8546
/^X\(\/\).*/{ s//\1/; q; }
8549
test ! -n "$as_dirs" || mkdir $as_dirs
8550
fi || { { echo "$as_me:$LINENO: error: cannot create directory srtp" >&5
8551
echo "$as_me: error: cannot create directory srtp" >&2;}
8552
{ (exit 1); exit 1; }; }; }
8554
{ if $as_mkdir_p; then
8559
while test ! -d "$as_dir"; do
8560
as_dirs="$as_dir $as_dirs"
8561
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8562
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8563
X"$as_dir" : 'X\(//\)[^/]' \| \
8564
X"$as_dir" : 'X\(//\)$' \| \
8565
X"$as_dir" : 'X\(/\)' \| \
8566
. : '\(.\)' 2>/dev/null ||
8568
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8569
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8570
/^X\(\/\/\)$/{ s//\1/; q; }
8571
/^X\(\/\).*/{ s//\1/; q; }
8574
test ! -n "$as_dirs" || mkdir $as_dirs
8575
fi || { { echo "$as_me:$LINENO: error: cannot create directory tables" >&5
8576
echo "$as_me: error: cannot create directory tables" >&2;}
8577
{ (exit 1); exit 1; }; }; }
8579
{ if $as_mkdir_p; then
8584
while test ! -d "$as_dir"; do
8585
as_dirs="$as_dir $as_dirs"
8586
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8587
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8588
X"$as_dir" : 'X\(//\)[^/]' \| \
8589
X"$as_dir" : 'X\(//\)$' \| \
8590
X"$as_dir" : 'X\(/\)' \| \
8591
. : '\(.\)' 2>/dev/null ||
8593
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8594
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8595
/^X\(\/\/\)$/{ s//\1/; q; }
8596
/^X\(\/\).*/{ s//\1/; q; }
8599
test ! -n "$as_dirs" || mkdir $as_dirs
8600
fi || { { echo "$as_me:$LINENO: error: cannot create directory test" >&5
8601
echo "$as_me: error: cannot create directory test" >&2;}
8602
{ (exit 1); exit 1; }; }; }