blob: 8ce95859516c2731abbd51b0c6ad2da0cbb01b69 [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
5299if test $host_cpu = x86; then
5300 echo "x86 cpu found" # should use inline assembly
5301fi
5302
5303case $host_cpu in
5304 i*86 )
5305 cat >>confdefs.h <<\_ACEOF
5306#define CPU_CISC 1
5307_ACEOF
5308;;
5309 * )
5310 cat >>confdefs.h <<\_ACEOF
5311#define CPU_RISC 1
5312_ACEOF
5313;;
5314esac
5315
5316
5317case $host_os in
5318 *cygwin* )
5319 cat >>confdefs.h <<\_ACEOF
5320#define HAVE_MS_TYPES 1
5321_ACEOF
5322
5323 EXE=.exe;;
5324 * ) EXE="";;
5325esac
5326
5327 # define executable suffix; this is needed for `make clean'
5328
5329# Check whether --enable-debug or --disable-debug was given.
5330if test "${enable_debug+set}" = set; then
5331 enableval="$enable_debug"
5332 USE_DEBUG=0
5333else
5334 USE_DEBUG=1
5335fi;
5336
5337if test $USE_DEBUG = 1; then
5338 cat >>confdefs.h <<\_ACEOF
5339#define ENABLE_DEBUGGING 1
5340_ACEOF
5341
5342fi
5343
5344# Check whether --enable-generic-aesicm or --disable-generic-aesicm was given.
5345if test "${enable_generic_aesicm+set}" = set; then
5346 enableval="$enable_generic_aesicm"
5347 GENERIC_AESICM=0
5348else
5349 GENERIC_AESICM=1
5350fi;
5351
5352if test $GENERIC_AESICM = 1; then
5353 cat >>confdefs.h <<\_ACEOF
5354#define GENERIC_AESICM 1
5355_ACEOF
5356
5357fi
5358
5359# Check whether --enable-syslog or --disable-syslog was given.
5360if test "${enable_syslog+set}" = set; then
5361 enableval="$enable_syslog"
5362 USE_SYSLOG=1
5363else
5364 USE_SYSLOG=0
5365fi;
5366
5367if test $USE_SYSLOG = 1; then
5368 cat >>confdefs.h <<\_ACEOF
5369#define USE_SYSLOG 1
5370_ACEOF
5371
5372fi
5373
5374# Check whether --enable-stdout or --disable-stdout was given.
5375if test "${enable_stdout+set}" = set; then
5376 enableval="$enable_stdout"
5377 ERR_STDOUT=0
5378else
5379 ERR_STDOUT=1
5380fi;
5381
5382if test $ERR_STDOUT = 1; then
5383 cat >>confdefs.h <<\_ACEOF
5384#define ERR_REPORTING_STDOUT 1
5385_ACEOF
5386
5387fi
5388
5389# Check whether --enable-console or --disable-console was given.
5390if test "${enable_console+set}" = set; then
5391 enableval="$enable_console"
5392 ERR_FILE=1
5393else
5394 ERR_FILE=0
5395fi;
5396
5397if test $ERR_FILE = 1; then
5398 cat >>confdefs.h <<\_ACEOF
5399#define ERR_REPORTING_FILE "/dev/console"
5400_ACEOF
5401
5402fi
5403# Check whether --enable-gdoi or --disable-gdoi was given.
5404if test "${enable_gdoi+set}" = set; then
5405 enableval="$enable_gdoi"
5406 GDOI=1
5407else
5408 GDOI=0
5409fi;
5410
5411if test $GDOI = 1; then
5412 echo "$as_me:$LINENO: checking for GDOI key management" >&5
5413echo $ECHO_N "checking for GDOI key management... $ECHO_C" >&6
5414 echo "$as_me:$LINENO: result: ?" >&5
5415echo "${ECHO_T}?" >&6
5416 cat >>confdefs.h <<\_ACEOF
5417#define SRTP_GDOI 1
5418_ACEOF
5419
5420 GDOI_OBJS=gdoi/srtp+gdoi.o
5421
5422fi
5423
David McGrewfec49dd2005-09-23 19:34:11 +00005424 ac_config_headers="$ac_config_headers crypto/include/config.h:config_in.h"
Cullen Jennings235513a2005-09-21 22:51:36 +00005425
5426
5427 ac_config_files="$ac_config_files Makefile"
5428cat >confcache <<\_ACEOF
5429# This file is a shell script that caches the results of configure
5430# tests run on this system so they can be shared between configure
5431# scripts and configure runs, see configure's option --config-cache.
5432# It is not useful on other systems. If it contains results you don't
5433# want to keep, you may remove or edit it.
5434#
5435# config.status only pays attention to the cache file if you give it
5436# the --recheck option to rerun configure.
5437#
5438# `ac_cv_env_foo' variables (set or unset) will be overridden when
5439# loading this file, other *unset* `ac_cv_foo' will be assigned the
5440# following values.
5441
5442_ACEOF
5443
5444# The following way of writing the cache mishandles newlines in values,
5445# but we know of no workaround that is simple, portable, and efficient.
5446# So, don't put newlines in cache variables' values.
5447# Ultrix sh set writes to stderr and can't be redirected directly,
5448# and sets the high bit in the cache file unless we assign to the vars.
5449{
5450 (set) 2>&1 |
5451 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5452 *ac_space=\ *)
5453 # `set' does not quote correctly, so add quotes (double-quote
5454 # substitution turns \\\\ into \\, and sed turns \\ into \).
5455 sed -n \
David McGrewfec49dd2005-09-23 19:34:11 +00005456 "s/'/'\\\\''/g;
5457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
Cullen Jennings235513a2005-09-21 22:51:36 +00005458 ;;
5459 *)
5460 # `set' quotes correctly as required by POSIX, so do not add quotes.
5461 sed -n \
David McGrewfec49dd2005-09-23 19:34:11 +00005462 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
Cullen Jennings235513a2005-09-21 22:51:36 +00005463 ;;
5464 esac;
5465} |
5466 sed '
5467 t clear
5468 : clear
5469 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5470 t end
5471 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5472 : end' >>confcache
5473if diff $cache_file confcache >/dev/null 2>&1; then :; else
5474 if test -w $cache_file; then
5475 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5476 cat confcache >$cache_file
5477 else
5478 echo "not updating unwritable cache $cache_file"
5479 fi
5480fi
5481rm -f confcache
5482
5483test "x$prefix" = xNONE && prefix=$ac_default_prefix
5484# Let make expand exec_prefix.
5485test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5486
5487# VPATH may cause trouble with some makes, so we remove $(srcdir),
5488# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5489# trailing colons and then remove the whole line if VPATH becomes empty
5490# (actually we leave an empty line to preserve line numbers).
5491if test "x$srcdir" = x.; then
David McGrewfec49dd2005-09-23 19:34:11 +00005492 ac_vpsub='/^[ ]*VPATH[ ]*=/{
Cullen Jennings235513a2005-09-21 22:51:36 +00005493s/:*\$(srcdir):*/:/;
5494s/:*\${srcdir}:*/:/;
5495s/:*@srcdir@:*/:/;
David McGrewfec49dd2005-09-23 19:34:11 +00005496s/^\([^=]*=[ ]*\):*/\1/;
Cullen Jennings235513a2005-09-21 22:51:36 +00005497s/:*$//;
David McGrewfec49dd2005-09-23 19:34:11 +00005498s/^[^=]*=[ ]*$//;
Cullen Jennings235513a2005-09-21 22:51:36 +00005499}'
5500fi
5501
5502DEFS=-DHAVE_CONFIG_H
5503
5504ac_libobjs=
5505ac_ltlibobjs=
5506for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5507 # 1. Remove the extension, and $U if already installed.
5508 ac_i=`echo "$ac_i" |
David McGrewfec49dd2005-09-23 19:34:11 +00005509 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
Cullen Jennings235513a2005-09-21 22:51:36 +00005510 # 2. Add them.
5511 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5512 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5513done
5514LIBOBJS=$ac_libobjs
5515
5516LTLIBOBJS=$ac_ltlibobjs
5517
5518
5519
5520: ${CONFIG_STATUS=./config.status}
5521ac_clean_files_save=$ac_clean_files
5522ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5523{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5524echo "$as_me: creating $CONFIG_STATUS" >&6;}
5525cat >$CONFIG_STATUS <<_ACEOF
5526#! $SHELL
5527# Generated by $as_me.
5528# Run this file to recreate the current configuration.
5529# Compiler output produced by configure, useful for debugging
5530# configure, is in config.log if it exists.
5531
5532debug=false
5533ac_cs_recheck=false
5534ac_cs_silent=false
5535SHELL=\${CONFIG_SHELL-$SHELL}
5536_ACEOF
5537
5538cat >>$CONFIG_STATUS <<\_ACEOF
5539## --------------------- ##
5540## M4sh Initialization. ##
5541## --------------------- ##
5542
5543# Be Bourne compatible
5544if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5545 emulate sh
5546 NULLCMD=:
5547 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5548 # is contrary to our usage. Disable this feature.
5549 alias -g '${1+"$@"}'='"$@"'
5550elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5551 set -o posix
5552fi
David McGrewfec49dd2005-09-23 19:34:11 +00005553DUALCASE=1; export DUALCASE # for MKS sh
Cullen Jennings235513a2005-09-21 22:51:36 +00005554
5555# Support unset when possible.
David McGrewfec49dd2005-09-23 19:34:11 +00005556if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
Cullen Jennings235513a2005-09-21 22:51:36 +00005557 as_unset=unset
5558else
5559 as_unset=false
5560fi
5561
5562
5563# Work around bugs in pre-3.0 UWIN ksh.
5564$as_unset ENV MAIL MAILPATH
5565PS1='$ '
5566PS2='> '
5567PS4='+ '
5568
5569# NLS nuisances.
5570for as_var in \
5571 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5572 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5573 LC_TELEPHONE LC_TIME
5574do
David McGrewfec49dd2005-09-23 19:34:11 +00005575 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
Cullen Jennings235513a2005-09-21 22:51:36 +00005576 eval $as_var=C; export $as_var
5577 else
5578 $as_unset $as_var
5579 fi
5580done
5581
5582# Required to use basename.
5583if expr a : '\(a\)' >/dev/null 2>&1; then
5584 as_expr=expr
5585else
5586 as_expr=false
5587fi
5588
5589if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5590 as_basename=basename
5591else
5592 as_basename=false
5593fi
5594
5595
5596# Name of the executable.
5597as_me=`$as_basename "$0" ||
5598$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5599 X"$0" : 'X\(//\)$' \| \
5600 X"$0" : 'X\(/\)$' \| \
5601 . : '\(.\)' 2>/dev/null ||
5602echo X/"$0" |
5603 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5604 /^X\/\(\/\/\)$/{ s//\1/; q; }
5605 /^X\/\(\/\).*/{ s//\1/; q; }
5606 s/.*/./; q'`
5607
5608
5609# PATH needs CR, and LINENO needs CR and PATH.
5610# Avoid depending upon Character Ranges.
5611as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5612as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5613as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5614as_cr_digits='0123456789'
5615as_cr_alnum=$as_cr_Letters$as_cr_digits
5616
5617# The user is always right.
5618if test "${PATH_SEPARATOR+set}" != set; then
5619 echo "#! /bin/sh" >conf$$.sh
5620 echo "exit 0" >>conf$$.sh
5621 chmod +x conf$$.sh
5622 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5623 PATH_SEPARATOR=';'
5624 else
5625 PATH_SEPARATOR=:
5626 fi
5627 rm -f conf$$.sh
5628fi
5629
5630
5631 as_lineno_1=$LINENO
5632 as_lineno_2=$LINENO
5633 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5634 test "x$as_lineno_1" != "x$as_lineno_2" &&
5635 test "x$as_lineno_3" = "x$as_lineno_2" || {
5636 # Find who we are. Look in the path if we contain no path at all
5637 # relative or not.
5638 case $0 in
5639 *[\\/]* ) as_myself=$0 ;;
5640 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641for as_dir in $PATH
5642do
5643 IFS=$as_save_IFS
5644 test -z "$as_dir" && as_dir=.
5645 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5646done
5647
5648 ;;
5649 esac
5650 # We did not find ourselves, most probably we were run as `sh COMMAND'
5651 # in which case we are not to be found in the path.
5652 if test "x$as_myself" = x; then
5653 as_myself=$0
5654 fi
5655 if test ! -f "$as_myself"; then
5656 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5657echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5658 { (exit 1); exit 1; }; }
5659 fi
5660 case $CONFIG_SHELL in
5661 '')
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5663for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5664do
5665 IFS=$as_save_IFS
5666 test -z "$as_dir" && as_dir=.
5667 for as_base in sh bash ksh sh5; do
5668 case $as_dir in
5669 /*)
5670 if ("$as_dir/$as_base" -c '
5671 as_lineno_1=$LINENO
5672 as_lineno_2=$LINENO
5673 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5674 test "x$as_lineno_1" != "x$as_lineno_2" &&
5675 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5676 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5677 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5678 CONFIG_SHELL=$as_dir/$as_base
5679 export CONFIG_SHELL
5680 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5681 fi;;
5682 esac
5683 done
5684done
5685;;
5686 esac
5687
5688 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5689 # uniformly replaced by the line number. The first 'sed' inserts a
5690 # line-number line before each line; the second 'sed' does the real
5691 # work. The second script uses 'N' to pair each line-number line
5692 # with the numbered line, and appends trailing '-' during
5693 # substitution so that $LINENO is not a special case at line end.
5694 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5695 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5696 sed '=' <$as_myself |
5697 sed '
5698 N
5699 s,$,-,
5700 : loop
5701 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5702 t loop
5703 s,-$,,
5704 s,^['$as_cr_digits']*\n,,
5705 ' >$as_me.lineno &&
5706 chmod +x $as_me.lineno ||
5707 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5708echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5709 { (exit 1); exit 1; }; }
5710
5711 # Don't try to exec as it changes $[0], causing all sort of problems
5712 # (the dirname of $[0] is not the place where we might find the
5713 # original and so on. Autoconf is especially sensible to this).
5714 . ./$as_me.lineno
5715 # Exit status is that of the last command.
5716 exit
5717}
5718
5719
5720case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5721 *c*,-n*) ECHO_N= ECHO_C='
5722' ECHO_T=' ' ;;
5723 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5724 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5725esac
5726
5727if expr a : '\(a\)' >/dev/null 2>&1; then
5728 as_expr=expr
5729else
5730 as_expr=false
5731fi
5732
5733rm -f conf$$ conf$$.exe conf$$.file
5734echo >conf$$.file
5735if ln -s conf$$.file conf$$ 2>/dev/null; then
5736 # We could just check for DJGPP; but this test a) works b) is more generic
5737 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5738 if test -f conf$$.exe; then
5739 # Don't use ln at all; we don't have any links
5740 as_ln_s='cp -p'
5741 else
5742 as_ln_s='ln -s'
5743 fi
5744elif ln conf$$.file conf$$ 2>/dev/null; then
5745 as_ln_s=ln
5746else
5747 as_ln_s='cp -p'
5748fi
5749rm -f conf$$ conf$$.exe conf$$.file
5750
5751if mkdir -p . 2>/dev/null; then
5752 as_mkdir_p=:
5753else
David McGrewfec49dd2005-09-23 19:34:11 +00005754 test -d ./-p && rmdir ./-p
Cullen Jennings235513a2005-09-21 22:51:36 +00005755 as_mkdir_p=false
5756fi
5757
5758as_executable_p="test -f"
5759
5760# Sed expression to map a string onto a valid CPP name.
David McGrewfec49dd2005-09-23 19:34:11 +00005761as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Cullen Jennings235513a2005-09-21 22:51:36 +00005762
5763# Sed expression to map a string onto a valid variable name.
David McGrewfec49dd2005-09-23 19:34:11 +00005764as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
Cullen Jennings235513a2005-09-21 22:51:36 +00005765
5766
5767# IFS
5768# We need space, tab and new line, in precisely that order.
5769as_nl='
5770'
5771IFS=" $as_nl"
5772
5773# CDPATH.
5774$as_unset CDPATH
5775
5776exec 6>&1
5777
5778# Open the log real soon, to keep \$[0] and so on meaningful, and to
5779# report actual input values of CONFIG_FILES etc. instead of their
5780# values after options handling. Logging --version etc. is OK.
5781exec 5>>config.log
5782{
5783 echo
5784 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5785## Running $as_me. ##
5786_ASBOX
5787} >&5
5788cat >&5 <<_CSEOF
5789
5790This file was extended by $as_me, which was
David McGrewfec49dd2005-09-23 19:34:11 +00005791generated by GNU Autoconf 2.59. Invocation command line was
Cullen Jennings235513a2005-09-21 22:51:36 +00005792
5793 CONFIG_FILES = $CONFIG_FILES
5794 CONFIG_HEADERS = $CONFIG_HEADERS
5795 CONFIG_LINKS = $CONFIG_LINKS
5796 CONFIG_COMMANDS = $CONFIG_COMMANDS
5797 $ $0 $@
5798
5799_CSEOF
5800echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5801echo >&5
5802_ACEOF
5803
5804# Files that config.status was made for.
5805if test -n "$ac_config_files"; then
5806 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5807fi
5808
5809if test -n "$ac_config_headers"; then
5810 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5811fi
5812
5813if test -n "$ac_config_links"; then
5814 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5815fi
5816
5817if test -n "$ac_config_commands"; then
5818 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5819fi
5820
5821cat >>$CONFIG_STATUS <<\_ACEOF
5822
5823ac_cs_usage="\
5824\`$as_me' instantiates files from templates according to the
5825current configuration.
5826
5827Usage: $0 [OPTIONS] [FILE]...
5828
5829 -h, --help print this help, then exit
5830 -V, --version print version number, then exit
5831 -q, --quiet do not print progress messages
5832 -d, --debug don't remove temporary files
5833 --recheck update $as_me by reconfiguring in the same conditions
5834 --file=FILE[:TEMPLATE]
David McGrewfec49dd2005-09-23 19:34:11 +00005835 instantiate the configuration file FILE
Cullen Jennings235513a2005-09-21 22:51:36 +00005836 --header=FILE[:TEMPLATE]
David McGrewfec49dd2005-09-23 19:34:11 +00005837 instantiate the configuration header FILE
Cullen Jennings235513a2005-09-21 22:51:36 +00005838
5839Configuration files:
5840$config_files
5841
5842Configuration headers:
5843$config_headers
5844
5845Report bugs to <bug-autoconf@gnu.org>."
5846_ACEOF
5847
5848cat >>$CONFIG_STATUS <<_ACEOF
5849ac_cs_version="\\
5850config.status
David McGrewfec49dd2005-09-23 19:34:11 +00005851configured by $0, generated by GNU Autoconf 2.59,
Cullen Jennings235513a2005-09-21 22:51:36 +00005852 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5853
David McGrewfec49dd2005-09-23 19:34:11 +00005854Copyright (C) 2003 Free Software Foundation, Inc.
Cullen Jennings235513a2005-09-21 22:51:36 +00005855This config.status script is free software; the Free Software Foundation
5856gives unlimited permission to copy, distribute and modify it."
5857srcdir=$srcdir
5858_ACEOF
5859
5860cat >>$CONFIG_STATUS <<\_ACEOF
5861# If no file are specified by the user, then we need to provide default
5862# value. By we need to know if files were specified by the user.
5863ac_need_defaults=:
5864while test $# != 0
5865do
5866 case $1 in
5867 --*=*)
5868 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5869 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5870 ac_shift=:
5871 ;;
5872 -*)
5873 ac_option=$1
5874 ac_optarg=$2
5875 ac_shift=shift
5876 ;;
5877 *) # This is not an option, so the user has probably given explicit
5878 # arguments.
5879 ac_option=$1
5880 ac_need_defaults=false;;
5881 esac
5882
5883 case $ac_option in
5884 # Handling of the options.
5885_ACEOF
5886cat >>$CONFIG_STATUS <<\_ACEOF
5887 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5888 ac_cs_recheck=: ;;
5889 --version | --vers* | -V )
5890 echo "$ac_cs_version"; exit 0 ;;
5891 --he | --h)
5892 # Conflict between --help and --header
5893 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5894Try \`$0 --help' for more information." >&5
5895echo "$as_me: error: ambiguous option: $1
5896Try \`$0 --help' for more information." >&2;}
5897 { (exit 1); exit 1; }; };;
5898 --help | --hel | -h )
5899 echo "$ac_cs_usage"; exit 0 ;;
5900 --debug | --d* | -d )
5901 debug=: ;;
5902 --file | --fil | --fi | --f )
5903 $ac_shift
5904 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5905 ac_need_defaults=false;;
5906 --header | --heade | --head | --hea )
5907 $ac_shift
5908 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5909 ac_need_defaults=false;;
5910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5911 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5912 ac_cs_silent=: ;;
5913
5914 # This is an error.
5915 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5916Try \`$0 --help' for more information." >&5
5917echo "$as_me: error: unrecognized option: $1
5918Try \`$0 --help' for more information." >&2;}
5919 { (exit 1); exit 1; }; } ;;
5920
5921 *) ac_config_targets="$ac_config_targets $1" ;;
5922
5923 esac
5924 shift
5925done
5926
5927ac_configure_extra_args=
5928
5929if $ac_cs_silent; then
5930 exec 6>/dev/null
5931 ac_configure_extra_args="$ac_configure_extra_args --silent"
5932fi
5933
5934_ACEOF
5935cat >>$CONFIG_STATUS <<_ACEOF
5936if \$ac_cs_recheck; then
5937 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5938 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5939fi
5940
5941_ACEOF
5942
5943
5944
5945
5946
5947cat >>$CONFIG_STATUS <<\_ACEOF
5948for ac_config_target in $ac_config_targets
5949do
5950 case "$ac_config_target" in
5951 # Handling of arguments.
5952 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
David McGrewfec49dd2005-09-23 19:34:11 +00005953 "crypto/include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS crypto/include/config.h:config_in.h" ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00005954 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5955echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5956 { (exit 1); exit 1; }; };;
5957 esac
5958done
5959
5960# If the user did not use the arguments to specify the items to instantiate,
5961# then the envvar interface is used. Set only those that are not.
5962# We use the long form for the default assignment because of an extremely
5963# bizarre bug on SunOS 4.1.3.
5964if $ac_need_defaults; then
5965 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5966 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5967fi
5968
5969# Have a temporary directory for convenience. Make it in the build tree
5970# simply because there is no reason to put it here, and in addition,
5971# creating and moving files from /tmp can sometimes cause problems.
5972# Create a temporary directory, and hook for its removal unless debugging.
5973$debug ||
5974{
5975 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5976 trap '{ (exit 1); exit 1; }' 1 2 13 15
5977}
5978
5979# Create a (secure) tmp directory for tmp files.
5980
5981{
5982 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5983 test -n "$tmp" && test -d "$tmp"
5984} ||
5985{
5986 tmp=./confstat$$-$RANDOM
5987 (umask 077 && mkdir $tmp)
5988} ||
5989{
5990 echo "$me: cannot create a temporary directory in ." >&2
5991 { (exit 1); exit 1; }
5992}
5993
5994_ACEOF
5995
5996cat >>$CONFIG_STATUS <<_ACEOF
5997
5998#
5999# CONFIG_FILES section.
6000#
6001
6002# No need to generate the scripts if there are no CONFIG_FILES.
6003# This happens for instance when ./config.status config.h
6004if test -n "\$CONFIG_FILES"; then
6005 # Protect against being on the right side of a sed subst in config.status.
6006 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6007 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6008s,@SHELL@,$SHELL,;t t
6009s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6010s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6011s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6012s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6013s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6014s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6015s,@exec_prefix@,$exec_prefix,;t t
6016s,@prefix@,$prefix,;t t
6017s,@program_transform_name@,$program_transform_name,;t t
6018s,@bindir@,$bindir,;t t
6019s,@sbindir@,$sbindir,;t t
6020s,@libexecdir@,$libexecdir,;t t
6021s,@datadir@,$datadir,;t t
6022s,@sysconfdir@,$sysconfdir,;t t
6023s,@sharedstatedir@,$sharedstatedir,;t t
6024s,@localstatedir@,$localstatedir,;t t
6025s,@libdir@,$libdir,;t t
6026s,@includedir@,$includedir,;t t
6027s,@oldincludedir@,$oldincludedir,;t t
6028s,@infodir@,$infodir,;t t
6029s,@mandir@,$mandir,;t t
6030s,@build_alias@,$build_alias,;t t
6031s,@host_alias@,$host_alias,;t t
6032s,@target_alias@,$target_alias,;t t
6033s,@DEFS@,$DEFS,;t t
6034s,@ECHO_C@,$ECHO_C,;t t
6035s,@ECHO_N@,$ECHO_N,;t t
6036s,@ECHO_T@,$ECHO_T,;t t
6037s,@LIBS@,$LIBS,;t t
6038s,@RANLIB@,$RANLIB,;t t
6039s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6040s,@CC@,$CC,;t t
6041s,@CFLAGS@,$CFLAGS,;t t
6042s,@LDFLAGS@,$LDFLAGS,;t t
6043s,@CPPFLAGS@,$CPPFLAGS,;t t
6044s,@ac_ct_CC@,$ac_ct_CC,;t t
6045s,@EXEEXT@,$EXEEXT,;t t
6046s,@OBJEXT@,$OBJEXT,;t t
6047s,@RNG_OBJS@,$RNG_OBJS,;t t
6048s,@CPP@,$CPP,;t t
6049s,@EGREP@,$EGREP,;t t
6050s,@LIBOBJS@,$LIBOBJS,;t t
6051s,@build@,$build,;t t
6052s,@build_cpu@,$build_cpu,;t t
6053s,@build_vendor@,$build_vendor,;t t
6054s,@build_os@,$build_os,;t t
6055s,@host@,$host,;t t
6056s,@host_cpu@,$host_cpu,;t t
6057s,@host_vendor@,$host_vendor,;t t
6058s,@host_os@,$host_os,;t t
6059s,@EXE@,$EXE,;t t
6060s,@GDOI_OBJS@,$GDOI_OBJS,;t t
6061s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6062CEOF
6063
6064_ACEOF
6065
6066 cat >>$CONFIG_STATUS <<\_ACEOF
6067 # Split the substitutions into bite-sized pieces for seds with
6068 # small command number limits, like on Digital OSF/1 and HP-UX.
6069 ac_max_sed_lines=48
6070 ac_sed_frag=1 # Number of current file.
6071 ac_beg=1 # First line for current file.
6072 ac_end=$ac_max_sed_lines # Line after last line for current file.
6073 ac_more_lines=:
6074 ac_sed_cmds=
6075 while $ac_more_lines; do
6076 if test $ac_beg -gt 1; then
6077 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6078 else
6079 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6080 fi
6081 if test ! -s $tmp/subs.frag; then
6082 ac_more_lines=false
6083 else
6084 # The purpose of the label and of the branching condition is to
6085 # speed up the sed processing (if there are no `@' at all, there
6086 # is no need to browse any of the substitutions).
6087 # These are the two extra sed commands mentioned above.
6088 (echo ':t
6089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6090 if test -z "$ac_sed_cmds"; then
David McGrewfec49dd2005-09-23 19:34:11 +00006091 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
Cullen Jennings235513a2005-09-21 22:51:36 +00006092 else
David McGrewfec49dd2005-09-23 19:34:11 +00006093 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
Cullen Jennings235513a2005-09-21 22:51:36 +00006094 fi
6095 ac_sed_frag=`expr $ac_sed_frag + 1`
6096 ac_beg=$ac_end
6097 ac_end=`expr $ac_end + $ac_max_sed_lines`
6098 fi
6099 done
6100 if test -z "$ac_sed_cmds"; then
6101 ac_sed_cmds=cat
6102 fi
6103fi # test -n "$CONFIG_FILES"
6104
6105_ACEOF
6106cat >>$CONFIG_STATUS <<\_ACEOF
6107for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6108 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6109 case $ac_file in
6110 - | *:- | *:-:* ) # input from stdin
David McGrewfec49dd2005-09-23 19:34:11 +00006111 cat >$tmp/stdin
6112 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6113 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006114 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
David McGrewfec49dd2005-09-23 19:34:11 +00006115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006116 * ) ac_file_in=$ac_file.in ;;
6117 esac
6118
6119 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6120 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6121$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006122 X"$ac_file" : 'X\(//\)[^/]' \| \
6123 X"$ac_file" : 'X\(//\)$' \| \
6124 X"$ac_file" : 'X\(/\)' \| \
6125 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006126echo X"$ac_file" |
6127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6129 /^X\(\/\/\)$/{ s//\1/; q; }
6130 /^X\(\/\).*/{ s//\1/; q; }
6131 s/.*/./; q'`
6132 { if $as_mkdir_p; then
6133 mkdir -p "$ac_dir"
6134 else
6135 as_dir="$ac_dir"
6136 as_dirs=
6137 while test ! -d "$as_dir"; do
6138 as_dirs="$as_dir $as_dirs"
6139 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6140$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006141 X"$as_dir" : 'X\(//\)[^/]' \| \
6142 X"$as_dir" : 'X\(//\)$' \| \
6143 X"$as_dir" : 'X\(/\)' \| \
6144 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006145echo X"$as_dir" |
6146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6147 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6148 /^X\(\/\/\)$/{ s//\1/; q; }
6149 /^X\(\/\).*/{ s//\1/; q; }
6150 s/.*/./; q'`
6151 done
6152 test ! -n "$as_dirs" || mkdir $as_dirs
6153 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6154echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6155 { (exit 1); exit 1; }; }; }
6156
6157 ac_builddir=.
6158
6159if test "$ac_dir" != .; then
6160 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6161 # A "../" for each directory in $ac_dir_suffix.
6162 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6163else
6164 ac_dir_suffix= ac_top_builddir=
6165fi
6166
6167case $srcdir in
6168 .) # No --srcdir option. We are building in place.
6169 ac_srcdir=.
6170 if test -z "$ac_top_builddir"; then
6171 ac_top_srcdir=.
6172 else
6173 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6174 fi ;;
6175 [\\/]* | ?:[\\/]* ) # Absolute path.
6176 ac_srcdir=$srcdir$ac_dir_suffix;
6177 ac_top_srcdir=$srcdir ;;
6178 *) # Relative path.
6179 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6180 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6181esac
David McGrewfec49dd2005-09-23 19:34:11 +00006182
6183# Do not use `cd foo && pwd` to compute absolute paths, because
6184# the directories may not exist.
6185case `pwd` in
6186.) ac_abs_builddir="$ac_dir";;
6187*)
6188 case "$ac_dir" in
6189 .) ac_abs_builddir=`pwd`;;
6190 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6191 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6192 esac;;
6193esac
6194case $ac_abs_builddir in
6195.) ac_abs_top_builddir=${ac_top_builddir}.;;
6196*)
6197 case ${ac_top_builddir}. in
6198 .) ac_abs_top_builddir=$ac_abs_builddir;;
6199 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6200 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6201 esac;;
6202esac
6203case $ac_abs_builddir in
6204.) ac_abs_srcdir=$ac_srcdir;;
6205*)
6206 case $ac_srcdir in
6207 .) ac_abs_srcdir=$ac_abs_builddir;;
6208 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6209 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6210 esac;;
6211esac
6212case $ac_abs_builddir in
6213.) ac_abs_top_srcdir=$ac_top_srcdir;;
6214*)
6215 case $ac_top_srcdir in
6216 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6217 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6218 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6219 esac;;
6220esac
Cullen Jennings235513a2005-09-21 22:51:36 +00006221
6222
6223
6224 if test x"$ac_file" != x-; then
6225 { echo "$as_me:$LINENO: creating $ac_file" >&5
6226echo "$as_me: creating $ac_file" >&6;}
6227 rm -f "$ac_file"
6228 fi
6229 # Let's still pretend it is `configure' which instantiates (i.e., don't
6230 # use $as_me), people would be surprised to read:
6231 # /* config.h. Generated by config.status. */
6232 if test x"$ac_file" = x-; then
6233 configure_input=
6234 else
6235 configure_input="$ac_file. "
6236 fi
6237 configure_input=$configure_input"Generated from `echo $ac_file_in |
David McGrewfec49dd2005-09-23 19:34:11 +00006238 sed 's,.*/,,'` by configure."
Cullen Jennings235513a2005-09-21 22:51:36 +00006239
6240 # First look for the input files in the build tree, otherwise in the
6241 # src tree.
6242 ac_file_inputs=`IFS=:
6243 for f in $ac_file_in; do
6244 case $f in
6245 -) echo $tmp/stdin ;;
6246 [\\/$]*)
David McGrewfec49dd2005-09-23 19:34:11 +00006247 # Absolute (can't be DOS-style, as IFS=:)
6248 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006249echo "$as_me: error: cannot find input file: $f" >&2;}
6250 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006251 echo "$f";;
Cullen Jennings235513a2005-09-21 22:51:36 +00006252 *) # Relative
David McGrewfec49dd2005-09-23 19:34:11 +00006253 if test -f "$f"; then
6254 # Build tree
6255 echo "$f"
6256 elif test -f "$srcdir/$f"; then
6257 # Source tree
6258 echo "$srcdir/$f"
6259 else
6260 # /dev/null tree
6261 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006262echo "$as_me: error: cannot find input file: $f" >&2;}
6263 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006264 fi;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006265 esac
6266 done` || { (exit 1); exit 1; }
6267_ACEOF
6268cat >>$CONFIG_STATUS <<_ACEOF
6269 sed "$ac_vpsub
6270$extrasub
6271_ACEOF
6272cat >>$CONFIG_STATUS <<\_ACEOF
6273:t
6274/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6275s,@configure_input@,$configure_input,;t t
6276s,@srcdir@,$ac_srcdir,;t t
6277s,@abs_srcdir@,$ac_abs_srcdir,;t t
6278s,@top_srcdir@,$ac_top_srcdir,;t t
6279s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6280s,@builddir@,$ac_builddir,;t t
6281s,@abs_builddir@,$ac_abs_builddir,;t t
6282s,@top_builddir@,$ac_top_builddir,;t t
6283s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6284" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6285 rm -f $tmp/stdin
6286 if test x"$ac_file" != x-; then
6287 mv $tmp/out $ac_file
6288 else
6289 cat $tmp/out
6290 rm -f $tmp/out
6291 fi
6292
6293done
6294_ACEOF
6295cat >>$CONFIG_STATUS <<\_ACEOF
6296
6297#
6298# CONFIG_HEADER section.
6299#
6300
6301# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6302# NAME is the cpp macro being defined and VALUE is the value it is being given.
6303#
6304# ac_d sets the value in "#define NAME VALUE" lines.
David McGrewfec49dd2005-09-23 19:34:11 +00006305ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6306ac_dB='[ ].*$,\1#\2'
Cullen Jennings235513a2005-09-21 22:51:36 +00006307ac_dC=' '
6308ac_dD=',;t'
6309# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
David McGrewfec49dd2005-09-23 19:34:11 +00006310ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
Cullen Jennings235513a2005-09-21 22:51:36 +00006311ac_uB='$,\1#\2define\3'
6312ac_uC=' '
6313ac_uD=',;t'
6314
6315for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6316 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6317 case $ac_file in
6318 - | *:- | *:-:* ) # input from stdin
David McGrewfec49dd2005-09-23 19:34:11 +00006319 cat >$tmp/stdin
6320 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6321 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006322 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
David McGrewfec49dd2005-09-23 19:34:11 +00006323 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006324 * ) ac_file_in=$ac_file.in ;;
6325 esac
6326
6327 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6328echo "$as_me: creating $ac_file" >&6;}
6329
6330 # First look for the input files in the build tree, otherwise in the
6331 # src tree.
6332 ac_file_inputs=`IFS=:
6333 for f in $ac_file_in; do
6334 case $f in
6335 -) echo $tmp/stdin ;;
6336 [\\/$]*)
David McGrewfec49dd2005-09-23 19:34:11 +00006337 # Absolute (can't be DOS-style, as IFS=:)
6338 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006339echo "$as_me: error: cannot find input file: $f" >&2;}
6340 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006341 # Do quote $f, to prevent DOS paths from being IFS'd.
6342 echo "$f";;
Cullen Jennings235513a2005-09-21 22:51:36 +00006343 *) # Relative
David McGrewfec49dd2005-09-23 19:34:11 +00006344 if test -f "$f"; then
6345 # Build tree
6346 echo "$f"
6347 elif test -f "$srcdir/$f"; then
6348 # Source tree
6349 echo "$srcdir/$f"
6350 else
6351 # /dev/null tree
6352 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
Cullen Jennings235513a2005-09-21 22:51:36 +00006353echo "$as_me: error: cannot find input file: $f" >&2;}
6354 { (exit 1); exit 1; }; }
David McGrewfec49dd2005-09-23 19:34:11 +00006355 fi;;
Cullen Jennings235513a2005-09-21 22:51:36 +00006356 esac
6357 done` || { (exit 1); exit 1; }
6358 # Remove the trailing spaces.
David McGrewfec49dd2005-09-23 19:34:11 +00006359 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
Cullen Jennings235513a2005-09-21 22:51:36 +00006360
6361_ACEOF
6362
6363# Transform confdefs.h into two sed scripts, `conftest.defines' and
6364# `conftest.undefs', that substitutes the proper values into
6365# config.h.in to produce config.h. The first handles `#define'
6366# templates, and the second `#undef' templates.
6367# And first: Protect against being on the right side of a sed subst in
6368# config.status. Protect against being in an unquoted here document
6369# in config.status.
6370rm -f conftest.defines conftest.undefs
6371# Using a here document instead of a string reduces the quoting nightmare.
6372# Putting comments in sed scripts is not portable.
6373#
6374# `end' is used to avoid that the second main sed command (meant for
6375# 0-ary CPP macros) applies to n-ary macro definitions.
6376# See the Autoconf documentation for `clear'.
6377cat >confdef2sed.sed <<\_ACEOF
6378s/[\\&,]/\\&/g
6379s,[\\$`],\\&,g
6380t clear
6381: clear
David McGrewfec49dd2005-09-23 19:34:11 +00006382s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
Cullen Jennings235513a2005-09-21 22:51:36 +00006383t end
David McGrewfec49dd2005-09-23 19:34:11 +00006384s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
Cullen Jennings235513a2005-09-21 22:51:36 +00006385: end
6386_ACEOF
6387# If some macros were called several times there might be several times
6388# the same #defines, which is useless. Nevertheless, we may not want to
6389# sort them, since we want the *last* AC-DEFINE to be honored.
6390uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6391sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6392rm -f confdef2sed.sed
6393
6394# This sed command replaces #undef with comments. This is necessary, for
6395# example, in the case of _POSIX_SOURCE, which is predefined and required
6396# on some systems where configure will not decide to define it.
6397cat >>conftest.undefs <<\_ACEOF
David McGrewfec49dd2005-09-23 19:34:11 +00006398s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
Cullen Jennings235513a2005-09-21 22:51:36 +00006399_ACEOF
6400
6401# Break up conftest.defines because some shells have a limit on the size
6402# of here documents, and old seds have small limits too (100 cmds).
6403echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
David McGrewfec49dd2005-09-23 19:34:11 +00006404echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006405echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6406echo ' :' >>$CONFIG_STATUS
6407rm -f conftest.tail
6408while grep . conftest.defines >/dev/null
6409do
6410 # Write a limited-size here document to $tmp/defines.sed.
6411 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6412 # Speed up: don't consider the non `#define' lines.
David McGrewfec49dd2005-09-23 19:34:11 +00006413 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006414 # Work around the forget-to-reset-the-flag bug.
6415 echo 't clr' >>$CONFIG_STATUS
6416 echo ': clr' >>$CONFIG_STATUS
6417 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6418 echo 'CEOF
6419 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6420 rm -f $tmp/in
6421 mv $tmp/out $tmp/in
6422' >>$CONFIG_STATUS
6423 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6424 rm -f conftest.defines
6425 mv conftest.tail conftest.defines
6426done
6427rm -f conftest.defines
6428echo ' fi # grep' >>$CONFIG_STATUS
6429echo >>$CONFIG_STATUS
6430
6431# Break up conftest.undefs because some shells have a limit on the size
6432# of here documents, and old seds have small limits too (100 cmds).
6433echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6434rm -f conftest.tail
6435while grep . conftest.undefs >/dev/null
6436do
6437 # Write a limited-size here document to $tmp/undefs.sed.
6438 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6439 # Speed up: don't consider the non `#undef'
David McGrewfec49dd2005-09-23 19:34:11 +00006440 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
Cullen Jennings235513a2005-09-21 22:51:36 +00006441 # Work around the forget-to-reset-the-flag bug.
6442 echo 't clr' >>$CONFIG_STATUS
6443 echo ': clr' >>$CONFIG_STATUS
6444 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6445 echo 'CEOF
6446 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6447 rm -f $tmp/in
6448 mv $tmp/out $tmp/in
6449' >>$CONFIG_STATUS
6450 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6451 rm -f conftest.undefs
6452 mv conftest.tail conftest.undefs
6453done
6454rm -f conftest.undefs
6455
6456cat >>$CONFIG_STATUS <<\_ACEOF
6457 # Let's still pretend it is `configure' which instantiates (i.e., don't
6458 # use $as_me), people would be surprised to read:
6459 # /* config.h. Generated by config.status. */
6460 if test x"$ac_file" = x-; then
6461 echo "/* Generated by configure. */" >$tmp/config.h
6462 else
6463 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6464 fi
6465 cat $tmp/in >>$tmp/config.h
6466 rm -f $tmp/in
6467 if test x"$ac_file" != x-; then
6468 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6469 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6470echo "$as_me: $ac_file is unchanged" >&6;}
6471 else
6472 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6473$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006474 X"$ac_file" : 'X\(//\)[^/]' \| \
6475 X"$ac_file" : 'X\(//\)$' \| \
6476 X"$ac_file" : 'X\(/\)' \| \
6477 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006478echo X"$ac_file" |
6479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6481 /^X\(\/\/\)$/{ s//\1/; q; }
6482 /^X\(\/\).*/{ s//\1/; q; }
6483 s/.*/./; q'`
6484 { if $as_mkdir_p; then
6485 mkdir -p "$ac_dir"
6486 else
6487 as_dir="$ac_dir"
6488 as_dirs=
6489 while test ! -d "$as_dir"; do
6490 as_dirs="$as_dir $as_dirs"
6491 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6492$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
David McGrewfec49dd2005-09-23 19:34:11 +00006493 X"$as_dir" : 'X\(//\)[^/]' \| \
6494 X"$as_dir" : 'X\(//\)$' \| \
6495 X"$as_dir" : 'X\(/\)' \| \
6496 . : '\(.\)' 2>/dev/null ||
Cullen Jennings235513a2005-09-21 22:51:36 +00006497echo X"$as_dir" |
6498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6499 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6500 /^X\(\/\/\)$/{ s//\1/; q; }
6501 /^X\(\/\).*/{ s//\1/; q; }
6502 s/.*/./; q'`
6503 done
6504 test ! -n "$as_dirs" || mkdir $as_dirs
6505 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6506echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6507 { (exit 1); exit 1; }; }; }
6508
6509 rm -f $ac_file
6510 mv $tmp/config.h $ac_file
6511 fi
6512 else
6513 cat $tmp/config.h
6514 rm -f $tmp/config.h
6515 fi
6516done
6517_ACEOF
6518
6519cat >>$CONFIG_STATUS <<\_ACEOF
6520
6521{ (exit 0); exit 0; }
6522_ACEOF
6523chmod +x $CONFIG_STATUS
6524ac_clean_files=$ac_clean_files_save
6525
6526
6527# configure is writing to config.log, and then calls config.status.
6528# config.status does its own redirection, appending to config.log.
6529# Unfortunately, on DOS this fails, as config.log is still kept open
6530# by configure, so config.status won't be able to write to it; its
6531# output is simply discarded. So we exec the FD to /dev/null,
6532# effectively closing config.log, so it can be properly (re)opened and
6533# appended to by config.status. When coming back to configure, we
6534# need to make the FD available again.
6535if test "$no_create" != yes; then
6536 ac_cs_success=:
6537 ac_config_status_args=
6538 test "$silent" = yes &&
6539 ac_config_status_args="$ac_config_status_args --quiet"
6540 exec 5>/dev/null
6541 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6542 exec 5>>config.log
6543 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6544 # would make configure fail if this is the last instruction.
6545 $ac_cs_success || { (exit 1); exit 1; }
6546fi
6547
6548
6549