blob: 8990d7eabadaece7651264b709ad3753f140cd92 [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
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS RANLIB ac_ct_RANLIB CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RNG_OBJS CPP EGREP LIBOBJS build build_cpu build_vendor build_os host host_cpu host_vendor host_os EXE GDOI_OBJS LTLIBOBJS'
313ac_subst_files=''
314
315# Initialize some variables set by options.
316ac_init_help=
317ac_init_version=false
318# The variables have the same names as the options, with
319# dashes changed to underlines.
320cache_file=/dev/null
321exec_prefix=NONE
322no_create=
323no_recursion=
324prefix=NONE
325program_prefix=NONE
326program_suffix=NONE
327program_transform_name=s,x,x,
328silent=
329site=
330srcdir=
331verbose=
332x_includes=NONE
333x_libraries=NONE
334
335# Installation directory options.
336# These are left unexpanded so users can "make install exec_prefix=/foo"
337# and all the variables that are supposed to be based on exec_prefix
338# by default will actually change.
339# Use braces instead of parens because sh, perl, etc. also accept them.
340bindir='${exec_prefix}/bin'
341sbindir='${exec_prefix}/sbin'
342libexecdir='${exec_prefix}/libexec'
343datadir='${prefix}/share'
344sysconfdir='${prefix}/etc'
345sharedstatedir='${prefix}/com'
346localstatedir='${prefix}/var'
347libdir='${exec_prefix}/lib'
348includedir='${prefix}/include'
349oldincludedir='/usr/include'
350infodir='${prefix}/info'
351mandir='${prefix}/man'
352
353ac_prev=
354for ac_option
355do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650done
651
652if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656fi
657
658# Be sure to have absolute paths.
659for ac_var in exec_prefix prefix
660do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667done
668
669# Be sure to have absolute paths.
670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
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]
847debug (compile in dynamic debugging system)
848generic-aesicm (compile in changes for ismacryp)
849syslog (use syslog for error reporting)
850stdout (use stdout for error reporting)
851console (use /dev/console for error reporting)
852gdoi (GDOI key management)
853
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
1302if test -n "$ac_tool_prefix"; then
1303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1304set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1305echo "$as_me:$LINENO: checking for $ac_word" >&5
1306echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1307if test "${ac_cv_prog_RANLIB+set}" = set; then
1308 echo $ECHO_N "(cached) $ECHO_C" >&6
1309else
1310 if test -n "$RANLIB"; then
1311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1312else
1313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1314for as_dir in $PATH
1315do
1316 IFS=$as_save_IFS
1317 test -z "$as_dir" && as_dir=.
1318 for ac_exec_ext in '' $ac_executable_extensions; do
1319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1322 break 2
1323 fi
1324done
1325done
1326
1327fi
1328fi
1329RANLIB=$ac_cv_prog_RANLIB
1330if test -n "$RANLIB"; then
1331 echo "$as_me:$LINENO: result: $RANLIB" >&5
1332echo "${ECHO_T}$RANLIB" >&6
1333else
1334 echo "$as_me:$LINENO: result: no" >&5
1335echo "${ECHO_T}no" >&6
1336fi
1337
1338fi
1339if test -z "$ac_cv_prog_RANLIB"; then
1340 ac_ct_RANLIB=$RANLIB
1341 # Extract the first word of "ranlib", so it can be a program name with args.
1342set dummy ranlib; ac_word=$2
1343echo "$as_me:$LINENO: checking for $ac_word" >&5
1344echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1345if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1346 echo $ECHO_N "(cached) $ECHO_C" >&6
1347else
1348 if test -n "$ac_ct_RANLIB"; then
1349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1350else
1351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352for as_dir in $PATH
1353do
1354 IFS=$as_save_IFS
1355 test -z "$as_dir" && as_dir=.
1356 for ac_exec_ext in '' $ac_executable_extensions; do
1357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1358 ac_cv_prog_ac_ct_RANLIB="ranlib"
1359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1360 break 2
1361 fi
1362done
1363done
1364
1365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1366fi
1367fi
1368ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1369if test -n "$ac_ct_RANLIB"; then
1370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1371echo "${ECHO_T}$ac_ct_RANLIB" >&6
1372else
1373 echo "$as_me:$LINENO: result: no" >&5
1374echo "${ECHO_T}no" >&6
1375fi
1376
1377 RANLIB=$ac_ct_RANLIB
1378else
1379 RANLIB="$ac_cv_prog_RANLIB"
1380fi
1381
1382ac_ext=c
1383ac_cpp='$CPP $CPPFLAGS'
1384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1386ac_compiler_gnu=$ac_cv_c_compiler_gnu
1387if test -n "$ac_tool_prefix"; then
1388 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1389set dummy ${ac_tool_prefix}gcc; ac_word=$2
1390echo "$as_me:$LINENO: checking for $ac_word" >&5
1391echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1392if test "${ac_cv_prog_CC+set}" = set; then
1393 echo $ECHO_N "(cached) $ECHO_C" >&6
1394else
1395 if test -n "$CC"; then
1396 ac_cv_prog_CC="$CC" # Let the user override the test.
1397else
1398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399for as_dir in $PATH
1400do
1401 IFS=$as_save_IFS
1402 test -z "$as_dir" && as_dir=.
1403 for ac_exec_ext in '' $ac_executable_extensions; do
1404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1405 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1407 break 2
1408 fi
1409done
1410done
1411
1412fi
1413fi
1414CC=$ac_cv_prog_CC
1415if test -n "$CC"; then
1416 echo "$as_me:$LINENO: result: $CC" >&5
1417echo "${ECHO_T}$CC" >&6
1418else
1419 echo "$as_me:$LINENO: result: no" >&5
1420echo "${ECHO_T}no" >&6
1421fi
1422
1423fi
1424if test -z "$ac_cv_prog_CC"; then
1425 ac_ct_CC=$CC
1426 # Extract the first word of "gcc", so it can be a program name with args.
1427set dummy gcc; ac_word=$2
1428echo "$as_me:$LINENO: checking for $ac_word" >&5
1429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1431 echo $ECHO_N "(cached) $ECHO_C" >&6
1432else
1433 if test -n "$ac_ct_CC"; then
1434 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1435else
1436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437for as_dir in $PATH
1438do
1439 IFS=$as_save_IFS
1440 test -z "$as_dir" && as_dir=.
1441 for ac_exec_ext in '' $ac_executable_extensions; do
1442 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443 ac_cv_prog_ac_ct_CC="gcc"
1444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445 break 2
1446 fi
1447done
1448done
1449
1450fi
1451fi
1452ac_ct_CC=$ac_cv_prog_ac_ct_CC
1453if test -n "$ac_ct_CC"; then
1454 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1455echo "${ECHO_T}$ac_ct_CC" >&6
1456else
1457 echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461 CC=$ac_ct_CC
1462else
1463 CC="$ac_cv_prog_CC"
1464fi
1465
1466if test -z "$CC"; then
1467 if test -n "$ac_tool_prefix"; then
1468 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1469set dummy ${ac_tool_prefix}cc; ac_word=$2
1470echo "$as_me:$LINENO: checking for $ac_word" >&5
1471echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472if test "${ac_cv_prog_CC+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1474else
1475 if test -n "$CC"; then
1476 ac_cv_prog_CC="$CC" # Let the user override the test.
1477else
1478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479for as_dir in $PATH
1480do
1481 IFS=$as_save_IFS
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 ac_cv_prog_CC="${ac_tool_prefix}cc"
1486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1487 break 2
1488 fi
1489done
1490done
1491
1492fi
1493fi
1494CC=$ac_cv_prog_CC
1495if test -n "$CC"; then
1496 echo "$as_me:$LINENO: result: $CC" >&5
1497echo "${ECHO_T}$CC" >&6
1498else
1499 echo "$as_me:$LINENO: result: no" >&5
1500echo "${ECHO_T}no" >&6
1501fi
1502
1503fi
1504if test -z "$ac_cv_prog_CC"; then
1505 ac_ct_CC=$CC
1506 # Extract the first word of "cc", so it can be a program name with args.
1507set dummy cc; ac_word=$2
1508echo "$as_me:$LINENO: checking for $ac_word" >&5
1509echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1510if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1511 echo $ECHO_N "(cached) $ECHO_C" >&6
1512else
1513 if test -n "$ac_ct_CC"; then
1514 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1515else
1516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1517for as_dir in $PATH
1518do
1519 IFS=$as_save_IFS
1520 test -z "$as_dir" && as_dir=.
1521 for ac_exec_ext in '' $ac_executable_extensions; do
1522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1523 ac_cv_prog_ac_ct_CC="cc"
1524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1525 break 2
1526 fi
1527done
1528done
1529
1530fi
1531fi
1532ac_ct_CC=$ac_cv_prog_ac_ct_CC
1533if test -n "$ac_ct_CC"; then
1534 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1535echo "${ECHO_T}$ac_ct_CC" >&6
1536else
1537 echo "$as_me:$LINENO: result: no" >&5
1538echo "${ECHO_T}no" >&6
1539fi
1540
1541 CC=$ac_ct_CC
1542else
1543 CC="$ac_cv_prog_CC"
1544fi
1545
1546fi
1547if test -z "$CC"; then
1548 # Extract the first word of "cc", so it can be a program name with args.
1549set dummy cc; ac_word=$2
1550echo "$as_me:$LINENO: checking for $ac_word" >&5
1551echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552if test "${ac_cv_prog_CC+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1554else
1555 if test -n "$CC"; then
1556 ac_cv_prog_CC="$CC" # Let the user override the test.
1557else
1558 ac_prog_rejected=no
1559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1560for as_dir in $PATH
1561do
1562 IFS=$as_save_IFS
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1567 ac_prog_rejected=yes
1568 continue
1569 fi
1570 ac_cv_prog_CC="cc"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 break 2
1573 fi
1574done
1575done
1576
1577if test $ac_prog_rejected = yes; then
1578 # We found a bogon in the path, so make sure we never use it.
1579 set dummy $ac_cv_prog_CC
1580 shift
1581 if test $# != 0; then
1582 # We chose a different compiler from the bogus one.
1583 # However, it has the same basename, so the bogon will be chosen
1584 # first if we set CC to just the basename; use the full file name.
1585 shift
1586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1587 fi
1588fi
1589fi
1590fi
1591CC=$ac_cv_prog_CC
1592if test -n "$CC"; then
1593 echo "$as_me:$LINENO: result: $CC" >&5
1594echo "${ECHO_T}$CC" >&6
1595else
1596 echo "$as_me:$LINENO: result: no" >&5
1597echo "${ECHO_T}no" >&6
1598fi
1599
1600fi
1601if test -z "$CC"; then
1602 if test -n "$ac_tool_prefix"; then
1603 for ac_prog in cl
1604 do
1605 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1606set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1607echo "$as_me:$LINENO: checking for $ac_word" >&5
1608echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609if test "${ac_cv_prog_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1611else
1612 if test -n "$CC"; then
1613 ac_cv_prog_CC="$CC" # Let the user override the test.
1614else
1615as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1616for as_dir in $PATH
1617do
1618 IFS=$as_save_IFS
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1624 break 2
1625 fi
1626done
1627done
1628
1629fi
1630fi
1631CC=$ac_cv_prog_CC
1632if test -n "$CC"; then
1633 echo "$as_me:$LINENO: result: $CC" >&5
1634echo "${ECHO_T}$CC" >&6
1635else
1636 echo "$as_me:$LINENO: result: no" >&5
1637echo "${ECHO_T}no" >&6
1638fi
1639
1640 test -n "$CC" && break
1641 done
1642fi
1643if test -z "$CC"; then
1644 ac_ct_CC=$CC
1645 for ac_prog in cl
1646do
1647 # Extract the first word of "$ac_prog", so it can be a program name with args.
1648set dummy $ac_prog; ac_word=$2
1649echo "$as_me:$LINENO: checking for $ac_word" >&5
1650echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1653else
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1656else
1657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658for as_dir in $PATH
1659do
1660 IFS=$as_save_IFS
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC="$ac_prog"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1666 break 2
1667 fi
1668done
1669done
1670
1671fi
1672fi
1673ac_ct_CC=$ac_cv_prog_ac_ct_CC
1674if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676echo "${ECHO_T}$ac_ct_CC" >&6
1677else
1678 echo "$as_me:$LINENO: result: no" >&5
1679echo "${ECHO_T}no" >&6
1680fi
1681
1682 test -n "$ac_ct_CC" && break
1683done
1684
1685 CC=$ac_ct_CC
1686fi
1687
1688fi
1689
1690
1691test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1692See \`config.log' for more details." >&5
1693echo "$as_me: error: no acceptable C compiler found in \$PATH
1694See \`config.log' for more details." >&2;}
1695 { (exit 1); exit 1; }; }
1696
1697# Provide some information about the compiler.
1698echo "$as_me:$LINENO:" \
1699 "checking for C compiler version" >&5
1700ac_compiler=`set X $ac_compile; echo $2`
1701{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1702 (eval $ac_compiler --version </dev/null >&5) 2>&5
1703 ac_status=$?
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }
1706{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1707 (eval $ac_compiler -v </dev/null >&5) 2>&5
1708 ac_status=$?
1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710 (exit $ac_status); }
1711{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1712 (eval $ac_compiler -V </dev/null >&5) 2>&5
1713 ac_status=$?
1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1715 (exit $ac_status); }
1716
1717cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00001718/* confdefs.h. */
1719_ACEOF
1720cat confdefs.h >>conftest.$ac_ext
1721cat >>conftest.$ac_ext <<_ACEOF
1722/* end confdefs.h. */
1723
1724int
1725main ()
1726{
1727
1728 ;
1729 return 0;
1730}
1731_ACEOF
1732ac_clean_files_save=$ac_clean_files
1733ac_clean_files="$ac_clean_files a.out a.exe b.out"
1734# Try to create an executable without -o first, disregard a.out.
1735# It will help us diagnose broken compilers, and finding out an intuition
1736# of exeext.
David McGrewfec49dd2005-09-23 19:34:11 +00001737echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1738echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
Cullen Jennings235513a2005-09-21 22:51:36 +00001739ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1740if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1741 (eval $ac_link_default) 2>&5
1742 ac_status=$?
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); }; then
1745 # Find the output, starting from the most likely. This scheme is
1746# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1747# resort.
1748
1749# Be careful to initialize this variable, since it used to be cached.
1750# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1751ac_cv_exeext=
1752# b.out is created by i960 compilers.
1753for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1754do
1755 test -f "$ac_file" || continue
1756 case $ac_file in
1757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
David McGrewfec49dd2005-09-23 19:34:11 +00001758 ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001759 conftest.$ac_ext )
David McGrewfec49dd2005-09-23 19:34:11 +00001760 # This is the source file.
1761 ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001762 [ab].out )
David McGrewfec49dd2005-09-23 19:34:11 +00001763 # We found the default executable, but exeext='' is most
1764 # certainly right.
1765 break;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001766 *.* )
David McGrewfec49dd2005-09-23 19:34:11 +00001767 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1768 # FIXME: I believe we export ac_cv_exeext for Libtool,
1769 # but it would be cool to find out if it's true. Does anybody
1770 # maintain Libtool? --akim.
1771 export ac_cv_exeext
1772 break;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001773 * )
David McGrewfec49dd2005-09-23 19:34:11 +00001774 break;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001775 esac
1776done
1777else
1778 echo "$as_me: failed program was:" >&5
1779sed 's/^/| /' conftest.$ac_ext >&5
1780
1781{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1782See \`config.log' for more details." >&5
1783echo "$as_me: error: C compiler cannot create executables
1784See \`config.log' for more details." >&2;}
1785 { (exit 77); exit 77; }; }
1786fi
1787
1788ac_exeext=$ac_cv_exeext
1789echo "$as_me:$LINENO: result: $ac_file" >&5
1790echo "${ECHO_T}$ac_file" >&6
1791
1792# Check the compiler produces executables we can run. If not, either
1793# the compiler is broken, or we cross compile.
1794echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1795echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1796# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1797# If not cross compiling, check that we can run a simple program.
1798if test "$cross_compiling" != yes; then
1799 if { ac_try='./$ac_file'
1800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1801 (eval $ac_try) 2>&5
1802 ac_status=$?
1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804 (exit $ac_status); }; }; then
1805 cross_compiling=no
1806 else
1807 if test "$cross_compiling" = maybe; then
1808 cross_compiling=yes
1809 else
1810 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1811If you meant to cross compile, use \`--host'.
1812See \`config.log' for more details." >&5
1813echo "$as_me: error: cannot run C compiled programs.
1814If you meant to cross compile, use \`--host'.
1815See \`config.log' for more details." >&2;}
1816 { (exit 1); exit 1; }; }
1817 fi
1818 fi
1819fi
1820echo "$as_me:$LINENO: result: yes" >&5
1821echo "${ECHO_T}yes" >&6
1822
1823rm -f a.out a.exe conftest$ac_cv_exeext b.out
1824ac_clean_files=$ac_clean_files_save
1825# Check the compiler produces executables we can run. If not, either
1826# the compiler is broken, or we cross compile.
1827echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1828echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1829echo "$as_me:$LINENO: result: $cross_compiling" >&5
1830echo "${ECHO_T}$cross_compiling" >&6
1831
1832echo "$as_me:$LINENO: checking for suffix of executables" >&5
1833echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1834if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1835 (eval $ac_link) 2>&5
1836 ac_status=$?
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }; then
1839 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1840# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1841# work properly (i.e., refer to `conftest.exe'), while it won't with
1842# `rm'.
1843for ac_file in conftest.exe conftest conftest.*; do
1844 test -f "$ac_file" || continue
1845 case $ac_file in
1846 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1847 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
David McGrewfec49dd2005-09-23 19:34:11 +00001848 export ac_cv_exeext
1849 break;;
Cullen Jennings235513a2005-09-21 22:51:36 +00001850 * ) break;;
1851 esac
1852done
1853else
1854 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1855See \`config.log' for more details." >&5
1856echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1857See \`config.log' for more details." >&2;}
1858 { (exit 1); exit 1; }; }
1859fi
1860
1861rm -f conftest$ac_cv_exeext
1862echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1863echo "${ECHO_T}$ac_cv_exeext" >&6
1864
1865rm -f conftest.$ac_ext
1866EXEEXT=$ac_cv_exeext
1867ac_exeext=$EXEEXT
1868echo "$as_me:$LINENO: checking for suffix of object files" >&5
1869echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1870if test "${ac_cv_objext+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1872else
1873 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00001874/* confdefs.h. */
1875_ACEOF
1876cat confdefs.h >>conftest.$ac_ext
1877cat >>conftest.$ac_ext <<_ACEOF
1878/* end confdefs.h. */
1879
1880int
1881main ()
1882{
1883
1884 ;
1885 return 0;
1886}
1887_ACEOF
1888rm -f conftest.o conftest.obj
1889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1890 (eval $ac_compile) 2>&5
1891 ac_status=$?
1892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1893 (exit $ac_status); }; then
1894 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1895 case $ac_file in
1896 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1897 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1898 break;;
1899 esac
1900done
1901else
1902 echo "$as_me: failed program was:" >&5
1903sed 's/^/| /' conftest.$ac_ext >&5
1904
1905{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1906See \`config.log' for more details." >&5
1907echo "$as_me: error: cannot compute suffix of object files: cannot compile
1908See \`config.log' for more details." >&2;}
1909 { (exit 1); exit 1; }; }
1910fi
1911
1912rm -f conftest.$ac_cv_objext conftest.$ac_ext
1913fi
1914echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1915echo "${ECHO_T}$ac_cv_objext" >&6
1916OBJEXT=$ac_cv_objext
1917ac_objext=$OBJEXT
1918echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1919echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1920if test "${ac_cv_c_compiler_gnu+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1922else
1923 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00001924/* confdefs.h. */
1925_ACEOF
1926cat confdefs.h >>conftest.$ac_ext
1927cat >>conftest.$ac_ext <<_ACEOF
1928/* end confdefs.h. */
1929
1930int
1931main ()
1932{
1933#ifndef __GNUC__
1934 choke me
1935#endif
1936
1937 ;
1938 return 0;
1939}
1940_ACEOF
1941rm -f conftest.$ac_objext
1942if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00001943 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00001944 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00001945 grep -v '^ *+' conftest.er1 >conftest.err
1946 rm -f conftest.er1
1947 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00001948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00001950 { ac_try='test -z "$ac_c_werror_flag"
1951 || test ! -s conftest.err'
1952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1953 (eval $ac_try) 2>&5
1954 ac_status=$?
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); }; } &&
1957 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00001958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959 (eval $ac_try) 2>&5
1960 ac_status=$?
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }; }; then
1963 ac_compiler_gnu=yes
1964else
1965 echo "$as_me: failed program was:" >&5
1966sed 's/^/| /' conftest.$ac_ext >&5
1967
1968ac_compiler_gnu=no
1969fi
David McGrewfec49dd2005-09-23 19:34:11 +00001970rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00001971ac_cv_c_compiler_gnu=$ac_compiler_gnu
1972
1973fi
1974echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1975echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1976GCC=`test $ac_compiler_gnu = yes && echo yes`
1977ac_test_CFLAGS=${CFLAGS+set}
1978ac_save_CFLAGS=$CFLAGS
1979CFLAGS="-g"
1980echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1981echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1982if test "${ac_cv_prog_cc_g+set}" = set; then
1983 echo $ECHO_N "(cached) $ECHO_C" >&6
1984else
1985 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00001986/* confdefs.h. */
1987_ACEOF
1988cat confdefs.h >>conftest.$ac_ext
1989cat >>conftest.$ac_ext <<_ACEOF
1990/* end confdefs.h. */
1991
1992int
1993main ()
1994{
1995
1996 ;
1997 return 0;
1998}
1999_ACEOF
2000rm -f conftest.$ac_objext
2001if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002002 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002003 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002004 grep -v '^ *+' conftest.er1 >conftest.err
2005 rm -f conftest.er1
2006 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002009 { ac_try='test -z "$ac_c_werror_flag"
2010 || test ! -s conftest.err'
2011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2012 (eval $ac_try) 2>&5
2013 ac_status=$?
2014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2015 (exit $ac_status); }; } &&
2016 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2018 (eval $ac_try) 2>&5
2019 ac_status=$?
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; }; then
2022 ac_cv_prog_cc_g=yes
2023else
2024 echo "$as_me: failed program was:" >&5
2025sed 's/^/| /' conftest.$ac_ext >&5
2026
2027ac_cv_prog_cc_g=no
2028fi
David McGrewfec49dd2005-09-23 19:34:11 +00002029rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002030fi
2031echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2032echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2033if test "$ac_test_CFLAGS" = set; then
2034 CFLAGS=$ac_save_CFLAGS
2035elif test $ac_cv_prog_cc_g = yes; then
2036 if test "$GCC" = yes; then
2037 CFLAGS="-g -O2"
2038 else
2039 CFLAGS="-g"
2040 fi
2041else
2042 if test "$GCC" = yes; then
2043 CFLAGS="-O2"
2044 else
2045 CFLAGS=
2046 fi
2047fi
2048echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2049echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2050if test "${ac_cv_prog_cc_stdc+set}" = set; then
2051 echo $ECHO_N "(cached) $ECHO_C" >&6
2052else
2053 ac_cv_prog_cc_stdc=no
2054ac_save_CC=$CC
2055cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002056/* confdefs.h. */
2057_ACEOF
2058cat confdefs.h >>conftest.$ac_ext
2059cat >>conftest.$ac_ext <<_ACEOF
2060/* end confdefs.h. */
2061#include <stdarg.h>
2062#include <stdio.h>
2063#include <sys/types.h>
2064#include <sys/stat.h>
2065/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2066struct buf { int x; };
2067FILE * (*rcsopen) (struct buf *, struct stat *, int);
2068static char *e (p, i)
2069 char **p;
2070 int i;
2071{
2072 return p[i];
2073}
2074static char *f (char * (*g) (char **, int), char **p, ...)
2075{
2076 char *s;
2077 va_list v;
2078 va_start (v,p);
2079 s = g (p, va_arg (v,int));
2080 va_end (v);
2081 return s;
2082}
David McGrewfec49dd2005-09-23 19:34:11 +00002083
2084/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2085 function prototypes and stuff, but not '\xHH' hex character constants.
2086 These don't provoke an error unfortunately, instead are silently treated
2087 as 'x'. The following induces an error, until -std1 is added to get
2088 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2089 array size at least. It's necessary to write '\x00'==0 to get something
2090 that's true only with -std1. */
2091int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2092
Cullen Jennings235513a2005-09-21 22:51:36 +00002093int test (int i, double x);
2094struct s1 {int (*f) (int a);};
2095struct s2 {int (*f) (double a);};
2096int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2097int argc;
2098char **argv;
2099int
2100main ()
2101{
2102return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2103 ;
2104 return 0;
2105}
2106_ACEOF
2107# Don't try gcc -ansi; that turns off useful extensions and
2108# breaks some systems' header files.
2109# AIX -qlanglvl=ansi
2110# Ultrix and OSF/1 -std1
2111# HP-UX 10.20 and later -Ae
2112# HP-UX older versions -Aa -D_HPUX_SOURCE
2113# SVR4 -Xc -D__EXTENSIONS__
2114for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2115do
2116 CC="$ac_save_CC $ac_arg"
2117 rm -f conftest.$ac_objext
2118if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002119 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002120 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002121 grep -v '^ *+' conftest.er1 >conftest.err
2122 rm -f conftest.er1
2123 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002126 { ac_try='test -z "$ac_c_werror_flag"
2127 || test ! -s conftest.err'
2128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 (eval $ac_try) 2>&5
2130 ac_status=$?
2131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2132 (exit $ac_status); }; } &&
2133 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2135 (eval $ac_try) 2>&5
2136 ac_status=$?
2137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2138 (exit $ac_status); }; }; then
2139 ac_cv_prog_cc_stdc=$ac_arg
2140break
2141else
2142 echo "$as_me: failed program was:" >&5
2143sed 's/^/| /' conftest.$ac_ext >&5
2144
2145fi
David McGrewfec49dd2005-09-23 19:34:11 +00002146rm -f conftest.err conftest.$ac_objext
Cullen Jennings235513a2005-09-21 22:51:36 +00002147done
2148rm -f conftest.$ac_ext conftest.$ac_objext
2149CC=$ac_save_CC
2150
2151fi
2152
2153case "x$ac_cv_prog_cc_stdc" in
2154 x|xno)
2155 echo "$as_me:$LINENO: result: none needed" >&5
2156echo "${ECHO_T}none needed" >&6 ;;
2157 *)
2158 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2159echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2160 CC="$CC $ac_cv_prog_cc_stdc" ;;
2161esac
2162
2163# Some people use a C++ compiler to compile C. Since we use `exit',
2164# in C++ we need to declare it. In case someone uses the same compiler
2165# for both compiling C and C++ we need to have the C++ compiler decide
2166# the declaration of exit, since it's the most demanding environment.
2167cat >conftest.$ac_ext <<_ACEOF
2168#ifndef __cplusplus
2169 choke me
2170#endif
2171_ACEOF
2172rm -f conftest.$ac_objext
2173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002174 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002175 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002176 grep -v '^ *+' conftest.er1 >conftest.err
2177 rm -f conftest.er1
2178 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002181 { ac_try='test -z "$ac_c_werror_flag"
2182 || test ! -s conftest.err'
2183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 (eval $ac_try) 2>&5
2185 ac_status=$?
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }; } &&
2188 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2190 (eval $ac_try) 2>&5
2191 ac_status=$?
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; }; then
2194 for ac_declaration in \
David McGrewfec49dd2005-09-23 19:34:11 +00002195 '' \
Cullen Jennings235513a2005-09-21 22:51:36 +00002196 'extern "C" void std::exit (int) throw (); using std::exit;' \
2197 'extern "C" void std::exit (int); using std::exit;' \
2198 'extern "C" void exit (int) throw ();' \
2199 'extern "C" void exit (int);' \
2200 'void exit (int);'
2201do
2202 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002203/* confdefs.h. */
2204_ACEOF
2205cat confdefs.h >>conftest.$ac_ext
2206cat >>conftest.$ac_ext <<_ACEOF
2207/* end confdefs.h. */
Cullen Jennings235513a2005-09-21 22:51:36 +00002208$ac_declaration
David McGrewfec49dd2005-09-23 19:34:11 +00002209#include <stdlib.h>
Cullen Jennings235513a2005-09-21 22:51:36 +00002210int
2211main ()
2212{
2213exit (42);
2214 ;
2215 return 0;
2216}
2217_ACEOF
2218rm -f conftest.$ac_objext
2219if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002220 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002221 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002222 grep -v '^ *+' conftest.er1 >conftest.err
2223 rm -f conftest.er1
2224 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2226 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002227 { ac_try='test -z "$ac_c_werror_flag"
2228 || test ! -s conftest.err'
2229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 (eval $ac_try) 2>&5
2231 ac_status=$?
2232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2233 (exit $ac_status); }; } &&
2234 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236 (eval $ac_try) 2>&5
2237 ac_status=$?
2238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2239 (exit $ac_status); }; }; then
2240 :
2241else
2242 echo "$as_me: failed program was:" >&5
2243sed 's/^/| /' conftest.$ac_ext >&5
2244
2245continue
2246fi
David McGrewfec49dd2005-09-23 19:34:11 +00002247rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002248 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002249/* confdefs.h. */
2250_ACEOF
2251cat confdefs.h >>conftest.$ac_ext
2252cat >>conftest.$ac_ext <<_ACEOF
2253/* end confdefs.h. */
2254$ac_declaration
2255int
2256main ()
2257{
2258exit (42);
2259 ;
2260 return 0;
2261}
2262_ACEOF
2263rm -f conftest.$ac_objext
2264if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002265 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002266 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002267 grep -v '^ *+' conftest.er1 >conftest.err
2268 rm -f conftest.er1
2269 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002272 { ac_try='test -z "$ac_c_werror_flag"
2273 || test ! -s conftest.err'
2274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 (eval $ac_try) 2>&5
2276 ac_status=$?
2277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2278 (exit $ac_status); }; } &&
2279 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 (eval $ac_try) 2>&5
2282 ac_status=$?
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; }; then
2285 break
2286else
2287 echo "$as_me: failed program was:" >&5
2288sed 's/^/| /' conftest.$ac_ext >&5
2289
2290fi
David McGrewfec49dd2005-09-23 19:34:11 +00002291rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002292done
2293rm -f conftest*
2294if test -n "$ac_declaration"; then
2295 echo '#ifdef __cplusplus' >>confdefs.h
2296 echo $ac_declaration >>confdefs.h
2297 echo '#endif' >>confdefs.h
2298fi
2299
2300else
2301 echo "$as_me: failed program was:" >&5
2302sed 's/^/| /' conftest.$ac_ext >&5
2303
2304fi
David McGrewfec49dd2005-09-23 19:34:11 +00002305rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002306ac_ext=c
2307ac_cpp='$CPP $CPPFLAGS'
2308ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2309ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2310ac_compiler_gnu=$ac_cv_c_compiler_gnu
2311
2312
2313
2314
2315echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2316echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2317if test "${ac_cv_lib_socket_socket+set}" = set; then
2318 echo $ECHO_N "(cached) $ECHO_C" >&6
2319else
2320 ac_check_lib_save_LIBS=$LIBS
2321LIBS="-lsocket $LIBS"
2322cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002323/* confdefs.h. */
2324_ACEOF
2325cat confdefs.h >>conftest.$ac_ext
2326cat >>conftest.$ac_ext <<_ACEOF
2327/* end confdefs.h. */
2328
2329/* Override any gcc2 internal prototype to avoid an error. */
2330#ifdef __cplusplus
2331extern "C"
2332#endif
2333/* We use char because int might match the return type of a gcc2
2334 builtin and then its argument prototype would still apply. */
2335char socket ();
2336int
2337main ()
2338{
2339socket ();
2340 ;
2341 return 0;
2342}
2343_ACEOF
2344rm -f conftest.$ac_objext conftest$ac_exeext
2345if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002346 (eval $ac_link) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002347 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002348 grep -v '^ *+' conftest.er1 >conftest.err
2349 rm -f conftest.er1
2350 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002353 { ac_try='test -z "$ac_c_werror_flag"
2354 || test ! -s conftest.err'
2355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 (eval $ac_try) 2>&5
2357 ac_status=$?
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }; } &&
2360 { ac_try='test -s conftest$ac_exeext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 (eval $ac_try) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }; }; then
2366 ac_cv_lib_socket_socket=yes
2367else
2368 echo "$as_me: failed program was:" >&5
2369sed 's/^/| /' conftest.$ac_ext >&5
2370
2371ac_cv_lib_socket_socket=no
2372fi
David McGrewfec49dd2005-09-23 19:34:11 +00002373rm -f conftest.err conftest.$ac_objext \
2374 conftest$ac_exeext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002375LIBS=$ac_check_lib_save_LIBS
2376fi
2377echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2378echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
2379if test $ac_cv_lib_socket_socket = yes; then
2380 cat >>confdefs.h <<_ACEOF
2381#define HAVE_LIBSOCKET 1
2382_ACEOF
2383
2384 LIBS="-lsocket $LIBS"
2385
2386fi
2387
2388
2389echo "$as_me:$LINENO: checking for srtp_init in -lsrtp" >&5
2390echo $ECHO_N "checking for srtp_init in -lsrtp... $ECHO_C" >&6
2391if test "${ac_cv_lib_srtp_srtp_init+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2393else
2394 ac_check_lib_save_LIBS=$LIBS
2395LIBS="-lsrtp $LIBS"
2396cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002397/* confdefs.h. */
2398_ACEOF
2399cat confdefs.h >>conftest.$ac_ext
2400cat >>conftest.$ac_ext <<_ACEOF
2401/* end confdefs.h. */
2402
2403/* Override any gcc2 internal prototype to avoid an error. */
2404#ifdef __cplusplus
2405extern "C"
2406#endif
2407/* We use char because int might match the return type of a gcc2
2408 builtin and then its argument prototype would still apply. */
2409char srtp_init ();
2410int
2411main ()
2412{
2413srtp_init ();
2414 ;
2415 return 0;
2416}
2417_ACEOF
2418rm -f conftest.$ac_objext conftest$ac_exeext
2419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002420 (eval $ac_link) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002421 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002422 grep -v '^ *+' conftest.er1 >conftest.err
2423 rm -f conftest.er1
2424 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002427 { ac_try='test -z "$ac_c_werror_flag"
2428 || test ! -s conftest.err'
2429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 (eval $ac_try) 2>&5
2431 ac_status=$?
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); }; } &&
2434 { ac_try='test -s conftest$ac_exeext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2436 (eval $ac_try) 2>&5
2437 ac_status=$?
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; }; then
2440 ac_cv_lib_srtp_srtp_init=yes
2441else
2442 echo "$as_me: failed program was:" >&5
2443sed 's/^/| /' conftest.$ac_ext >&5
2444
2445ac_cv_lib_srtp_srtp_init=no
2446fi
David McGrewfec49dd2005-09-23 19:34:11 +00002447rm -f conftest.err conftest.$ac_objext \
2448 conftest$ac_exeext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002449LIBS=$ac_check_lib_save_LIBS
2450fi
2451echo "$as_me:$LINENO: result: $ac_cv_lib_srtp_srtp_init" >&5
2452echo "${ECHO_T}$ac_cv_lib_srtp_srtp_init" >&6
2453if test $ac_cv_lib_srtp_srtp_init = yes; then
2454 cat >>confdefs.h <<_ACEOF
2455#define HAVE_LIBSRTP 1
2456_ACEOF
2457
2458 LIBS="-lsrtp $LIBS"
2459
2460fi
2461
2462
2463
2464echo "$as_me:$LINENO: checking for /dev/urandom" >&5
2465echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6
2466if test "${ac_cv_file__dev_urandom+set}" = set; then
2467 echo $ECHO_N "(cached) $ECHO_C" >&6
2468else
2469 test "$cross_compiling" = yes &&
2470 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2471echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2472 { (exit 1); exit 1; }; }
2473if test -r "/dev/urandom"; then
2474 ac_cv_file__dev_urandom=yes
2475else
2476 ac_cv_file__dev_urandom=no
2477fi
2478fi
2479echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
2480echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6
2481if test $ac_cv_file__dev_urandom = yes; then
2482 DEV_URANDOM=1
2483else
2484 DEV_URANDOM=0
2485fi
2486
2487if test $DEV_URANDOM = 1; then
2488 cat >>confdefs.h <<\_ACEOF
2489#define DEV_URANDOM 1
2490_ACEOF
2491
2492 RNG_OBJS=crypto/rng/rand_source.c
2493
2494fi
2495
2496
2497ac_ext=c
2498ac_cpp='$CPP $CPPFLAGS'
2499ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501ac_compiler_gnu=$ac_cv_c_compiler_gnu
2502echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2503echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2504# On Suns, sometimes $CPP names a directory.
2505if test -n "$CPP" && test -d "$CPP"; then
2506 CPP=
2507fi
2508if test -z "$CPP"; then
2509 if test "${ac_cv_prog_CPP+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2511else
2512 # Double quotes because CPP needs to be expanded
2513 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2514 do
2515 ac_preproc_ok=false
2516for ac_c_preproc_warn_flag in '' yes
2517do
2518 # Use a header file that comes with gcc, so configuring glibc
2519 # with a fresh cross-compiler works.
2520 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2521 # <limits.h> exists even on freestanding compilers.
2522 # On the NeXT, cc -E runs the code through the compiler's parser,
2523 # not just through cpp. "Syntax error" is here to catch this case.
2524 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002525/* confdefs.h. */
2526_ACEOF
2527cat confdefs.h >>conftest.$ac_ext
2528cat >>conftest.$ac_ext <<_ACEOF
2529/* end confdefs.h. */
2530#ifdef __STDC__
2531# include <limits.h>
2532#else
2533# include <assert.h>
2534#endif
David McGrewfec49dd2005-09-23 19:34:11 +00002535 Syntax error
Cullen Jennings235513a2005-09-21 22:51:36 +00002536_ACEOF
2537if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2539 ac_status=$?
2540 grep -v '^ *+' conftest.er1 >conftest.err
2541 rm -f conftest.er1
2542 cat conftest.err >&5
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); } >/dev/null; then
2545 if test -s conftest.err; then
2546 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00002547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00002548 else
2549 ac_cpp_err=
2550 fi
2551else
2552 ac_cpp_err=yes
2553fi
2554if test -z "$ac_cpp_err"; then
2555 :
2556else
2557 echo "$as_me: failed program was:" >&5
2558sed 's/^/| /' conftest.$ac_ext >&5
2559
2560 # Broken: fails on valid input.
2561continue
2562fi
2563rm -f conftest.err conftest.$ac_ext
2564
2565 # OK, works on sane cases. Now check whether non-existent headers
2566 # can be detected and how.
2567 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002568/* confdefs.h. */
2569_ACEOF
2570cat confdefs.h >>conftest.$ac_ext
2571cat >>conftest.$ac_ext <<_ACEOF
2572/* end confdefs.h. */
2573#include <ac_nonexistent.h>
2574_ACEOF
2575if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2577 ac_status=$?
2578 grep -v '^ *+' conftest.er1 >conftest.err
2579 rm -f conftest.er1
2580 cat conftest.err >&5
2581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582 (exit $ac_status); } >/dev/null; then
2583 if test -s conftest.err; then
2584 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00002585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00002586 else
2587 ac_cpp_err=
2588 fi
2589else
2590 ac_cpp_err=yes
2591fi
2592if test -z "$ac_cpp_err"; then
2593 # Broken: success on invalid input.
2594continue
2595else
2596 echo "$as_me: failed program was:" >&5
2597sed 's/^/| /' conftest.$ac_ext >&5
2598
2599 # Passes both tests.
2600ac_preproc_ok=:
2601break
2602fi
2603rm -f conftest.err conftest.$ac_ext
2604
2605done
2606# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2607rm -f conftest.err conftest.$ac_ext
2608if $ac_preproc_ok; then
2609 break
2610fi
2611
2612 done
2613 ac_cv_prog_CPP=$CPP
2614
2615fi
2616 CPP=$ac_cv_prog_CPP
2617else
2618 ac_cv_prog_CPP=$CPP
2619fi
2620echo "$as_me:$LINENO: result: $CPP" >&5
2621echo "${ECHO_T}$CPP" >&6
2622ac_preproc_ok=false
2623for ac_c_preproc_warn_flag in '' yes
2624do
2625 # Use a header file that comes with gcc, so configuring glibc
2626 # with a fresh cross-compiler works.
2627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2628 # <limits.h> exists even on freestanding compilers.
2629 # On the NeXT, cc -E runs the code through the compiler's parser,
2630 # not just through cpp. "Syntax error" is here to catch this case.
2631 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002632/* confdefs.h. */
2633_ACEOF
2634cat confdefs.h >>conftest.$ac_ext
2635cat >>conftest.$ac_ext <<_ACEOF
2636/* end confdefs.h. */
2637#ifdef __STDC__
2638# include <limits.h>
2639#else
2640# include <assert.h>
2641#endif
David McGrewfec49dd2005-09-23 19:34:11 +00002642 Syntax error
Cullen Jennings235513a2005-09-21 22:51:36 +00002643_ACEOF
2644if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2646 ac_status=$?
2647 grep -v '^ *+' conftest.er1 >conftest.err
2648 rm -f conftest.er1
2649 cat conftest.err >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } >/dev/null; then
2652 if test -s conftest.err; then
2653 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00002654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00002655 else
2656 ac_cpp_err=
2657 fi
2658else
2659 ac_cpp_err=yes
2660fi
2661if test -z "$ac_cpp_err"; then
2662 :
2663else
2664 echo "$as_me: failed program was:" >&5
2665sed 's/^/| /' conftest.$ac_ext >&5
2666
2667 # Broken: fails on valid input.
2668continue
2669fi
2670rm -f conftest.err conftest.$ac_ext
2671
2672 # OK, works on sane cases. Now check whether non-existent headers
2673 # can be detected and how.
2674 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002675/* confdefs.h. */
2676_ACEOF
2677cat confdefs.h >>conftest.$ac_ext
2678cat >>conftest.$ac_ext <<_ACEOF
2679/* end confdefs.h. */
2680#include <ac_nonexistent.h>
2681_ACEOF
2682if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2684 ac_status=$?
2685 grep -v '^ *+' conftest.er1 >conftest.err
2686 rm -f conftest.er1
2687 cat conftest.err >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } >/dev/null; then
2690 if test -s conftest.err; then
2691 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00002692 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00002693 else
2694 ac_cpp_err=
2695 fi
2696else
2697 ac_cpp_err=yes
2698fi
2699if test -z "$ac_cpp_err"; then
2700 # Broken: success on invalid input.
2701continue
2702else
2703 echo "$as_me: failed program was:" >&5
2704sed 's/^/| /' conftest.$ac_ext >&5
2705
2706 # Passes both tests.
2707ac_preproc_ok=:
2708break
2709fi
2710rm -f conftest.err conftest.$ac_ext
2711
2712done
2713# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2714rm -f conftest.err conftest.$ac_ext
2715if $ac_preproc_ok; then
2716 :
2717else
2718 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2719See \`config.log' for more details." >&5
2720echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2721See \`config.log' for more details." >&2;}
2722 { (exit 1); exit 1; }; }
2723fi
2724
2725ac_ext=c
2726ac_cpp='$CPP $CPPFLAGS'
2727ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2728ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2729ac_compiler_gnu=$ac_cv_c_compiler_gnu
2730
2731
2732echo "$as_me:$LINENO: checking for egrep" >&5
2733echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2734if test "${ac_cv_prog_egrep+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736else
2737 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2738 then ac_cv_prog_egrep='grep -E'
2739 else ac_cv_prog_egrep='egrep'
2740 fi
2741fi
2742echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2743echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2744 EGREP=$ac_cv_prog_egrep
2745
2746
2747echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2748echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2749if test "${ac_cv_header_stdc+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2751else
2752 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002753/* confdefs.h. */
2754_ACEOF
2755cat confdefs.h >>conftest.$ac_ext
2756cat >>conftest.$ac_ext <<_ACEOF
2757/* end confdefs.h. */
2758#include <stdlib.h>
2759#include <stdarg.h>
2760#include <string.h>
2761#include <float.h>
2762
2763int
2764main ()
2765{
2766
2767 ;
2768 return 0;
2769}
2770_ACEOF
2771rm -f conftest.$ac_objext
2772if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002773 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002774 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002775 grep -v '^ *+' conftest.er1 >conftest.err
2776 rm -f conftest.er1
2777 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789 (eval $ac_try) 2>&5
2790 ac_status=$?
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2793 ac_cv_header_stdc=yes
2794else
2795 echo "$as_me: failed program was:" >&5
2796sed 's/^/| /' conftest.$ac_ext >&5
2797
2798ac_cv_header_stdc=no
2799fi
David McGrewfec49dd2005-09-23 19:34:11 +00002800rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002801
2802if test $ac_cv_header_stdc = yes; then
2803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2804 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002805/* confdefs.h. */
2806_ACEOF
2807cat confdefs.h >>conftest.$ac_ext
2808cat >>conftest.$ac_ext <<_ACEOF
2809/* end confdefs.h. */
2810#include <string.h>
2811
2812_ACEOF
2813if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2814 $EGREP "memchr" >/dev/null 2>&1; then
2815 :
2816else
2817 ac_cv_header_stdc=no
2818fi
2819rm -f conftest*
2820
2821fi
2822
2823if test $ac_cv_header_stdc = yes; then
2824 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2825 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002826/* confdefs.h. */
2827_ACEOF
2828cat confdefs.h >>conftest.$ac_ext
2829cat >>conftest.$ac_ext <<_ACEOF
2830/* end confdefs.h. */
2831#include <stdlib.h>
2832
2833_ACEOF
2834if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2835 $EGREP "free" >/dev/null 2>&1; then
2836 :
2837else
2838 ac_cv_header_stdc=no
2839fi
2840rm -f conftest*
2841
2842fi
2843
2844if test $ac_cv_header_stdc = yes; then
2845 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2846 if test "$cross_compiling" = yes; then
2847 :
2848else
2849 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002850/* confdefs.h. */
2851_ACEOF
2852cat confdefs.h >>conftest.$ac_ext
2853cat >>conftest.$ac_ext <<_ACEOF
2854/* end confdefs.h. */
2855#include <ctype.h>
2856#if ((' ' & 0x0FF) == 0x020)
2857# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2858# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2859#else
2860# define ISLOWER(c) \
David McGrewfec49dd2005-09-23 19:34:11 +00002861 (('a' <= (c) && (c) <= 'i') \
2862 || ('j' <= (c) && (c) <= 'r') \
2863 || ('s' <= (c) && (c) <= 'z'))
Cullen Jennings235513a2005-09-21 22:51:36 +00002864# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2865#endif
2866
2867#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2868int
2869main ()
2870{
2871 int i;
2872 for (i = 0; i < 256; i++)
2873 if (XOR (islower (i), ISLOWER (i))
David McGrewfec49dd2005-09-23 19:34:11 +00002874 || toupper (i) != TOUPPER (i))
Cullen Jennings235513a2005-09-21 22:51:36 +00002875 exit(2);
2876 exit (0);
2877}
2878_ACEOF
2879rm -f conftest$ac_exeext
2880if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2881 (eval $ac_link) 2>&5
2882 ac_status=$?
2883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 (eval $ac_try) 2>&5
2887 ac_status=$?
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); }; }; then
2890 :
2891else
2892 echo "$as_me: program exited with status $ac_status" >&5
2893echo "$as_me: failed program was:" >&5
2894sed 's/^/| /' conftest.$ac_ext >&5
2895
2896( exit $ac_status )
2897ac_cv_header_stdc=no
2898fi
David McGrewfec49dd2005-09-23 19:34:11 +00002899rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002900fi
2901fi
2902fi
2903echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2904echo "${ECHO_T}$ac_cv_header_stdc" >&6
2905if test $ac_cv_header_stdc = yes; then
2906
2907cat >>confdefs.h <<\_ACEOF
2908#define STDC_HEADERS 1
2909_ACEOF
2910
2911fi
2912
2913# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
David McGrewfec49dd2005-09-23 19:34:11 +00002924 inttypes.h stdint.h unistd.h
Cullen Jennings235513a2005-09-21 22:51:36 +00002925do
2926as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2927echo "$as_me:$LINENO: checking for $ac_header" >&5
2928echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2929if eval "test \"\${$as_ac_Header+set}\" = set"; then
2930 echo $ECHO_N "(cached) $ECHO_C" >&6
2931else
2932 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00002933/* confdefs.h. */
2934_ACEOF
2935cat confdefs.h >>conftest.$ac_ext
2936cat >>conftest.$ac_ext <<_ACEOF
2937/* end confdefs.h. */
2938$ac_includes_default
2939
2940#include <$ac_header>
2941_ACEOF
2942rm -f conftest.$ac_objext
2943if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00002944 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00002945 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00002946 grep -v '^ *+' conftest.er1 >conftest.err
2947 rm -f conftest.er1
2948 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00002949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00002951 { ac_try='test -z "$ac_c_werror_flag"
2952 || test ! -s conftest.err'
2953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 (eval $ac_try) 2>&5
2955 ac_status=$?
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); }; } &&
2958 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00002959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2960 (eval $ac_try) 2>&5
2961 ac_status=$?
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }; }; then
2964 eval "$as_ac_Header=yes"
2965else
2966 echo "$as_me: failed program was:" >&5
2967sed 's/^/| /' conftest.$ac_ext >&5
2968
2969eval "$as_ac_Header=no"
2970fi
David McGrewfec49dd2005-09-23 19:34:11 +00002971rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00002972fi
2973echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2974echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2975if test `eval echo '${'$as_ac_Header'}'` = yes; then
2976 cat >>confdefs.h <<_ACEOF
2977#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2978_ACEOF
2979
2980fi
2981
2982done
2983
2984
2985
2986for ac_header in stdlib.h
2987do
2988as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2989if eval "test \"\${$as_ac_Header+set}\" = set"; then
2990 echo "$as_me:$LINENO: checking for $ac_header" >&5
2991echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2992if eval "test \"\${$as_ac_Header+set}\" = set"; then
2993 echo $ECHO_N "(cached) $ECHO_C" >&6
2994fi
2995echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2996echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2997else
2998 # Is the header compilable?
2999echo "$as_me:$LINENO: checking $ac_header usability" >&5
3000echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3001cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003002/* confdefs.h. */
3003_ACEOF
3004cat confdefs.h >>conftest.$ac_ext
3005cat >>conftest.$ac_ext <<_ACEOF
3006/* end confdefs.h. */
3007$ac_includes_default
3008#include <$ac_header>
3009_ACEOF
3010rm -f conftest.$ac_objext
3011if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003012 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003013 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003014 grep -v '^ *+' conftest.er1 >conftest.err
3015 rm -f conftest.er1
3016 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003019 { ac_try='test -z "$ac_c_werror_flag"
3020 || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3022 (eval $ac_try) 2>&5
3023 ac_status=$?
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3028 (eval $ac_try) 2>&5
3029 ac_status=$?
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3032 ac_header_compiler=yes
3033else
3034 echo "$as_me: failed program was:" >&5
3035sed 's/^/| /' conftest.$ac_ext >&5
3036
3037ac_header_compiler=no
3038fi
David McGrewfec49dd2005-09-23 19:34:11 +00003039rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003040echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3041echo "${ECHO_T}$ac_header_compiler" >&6
3042
3043# Is the header present?
3044echo "$as_me:$LINENO: checking $ac_header presence" >&5
3045echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3046cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003047/* confdefs.h. */
3048_ACEOF
3049cat confdefs.h >>conftest.$ac_ext
3050cat >>conftest.$ac_ext <<_ACEOF
3051/* end confdefs.h. */
3052#include <$ac_header>
3053_ACEOF
3054if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3056 ac_status=$?
3057 grep -v '^ *+' conftest.er1 >conftest.err
3058 rm -f conftest.er1
3059 cat conftest.err >&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } >/dev/null; then
3062 if test -s conftest.err; then
3063 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003065 else
3066 ac_cpp_err=
3067 fi
3068else
3069 ac_cpp_err=yes
3070fi
3071if test -z "$ac_cpp_err"; then
3072 ac_header_preproc=yes
3073else
3074 echo "$as_me: failed program was:" >&5
3075sed 's/^/| /' conftest.$ac_ext >&5
3076
3077 ac_header_preproc=no
3078fi
3079rm -f conftest.err conftest.$ac_ext
3080echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3081echo "${ECHO_T}$ac_header_preproc" >&6
3082
3083# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003084case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3085 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3087echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3089echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3090 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003091 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003092 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3094echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3096echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3098echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3100echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3102echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3104echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003105 (
3106 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003107## ------------------------------------------ ##
3108## Report this to the AC_PACKAGE_NAME lists. ##
3109## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003110_ASBOX
3111 ) |
3112 sed "s/^/$as_me: WARNING: /" >&2
3113 ;;
3114esac
3115echo "$as_me:$LINENO: checking for $ac_header" >&5
3116echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3117if eval "test \"\${$as_ac_Header+set}\" = set"; then
3118 echo $ECHO_N "(cached) $ECHO_C" >&6
3119else
David McGrewfec49dd2005-09-23 19:34:11 +00003120 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003121fi
3122echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3123echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3124
3125fi
3126if test `eval echo '${'$as_ac_Header'}'` = yes; then
3127 cat >>confdefs.h <<_ACEOF
3128#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3129_ACEOF
3130
3131fi
3132
3133done
3134
3135
3136for ac_header in unistd.h
3137do
3138as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3139if eval "test \"\${$as_ac_Header+set}\" = set"; then
3140 echo "$as_me:$LINENO: checking for $ac_header" >&5
3141echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3142if eval "test \"\${$as_ac_Header+set}\" = set"; then
3143 echo $ECHO_N "(cached) $ECHO_C" >&6
3144fi
3145echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3146echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3147else
3148 # Is the header compilable?
3149echo "$as_me:$LINENO: checking $ac_header usability" >&5
3150echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3151cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003152/* confdefs.h. */
3153_ACEOF
3154cat confdefs.h >>conftest.$ac_ext
3155cat >>conftest.$ac_ext <<_ACEOF
3156/* end confdefs.h. */
3157$ac_includes_default
3158#include <$ac_header>
3159_ACEOF
3160rm -f conftest.$ac_objext
3161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003162 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003163 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003164 grep -v '^ *+' conftest.er1 >conftest.err
3165 rm -f conftest.er1
3166 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003169 { ac_try='test -z "$ac_c_werror_flag"
3170 || test ! -s conftest.err'
3171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172 (eval $ac_try) 2>&5
3173 ac_status=$?
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); }; } &&
3176 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 (eval $ac_try) 2>&5
3179 ac_status=$?
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 ac_header_compiler=yes
3183else
3184 echo "$as_me: failed program was:" >&5
3185sed 's/^/| /' conftest.$ac_ext >&5
3186
3187ac_header_compiler=no
3188fi
David McGrewfec49dd2005-09-23 19:34:11 +00003189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003190echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3191echo "${ECHO_T}$ac_header_compiler" >&6
3192
3193# Is the header present?
3194echo "$as_me:$LINENO: checking $ac_header presence" >&5
3195echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3196cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003197/* confdefs.h. */
3198_ACEOF
3199cat confdefs.h >>conftest.$ac_ext
3200cat >>conftest.$ac_ext <<_ACEOF
3201/* end confdefs.h. */
3202#include <$ac_header>
3203_ACEOF
3204if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 ac_status=$?
3207 grep -v '^ *+' conftest.er1 >conftest.err
3208 rm -f conftest.er1
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } >/dev/null; then
3212 if test -s conftest.err; then
3213 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003215 else
3216 ac_cpp_err=
3217 fi
3218else
3219 ac_cpp_err=yes
3220fi
3221if test -z "$ac_cpp_err"; then
3222 ac_header_preproc=yes
3223else
3224 echo "$as_me: failed program was:" >&5
3225sed 's/^/| /' conftest.$ac_ext >&5
3226
3227 ac_header_preproc=no
3228fi
3229rm -f conftest.err conftest.$ac_ext
3230echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3231echo "${ECHO_T}$ac_header_preproc" >&6
3232
3233# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003234case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3235 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3237echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3239echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3240 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003241 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003242 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3244echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3246echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3248echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3250echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3252echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3254echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003255 (
3256 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003257## ------------------------------------------ ##
3258## Report this to the AC_PACKAGE_NAME lists. ##
3259## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003260_ASBOX
3261 ) |
3262 sed "s/^/$as_me: WARNING: /" >&2
3263 ;;
3264esac
3265echo "$as_me:$LINENO: checking for $ac_header" >&5
3266echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3267if eval "test \"\${$as_ac_Header+set}\" = set"; then
3268 echo $ECHO_N "(cached) $ECHO_C" >&6
3269else
David McGrewfec49dd2005-09-23 19:34:11 +00003270 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003271fi
3272echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3273echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3274
3275fi
3276if test `eval echo '${'$as_ac_Header'}'` = yes; then
3277 cat >>confdefs.h <<_ACEOF
3278#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3279_ACEOF
3280
3281fi
3282
3283done
3284
3285
3286for ac_header in stdint.h
3287do
3288as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3289if eval "test \"\${$as_ac_Header+set}\" = set"; then
3290 echo "$as_me:$LINENO: checking for $ac_header" >&5
3291echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3292if eval "test \"\${$as_ac_Header+set}\" = set"; then
3293 echo $ECHO_N "(cached) $ECHO_C" >&6
3294fi
3295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3296echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3297else
3298 # Is the header compilable?
3299echo "$as_me:$LINENO: checking $ac_header usability" >&5
3300echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3301cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003302/* confdefs.h. */
3303_ACEOF
3304cat confdefs.h >>conftest.$ac_ext
3305cat >>conftest.$ac_ext <<_ACEOF
3306/* end confdefs.h. */
3307$ac_includes_default
3308#include <$ac_header>
3309_ACEOF
3310rm -f conftest.$ac_objext
3311if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003312 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003313 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003314 grep -v '^ *+' conftest.er1 >conftest.err
3315 rm -f conftest.er1
3316 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003319 { ac_try='test -z "$ac_c_werror_flag"
3320 || test ! -s conftest.err'
3321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3322 (eval $ac_try) 2>&5
3323 ac_status=$?
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); }; } &&
3326 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 (eval $ac_try) 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; }; then
3332 ac_header_compiler=yes
3333else
3334 echo "$as_me: failed program was:" >&5
3335sed 's/^/| /' conftest.$ac_ext >&5
3336
3337ac_header_compiler=no
3338fi
David McGrewfec49dd2005-09-23 19:34:11 +00003339rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003340echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3341echo "${ECHO_T}$ac_header_compiler" >&6
3342
3343# Is the header present?
3344echo "$as_me:$LINENO: checking $ac_header presence" >&5
3345echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3346cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003347/* confdefs.h. */
3348_ACEOF
3349cat confdefs.h >>conftest.$ac_ext
3350cat >>conftest.$ac_ext <<_ACEOF
3351/* end confdefs.h. */
3352#include <$ac_header>
3353_ACEOF
3354if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3356 ac_status=$?
3357 grep -v '^ *+' conftest.er1 >conftest.err
3358 rm -f conftest.er1
3359 cat conftest.err >&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } >/dev/null; then
3362 if test -s conftest.err; then
3363 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003365 else
3366 ac_cpp_err=
3367 fi
3368else
3369 ac_cpp_err=yes
3370fi
3371if test -z "$ac_cpp_err"; then
3372 ac_header_preproc=yes
3373else
3374 echo "$as_me: failed program was:" >&5
3375sed 's/^/| /' conftest.$ac_ext >&5
3376
3377 ac_header_preproc=no
3378fi
3379rm -f conftest.err conftest.$ac_ext
3380echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3381echo "${ECHO_T}$ac_header_preproc" >&6
3382
3383# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003384case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3385 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3387echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3389echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3390 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003391 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003392 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003393 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3394echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003395 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3396echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3397 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3398echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3399 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3400echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3402echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003403 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3404echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003405 (
3406 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003407## ------------------------------------------ ##
3408## Report this to the AC_PACKAGE_NAME lists. ##
3409## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003410_ASBOX
3411 ) |
3412 sed "s/^/$as_me: WARNING: /" >&2
3413 ;;
3414esac
3415echo "$as_me:$LINENO: checking for $ac_header" >&5
3416echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3417if eval "test \"\${$as_ac_Header+set}\" = set"; then
3418 echo $ECHO_N "(cached) $ECHO_C" >&6
3419else
David McGrewfec49dd2005-09-23 19:34:11 +00003420 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003421fi
3422echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3423echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3424
3425fi
3426if test `eval echo '${'$as_ac_Header'}'` = yes; then
3427 cat >>confdefs.h <<_ACEOF
3428#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3429_ACEOF
3430
3431fi
3432
3433done
3434
3435
3436for ac_header in sys/uio.h
3437do
3438as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3439if eval "test \"\${$as_ac_Header+set}\" = set"; then
3440 echo "$as_me:$LINENO: checking for $ac_header" >&5
3441echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3442if eval "test \"\${$as_ac_Header+set}\" = set"; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3444fi
3445echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3446echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3447else
3448 # Is the header compilable?
3449echo "$as_me:$LINENO: checking $ac_header usability" >&5
3450echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3451cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003452/* confdefs.h. */
3453_ACEOF
3454cat confdefs.h >>conftest.$ac_ext
3455cat >>conftest.$ac_ext <<_ACEOF
3456/* end confdefs.h. */
3457$ac_includes_default
3458#include <$ac_header>
3459_ACEOF
3460rm -f conftest.$ac_objext
3461if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003462 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003463 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003464 grep -v '^ *+' conftest.er1 >conftest.err
3465 rm -f conftest.er1
3466 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003469 { ac_try='test -z "$ac_c_werror_flag"
3470 || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 (eval $ac_try) 2>&5
3473 ac_status=$?
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 (eval $ac_try) 2>&5
3479 ac_status=$?
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_header_compiler=yes
3483else
3484 echo "$as_me: failed program was:" >&5
3485sed 's/^/| /' conftest.$ac_ext >&5
3486
3487ac_header_compiler=no
3488fi
David McGrewfec49dd2005-09-23 19:34:11 +00003489rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003490echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3491echo "${ECHO_T}$ac_header_compiler" >&6
3492
3493# Is the header present?
3494echo "$as_me:$LINENO: checking $ac_header presence" >&5
3495echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3496cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003497/* confdefs.h. */
3498_ACEOF
3499cat confdefs.h >>conftest.$ac_ext
3500cat >>conftest.$ac_ext <<_ACEOF
3501/* end confdefs.h. */
3502#include <$ac_header>
3503_ACEOF
3504if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3506 ac_status=$?
3507 grep -v '^ *+' conftest.er1 >conftest.err
3508 rm -f conftest.er1
3509 cat conftest.err >&5
3510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } >/dev/null; then
3512 if test -s conftest.err; then
3513 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003515 else
3516 ac_cpp_err=
3517 fi
3518else
3519 ac_cpp_err=yes
3520fi
3521if test -z "$ac_cpp_err"; then
3522 ac_header_preproc=yes
3523else
3524 echo "$as_me: failed program was:" >&5
3525sed 's/^/| /' conftest.$ac_ext >&5
3526
3527 ac_header_preproc=no
3528fi
3529rm -f conftest.err conftest.$ac_ext
3530echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3531echo "${ECHO_T}$ac_header_preproc" >&6
3532
3533# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003534case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3535 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3537echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3539echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3540 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003541 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003542 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3544echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3546echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3548echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3550echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3552echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3554echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003555 (
3556 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003557## ------------------------------------------ ##
3558## Report this to the AC_PACKAGE_NAME lists. ##
3559## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003560_ASBOX
3561 ) |
3562 sed "s/^/$as_me: WARNING: /" >&2
3563 ;;
3564esac
3565echo "$as_me:$LINENO: checking for $ac_header" >&5
3566echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3567if eval "test \"\${$as_ac_Header+set}\" = set"; then
3568 echo $ECHO_N "(cached) $ECHO_C" >&6
3569else
David McGrewfec49dd2005-09-23 19:34:11 +00003570 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003571fi
3572echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3573echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3574
3575fi
3576if test `eval echo '${'$as_ac_Header'}'` = yes; then
3577 cat >>confdefs.h <<_ACEOF
3578#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3579_ACEOF
3580
3581fi
3582
3583done
3584
3585
3586for ac_header in machine/types.h
3587do
3588as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3589if eval "test \"\${$as_ac_Header+set}\" = set"; then
3590 echo "$as_me:$LINENO: checking for $ac_header" >&5
3591echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3592if eval "test \"\${$as_ac_Header+set}\" = set"; then
3593 echo $ECHO_N "(cached) $ECHO_C" >&6
3594fi
3595echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3596echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3597else
3598 # Is the header compilable?
3599echo "$as_me:$LINENO: checking $ac_header usability" >&5
3600echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3601cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003602/* confdefs.h. */
3603_ACEOF
3604cat confdefs.h >>conftest.$ac_ext
3605cat >>conftest.$ac_ext <<_ACEOF
3606/* end confdefs.h. */
3607$ac_includes_default
3608#include <$ac_header>
3609_ACEOF
3610rm -f conftest.$ac_objext
3611if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003612 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003613 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003614 grep -v '^ *+' conftest.er1 >conftest.err
3615 rm -f conftest.er1
3616 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003619 { ac_try='test -z "$ac_c_werror_flag"
3620 || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3622 (eval $ac_try) 2>&5
3623 ac_status=$?
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3628 (eval $ac_try) 2>&5
3629 ac_status=$?
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 ac_header_compiler=yes
3633else
3634 echo "$as_me: failed program was:" >&5
3635sed 's/^/| /' conftest.$ac_ext >&5
3636
3637ac_header_compiler=no
3638fi
David McGrewfec49dd2005-09-23 19:34:11 +00003639rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003640echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3641echo "${ECHO_T}$ac_header_compiler" >&6
3642
3643# Is the header present?
3644echo "$as_me:$LINENO: checking $ac_header presence" >&5
3645echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3646cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003647/* confdefs.h. */
3648_ACEOF
3649cat confdefs.h >>conftest.$ac_ext
3650cat >>conftest.$ac_ext <<_ACEOF
3651/* end confdefs.h. */
3652#include <$ac_header>
3653_ACEOF
3654if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3656 ac_status=$?
3657 grep -v '^ *+' conftest.er1 >conftest.err
3658 rm -f conftest.er1
3659 cat conftest.err >&5
3660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3661 (exit $ac_status); } >/dev/null; then
3662 if test -s conftest.err; then
3663 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003664 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003665 else
3666 ac_cpp_err=
3667 fi
3668else
3669 ac_cpp_err=yes
3670fi
3671if test -z "$ac_cpp_err"; then
3672 ac_header_preproc=yes
3673else
3674 echo "$as_me: failed program was:" >&5
3675sed 's/^/| /' conftest.$ac_ext >&5
3676
3677 ac_header_preproc=no
3678fi
3679rm -f conftest.err conftest.$ac_ext
3680echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3681echo "${ECHO_T}$ac_header_preproc" >&6
3682
3683# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003684case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3685 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3687echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3689echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3690 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003691 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003692 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3694echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3696echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3698echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3700echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3702echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3704echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003705 (
3706 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003707## ------------------------------------------ ##
3708## Report this to the AC_PACKAGE_NAME lists. ##
3709## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003710_ASBOX
3711 ) |
3712 sed "s/^/$as_me: WARNING: /" >&2
3713 ;;
3714esac
3715echo "$as_me:$LINENO: checking for $ac_header" >&5
3716echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3717if eval "test \"\${$as_ac_Header+set}\" = set"; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3719else
David McGrewfec49dd2005-09-23 19:34:11 +00003720 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003721fi
3722echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3723echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3724
3725fi
3726if test `eval echo '${'$as_ac_Header'}'` = yes; then
3727 cat >>confdefs.h <<_ACEOF
3728#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3729_ACEOF
3730
3731fi
3732
3733done
3734
3735
3736for ac_header in sys/int_types.h
3737do
3738as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3739if eval "test \"\${$as_ac_Header+set}\" = set"; then
3740 echo "$as_me:$LINENO: checking for $ac_header" >&5
3741echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3742if eval "test \"\${$as_ac_Header+set}\" = set"; then
3743 echo $ECHO_N "(cached) $ECHO_C" >&6
3744fi
3745echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3746echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3747else
3748 # Is the header compilable?
3749echo "$as_me:$LINENO: checking $ac_header usability" >&5
3750echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3751cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003752/* confdefs.h. */
3753_ACEOF
3754cat confdefs.h >>conftest.$ac_ext
3755cat >>conftest.$ac_ext <<_ACEOF
3756/* end confdefs.h. */
3757$ac_includes_default
3758#include <$ac_header>
3759_ACEOF
3760rm -f conftest.$ac_objext
3761if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003762 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003763 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003764 grep -v '^ *+' conftest.er1 >conftest.err
3765 rm -f conftest.er1
3766 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003769 { ac_try='test -z "$ac_c_werror_flag"
3770 || test ! -s conftest.err'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; } &&
3776 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778 (eval $ac_try) 2>&5
3779 ac_status=$?
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; }; then
3782 ac_header_compiler=yes
3783else
3784 echo "$as_me: failed program was:" >&5
3785sed 's/^/| /' conftest.$ac_ext >&5
3786
3787ac_header_compiler=no
3788fi
David McGrewfec49dd2005-09-23 19:34:11 +00003789rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003790echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3791echo "${ECHO_T}$ac_header_compiler" >&6
3792
3793# Is the header present?
3794echo "$as_me:$LINENO: checking $ac_header presence" >&5
3795echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3796cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003797/* confdefs.h. */
3798_ACEOF
3799cat confdefs.h >>conftest.$ac_ext
3800cat >>conftest.$ac_ext <<_ACEOF
3801/* end confdefs.h. */
3802#include <$ac_header>
3803_ACEOF
3804if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3806 ac_status=$?
3807 grep -v '^ *+' conftest.er1 >conftest.err
3808 rm -f conftest.er1
3809 cat conftest.err >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } >/dev/null; then
3812 if test -s conftest.err; then
3813 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003814 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003815 else
3816 ac_cpp_err=
3817 fi
3818else
3819 ac_cpp_err=yes
3820fi
3821if test -z "$ac_cpp_err"; then
3822 ac_header_preproc=yes
3823else
3824 echo "$as_me: failed program was:" >&5
3825sed 's/^/| /' conftest.$ac_ext >&5
3826
3827 ac_header_preproc=no
3828fi
3829rm -f conftest.err conftest.$ac_ext
3830echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3831echo "${ECHO_T}$ac_header_preproc" >&6
3832
3833# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003834case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3835 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3837echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3839echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3840 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003841 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003842 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3844echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3846echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3848echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3850echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3852echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3854echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00003855 (
3856 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00003857## ------------------------------------------ ##
3858## Report this to the AC_PACKAGE_NAME lists. ##
3859## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00003860_ASBOX
3861 ) |
3862 sed "s/^/$as_me: WARNING: /" >&2
3863 ;;
3864esac
3865echo "$as_me:$LINENO: checking for $ac_header" >&5
3866echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3867if eval "test \"\${$as_ac_Header+set}\" = set"; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3869else
David McGrewfec49dd2005-09-23 19:34:11 +00003870 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00003871fi
3872echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3873echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3874
3875fi
3876if test `eval echo '${'$as_ac_Header'}'` = yes; then
3877 cat >>confdefs.h <<_ACEOF
3878#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3879_ACEOF
3880
3881fi
3882
3883done
3884
3885
3886
3887for ac_header in syslog.h
3888do
3889as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3890if eval "test \"\${$as_ac_Header+set}\" = set"; then
3891 echo "$as_me:$LINENO: checking for $ac_header" >&5
3892echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3893if eval "test \"\${$as_ac_Header+set}\" = set"; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3895fi
3896echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3897echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3898else
3899 # Is the header compilable?
3900echo "$as_me:$LINENO: checking $ac_header usability" >&5
3901echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3902cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003903/* confdefs.h. */
3904_ACEOF
3905cat confdefs.h >>conftest.$ac_ext
3906cat >>conftest.$ac_ext <<_ACEOF
3907/* end confdefs.h. */
3908$ac_includes_default
3909#include <$ac_header>
3910_ACEOF
3911rm -f conftest.$ac_objext
3912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00003913 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00003914 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00003915 grep -v '^ *+' conftest.er1 >conftest.err
3916 rm -f conftest.er1
3917 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00003918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00003920 { ac_try='test -z "$ac_c_werror_flag"
3921 || test ! -s conftest.err'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 (eval $ac_try) 2>&5
3924 ac_status=$?
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00003928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3929 (eval $ac_try) 2>&5
3930 ac_status=$?
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_header_compiler=yes
3934else
3935 echo "$as_me: failed program was:" >&5
3936sed 's/^/| /' conftest.$ac_ext >&5
3937
3938ac_header_compiler=no
3939fi
David McGrewfec49dd2005-09-23 19:34:11 +00003940rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00003941echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3942echo "${ECHO_T}$ac_header_compiler" >&6
3943
3944# Is the header present?
3945echo "$as_me:$LINENO: checking $ac_header presence" >&5
3946echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3947cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00003948/* confdefs.h. */
3949_ACEOF
3950cat confdefs.h >>conftest.$ac_ext
3951cat >>conftest.$ac_ext <<_ACEOF
3952/* end confdefs.h. */
3953#include <$ac_header>
3954_ACEOF
3955if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3957 ac_status=$?
3958 grep -v '^ *+' conftest.er1 >conftest.err
3959 rm -f conftest.er1
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
David McGrewfec49dd2005-09-23 19:34:11 +00003965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
Cullen Jennings235513a2005-09-21 22:51:36 +00003966 else
3967 ac_cpp_err=
3968 fi
3969else
3970 ac_cpp_err=yes
3971fi
3972if test -z "$ac_cpp_err"; then
3973 ac_header_preproc=yes
3974else
3975 echo "$as_me: failed program was:" >&5
3976sed 's/^/| /' conftest.$ac_ext >&5
3977
3978 ac_header_preproc=no
3979fi
3980rm -f conftest.err conftest.$ac_ext
3981echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3982echo "${ECHO_T}$ac_header_preproc" >&6
3983
3984# So? What about this header?
David McGrewfec49dd2005-09-23 19:34:11 +00003985case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3986 yes:no: )
Cullen Jennings235513a2005-09-21 22:51:36 +00003987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3988echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3990echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3991 ac_header_preproc=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00003992 ;;
David McGrewfec49dd2005-09-23 19:34:11 +00003993 no:yes:* )
Cullen Jennings235513a2005-09-21 22:51:36 +00003994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3995echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00003996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3997echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3999echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4001echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00004002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4003echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
David McGrewfec49dd2005-09-23 19:34:11 +00004004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4005echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
Cullen Jennings235513a2005-09-21 22:51:36 +00004006 (
4007 cat <<\_ASBOX
David McGrewfec49dd2005-09-23 19:34:11 +00004008## ------------------------------------------ ##
4009## Report this to the AC_PACKAGE_NAME lists. ##
4010## ------------------------------------------ ##
Cullen Jennings235513a2005-09-21 22:51:36 +00004011_ASBOX
4012 ) |
4013 sed "s/^/$as_me: WARNING: /" >&2
4014 ;;
4015esac
4016echo "$as_me:$LINENO: checking for $ac_header" >&5
4017echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4018if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4020else
David McGrewfec49dd2005-09-23 19:34:11 +00004021 eval "$as_ac_Header=\$ac_header_preproc"
Cullen Jennings235513a2005-09-21 22:51:36 +00004022fi
4023echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4024echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4025
4026fi
4027if test `eval echo '${'$as_ac_Header'}'` = yes; then
4028 cat >>confdefs.h <<_ACEOF
4029#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4030_ACEOF
4031
4032fi
4033
4034done
4035
4036
David McGrewfec49dd2005-09-23 19:34:11 +00004037echo "$as_me:$LINENO: checking for int8" >&5
4038echo $ECHO_N "checking for int8... $ECHO_C" >&6
4039if test "${ac_cv_type_int8+set}" = set; then
Cullen Jennings235513a2005-09-21 22:51:36 +00004040 echo $ECHO_N "(cached) $ECHO_C" >&6
4041else
4042 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004043/* confdefs.h. */
4044_ACEOF
4045cat confdefs.h >>conftest.$ac_ext
4046cat >>conftest.$ac_ext <<_ACEOF
4047/* end confdefs.h. */
4048$ac_includes_default
4049int
4050main ()
4051{
David McGrewfec49dd2005-09-23 19:34:11 +00004052if ((int8 *) 0)
Cullen Jennings235513a2005-09-21 22:51:36 +00004053 return 0;
David McGrewfec49dd2005-09-23 19:34:11 +00004054if (sizeof (int8))
Cullen Jennings235513a2005-09-21 22:51:36 +00004055 return 0;
4056 ;
4057 return 0;
4058}
4059_ACEOF
4060rm -f conftest.$ac_objext
4061if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00004062 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00004063 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00004064 grep -v '^ *+' conftest.er1 >conftest.err
4065 rm -f conftest.er1
4066 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00004067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00004069 { ac_try='test -z "$ac_c_werror_flag"
4070 || test ! -s conftest.err'
4071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4072 (eval $ac_try) 2>&5
4073 ac_status=$?
4074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075 (exit $ac_status); }; } &&
4076 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00004077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 (eval $ac_try) 2>&5
4079 ac_status=$?
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); }; }; then
David McGrewfec49dd2005-09-23 19:34:11 +00004082 ac_cv_type_int8=yes
Cullen Jennings235513a2005-09-21 22:51:36 +00004083else
4084 echo "$as_me: failed program was:" >&5
4085sed 's/^/| /' conftest.$ac_ext >&5
4086
David McGrewfec49dd2005-09-23 19:34:11 +00004087ac_cv_type_int8=no
Cullen Jennings235513a2005-09-21 22:51:36 +00004088fi
David McGrewfec49dd2005-09-23 19:34:11 +00004089rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004090fi
David McGrewfec49dd2005-09-23 19:34:11 +00004091echo "$as_me:$LINENO: result: $ac_cv_type_int8" >&5
4092echo "${ECHO_T}$ac_cv_type_int8" >&6
4093if test $ac_cv_type_int8 = yes; then
Cullen Jennings235513a2005-09-21 22:51:36 +00004094
David McGrewfec49dd2005-09-23 19:34:11 +00004095cat >>confdefs.h <<_ACEOF
4096#define HAVE_INT8 1
4097_ACEOF
4098
4099
4100fi
4101echo "$as_me:$LINENO: checking for uint8" >&5
4102echo $ECHO_N "checking for uint8... $ECHO_C" >&6
4103if test "${ac_cv_type_uint8+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4105else
4106 cat >conftest.$ac_ext <<_ACEOF
4107/* confdefs.h. */
4108_ACEOF
4109cat confdefs.h >>conftest.$ac_ext
4110cat >>conftest.$ac_ext <<_ACEOF
4111/* end confdefs.h. */
4112$ac_includes_default
4113int
4114main ()
4115{
4116if ((uint8 *) 0)
4117 return 0;
4118if (sizeof (uint8))
4119 return 0;
4120 ;
4121 return 0;
4122}
4123_ACEOF
4124rm -f conftest.$ac_objext
4125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4126 (eval $ac_compile) 2>conftest.er1
4127 ac_status=$?
4128 grep -v '^ *+' conftest.er1 >conftest.err
4129 rm -f conftest.er1
4130 cat conftest.err >&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } &&
4133 { ac_try='test -z "$ac_c_werror_flag"
4134 || test ! -s conftest.err'
4135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4136 (eval $ac_try) 2>&5
4137 ac_status=$?
4138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4139 (exit $ac_status); }; } &&
4140 { ac_try='test -s conftest.$ac_objext'
4141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 (eval $ac_try) 2>&5
4143 ac_status=$?
4144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4145 (exit $ac_status); }; }; then
4146 ac_cv_type_uint8=yes
4147else
4148 echo "$as_me: failed program was:" >&5
4149sed 's/^/| /' conftest.$ac_ext >&5
4150
4151ac_cv_type_uint8=no
4152fi
4153rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4154fi
4155echo "$as_me:$LINENO: result: $ac_cv_type_uint8" >&5
4156echo "${ECHO_T}$ac_cv_type_uint8" >&6
4157if test $ac_cv_type_uint8 = yes; then
4158
4159cat >>confdefs.h <<_ACEOF
4160#define HAVE_UINT8 1
4161_ACEOF
4162
4163
4164fi
4165echo "$as_me:$LINENO: checking for int16" >&5
4166echo $ECHO_N "checking for int16... $ECHO_C" >&6
4167if test "${ac_cv_type_int16+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4169else
4170 cat >conftest.$ac_ext <<_ACEOF
4171/* confdefs.h. */
4172_ACEOF
4173cat confdefs.h >>conftest.$ac_ext
4174cat >>conftest.$ac_ext <<_ACEOF
4175/* end confdefs.h. */
4176$ac_includes_default
4177int
4178main ()
4179{
4180if ((int16 *) 0)
4181 return 0;
4182if (sizeof (int16))
4183 return 0;
4184 ;
4185 return 0;
4186}
4187_ACEOF
4188rm -f conftest.$ac_objext
4189if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4190 (eval $ac_compile) 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try='test -z "$ac_c_werror_flag"
4198 || test ! -s conftest.err'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4200 (eval $ac_try) 2>&5
4201 ac_status=$?
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; } &&
4204 { ac_try='test -s conftest.$ac_objext'
4205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4206 (eval $ac_try) 2>&5
4207 ac_status=$?
4208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209 (exit $ac_status); }; }; then
4210 ac_cv_type_int16=yes
4211else
4212 echo "$as_me: failed program was:" >&5
4213sed 's/^/| /' conftest.$ac_ext >&5
4214
4215ac_cv_type_int16=no
4216fi
4217rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4218fi
4219echo "$as_me:$LINENO: result: $ac_cv_type_int16" >&5
4220echo "${ECHO_T}$ac_cv_type_int16" >&6
4221if test $ac_cv_type_int16 = yes; then
4222
4223cat >>confdefs.h <<_ACEOF
4224#define HAVE_INT16 1
4225_ACEOF
4226
4227
4228fi
4229echo "$as_me:$LINENO: checking for uint16" >&5
4230echo $ECHO_N "checking for uint16... $ECHO_C" >&6
4231if test "${ac_cv_type_uint16+set}" = set; then
4232 echo $ECHO_N "(cached) $ECHO_C" >&6
4233else
4234 cat >conftest.$ac_ext <<_ACEOF
4235/* confdefs.h. */
4236_ACEOF
4237cat confdefs.h >>conftest.$ac_ext
4238cat >>conftest.$ac_ext <<_ACEOF
4239/* end confdefs.h. */
4240$ac_includes_default
4241int
4242main ()
4243{
4244if ((uint16 *) 0)
4245 return 0;
4246if (sizeof (uint16))
4247 return 0;
4248 ;
4249 return 0;
4250}
4251_ACEOF
4252rm -f conftest.$ac_objext
4253if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4254 (eval $ac_compile) 2>conftest.er1
4255 ac_status=$?
4256 grep -v '^ *+' conftest.er1 >conftest.err
4257 rm -f conftest.er1
4258 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_c_werror_flag"
4262 || test ! -s conftest.err'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4264 (eval $ac_try) 2>&5
4265 ac_status=$?
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; } &&
4268 { ac_try='test -s conftest.$ac_objext'
4269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4270 (eval $ac_try) 2>&5
4271 ac_status=$?
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; }; then
4274 ac_cv_type_uint16=yes
4275else
4276 echo "$as_me: failed program was:" >&5
4277sed 's/^/| /' conftest.$ac_ext >&5
4278
4279ac_cv_type_uint16=no
4280fi
4281rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4282fi
4283echo "$as_me:$LINENO: result: $ac_cv_type_uint16" >&5
4284echo "${ECHO_T}$ac_cv_type_uint16" >&6
4285if test $ac_cv_type_uint16 = yes; then
4286
4287cat >>confdefs.h <<_ACEOF
4288#define HAVE_UINT16 1
4289_ACEOF
4290
4291
4292fi
4293echo "$as_me:$LINENO: checking for int32" >&5
4294echo $ECHO_N "checking for int32... $ECHO_C" >&6
4295if test "${ac_cv_type_int32+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4297else
4298 cat >conftest.$ac_ext <<_ACEOF
4299/* confdefs.h. */
4300_ACEOF
4301cat confdefs.h >>conftest.$ac_ext
4302cat >>conftest.$ac_ext <<_ACEOF
4303/* end confdefs.h. */
4304$ac_includes_default
4305int
4306main ()
4307{
4308if ((int32 *) 0)
4309 return 0;
4310if (sizeof (int32))
4311 return 0;
4312 ;
4313 return 0;
4314}
4315_ACEOF
4316rm -f conftest.$ac_objext
4317if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4318 (eval $ac_compile) 2>conftest.er1
4319 ac_status=$?
4320 grep -v '^ *+' conftest.er1 >conftest.err
4321 rm -f conftest.er1
4322 cat conftest.err >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); } &&
4325 { ac_try='test -z "$ac_c_werror_flag"
4326 || test ! -s conftest.err'
4327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4328 (eval $ac_try) 2>&5
4329 ac_status=$?
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); }; } &&
4332 { ac_try='test -s conftest.$ac_objext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334 (eval $ac_try) 2>&5
4335 ac_status=$?
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 ac_cv_type_int32=yes
4339else
4340 echo "$as_me: failed program was:" >&5
4341sed 's/^/| /' conftest.$ac_ext >&5
4342
4343ac_cv_type_int32=no
4344fi
4345rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4346fi
4347echo "$as_me:$LINENO: result: $ac_cv_type_int32" >&5
4348echo "${ECHO_T}$ac_cv_type_int32" >&6
4349if test $ac_cv_type_int32 = yes; then
4350
4351cat >>confdefs.h <<_ACEOF
4352#define HAVE_INT32 1
4353_ACEOF
4354
4355
4356fi
4357echo "$as_me:$LINENO: checking for uint32" >&5
4358echo $ECHO_N "checking for uint32... $ECHO_C" >&6
4359if test "${ac_cv_type_uint32+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4361else
4362 cat >conftest.$ac_ext <<_ACEOF
4363/* confdefs.h. */
4364_ACEOF
4365cat confdefs.h >>conftest.$ac_ext
4366cat >>conftest.$ac_ext <<_ACEOF
4367/* end confdefs.h. */
4368$ac_includes_default
4369int
4370main ()
4371{
4372if ((uint32 *) 0)
4373 return 0;
4374if (sizeof (uint32))
4375 return 0;
4376 ;
4377 return 0;
4378}
4379_ACEOF
4380rm -f conftest.$ac_objext
4381if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>conftest.er1
4383 ac_status=$?
4384 grep -v '^ *+' conftest.er1 >conftest.err
4385 rm -f conftest.er1
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } &&
4389 { ac_try='test -z "$ac_c_werror_flag"
4390 || test ! -s conftest.err'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 (eval $ac_try) 2>&5
4393 ac_status=$?
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; } &&
4396 { ac_try='test -s conftest.$ac_objext'
4397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 (eval $ac_try) 2>&5
4399 ac_status=$?
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); }; }; then
4402 ac_cv_type_uint32=yes
4403else
4404 echo "$as_me: failed program was:" >&5
4405sed 's/^/| /' conftest.$ac_ext >&5
4406
4407ac_cv_type_uint32=no
4408fi
4409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4410fi
4411echo "$as_me:$LINENO: result: $ac_cv_type_uint32" >&5
4412echo "${ECHO_T}$ac_cv_type_uint32" >&6
4413if test $ac_cv_type_uint32 = yes; then
4414
4415cat >>confdefs.h <<_ACEOF
4416#define HAVE_UINT32 1
4417_ACEOF
4418
4419
4420fi
4421echo "$as_me:$LINENO: checking for unit64" >&5
4422echo $ECHO_N "checking for unit64... $ECHO_C" >&6
4423if test "${ac_cv_type_unit64+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4425else
4426 cat >conftest.$ac_ext <<_ACEOF
4427/* confdefs.h. */
4428_ACEOF
4429cat confdefs.h >>conftest.$ac_ext
4430cat >>conftest.$ac_ext <<_ACEOF
4431/* end confdefs.h. */
4432$ac_includes_default
4433int
4434main ()
4435{
4436if ((unit64 *) 0)
4437 return 0;
4438if (sizeof (unit64))
4439 return 0;
4440 ;
4441 return 0;
4442}
4443_ACEOF
4444rm -f conftest.$ac_objext
4445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>conftest.er1
4447 ac_status=$?
4448 grep -v '^ *+' conftest.er1 >conftest.err
4449 rm -f conftest.er1
4450 cat conftest.err >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); } &&
4453 { ac_try='test -z "$ac_c_werror_flag"
4454 || test ! -s conftest.err'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4456 (eval $ac_try) 2>&5
4457 ac_status=$?
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; } &&
4460 { ac_try='test -s conftest.$ac_objext'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 (eval $ac_try) 2>&5
4463 ac_status=$?
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 ac_cv_type_unit64=yes
4467else
4468 echo "$as_me: failed program was:" >&5
4469sed 's/^/| /' conftest.$ac_ext >&5
4470
4471ac_cv_type_unit64=no
4472fi
4473rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4474fi
4475echo "$as_me:$LINENO: result: $ac_cv_type_unit64" >&5
4476echo "${ECHO_T}$ac_cv_type_unit64" >&6
4477if test $ac_cv_type_unit64 = yes; then
4478
4479cat >>confdefs.h <<_ACEOF
4480#define HAVE_UNIT64 1
4481_ACEOF
4482
4483
4484fi
4485
4486
4487echo "$as_me:$LINENO: checking for unsigned long long" >&5
4488echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
4489if test "${ac_cv_type_unsigned_long_long+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4491else
4492 cat >conftest.$ac_ext <<_ACEOF
4493/* confdefs.h. */
4494_ACEOF
4495cat confdefs.h >>conftest.$ac_ext
4496cat >>conftest.$ac_ext <<_ACEOF
4497/* end confdefs.h. */
4498$ac_includes_default
4499int
4500main ()
4501{
4502if ((unsigned long long *) 0)
4503 return 0;
4504if (sizeof (unsigned long long))
4505 return 0;
4506 ;
4507 return 0;
4508}
4509_ACEOF
4510rm -f conftest.$ac_objext
4511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>conftest.er1
4513 ac_status=$?
4514 grep -v '^ *+' conftest.er1 >conftest.err
4515 rm -f conftest.er1
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try='test -z "$ac_c_werror_flag"
4520 || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 (eval $ac_try) 2>&5
4523 ac_status=$?
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try='test -s conftest.$ac_objext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528 (eval $ac_try) 2>&5
4529 ac_status=$?
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 ac_cv_type_unsigned_long_long=yes
4533else
4534 echo "$as_me: failed program was:" >&5
4535sed 's/^/| /' conftest.$ac_ext >&5
4536
4537ac_cv_type_unsigned_long_long=no
4538fi
4539rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4540fi
4541echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
4542echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
4543if test $ac_cv_type_unsigned_long_long = yes; then
4544 HAVE_U_LONG_LONG=1
4545else
4546 HAVE_U_LONG_LONG=0
4547fi
4548
4549
4550if test $HAVE_U_LONG_LONG = 1; then
4551 cat >>confdefs.h <<\_ACEOF
4552#define HAVE_U_LONG_LONG 1
4553_ACEOF
4554
4555fi
Cullen Jennings235513a2005-09-21 22:51:36 +00004556
4557echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4558echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4559if test "${ac_cv_c_const+set}" = set; then
4560 echo $ECHO_N "(cached) $ECHO_C" >&6
4561else
4562 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004563/* confdefs.h. */
4564_ACEOF
4565cat confdefs.h >>conftest.$ac_ext
4566cat >>conftest.$ac_ext <<_ACEOF
4567/* end confdefs.h. */
4568
4569int
4570main ()
4571{
4572/* FIXME: Include the comments suggested by Paul. */
4573#ifndef __cplusplus
4574 /* Ultrix mips cc rejects this. */
4575 typedef int charset[2];
4576 const charset x;
4577 /* SunOS 4.1.1 cc rejects this. */
4578 char const *const *ccp;
4579 char **p;
4580 /* NEC SVR4.0.2 mips cc rejects this. */
4581 struct point {int x, y;};
4582 static struct point const zero = {0,0};
4583 /* AIX XL C 1.02.0.0 rejects this.
4584 It does not let you subtract one const X* pointer from another in
4585 an arm of an if-expression whose if-part is not a constant
4586 expression */
4587 const char *g = "string";
4588 ccp = &g + (g ? g-g : 0);
4589 /* HPUX 7.0 cc rejects these. */
4590 ++ccp;
4591 p = (char**) ccp;
4592 ccp = (char const *const *) p;
4593 { /* SCO 3.2v4 cc rejects this. */
4594 char *t;
4595 char const *s = 0 ? (char *) 0 : (char const *) 0;
4596
4597 *t++ = 0;
4598 }
4599 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4600 int x[] = {25, 17};
4601 const int *foo = &x[0];
4602 ++foo;
4603 }
4604 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4605 typedef const int *iptr;
4606 iptr p = 0;
4607 ++p;
4608 }
4609 { /* AIX XL C 1.02.0.0 rejects this saying
4610 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4611 struct s { int j; const int *ap[3]; };
4612 struct s *b; b->j = 5;
4613 }
4614 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4615 const int foo = 10;
4616 }
4617#endif
4618
4619 ;
4620 return 0;
4621}
4622_ACEOF
4623rm -f conftest.$ac_objext
4624if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00004625 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00004626 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00004627 grep -v '^ *+' conftest.er1 >conftest.err
4628 rm -f conftest.er1
4629 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00004630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00004632 { ac_try='test -z "$ac_c_werror_flag"
4633 || test ! -s conftest.err'
4634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 (eval $ac_try) 2>&5
4636 ac_status=$?
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); }; } &&
4639 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00004640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4641 (eval $ac_try) 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); }; }; then
4645 ac_cv_c_const=yes
4646else
4647 echo "$as_me: failed program was:" >&5
4648sed 's/^/| /' conftest.$ac_ext >&5
4649
4650ac_cv_c_const=no
4651fi
David McGrewfec49dd2005-09-23 19:34:11 +00004652rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004653fi
4654echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4655echo "${ECHO_T}$ac_cv_c_const" >&6
4656if test $ac_cv_c_const = no; then
4657
4658cat >>confdefs.h <<\_ACEOF
4659#define const
4660_ACEOF
4661
4662fi
4663
4664echo "$as_me:$LINENO: checking for inline" >&5
4665echo $ECHO_N "checking for inline... $ECHO_C" >&6
4666if test "${ac_cv_c_inline+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4668else
4669 ac_cv_c_inline=no
4670for ac_kw in inline __inline__ __inline; do
4671 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004672/* confdefs.h. */
4673_ACEOF
4674cat confdefs.h >>conftest.$ac_ext
4675cat >>conftest.$ac_ext <<_ACEOF
4676/* end confdefs.h. */
4677#ifndef __cplusplus
4678typedef int foo_t;
4679static $ac_kw foo_t static_foo () {return 0; }
4680$ac_kw foo_t foo () {return 0; }
4681#endif
4682
4683_ACEOF
4684rm -f conftest.$ac_objext
4685if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00004686 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00004687 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00004688 grep -v '^ *+' conftest.er1 >conftest.err
4689 rm -f conftest.er1
4690 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00004691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00004693 { ac_try='test -z "$ac_c_werror_flag"
4694 || test ! -s conftest.err'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 (eval $ac_try) 2>&5
4697 ac_status=$?
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; } &&
4700 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00004701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 (eval $ac_try) 2>&5
4703 ac_status=$?
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); }; }; then
4706 ac_cv_c_inline=$ac_kw; break
4707else
4708 echo "$as_me: failed program was:" >&5
4709sed 's/^/| /' conftest.$ac_ext >&5
4710
4711fi
David McGrewfec49dd2005-09-23 19:34:11 +00004712rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004713done
4714
4715fi
4716echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4717echo "${ECHO_T}$ac_cv_c_inline" >&6
David McGrewfec49dd2005-09-23 19:34:11 +00004718
4719
Cullen Jennings235513a2005-09-21 22:51:36 +00004720case $ac_cv_c_inline in
4721 inline | yes) ;;
David McGrewfec49dd2005-09-23 19:34:11 +00004722 *)
4723 case $ac_cv_c_inline in
4724 no) ac_val=;;
4725 *) ac_val=$ac_cv_c_inline;;
4726 esac
4727 cat >>confdefs.h <<_ACEOF
4728#ifndef __cplusplus
4729#define inline $ac_val
4730#endif
Cullen Jennings235513a2005-09-21 22:51:36 +00004731_ACEOF
David McGrewfec49dd2005-09-23 19:34:11 +00004732 ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00004733esac
4734
4735echo "$as_me:$LINENO: checking for size_t" >&5
4736echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4737if test "${ac_cv_type_size_t+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4739else
4740 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004741/* confdefs.h. */
4742_ACEOF
4743cat confdefs.h >>conftest.$ac_ext
4744cat >>conftest.$ac_ext <<_ACEOF
4745/* end confdefs.h. */
4746$ac_includes_default
4747int
4748main ()
4749{
4750if ((size_t *) 0)
4751 return 0;
4752if (sizeof (size_t))
4753 return 0;
4754 ;
4755 return 0;
4756}
4757_ACEOF
4758rm -f conftest.$ac_objext
4759if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00004760 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00004761 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00004762 grep -v '^ *+' conftest.er1 >conftest.err
4763 rm -f conftest.er1
4764 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00004765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00004767 { ac_try='test -z "$ac_c_werror_flag"
4768 || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 (eval $ac_try) 2>&5
4771 ac_status=$?
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00004775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 (eval $ac_try) 2>&5
4777 ac_status=$?
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 ac_cv_type_size_t=yes
4781else
4782 echo "$as_me: failed program was:" >&5
4783sed 's/^/| /' conftest.$ac_ext >&5
4784
4785ac_cv_type_size_t=no
4786fi
David McGrewfec49dd2005-09-23 19:34:11 +00004787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004788fi
4789echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4790echo "${ECHO_T}$ac_cv_type_size_t" >&6
4791if test $ac_cv_type_size_t = yes; then
4792 :
4793else
4794
4795cat >>confdefs.h <<_ACEOF
4796#define size_t unsigned
4797_ACEOF
4798
4799fi
4800
4801
4802echo "$as_me:$LINENO: checking for working memcmp" >&5
4803echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4804if test "${ac_cv_func_memcmp_working+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6
4806else
4807 if test "$cross_compiling" = yes; then
4808 ac_cv_func_memcmp_working=no
4809else
4810 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004811/* confdefs.h. */
4812_ACEOF
4813cat confdefs.h >>conftest.$ac_ext
4814cat >>conftest.$ac_ext <<_ACEOF
4815/* end confdefs.h. */
David McGrewfec49dd2005-09-23 19:34:11 +00004816$ac_includes_default
Cullen Jennings235513a2005-09-21 22:51:36 +00004817int
4818main ()
4819{
4820
4821 /* Some versions of memcmp are not 8-bit clean. */
4822 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4823 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4824 exit (1);
4825
4826 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4827 or more and with at least one buffer not starting on a 4-byte boundary.
4828 William Lewis provided this test program. */
4829 {
4830 char foo[21];
4831 char bar[21];
4832 int i;
4833 for (i = 0; i < 4; i++)
4834 {
David McGrewfec49dd2005-09-23 19:34:11 +00004835 char *a = foo + i;
4836 char *b = bar + i;
4837 strcpy (a, "--------01111111");
4838 strcpy (b, "--------10000000");
4839 if (memcmp (a, b, 16) >= 0)
4840 exit (1);
Cullen Jennings235513a2005-09-21 22:51:36 +00004841 }
4842 exit (0);
4843 }
4844
4845 ;
4846 return 0;
4847}
4848_ACEOF
4849rm -f conftest$ac_exeext
4850if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4851 (eval $ac_link) 2>&5
4852 ac_status=$?
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 (eval $ac_try) 2>&5
4857 ac_status=$?
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; }; then
4860 ac_cv_func_memcmp_working=yes
4861else
4862 echo "$as_me: program exited with status $ac_status" >&5
4863echo "$as_me: failed program was:" >&5
4864sed 's/^/| /' conftest.$ac_ext >&5
4865
4866( exit $ac_status )
4867ac_cv_func_memcmp_working=no
4868fi
David McGrewfec49dd2005-09-23 19:34:11 +00004869rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004870fi
4871fi
4872echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4873echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
David McGrewfec49dd2005-09-23 19:34:11 +00004874test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
4875 "memcmp.$ac_objext" | \
4876 *" memcmp.$ac_objext" | \
4877 "memcmp.$ac_objext "* | \
4878 *" memcmp.$ac_objext "* ) ;;
4879 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
4880esac
4881
Cullen Jennings235513a2005-09-21 22:51:36 +00004882
4883
4884
4885
4886for ac_func in socket strerror inet_aton
4887do
4888as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4889echo "$as_me:$LINENO: checking for $ac_func" >&5
4890echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4891if eval "test \"\${$as_ac_var+set}\" = set"; then
4892 echo $ECHO_N "(cached) $ECHO_C" >&6
4893else
4894 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004895/* confdefs.h. */
4896_ACEOF
4897cat confdefs.h >>conftest.$ac_ext
4898cat >>conftest.$ac_ext <<_ACEOF
4899/* end confdefs.h. */
David McGrewfec49dd2005-09-23 19:34:11 +00004900/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4902#define $ac_func innocuous_$ac_func
4903
Cullen Jennings235513a2005-09-21 22:51:36 +00004904/* System header to define __stub macros and hopefully few prototypes,
4905 which can conflict with char $ac_func (); below.
4906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4907 <limits.h> exists even on freestanding compilers. */
David McGrewfec49dd2005-09-23 19:34:11 +00004908
Cullen Jennings235513a2005-09-21 22:51:36 +00004909#ifdef __STDC__
4910# include <limits.h>
4911#else
4912# include <assert.h>
4913#endif
David McGrewfec49dd2005-09-23 19:34:11 +00004914
4915#undef $ac_func
4916
Cullen Jennings235513a2005-09-21 22:51:36 +00004917/* Override any gcc2 internal prototype to avoid an error. */
4918#ifdef __cplusplus
4919extern "C"
4920{
4921#endif
4922/* We use char because int might match the return type of a gcc2
4923 builtin and then its argument prototype would still apply. */
4924char $ac_func ();
4925/* The GNU C library defines this for functions which it implements
4926 to always fail with ENOSYS. Some functions are actually named
4927 something starting with __ and the normal name is an alias. */
4928#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4929choke me
4930#else
4931char (*f) () = $ac_func;
4932#endif
4933#ifdef __cplusplus
4934}
4935#endif
4936
4937int
4938main ()
4939{
4940return f != $ac_func;
4941 ;
4942 return 0;
4943}
4944_ACEOF
4945rm -f conftest.$ac_objext conftest$ac_exeext
4946if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00004947 (eval $ac_link) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00004948 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00004949 grep -v '^ *+' conftest.er1 >conftest.err
4950 rm -f conftest.er1
4951 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00004952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00004954 { ac_try='test -z "$ac_c_werror_flag"
4955 || test ! -s conftest.err'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 (eval $ac_try) 2>&5
4958 ac_status=$?
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; } &&
4961 { ac_try='test -s conftest$ac_exeext'
Cullen Jennings235513a2005-09-21 22:51:36 +00004962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4963 (eval $ac_try) 2>&5
4964 ac_status=$?
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; }; then
4967 eval "$as_ac_var=yes"
4968else
4969 echo "$as_me: failed program was:" >&5
4970sed 's/^/| /' conftest.$ac_ext >&5
4971
4972eval "$as_ac_var=no"
4973fi
David McGrewfec49dd2005-09-23 19:34:11 +00004974rm -f conftest.err conftest.$ac_objext \
4975 conftest$ac_exeext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00004976fi
4977echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4978echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4979if test `eval echo '${'$as_ac_var'}'` = yes; then
4980 cat >>confdefs.h <<_ACEOF
4981#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4982_ACEOF
4983
4984fi
4985done
4986
4987
4988echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4989echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4990if test "${ac_cv_c_bigendian+set}" = set; then
4991 echo $ECHO_N "(cached) $ECHO_C" >&6
4992else
4993 # See if sys/param.h defines the BYTE_ORDER macro.
4994cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00004995/* confdefs.h. */
4996_ACEOF
4997cat confdefs.h >>conftest.$ac_ext
4998cat >>conftest.$ac_ext <<_ACEOF
4999/* end confdefs.h. */
5000#include <sys/types.h>
5001#include <sys/param.h>
5002
5003int
5004main ()
5005{
5006#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
5007 bogus endian macros
5008#endif
5009
5010 ;
5011 return 0;
5012}
5013_ACEOF
5014rm -f conftest.$ac_objext
5015if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00005016 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00005017 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00005018 grep -v '^ *+' conftest.er1 >conftest.err
5019 rm -f conftest.er1
5020 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00005021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00005023 { ac_try='test -z "$ac_c_werror_flag"
5024 || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 (eval $ac_try) 2>&5
5027 ac_status=$?
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00005031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 (eval $ac_try) 2>&5
5033 ac_status=$?
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 # It does; now see whether it defined to BIG_ENDIAN or not.
5037cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00005038/* confdefs.h. */
5039_ACEOF
5040cat confdefs.h >>conftest.$ac_ext
5041cat >>conftest.$ac_ext <<_ACEOF
5042/* end confdefs.h. */
5043#include <sys/types.h>
5044#include <sys/param.h>
5045
5046int
5047main ()
5048{
5049#if BYTE_ORDER != BIG_ENDIAN
5050 not big endian
5051#endif
5052
5053 ;
5054 return 0;
5055}
5056_ACEOF
5057rm -f conftest.$ac_objext
5058if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00005059 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00005060 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00005061 grep -v '^ *+' conftest.er1 >conftest.err
5062 rm -f conftest.er1
5063 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00005064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5065 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00005066 { ac_try='test -z "$ac_c_werror_flag"
5067 || test ! -s conftest.err'
5068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 (eval $ac_try) 2>&5
5070 ac_status=$?
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }; } &&
5073 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00005074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 (eval $ac_try) 2>&5
5076 ac_status=$?
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 ac_cv_c_bigendian=yes
5080else
5081 echo "$as_me: failed program was:" >&5
5082sed 's/^/| /' conftest.$ac_ext >&5
5083
5084ac_cv_c_bigendian=no
5085fi
David McGrewfec49dd2005-09-23 19:34:11 +00005086rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00005087else
5088 echo "$as_me: failed program was:" >&5
5089sed 's/^/| /' conftest.$ac_ext >&5
5090
5091# It does not; compile a test program.
5092if test "$cross_compiling" = yes; then
5093 # try to guess the endianness by grepping values into an object file
5094 ac_cv_c_bigendian=unknown
5095 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00005096/* confdefs.h. */
5097_ACEOF
5098cat confdefs.h >>conftest.$ac_ext
5099cat >>conftest.$ac_ext <<_ACEOF
5100/* end confdefs.h. */
5101short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5102short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5103void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5104short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5105short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5106void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5107int
5108main ()
5109{
5110 _ascii (); _ebcdic ();
5111 ;
5112 return 0;
5113}
5114_ACEOF
5115rm -f conftest.$ac_objext
5116if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
David McGrewfec49dd2005-09-23 19:34:11 +00005117 (eval $ac_compile) 2>conftest.er1
Cullen Jennings235513a2005-09-21 22:51:36 +00005118 ac_status=$?
David McGrewfec49dd2005-09-23 19:34:11 +00005119 grep -v '^ *+' conftest.er1 >conftest.err
5120 rm -f conftest.er1
5121 cat conftest.err >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00005122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); } &&
David McGrewfec49dd2005-09-23 19:34:11 +00005124 { ac_try='test -z "$ac_c_werror_flag"
5125 || test ! -s conftest.err'
5126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5127 (eval $ac_try) 2>&5
5128 ac_status=$?
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); }; } &&
5131 { ac_try='test -s conftest.$ac_objext'
Cullen Jennings235513a2005-09-21 22:51:36 +00005132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 (eval $ac_try) 2>&5
5134 ac_status=$?
5135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); }; }; then
5137 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5138 ac_cv_c_bigendian=yes
5139fi
5140if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5141 if test "$ac_cv_c_bigendian" = unknown; then
5142 ac_cv_c_bigendian=no
5143 else
5144 # finding both strings is unlikely to happen, but who knows?
5145 ac_cv_c_bigendian=unknown
5146 fi
5147fi
5148else
5149 echo "$as_me: failed program was:" >&5
5150sed 's/^/| /' conftest.$ac_ext >&5
5151
5152fi
David McGrewfec49dd2005-09-23 19:34:11 +00005153rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00005154else
5155 cat >conftest.$ac_ext <<_ACEOF
Cullen Jennings235513a2005-09-21 22:51:36 +00005156/* confdefs.h. */
5157_ACEOF
5158cat confdefs.h >>conftest.$ac_ext
5159cat >>conftest.$ac_ext <<_ACEOF
5160/* end confdefs.h. */
5161int
5162main ()
5163{
5164 /* Are we little or big endian? From Harbison&Steele. */
5165 union
5166 {
5167 long l;
5168 char c[sizeof (long)];
5169 } u;
5170 u.l = 1;
5171 exit (u.c[sizeof (long) - 1] == 1);
5172}
5173_ACEOF
5174rm -f conftest$ac_exeext
5175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 (eval $ac_link) 2>&5
5177 ac_status=$?
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181 (eval $ac_try) 2>&5
5182 ac_status=$?
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; }; then
5185 ac_cv_c_bigendian=no
5186else
5187 echo "$as_me: program exited with status $ac_status" >&5
5188echo "$as_me: failed program was:" >&5
5189sed 's/^/| /' conftest.$ac_ext >&5
5190
5191( exit $ac_status )
5192ac_cv_c_bigendian=yes
5193fi
David McGrewfec49dd2005-09-23 19:34:11 +00005194rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00005195fi
5196fi
David McGrewfec49dd2005-09-23 19:34:11 +00005197rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
Cullen Jennings235513a2005-09-21 22:51:36 +00005198fi
5199echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5200echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5201case $ac_cv_c_bigendian in
5202 yes)
5203
5204cat >>confdefs.h <<\_ACEOF
5205#define WORDS_BIGENDIAN 1
5206_ACEOF
5207 ;;
5208 no)
5209 ;;
5210 *)
5211 { { echo "$as_me:$LINENO: error: unknown endianness
5212presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5213echo "$as_me: error: unknown endianness
5214presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5215 { (exit 1); exit 1; }; } ;;
5216esac
5217
5218
5219ac_aux_dir=
5220for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
5221 if test -f $ac_dir/install-sh; then
5222 ac_aux_dir=$ac_dir
5223 ac_install_sh="$ac_aux_dir/install-sh -c"
5224 break
5225 elif test -f $ac_dir/install.sh; then
5226 ac_aux_dir=$ac_dir
5227 ac_install_sh="$ac_aux_dir/install.sh -c"
5228 break
5229 elif test -f $ac_dir/shtool; then
5230 ac_aux_dir=$ac_dir
5231 ac_install_sh="$ac_aux_dir/shtool install -c"
5232 break
5233 fi
5234done
5235if test -z "$ac_aux_dir"; then
5236 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
5237echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
5238 { (exit 1); exit 1; }; }
5239fi
5240ac_config_guess="$SHELL $ac_aux_dir/config.guess"
5241ac_config_sub="$SHELL $ac_aux_dir/config.sub"
5242ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
5243
5244# Make sure we can run config.sub.
5245$ac_config_sub sun4 >/dev/null 2>&1 ||
5246 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
5247echo "$as_me: error: cannot run $ac_config_sub" >&2;}
5248 { (exit 1); exit 1; }; }
5249
5250echo "$as_me:$LINENO: checking build system type" >&5
5251echo $ECHO_N "checking build system type... $ECHO_C" >&6
5252if test "${ac_cv_build+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5254else
5255 ac_cv_build_alias=$build_alias
5256test -z "$ac_cv_build_alias" &&
5257 ac_cv_build_alias=`$ac_config_guess`
5258test -z "$ac_cv_build_alias" &&
5259 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5260echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5261 { (exit 1); exit 1; }; }
5262ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
5263 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
5264echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
5265 { (exit 1); exit 1; }; }
5266
5267fi
5268echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5269echo "${ECHO_T}$ac_cv_build" >&6
5270build=$ac_cv_build
5271build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5272build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5273build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5274
5275
5276echo "$as_me:$LINENO: checking host system type" >&5
5277echo $ECHO_N "checking host system type... $ECHO_C" >&6
5278if test "${ac_cv_host+set}" = set; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5280else
5281 ac_cv_host_alias=$host_alias
5282test -z "$ac_cv_host_alias" &&
5283 ac_cv_host_alias=$ac_cv_build_alias
5284ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
5285 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
5286echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
5287 { (exit 1); exit 1; }; }
5288
5289fi
5290echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5291echo "${ECHO_T}$ac_cv_host" >&6
5292host=$ac_cv_host
5293host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
5294host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
5295host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
5296
5297
5298
David McGrew89fb7ea2005-09-26 19:33:44 +00005299echo "host_cpu: $host_cpu"
5300
Cullen Jennings235513a2005-09-21 22:51:36 +00005301if test $host_cpu = x86; then
David McGrew89fb7ea2005-09-26 19:33:44 +00005302 echo "x86 cpu found"
Cullen Jennings235513a2005-09-21 22:51:36 +00005303fi
5304
5305case $host_cpu in
5306 i*86 )
5307 cat >>confdefs.h <<\_ACEOF
5308#define CPU_CISC 1
5309_ACEOF
David McGrew89fb7ea2005-09-26 19:33:44 +00005310
5311 cat >>confdefs.h <<\_ACEOF
5312#define HAVE_X86 1
5313_ACEOF
5314;; # use x86 inline assembly
Cullen Jennings235513a2005-09-21 22:51:36 +00005315 * )
5316 cat >>confdefs.h <<\_ACEOF
5317#define CPU_RISC 1
5318_ACEOF
5319;;
5320esac
5321
5322
5323case $host_os in
5324 *cygwin* )
5325 cat >>confdefs.h <<\_ACEOF
5326#define HAVE_MS_TYPES 1
5327_ACEOF
5328
5329 EXE=.exe;;
5330 * ) EXE="";;
5331esac
5332
5333 # define executable suffix; this is needed for `make clean'
5334
5335# Check whether --enable-debug or --disable-debug was given.
5336if test "${enable_debug+set}" = set; then
5337 enableval="$enable_debug"
5338 USE_DEBUG=0
5339else
5340 USE_DEBUG=1
5341fi;
5342
5343if test $USE_DEBUG = 1; then
5344 cat >>confdefs.h <<\_ACEOF
5345#define ENABLE_DEBUGGING 1
5346_ACEOF
5347
5348fi
5349
5350# Check whether --enable-generic-aesicm or --disable-generic-aesicm was given.
5351if test "${enable_generic_aesicm+set}" = set; then
5352 enableval="$enable_generic_aesicm"
5353 GENERIC_AESICM=0
5354else
5355 GENERIC_AESICM=1
5356fi;
5357
5358if test $GENERIC_AESICM = 1; then
5359 cat >>confdefs.h <<\_ACEOF
5360#define GENERIC_AESICM 1
5361_ACEOF
5362
5363fi
5364
5365# Check whether --enable-syslog or --disable-syslog was given.
5366if test "${enable_syslog+set}" = set; then
5367 enableval="$enable_syslog"
5368 USE_SYSLOG=1
5369else
5370 USE_SYSLOG=0
5371fi;
5372
5373if test $USE_SYSLOG = 1; then
5374 cat >>confdefs.h <<\_ACEOF
5375#define USE_SYSLOG 1
5376_ACEOF
5377
5378fi
5379
5380# Check whether --enable-stdout or --disable-stdout was given.
5381if test "${enable_stdout+set}" = set; then
5382 enableval="$enable_stdout"
5383 ERR_STDOUT=0
5384else
5385 ERR_STDOUT=1
5386fi;
5387
5388if test $ERR_STDOUT = 1; then
5389 cat >>confdefs.h <<\_ACEOF
5390#define ERR_REPORTING_STDOUT 1
5391_ACEOF
5392
5393fi
5394
5395# Check whether --enable-console or --disable-console was given.
5396if test "${enable_console+set}" = set; then
5397 enableval="$enable_console"
5398 ERR_FILE=1
5399else
5400 ERR_FILE=0
5401fi;
5402
5403if test $ERR_FILE = 1; then
5404 cat >>confdefs.h <<\_ACEOF
5405#define ERR_REPORTING_FILE "/dev/console"
5406_ACEOF
5407
5408fi
5409# Check whether --enable-gdoi or --disable-gdoi was given.
5410if test "${enable_gdoi+set}" = set; then
5411 enableval="$enable_gdoi"
5412 GDOI=1
5413else
5414 GDOI=0
5415fi;
5416
5417if test $GDOI = 1; then
5418 echo "$as_me:$LINENO: checking for GDOI key management" >&5
5419echo $ECHO_N "checking for GDOI key management... $ECHO_C" >&6
5420 echo "$as_me:$LINENO: result: ?" >&5
5421echo "${ECHO_T}?" >&6
5422 cat >>confdefs.h <<\_ACEOF
5423#define SRTP_GDOI 1
5424_ACEOF
5425
5426 GDOI_OBJS=gdoi/srtp+gdoi.o
5427
5428fi
5429
David McGrewfec49dd2005-09-23 19:34:11 +00005430 ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h"
Cullen Jennings235513a2005-09-21 22:51:36 +00005431
5432
5433 ac_config_files="$ac_config_files Makefile"
5434cat >confcache <<\_ACEOF
5435# This file is a shell script that caches the results of configure
5436# tests run on this system so they can be shared between configure
5437# scripts and configure runs, see configure's option --config-cache.
5438# It is not useful on other systems. If it contains results you don't
5439# want to keep, you may remove or edit it.
5440#
5441# config.status only pays attention to the cache file if you give it
5442# the --recheck option to rerun configure.
5443#
5444# `ac_cv_env_foo' variables (set or unset) will be overridden when
5445# loading this file, other *unset* `ac_cv_foo' will be assigned the
5446# following values.
5447
5448_ACEOF
5449
5450# The following way of writing the cache mishandles newlines in values,
5451# but we know of no workaround that is simple, portable, and efficient.
5452# So, don't put newlines in cache variables' values.
5453# Ultrix sh set writes to stderr and can't be redirected directly,
5454# and sets the high bit in the cache file unless we assign to the vars.
5455{
5456 (set) 2>&1 |
5457 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5458 *ac_space=\ *)
5459 # `set' does not quote correctly, so add quotes (double-quote
5460 # substitution turns \\\\ into \\, and sed turns \\ into \).
5461 sed -n \
David McGrewfec49dd2005-09-23 19:34:11 +00005462 "s/'/'\\\\''/g;
5463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
Cullen Jennings235513a2005-09-21 22:51:36 +00005464 ;;
5465 *)
5466 # `set' quotes correctly as required by POSIX, so do not add quotes.
5467 sed -n \
David McGrewfec49dd2005-09-23 19:34:11 +00005468 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
Cullen Jennings235513a2005-09-21 22:51:36 +00005469 ;;
5470 esac;
5471} |
5472 sed '
5473 t clear
5474 : clear
5475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5476 t end
5477 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5478 : end' >>confcache
5479if diff $cache_file confcache >/dev/null 2>&1; then :; else
5480 if test -w $cache_file; then
5481 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5482 cat confcache >$cache_file
5483 else
5484 echo "not updating unwritable cache $cache_file"
5485 fi
5486fi
5487rm -f confcache
5488
5489test "x$prefix" = xNONE && prefix=$ac_default_prefix
5490# Let make expand exec_prefix.
5491test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5492
5493# VPATH may cause trouble with some makes, so we remove $(srcdir),
5494# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5495# trailing colons and then remove the whole line if VPATH becomes empty
5496# (actually we leave an empty line to preserve line numbers).
5497if test "x$srcdir" = x.; then
David McGrewfec49dd2005-09-23 19:34:11 +00005498 ac_vpsub='/^[ ]*VPATH[ ]*=/{
Cullen Jennings235513a2005-09-21 22:51:36 +00005499s/:*\$(srcdir):*/:/;
5500s/:*\${srcdir}:*/:/;
5501s/:*@srcdir@:*/:/;
David McGrewfec49dd2005-09-23 19:34:11 +00005502s/^\([^=]*=[ ]*\):*/\1/;
Cullen Jennings235513a2005-09-21 22:51:36 +00005503s/:*$//;
David McGrewfec49dd2005-09-23 19:34:11 +00005504s/^[^=]*=[ ]*$//;
Cullen Jennings235513a2005-09-21 22:51:36 +00005505}'
5506fi
5507
5508DEFS=-DHAVE_CONFIG_H
5509
5510ac_libobjs=
5511ac_ltlibobjs=
5512for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5513 # 1. Remove the extension, and $U if already installed.
5514 ac_i=`echo "$ac_i" |
David McGrewfec49dd2005-09-23 19:34:11 +00005515 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
Cullen Jennings235513a2005-09-21 22:51:36 +00005516 # 2. Add them.
5517 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5518 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5519done
5520LIBOBJS=$ac_libobjs
5521
5522LTLIBOBJS=$ac_ltlibobjs
5523
5524
5525
5526: ${CONFIG_STATUS=./config.status}
5527ac_clean_files_save=$ac_clean_files
5528ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5529{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5530echo "$as_me: creating $CONFIG_STATUS" >&6;}
5531cat >$CONFIG_STATUS <<_ACEOF
5532#! $SHELL
5533# Generated by $as_me.
5534# Run this file to recreate the current configuration.
5535# Compiler output produced by configure, useful for debugging
5536# configure, is in config.log if it exists.
5537
5538debug=false
5539ac_cs_recheck=false
5540ac_cs_silent=false
5541SHELL=\${CONFIG_SHELL-$SHELL}
5542_ACEOF
5543
5544cat >>$CONFIG_STATUS <<\_ACEOF
5545## --------------------- ##
5546## M4sh Initialization. ##
5547## --------------------- ##
5548
5549# Be Bourne compatible
5550if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5551 emulate sh
5552 NULLCMD=:
5553 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5554 # is contrary to our usage. Disable this feature.
5555 alias -g '${1+"$@"}'='"$@"'
5556elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5557 set -o posix
5558fi
David McGrewfec49dd2005-09-23 19:34:11 +00005559DUALCASE=1; export DUALCASE # for MKS sh
Cullen Jennings235513a2005-09-21 22:51:36 +00005560
5561# Support unset when possible.
David McGrewfec49dd2005-09-23 19:34:11 +00005562if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
Cullen Jennings235513a2005-09-21 22:51:36 +00005563 as_unset=unset
5564else
5565 as_unset=false
5566fi
5567
5568
5569# Work around bugs in pre-3.0 UWIN ksh.
5570$as_unset ENV MAIL MAILPATH
5571PS1='$ '
5572PS2='> '
5573PS4='+ '
5574
5575# NLS nuisances.
5576for as_var in \
5577 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5578 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5579 LC_TELEPHONE LC_TIME
5580do
David McGrewfec49dd2005-09-23 19:34:11 +00005581 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
Cullen Jennings235513a2005-09-21 22:51:36 +00005582 eval $as_var=C; export $as_var
5583 else
5584 $as_unset $as_var
5585 fi
5586done
5587
5588# Required to use basename.
5589if expr a : '\(a\)' >/dev/null 2>&1; then
5590 as_expr=expr
5591else
5592 as_expr=false
5593fi
5594
5595if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5596 as_basename=basename
5597else
5598 as_basename=false
5599fi
5600
5601
5602# Name of the executable.
5603as_me=`$as_basename "$0" ||
5604$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5605 X"$0" : 'X\(//\)$' \| \
5606 X"$0" : 'X\(/\)$' \| \
5607 . : '\(.\)' 2>/dev/null ||
5608echo X/"$0" |
5609 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5610 /^X\/\(\/\/\)$/{ s//\1/; q; }
5611 /^X\/\(\/\).*/{ s//\1/; q; }
5612 s/.*/./; q'`
5613
5614
5615# PATH needs CR, and LINENO needs CR and PATH.
5616# Avoid depending upon Character Ranges.
5617as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5618as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5619as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5620as_cr_digits='0123456789'
5621as_cr_alnum=$as_cr_Letters$as_cr_digits
5622
5623# The user is always right.
5624if test "${PATH_SEPARATOR+set}" != set; then
5625 echo "#! /bin/sh" >conf$$.sh
5626 echo "exit 0" >>conf$$.sh
5627 chmod +x conf$$.sh
5628 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5629 PATH_SEPARATOR=';'
5630 else
5631 PATH_SEPARATOR=:
5632 fi
5633 rm -f conf$$.sh
5634fi
5635
5636
5637 as_lineno_1=$LINENO
5638 as_lineno_2=$LINENO
5639 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5640 test "x$as_lineno_1" != "x$as_lineno_2" &&
5641 test "x$as_lineno_3" = "x$as_lineno_2" || {
5642 # Find who we are. Look in the path if we contain no path at all
5643 # relative or not.
5644 case $0 in
5645 *[\\/]* ) as_myself=$0 ;;
5646 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647for as_dir in $PATH
5648do
5649 IFS=$as_save_IFS
5650 test -z "$as_dir" && as_dir=.
5651 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5652done
5653
5654 ;;
5655 esac
5656 # We did not find ourselves, most probably we were run as `sh COMMAND'
5657 # in which case we are not to be found in the path.
5658 if test "x$as_myself" = x; then
5659 as_myself=$0
5660 fi
5661 if test ! -f "$as_myself"; then
5662 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5663echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5664 { (exit 1); exit 1; }; }
5665 fi
5666 case $CONFIG_SHELL in
5667 '')
5668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5669for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5670do
5671 IFS=$as_save_IFS
5672 test -z "$as_dir" && as_dir=.
5673 for as_base in sh bash ksh sh5; do
5674 case $as_dir in
5675 /*)
5676 if ("$as_dir/$as_base" -c '
5677 as_lineno_1=$LINENO
5678 as_lineno_2=$LINENO
5679 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5680 test "x$as_lineno_1" != "x$as_lineno_2" &&
5681 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5682 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5683 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5684 CONFIG_SHELL=$as_dir/$as_base
5685 export CONFIG_SHELL
5686 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5687 fi;;
5688 esac
5689 done
5690done
5691;;
5692 esac
5693
5694 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5695 # uniformly replaced by the line number. The first 'sed' inserts a
5696 # line-number line before each line; the second 'sed' does the real
5697 # work. The second script uses 'N' to pair each line-number line
5698 # with the numbered line, and appends trailing '-' during
5699 # substitution so that $LINENO is not a special case at line end.
5700 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5701 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5702 sed '=' <$as_myself |
5703 sed '
5704 N
5705 s,$,-,
5706 : loop
5707 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5708 t loop
5709 s,-$,,
5710 s,^['$as_cr_digits']*\n,,
5711 ' >$as_me.lineno &&
5712 chmod +x $as_me.lineno ||
5713 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5714echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5715 { (exit 1); exit 1; }; }
5716
5717 # Don't try to exec as it changes $[0], causing all sort of problems
5718 # (the dirname of $[0] is not the place where we might find the
5719 # original and so on. Autoconf is especially sensible to this).
5720 . ./$as_me.lineno
5721 # Exit status is that of the last command.
5722 exit
5723}
5724
5725
5726case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5727 *c*,-n*) ECHO_N= ECHO_C='
5728' ECHO_T=' ' ;;
5729 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5730 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5731esac
5732
5733if expr a : '\(a\)' >/dev/null 2>&1; then
5734 as_expr=expr
5735else
5736 as_expr=false
5737fi
5738
5739rm -f conf$$ conf$$.exe conf$$.file
5740echo >conf$$.file
5741if ln -s conf$$.file conf$$ 2>/dev/null; then
5742 # We could just check for DJGPP; but this test a) works b) is more generic
5743 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5744 if test -f conf$$.exe; then
5745 # Don't use ln at all; we don't have any links
5746 as_ln_s='cp -p'
5747 else
5748 as_ln_s='ln -s'
5749 fi
5750elif ln conf$$.file conf$$ 2>/dev/null; then
5751 as_ln_s=ln
5752else
5753 as_ln_s='cp -p'
5754fi
5755rm -f conf$$ conf$$.exe conf$$.file
5756
5757if mkdir -p . 2>/dev/null; then
5758 as_mkdir_p=:
5759else
David McGrewfec49dd2005-09-23 19:34:11 +00005760 test -d ./-p && rmdir ./-p
Cullen Jennings235513a2005-09-21 22:51:36 +00005761 as_mkdir_p=false
5762fi
5763
5764as_executable_p="test -f"
5765
5766# Sed expression to map a string onto a valid CPP name.
David McGrewfec49dd2005-09-23 19:34:11 +00005767as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Cullen Jennings235513a2005-09-21 22:51:36 +00005768
5769# Sed expression to map a string onto a valid variable name.
David McGrewfec49dd2005-09-23 19:34:11 +00005770as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
Cullen Jennings235513a2005-09-21 22:51:36 +00005771
5772
5773# IFS
5774# We need space, tab and new line, in precisely that order.
5775as_nl='
5776'
5777IFS=" $as_nl"
5778
5779# CDPATH.
5780$as_unset CDPATH
5781
5782exec 6>&1
5783
5784# Open the log real soon, to keep \$[0] and so on meaningful, and to
5785# report actual input values of CONFIG_FILES etc. instead of their
5786# values after options handling. Logging --version etc. is OK.
5787exec 5>>config.log
5788{
5789 echo
5790 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5791## Running $as_me. ##
5792_ASBOX
5793} >&5
5794cat >&5 <<_CSEOF
5795
5796This file was extended by $as_me, which was
David McGrewfec49dd2005-09-23 19:34:11 +00005797generated by GNU Autoconf 2.59. Invocation command line was
Cullen Jennings235513a2005-09-21 22:51:36 +00005798
5799 CONFIG_FILES = $CONFIG_FILES
5800 CONFIG_HEADERS = $CONFIG_HEADERS
5801 CONFIG_LINKS = $CONFIG_LINKS
5802 CONFIG_COMMANDS = $CONFIG_COMMANDS
5803 $ $0 $@
5804
5805_CSEOF
5806echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5807echo >&5
5808_ACEOF
5809
5810# Files that config.status was made for.
5811if test -n "$ac_config_files"; then
5812 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5813fi
5814
5815if test -n "$ac_config_headers"; then
5816 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5817fi
5818
5819if test -n "$ac_config_links"; then
5820 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5821fi
5822
5823if test -n "$ac_config_commands"; then
5824 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5825fi
5826
5827cat >>$CONFIG_STATUS <<\_ACEOF
5828
5829ac_cs_usage="\
5830\`$as_me' instantiates files from templates according to the
5831current configuration.
5832
5833Usage: $0 [OPTIONS] [FILE]...
5834
5835 -h, --help print this help, then exit
5836 -V, --version print version number, then exit
5837 -q, --quiet do not print progress messages
5838 -d, --debug don't remove temporary files
5839 --recheck update $as_me by reconfiguring in the same conditions
5840 --file=FILE[:TEMPLATE]
David McGrewfec49dd2005-09-23 19:34:11 +00005841 instantiate the configuration file FILE
Cullen Jennings235513a2005-09-21 22:51:36 +00005842 --header=FILE[:TEMPLATE]
David McGrewfec49dd2005-09-23 19:34:11 +00005843 instantiate the configuration header FILE
Cullen Jennings235513a2005-09-21 22:51:36 +00005844
5845Configuration files:
5846$config_files
5847
5848Configuration headers:
5849$config_headers
5850
5851Report bugs to <bug-autoconf@gnu.org>."
5852_ACEOF
5853
5854cat >>$CONFIG_STATUS <<_ACEOF
5855ac_cs_version="\\
5856config.status
David McGrewfec49dd2005-09-23 19:34:11 +00005857configured by $0, generated by GNU Autoconf 2.59,
Cullen Jennings235513a2005-09-21 22:51:36 +00005858 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5859
David McGrewfec49dd2005-09-23 19:34:11 +00005860Copyright (C) 2003 Free Software Foundation, Inc.
Cullen Jennings235513a2005-09-21 22:51:36 +00005861This config.status script is free software; the Free Software Foundation
5862gives unlimited permission to copy, distribute and modify it."
5863srcdir=$srcdir
5864_ACEOF
5865
5866cat >>$CONFIG_STATUS <<\_ACEOF
5867# If no file are specified by the user, then we need to provide default
5868# value. By we need to know if files were specified by the user.
5869ac_need_defaults=:
5870while test $# != 0
5871do
5872 case $1 in
5873 --*=*)
5874 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5875 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5876 ac_shift=:
5877 ;;
5878 -*)
5879 ac_option=$1
5880 ac_optarg=$2
5881 ac_shift=shift
5882 ;;
5883 *) # This is not an option, so the user has probably given explicit
5884 # arguments.
5885 ac_option=$1
5886 ac_need_defaults=false;;
5887 esac
5888
5889 case $ac_option in
5890 # Handling of the options.
5891_ACEOF
5892cat >>$CONFIG_STATUS <<\_ACEOF
5893 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5894 ac_cs_recheck=: ;;
5895 --version | --vers* | -V )
5896 echo "$ac_cs_version"; exit 0 ;;
5897 --he | --h)
5898 # Conflict between --help and --header
5899 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5900Try \`$0 --help' for more information." >&5
5901echo "$as_me: error: ambiguous option: $1
5902Try \`$0 --help' for more information." >&2;}
5903 { (exit 1); exit 1; }; };;
5904 --help | --hel | -h )
5905 echo "$ac_cs_usage"; exit 0 ;;
5906 --debug | --d* | -d )
5907 debug=: ;;
5908 --file | --fil | --fi | --f )
5909 $ac_shift
5910 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5911 ac_need_defaults=false;;
5912 --header | --heade | --head | --hea )
5913 $ac_shift
5914 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5915 ac_need_defaults=false;;
5916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5917 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5918 ac_cs_silent=: ;;
5919
5920 # This is an error.
5921 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5922Try \`$0 --help' for more information." >&5
5923echo "$as_me: error: unrecognized option: $1
5924Try \`$0 --help' for more information." >&2;}
5925 { (exit 1); exit 1; }; } ;;
5926
5927 *) ac_config_targets="$ac_config_targets $1" ;;
5928
5929 esac
5930 shift
5931done
5932
5933ac_configure_extra_args=
5934
5935if $ac_cs_silent; then
5936 exec 6>/dev/null
5937 ac_configure_extra_args="$ac_configure_extra_args --silent"
5938fi
5939
5940_ACEOF
5941cat >>$CONFIG_STATUS <<_ACEOF
5942if \$ac_cs_recheck; then
5943 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5944 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5945fi
5946
5947_ACEOF
5948
5949
5950
5951
5952
5953cat >>$CONFIG_STATUS <<\_ACEOF
5954for ac_config_target in $ac_config_targets
5955do
5956 case "$ac_config_target" in
5957 # Handling of arguments.
5958 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
David McGrewfec49dd2005-09-23 19:34:11 +00005959 "crypto/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00005960 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5961echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5962 { (exit 1); exit 1; }; };;
5963 esac
5964done
5965
5966# If the user did not use the arguments to specify the items to instantiate,
5967# then the envvar interface is used. Set only those that are not.
5968# We use the long form for the default assignment because of an extremely
5969# bizarre bug on SunOS 4.1.3.
5970if $ac_need_defaults; then
5971 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5972 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5973fi
5974
5975# Have a temporary directory for convenience. Make it in the build tree
5976# simply because there is no reason to put it here, and in addition,
5977# creating and moving files from /tmp can sometimes cause problems.
5978# Create a temporary directory, and hook for its removal unless debugging.
5979$debug ||
5980{
5981 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5982 trap '{ (exit 1); exit 1; }' 1 2 13 15
5983}
5984
5985# Create a (secure) tmp directory for tmp files.
5986
5987{
5988 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5989 test -n "$tmp" && test -d "$tmp"
5990} ||
5991{
5992 tmp=./confstat$$-$RANDOM
5993 (umask 077 && mkdir $tmp)
5994} ||
5995{
5996 echo "$me: cannot create a temporary directory in ." >&2
5997 { (exit 1); exit 1; }
5998}
5999
6000_ACEOF
6001
6002cat >>$CONFIG_STATUS <<_ACEOF
6003
6004#
6005# CONFIG_FILES section.
6006#
6007
6008# No need to generate the scripts if there are no CONFIG_FILES.
6009# This happens for instance when ./config.status config.h
6010if test -n "\$CONFIG_FILES"; then
6011 # Protect against being on the right side of a sed subst in config.status.
6012 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6013 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6014s,@SHELL@,$SHELL,;t t
6015s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6016s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6017s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6018s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6019s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6020s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6021s,@exec_prefix@,$exec_prefix,;t t
6022s,@prefix@,$prefix,;t t
6023s,@program_transform_name@,$program_transform_name,;t t
6024s,@bindir@,$bindir,;t t
6025s,@sbindir@,$sbindir,;t t
6026s,@libexecdir@,$libexecdir,;t t
6027s,@datadir@,$datadir,;t t
6028s,@sysconfdir@,$sysconfdir,;t t
6029s,@sharedstatedir@,$sharedstatedir,;t t
6030s,@localstatedir@,$localstatedir,;t t
6031s,@libdir@,$libdir,;t t
6032s,@includedir@,$includedir,;t t
6033s,@oldincludedir@,$oldincludedir,;t t
6034s,@infodir@,$infodir,;t t
6035s,@mandir@,$mandir,;t t
6036s,@build_alias@,$build_alias,;t t
6037s,@host_alias@,$host_alias,;t t
6038s,@target_alias@,$target_alias,;t t
6039s,@DEFS@,$DEFS,;t t
6040s,@ECHO_C@,$ECHO_C,;t t
6041s,@ECHO_N@,$ECHO_N,;t t
6042s,@ECHO_T@,$ECHO_T,;t t
6043s,@LIBS@,$LIBS,;t t
6044s,@RANLIB@,$RANLIB,;t t
6045s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6046s,@CC@,$CC,;t t
6047s,@CFLAGS@,$CFLAGS,;t t
6048s,@LDFLAGS@,$LDFLAGS,;t t
6049s,@CPPFLAGS@,$CPPFLAGS,;t t
6050s,@ac_ct_CC@,$ac_ct_CC,;t t
6051s,@EXEEXT@,$EXEEXT,;t t
6052s,@OBJEXT@,$OBJEXT,;t t
6053s,@RNG_OBJS@,$RNG_OBJS,;t t
6054s,@CPP@,$CPP,;t t
6055s,@EGREP@,$EGREP,;t t
6056s,@LIBOBJS@,$LIBOBJS,;t t
6057s,@build@,$build,;t t
6058s,@build_cpu@,$build_cpu,;t t
6059s,@build_vendor@,$build_vendor,;t t
6060s,@build_os@,$build_os,;t t
6061s,@host@,$host,;t t
6062s,@host_cpu@,$host_cpu,;t t
6063s,@host_vendor@,$host_vendor,;t t
6064s,@host_os@,$host_os,;t t
6065s,@EXE@,$EXE,;t t
6066s,@GDOI_OBJS@,$GDOI_OBJS,;t t
6067s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6068CEOF
6069
6070_ACEOF
6071
6072 cat >>$CONFIG_STATUS <<\_ACEOF
6073 # Split the substitutions into bite-sized pieces for seds with
6074 # small command number limits, like on Digital OSF/1 and HP-UX.
6075 ac_max_sed_lines=48
6076 ac_sed_frag=1 # Number of current file.
6077 ac_beg=1 # First line for current file.
6078 ac_end=$ac_max_sed_lines # Line after last line for current file.
6079 ac_more_lines=:
6080 ac_sed_cmds=
6081 while $ac_more_lines; do
6082 if test $ac_beg -gt 1; then
6083 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6084 else
6085 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6086 fi
6087 if test ! -s $tmp/subs.frag; then
6088 ac_more_lines=false
6089 else
6090 # The purpose of the label and of the branching condition is to
6091 # speed up the sed processing (if there are no `@' at all, there
6092 # is no need to browse any of the substitutions).
6093 # These are the two extra sed commands mentioned above.
6094 (echo ':t
6095 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6096 if test -z "$ac_sed_cmds"; then
David McGrewfec49dd2005-09-23 19:34:11 +00006097 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
Cullen Jennings235513a2005-09-21 22:51:36 +00006098 else
David McGrewfec49dd2005-09-23 19:34:11 +00006099 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
Cullen Jennings235513a2005-09-21 22:51:36 +00006100 fi
6101 ac_sed_frag=`expr $ac_sed_frag + 1`
6102 ac_beg=$ac_end
6103 ac_end=`expr $ac_end + $ac_max_sed_lines`
6104 fi
6105 done
6106 if test -z "$ac_sed_cmds"; then
6107 ac_sed_cmds=cat
6108 fi
6109fi # test -n "$CONFIG_FILES"
6110
6111_ACEOF
6112cat >>$CONFIG_STATUS <<\_ACEOF
6113for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6114 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6115 case $ac_file in
6116 - | *:- | *:-:* ) # input from stdin
David McGrewfec49dd2005-09-23 19:34:11 +00006117 cat >$tmp/stdin
6118 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6119 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006120 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
David McGrewfec49dd2005-09-23 19:34:11 +00006121 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006122 * ) ac_file_in=$ac_file.in ;;
6123 esac
6124
6125 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6126 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6127$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006128 X"$ac_file" : 'X\(//\)[^/]' \| \
6129 X"$ac_file" : 'X\(//\)$' \| \
6130 X"$ac_file" : 'X\(/\)' \| \
6131 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006132echo X"$ac_file" |
6133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6135 /^X\(\/\/\)$/{ s//\1/; q; }
6136 /^X\(\/\).*/{ s//\1/; q; }
6137 s/.*/./; q'`
6138 { if $as_mkdir_p; then
6139 mkdir -p "$ac_dir"
6140 else
6141 as_dir="$ac_dir"
6142 as_dirs=
6143 while test ! -d "$as_dir"; do
6144 as_dirs="$as_dir $as_dirs"
6145 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6146$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006147 X"$as_dir" : 'X\(//\)[^/]' \| \
6148 X"$as_dir" : 'X\(//\)$' \| \
6149 X"$as_dir" : 'X\(/\)' \| \
6150 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006151echo X"$as_dir" |
6152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6153 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6154 /^X\(\/\/\)$/{ s//\1/; q; }
6155 /^X\(\/\).*/{ s//\1/; q; }
6156 s/.*/./; q'`
6157 done
6158 test ! -n "$as_dirs" || mkdir $as_dirs
6159 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6160echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6161 { (exit 1); exit 1; }; }; }
6162
6163 ac_builddir=.
6164
6165if test "$ac_dir" != .; then
6166 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6167 # A "../" for each directory in $ac_dir_suffix.
6168 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6169else
6170 ac_dir_suffix= ac_top_builddir=
6171fi
6172
6173case $srcdir in
6174 .) # No --srcdir option. We are building in place.
6175 ac_srcdir=.
6176 if test -z "$ac_top_builddir"; then
6177 ac_top_srcdir=.
6178 else
6179 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6180 fi ;;
6181 [\\/]* | ?:[\\/]* ) # Absolute path.
6182 ac_srcdir=$srcdir$ac_dir_suffix;
6183 ac_top_srcdir=$srcdir ;;
6184 *) # Relative path.
6185 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6186 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6187esac
David McGrewfec49dd2005-09-23 19:34:11 +00006188
6189# Do not use `cd foo && pwd` to compute absolute paths, because
6190# the directories may not exist.
6191case `pwd` in
6192.) ac_abs_builddir="$ac_dir";;
6193*)
6194 case "$ac_dir" in
6195 .) ac_abs_builddir=`pwd`;;
6196 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6197 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6198 esac;;
6199esac
6200case $ac_abs_builddir in
6201.) ac_abs_top_builddir=${ac_top_builddir}.;;
6202*)
6203 case ${ac_top_builddir}. in
6204 .) ac_abs_top_builddir=$ac_abs_builddir;;
6205 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6206 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6207 esac;;
6208esac
6209case $ac_abs_builddir in
6210.) ac_abs_srcdir=$ac_srcdir;;
6211*)
6212 case $ac_srcdir in
6213 .) ac_abs_srcdir=$ac_abs_builddir;;
6214 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6215 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6216 esac;;
6217esac
6218case $ac_abs_builddir in
6219.) ac_abs_top_srcdir=$ac_top_srcdir;;
6220*)
6221 case $ac_top_srcdir in
6222 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6223 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6224 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6225 esac;;
6226esac
Cullen Jennings235513a2005-09-21 22:51:36 +00006227
6228
6229
6230 if test x"$ac_file" != x-; then
6231 { echo "$as_me:$LINENO: creating $ac_file" >&5
6232echo "$as_me: creating $ac_file" >&6;}
6233 rm -f "$ac_file"
6234 fi
6235 # Let's still pretend it is `configure' which instantiates (i.e., don't
6236 # use $as_me), people would be surprised to read:
6237 # /* config.h. Generated by config.status. */
6238 if test x"$ac_file" = x-; then
6239 configure_input=
6240 else
6241 configure_input="$ac_file. "
6242 fi
6243 configure_input=$configure_input"Generated from `echo $ac_file_in |
David McGrewfec49dd2005-09-23 19:34:11 +00006244 sed 's,.*/,,'` by configure."
Cullen Jennings235513a2005-09-21 22:51:36 +00006245
6246 # First look for the input files in the build tree, otherwise in the
6247 # src tree.
6248 ac_file_inputs=`IFS=:
6249 for f in $ac_file_in; do
6250 case $f in
6251 -) echo $tmp/stdin ;;
6252 [\\/$]*)
David McGrewfec49dd2005-09-23 19:34:11 +00006253 # Absolute (can't be DOS-style, as IFS=:)
6254 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006255echo "$as_me: error: cannot find input file: $f" >&2;}
6256 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006257 echo "$f";;
Cullen Jennings235513a2005-09-21 22:51:36 +00006258 *) # Relative
David McGrewfec49dd2005-09-23 19:34:11 +00006259 if test -f "$f"; then
6260 # Build tree
6261 echo "$f"
6262 elif test -f "$srcdir/$f"; then
6263 # Source tree
6264 echo "$srcdir/$f"
6265 else
6266 # /dev/null tree
6267 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006268echo "$as_me: error: cannot find input file: $f" >&2;}
6269 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006270 fi;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006271 esac
6272 done` || { (exit 1); exit 1; }
6273_ACEOF
6274cat >>$CONFIG_STATUS <<_ACEOF
6275 sed "$ac_vpsub
6276$extrasub
6277_ACEOF
6278cat >>$CONFIG_STATUS <<\_ACEOF
6279:t
6280/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6281s,@configure_input@,$configure_input,;t t
6282s,@srcdir@,$ac_srcdir,;t t
6283s,@abs_srcdir@,$ac_abs_srcdir,;t t
6284s,@top_srcdir@,$ac_top_srcdir,;t t
6285s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6286s,@builddir@,$ac_builddir,;t t
6287s,@abs_builddir@,$ac_abs_builddir,;t t
6288s,@top_builddir@,$ac_top_builddir,;t t
6289s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6290" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6291 rm -f $tmp/stdin
6292 if test x"$ac_file" != x-; then
6293 mv $tmp/out $ac_file
6294 else
6295 cat $tmp/out
6296 rm -f $tmp/out
6297 fi
6298
6299done
6300_ACEOF
6301cat >>$CONFIG_STATUS <<\_ACEOF
6302
6303#
6304# CONFIG_HEADER section.
6305#
6306
6307# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6308# NAME is the cpp macro being defined and VALUE is the value it is being given.
6309#
6310# ac_d sets the value in "#define NAME VALUE" lines.
David McGrewfec49dd2005-09-23 19:34:11 +00006311ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6312ac_dB='[ ].*$,\1#\2'
Cullen Jennings235513a2005-09-21 22:51:36 +00006313ac_dC=' '
6314ac_dD=',;t'
6315# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
David McGrewfec49dd2005-09-23 19:34:11 +00006316ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
Cullen Jennings235513a2005-09-21 22:51:36 +00006317ac_uB='$,\1#\2define\3'
6318ac_uC=' '
6319ac_uD=',;t'
6320
6321for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6322 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6323 case $ac_file in
6324 - | *:- | *:-:* ) # input from stdin
David McGrewfec49dd2005-09-23 19:34:11 +00006325 cat >$tmp/stdin
6326 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6327 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006328 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
David McGrewfec49dd2005-09-23 19:34:11 +00006329 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006330 * ) ac_file_in=$ac_file.in ;;
6331 esac
6332
6333 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6334echo "$as_me: creating $ac_file" >&6;}
6335
6336 # First look for the input files in the build tree, otherwise in the
6337 # src tree.
6338 ac_file_inputs=`IFS=:
6339 for f in $ac_file_in; do
6340 case $f in
6341 -) echo $tmp/stdin ;;
6342 [\\/$]*)
David McGrewfec49dd2005-09-23 19:34:11 +00006343 # Absolute (can't be DOS-style, as IFS=:)
6344 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006345echo "$as_me: error: cannot find input file: $f" >&2;}
6346 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006347 # Do quote $f, to prevent DOS paths from being IFS'd.
6348 echo "$f";;
Cullen Jennings235513a2005-09-21 22:51:36 +00006349 *) # Relative
David McGrewfec49dd2005-09-23 19:34:11 +00006350 if test -f "$f"; then
6351 # Build tree
6352 echo "$f"
6353 elif test -f "$srcdir/$f"; then
6354 # Source tree
6355 echo "$srcdir/$f"
6356 else
6357 # /dev/null tree
6358 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006359echo "$as_me: error: cannot find input file: $f" >&2;}
6360 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006361 fi;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006362 esac
6363 done` || { (exit 1); exit 1; }
6364 # Remove the trailing spaces.
David McGrewfec49dd2005-09-23 19:34:11 +00006365 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
Cullen Jennings235513a2005-09-21 22:51:36 +00006366
6367_ACEOF
6368
6369# Transform confdefs.h into two sed scripts, `conftest.defines' and
6370# `conftest.undefs', that substitutes the proper values into
6371# config.h.in to produce config.h. The first handles `#define'
6372# templates, and the second `#undef' templates.
6373# And first: Protect against being on the right side of a sed subst in
6374# config.status. Protect against being in an unquoted here document
6375# in config.status.
6376rm -f conftest.defines conftest.undefs
6377# Using a here document instead of a string reduces the quoting nightmare.
6378# Putting comments in sed scripts is not portable.
6379#
6380# `end' is used to avoid that the second main sed command (meant for
6381# 0-ary CPP macros) applies to n-ary macro definitions.
6382# See the Autoconf documentation for `clear'.
6383cat >confdef2sed.sed <<\_ACEOF
6384s/[\\&,]/\\&/g
6385s,[\\$`],\\&,g
6386t clear
6387: clear
David McGrewfec49dd2005-09-23 19:34:11 +00006388s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
Cullen Jennings235513a2005-09-21 22:51:36 +00006389t end
David McGrewfec49dd2005-09-23 19:34:11 +00006390s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
Cullen Jennings235513a2005-09-21 22:51:36 +00006391: end
6392_ACEOF
6393# If some macros were called several times there might be several times
6394# the same #defines, which is useless. Nevertheless, we may not want to
6395# sort them, since we want the *last* AC-DEFINE to be honored.
6396uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6397sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6398rm -f confdef2sed.sed
6399
6400# This sed command replaces #undef with comments. This is necessary, for
6401# example, in the case of _POSIX_SOURCE, which is predefined and required
6402# on some systems where configure will not decide to define it.
6403cat >>conftest.undefs <<\_ACEOF
David McGrewfec49dd2005-09-23 19:34:11 +00006404s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
Cullen Jennings235513a2005-09-21 22:51:36 +00006405_ACEOF
6406
6407# Break up conftest.defines because some shells have a limit on the size
6408# of here documents, and old seds have small limits too (100 cmds).
6409echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
David McGrewfec49dd2005-09-23 19:34:11 +00006410echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006411echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6412echo ' :' >>$CONFIG_STATUS
6413rm -f conftest.tail
6414while grep . conftest.defines >/dev/null
6415do
6416 # Write a limited-size here document to $tmp/defines.sed.
6417 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6418 # Speed up: don't consider the non `#define' lines.
David McGrewfec49dd2005-09-23 19:34:11 +00006419 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006420 # Work around the forget-to-reset-the-flag bug.
6421 echo 't clr' >>$CONFIG_STATUS
6422 echo ': clr' >>$CONFIG_STATUS
6423 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6424 echo 'CEOF
6425 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6426 rm -f $tmp/in
6427 mv $tmp/out $tmp/in
6428' >>$CONFIG_STATUS
6429 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6430 rm -f conftest.defines
6431 mv conftest.tail conftest.defines
6432done
6433rm -f conftest.defines
6434echo ' fi # grep' >>$CONFIG_STATUS
6435echo >>$CONFIG_STATUS
6436
6437# Break up conftest.undefs because some shells have a limit on the size
6438# of here documents, and old seds have small limits too (100 cmds).
6439echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6440rm -f conftest.tail
6441while grep . conftest.undefs >/dev/null
6442do
6443 # Write a limited-size here document to $tmp/undefs.sed.
6444 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6445 # Speed up: don't consider the non `#undef'
David McGrewfec49dd2005-09-23 19:34:11 +00006446 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006447 # Work around the forget-to-reset-the-flag bug.
6448 echo 't clr' >>$CONFIG_STATUS
6449 echo ': clr' >>$CONFIG_STATUS
6450 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6451 echo 'CEOF
6452 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6453 rm -f $tmp/in
6454 mv $tmp/out $tmp/in
6455' >>$CONFIG_STATUS
6456 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6457 rm -f conftest.undefs
6458 mv conftest.tail conftest.undefs
6459done
6460rm -f conftest.undefs
6461
6462cat >>$CONFIG_STATUS <<\_ACEOF
6463 # Let's still pretend it is `configure' which instantiates (i.e., don't
6464 # use $as_me), people would be surprised to read:
6465 # /* config.h. Generated by config.status. */
6466 if test x"$ac_file" = x-; then
6467 echo "/* Generated by configure. */" >$tmp/config.h
6468 else
6469 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6470 fi
6471 cat $tmp/in >>$tmp/config.h
6472 rm -f $tmp/in
6473 if test x"$ac_file" != x-; then
6474 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6475 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6476echo "$as_me: $ac_file is unchanged" >&6;}
6477 else
6478 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6479$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006480 X"$ac_file" : 'X\(//\)[^/]' \| \
6481 X"$ac_file" : 'X\(//\)$' \| \
6482 X"$ac_file" : 'X\(/\)' \| \
6483 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006484echo X"$ac_file" |
6485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6486 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6487 /^X\(\/\/\)$/{ s//\1/; q; }
6488 /^X\(\/\).*/{ s//\1/; q; }
6489 s/.*/./; q'`
6490 { if $as_mkdir_p; then
6491 mkdir -p "$ac_dir"
6492 else
6493 as_dir="$ac_dir"
6494 as_dirs=
6495 while test ! -d "$as_dir"; do
6496 as_dirs="$as_dir $as_dirs"
6497 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6498$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006499 X"$as_dir" : 'X\(//\)[^/]' \| \
6500 X"$as_dir" : 'X\(//\)$' \| \
6501 X"$as_dir" : 'X\(/\)' \| \
6502 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006503echo X"$as_dir" |
6504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6506 /^X\(\/\/\)$/{ s//\1/; q; }
6507 /^X\(\/\).*/{ s//\1/; q; }
6508 s/.*/./; q'`
6509 done
6510 test ! -n "$as_dirs" || mkdir $as_dirs
6511 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6512echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6513 { (exit 1); exit 1; }; }; }
6514
6515 rm -f $ac_file
6516 mv $tmp/config.h $ac_file
6517 fi
6518 else
6519 cat $tmp/config.h
6520 rm -f $tmp/config.h
6521 fi
6522done
6523_ACEOF
6524
6525cat >>$CONFIG_STATUS <<\_ACEOF
6526
6527{ (exit 0); exit 0; }
6528_ACEOF
6529chmod +x $CONFIG_STATUS
6530ac_clean_files=$ac_clean_files_save
6531
6532
6533# configure is writing to config.log, and then calls config.status.
6534# config.status does its own redirection, appending to config.log.
6535# Unfortunately, on DOS this fails, as config.log is still kept open
6536# by configure, so config.status won't be able to write to it; its
6537# output is simply discarded. So we exec the FD to /dev/null,
6538# effectively closing config.log, so it can be properly (re)opened and
6539# appended to by config.status. When coming back to configure, we
6540# need to make the FD available again.
6541if test "$no_create" != yes; then
6542 ac_cs_success=:
6543 ac_config_status_args=
6544 test "$silent" = yes &&
6545 ac_config_status_args="$ac_config_status_args --quiet"
6546 exec 5>/dev/null
6547 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6548 exec 5>>config.log
6549 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6550 # would make configure fail if this is the last instruction.
6551 $ac_cs_success || { (exit 1); exit 1; }
6552fi
6553
6554
6555