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