~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/srtp/configure

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

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