blob: edd6829022eb573497f413db8a700889f7d3bba2 [file] [log] [blame]
Cullen Jennings235513a2005-09-21 22:51:36 +00001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.57.
4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15 emulate sh
16 NULLCMD=:
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21 set -o posix
22fi
23
24# Support unset when possible.
25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
26 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
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
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
221 as_mkdir_p=false
222fi
223
224as_executable_p="test -f"
225
226# Sed expression to map a string onto a valid CPP name.
227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
229# Sed expression to map a string onto a valid variable name.
230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
232
233# IFS
234# We need space, tab and new line, in precisely that order.
235as_nl='
236'
237IFS=" $as_nl"
238
239# CDPATH.
240$as_unset CDPATH
241
242
243# Name of the host.
244# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245# so uname gets run too.
246ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
247
248exec 6>&1
249
250#
251# Initializations.
252#
253ac_default_prefix=/usr/local
254ac_config_libobj_dir=.
255cross_compiling=no
256subdirs=
257MFLAGS=
258MAKEFLAGS=
259SHELL=${CONFIG_SHELL-/bin/sh}
260
261# Maximum number of lines to put in a shell here document.
262# This variable seems obsolete. It should probably be removed, and
263# only ac_max_sed_lines should be used.
264: ${ac_max_here_lines=38}
265
266# Identity of this package.
267PACKAGE_NAME=
268PACKAGE_TARNAME=
269PACKAGE_VERSION=
270PACKAGE_STRING=
271PACKAGE_BUGREPORT=
272
273ac_unique_file="srtp"
274# Factoring default headers for most tests.
275ac_includes_default="\
276#include <stdio.h>
277#if HAVE_SYS_TYPES_H
278# include <sys/types.h>
279#endif
280#if HAVE_SYS_STAT_H
281# include <sys/stat.h>
282#endif
283#if STDC_HEADERS
284# include <stdlib.h>
285# include <stddef.h>
286#else
287# if HAVE_STDLIB_H
288# include <stdlib.h>
289# endif
290#endif
291#if HAVE_STRING_H
292# if !STDC_HEADERS && HAVE_MEMORY_H
293# include <memory.h>
294# endif
295# include <string.h>
296#endif
297#if HAVE_STRINGS_H
298# include <strings.h>
299#endif
300#if HAVE_INTTYPES_H
301# include <inttypes.h>
302#else
303# if HAVE_STDINT_H
304# include <stdint.h>
305# endif
306#endif
307#if HAVE_UNISTD_H
308# include <unistd.h>
309#endif"
310
311ac_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'
312ac_subst_files=''
313
314# Initialize some variables set by options.
315ac_init_help=
316ac_init_version=false
317# The variables have the same names as the options, with
318# dashes changed to underlines.
319cache_file=/dev/null
320exec_prefix=NONE
321no_create=
322no_recursion=
323prefix=NONE
324program_prefix=NONE
325program_suffix=NONE
326program_transform_name=s,x,x,
327silent=
328site=
329srcdir=
330verbose=
331x_includes=NONE
332x_libraries=NONE
333
334# Installation directory options.
335# These are left unexpanded so users can "make install exec_prefix=/foo"
336# and all the variables that are supposed to be based on exec_prefix
337# by default will actually change.
338# Use braces instead of parens because sh, perl, etc. also accept them.
339bindir='${exec_prefix}/bin'
340sbindir='${exec_prefix}/sbin'
341libexecdir='${exec_prefix}/libexec'
342datadir='${prefix}/share'
343sysconfdir='${prefix}/etc'
344sharedstatedir='${prefix}/com'
345localstatedir='${prefix}/var'
346libdir='${exec_prefix}/lib'
347includedir='${prefix}/include'
348oldincludedir='/usr/include'
349infodir='${prefix}/info'
350mandir='${prefix}/man'
351
352ac_prev=
353for ac_option
354do
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
358 ac_prev=
359 continue
360 fi
361
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
363
364 # Accept the important Cygnus configure options, so we can diagnose typos.
365
366 case $ac_option in
367
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
369 ac_prev=bindir ;;
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
371 bindir=$ac_optarg ;;
372
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
377
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
384
385 --config-cache | -C)
386 cache_file=config.cache ;;
387
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389 ac_prev=datadir ;;
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391 | --da=*)
392 datadir=$ac_optarg ;;
393
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
402
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
410 case $ac_option in
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
412 *) ac_optarg=yes ;;
413 esac
414 eval "enable_$ac_feature='$ac_optarg'" ;;
415
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
424
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
427 with_gas=yes ;;
428
429 -help | --help | --hel | --he | -h)
430 ac_init_help=long ;;
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
435
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
440
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
447
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
449 ac_prev=infodir ;;
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
452
453 -libdir | --libdir | --libdi | --libd)
454 ac_prev=libdir ;;
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
456 libdir=$ac_optarg ;;
457
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
464
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
473
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475 ac_prev=mandir ;;
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
477 mandir=$ac_optarg ;;
478
479 -nfp | --nfp | --nf)
480 # Obsolete; use --without-fp.
481 with_fp=no ;;
482
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
485 no_create=yes ;;
486
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
489 no_recursion=yes ;;
490
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
499
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501 ac_prev=prefix ;;
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
503 prefix=$ac_optarg ;;
504
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
511
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
518
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
535
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
538 silent=yes ;;
539
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
541 ac_prev=sbindir ;;
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
543 | --sbi=* | --sb=*)
544 sbindir=$ac_optarg ;;
545
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
549 | --sha | --sh)
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
554 | --sha=* | --sh=*)
555 sharedstatedir=$ac_optarg ;;
556
557 -site | --site | --sit)
558 ac_prev=site ;;
559 -site=* | --site=* | --sit=*)
560 site=$ac_optarg ;;
561
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563 ac_prev=srcdir ;;
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
565 srcdir=$ac_optarg ;;
566
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
573
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
578
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
580 verbose=yes ;;
581
582 -version | --version | --versio | --versi | --vers | -V)
583 ac_init_version=: ;;
584
585 -with-* | --with-*)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
592 case $ac_option in
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
594 *) ac_optarg=yes ;;
595 esac
596 eval "with_$ac_package='$ac_optarg'" ;;
597
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
606
607 --x)
608 # Obsolete; use --with-x.
609 with_x=yes ;;
610
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
617
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
624
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
628 ;;
629
630 *=*)
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
638 export $ac_envvar ;;
639
640 *)
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
646 ;;
647
648 esac
649done
650
651if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
655fi
656
657# Be sure to have absolute paths.
658for ac_var in exec_prefix prefix
659do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666done
667
668# Be sure to have absolute paths.
669for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
671do
672 eval ac_val=$`echo $ac_var`
673 case $ac_val in
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
677 esac
678done
679
680# There might be people who depend on the old broken behavior: `$host'
681# used to hold the argument of --host etc.
682# FIXME: To remove some day.
683build=$build_alias
684host=$host_alias
685target=$target_alias
686
687# FIXME: To remove some day.
688if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
694 cross_compiling=yes
695 fi
696fi
697
698ac_tool_prefix=
699test -n "$host_alias" && ac_tool_prefix=$host_alias-
700
701test "$silent" = yes && exec 6>/dev/null
702
703
704# Find the source files, if location was not specified.
705if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
714echo X"$0" |
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
719 s/.*/./; q'`
720 srcdir=$ac_confdir
721 if test ! -r $srcdir/$ac_unique_file; then
722 srcdir=..
723 fi
724else
725 ac_srcdir_defaulted=no
726fi
727if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
731 else
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
734 fi
735fi
736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740ac_env_build_alias_set=${build_alias+set}
741ac_env_build_alias_value=$build_alias
742ac_cv_env_build_alias_set=${build_alias+set}
743ac_cv_env_build_alias_value=$build_alias
744ac_env_host_alias_set=${host_alias+set}
745ac_env_host_alias_value=$host_alias
746ac_cv_env_host_alias_set=${host_alias+set}
747ac_cv_env_host_alias_value=$host_alias
748ac_env_target_alias_set=${target_alias+set}
749ac_env_target_alias_value=$target_alias
750ac_cv_env_target_alias_set=${target_alias+set}
751ac_cv_env_target_alias_value=$target_alias
752ac_env_CC_set=${CC+set}
753ac_env_CC_value=$CC
754ac_cv_env_CC_set=${CC+set}
755ac_cv_env_CC_value=$CC
756ac_env_CFLAGS_set=${CFLAGS+set}
757ac_env_CFLAGS_value=$CFLAGS
758ac_cv_env_CFLAGS_set=${CFLAGS+set}
759ac_cv_env_CFLAGS_value=$CFLAGS
760ac_env_LDFLAGS_set=${LDFLAGS+set}
761ac_env_LDFLAGS_value=$LDFLAGS
762ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763ac_cv_env_LDFLAGS_value=$LDFLAGS
764ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765ac_env_CPPFLAGS_value=$CPPFLAGS
766ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768ac_env_CPP_set=${CPP+set}
769ac_env_CPP_value=$CPP
770ac_cv_env_CPP_set=${CPP+set}
771ac_cv_env_CPP_value=$CPP
772
773#
774# Report the --help message.
775#
776if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
779 cat <<_ACEOF
780\`configure' configures this package to adapt to many kinds of systems.
781
782Usage: $0 [OPTION]... [VAR=VALUE]...
783
784To assign environment variables (e.g., CC, CFLAGS...), specify them as
785VAR=VALUE. See below for descriptions of some of the useful variables.
786
787Defaults for the options are specified in brackets.
788
789Configuration:
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
799
800_ACEOF
801
802 cat <<_ACEOF
803Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
805 [$ac_default_prefix]
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
807 [PREFIX]
808
809By default, \`make install' will install all the files in
810\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812for instance \`--prefix=\$HOME'.
813
814For better control, use the options below.
815
816Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
829_ACEOF
830
831 cat <<\_ACEOF
832
833System types:
834 --build=BUILD configure for building on BUILD [guessed]
835 --host=HOST cross-compile to build programs to run on HOST [BUILD]
836_ACEOF
837fi
838
839if test -n "$ac_init_help"; then
840
841 cat <<\_ACEOF
842
843Optional Features:
844 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
845 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
846debug (compile in dynamic debugging system)
847generic-aesicm (compile in changes for ismacryp)
848syslog (use syslog for error reporting)
849stdout (use stdout for error reporting)
850console (use /dev/console for error reporting)
851gdoi (GDOI key management)
852
853Some influential environment variables:
854 CC C compiler command
855 CFLAGS C compiler flags
856 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
857 nonstandard directory <lib dir>
858 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
859 headers in a nonstandard directory <include dir>
860 CPP C preprocessor
861
862Use these variables to override the choices made by `configure' or to help
863it to find libraries and programs with nonstandard names/locations.
864
865_ACEOF
866fi
867
868if test "$ac_init_help" = "recursive"; then
869 # If there are subdirs, report their specific --help.
870 ac_popdir=`pwd`
871 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
872 test -d $ac_dir || continue
873 ac_builddir=.
874
875if test "$ac_dir" != .; then
876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
877 # A "../" for each directory in $ac_dir_suffix.
878 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
879else
880 ac_dir_suffix= ac_top_builddir=
881fi
882
883case $srcdir in
884 .) # No --srcdir option. We are building in place.
885 ac_srcdir=.
886 if test -z "$ac_top_builddir"; then
887 ac_top_srcdir=.
888 else
889 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
890 fi ;;
891 [\\/]* | ?:[\\/]* ) # Absolute path.
892 ac_srcdir=$srcdir$ac_dir_suffix;
893 ac_top_srcdir=$srcdir ;;
894 *) # Relative path.
895 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
896 ac_top_srcdir=$ac_top_builddir$srcdir ;;
897esac
898# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
899# absolute.
900ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
901ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
902ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
903ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
904
905 cd $ac_dir
906 # Check for guested configure; otherwise get Cygnus style configure.
907 if test -f $ac_srcdir/configure.gnu; then
908 echo
909 $SHELL $ac_srcdir/configure.gnu --help=recursive
910 elif test -f $ac_srcdir/configure; then
911 echo
912 $SHELL $ac_srcdir/configure --help=recursive
913 elif test -f $ac_srcdir/configure.ac ||
914 test -f $ac_srcdir/configure.in; then
915 echo
916 $ac_configure --help
917 else
918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 fi
920 cd $ac_popdir
921 done
922fi
923
924test -n "$ac_init_help" && exit 0
925if $ac_init_version; then
926 cat <<\_ACEOF
927
928Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
929Free Software Foundation, Inc.
930This configure script is free software; the Free Software Foundation
931gives unlimited permission to copy, distribute and modify it.
932_ACEOF
933 exit 0
934fi
935exec 5>config.log
936cat >&5 <<_ACEOF
937This file contains any messages produced by compilers while
938running configure, to aid debugging if configure makes a mistake.
939
940It was created by $as_me, which was
941generated by GNU Autoconf 2.57. Invocation command line was
942
943 $ $0 $@
944
945_ACEOF
946{
947cat <<_ASUNAME
948## --------- ##
949## Platform. ##
950## --------- ##
951
952hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
953uname -m = `(uname -m) 2>/dev/null || echo unknown`
954uname -r = `(uname -r) 2>/dev/null || echo unknown`
955uname -s = `(uname -s) 2>/dev/null || echo unknown`
956uname -v = `(uname -v) 2>/dev/null || echo unknown`
957
958/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
959/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
960
961/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
962/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
963/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
964hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
965/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
966/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
967/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
968
969_ASUNAME
970
971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972for as_dir in $PATH
973do
974 IFS=$as_save_IFS
975 test -z "$as_dir" && as_dir=.
976 echo "PATH: $as_dir"
977done
978
979} >&5
980
981cat >&5 <<_ACEOF
982
983
984## ----------- ##
985## Core tests. ##
986## ----------- ##
987
988_ACEOF
989
990
991# Keep a trace of the command line.
992# Strip out --no-create and --no-recursion so they do not pile up.
993# Strip out --silent because we don't want to record it for future runs.
994# Also quote any args containing shell meta-characters.
995# Make two passes to allow for proper duplicate-argument suppression.
996ac_configure_args=
997ac_configure_args0=
998ac_configure_args1=
999ac_sep=
1000ac_must_keep_next=false
1001for ac_pass in 1 2
1002do
1003 for ac_arg
1004 do
1005 case $ac_arg in
1006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1008 | -silent | --silent | --silen | --sile | --sil)
1009 continue ;;
1010 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1011 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1012 esac
1013 case $ac_pass in
1014 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1015 2)
1016 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1017 if test $ac_must_keep_next = true; then
1018 ac_must_keep_next=false # Got value, back to normal.
1019 else
1020 case $ac_arg in
1021 *=* | --config-cache | -C | -disable-* | --disable-* \
1022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1024 | -with-* | --with-* | -without-* | --without-* | --x)
1025 case "$ac_configure_args0 " in
1026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1027 esac
1028 ;;
1029 -* ) ac_must_keep_next=true ;;
1030 esac
1031 fi
1032 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1033 # Get rid of the leading space.
1034 ac_sep=" "
1035 ;;
1036 esac
1037 done
1038done
1039$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1040$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1041
1042# When interrupted or exit'd, cleanup temporary files, and complete
1043# config.log. We remove comments because anyway the quotes in there
1044# would cause problems or look ugly.
1045# WARNING: Be sure not to use single quotes in there, as some shells,
1046# such as our DU 5.0 friend, will then `close' the trap.
1047trap 'exit_status=$?
1048 # Save into config.log some information that might help in debugging.
1049 {
1050 echo
1051
1052 cat <<\_ASBOX
1053## ---------------- ##
1054## Cache variables. ##
1055## ---------------- ##
1056_ASBOX
1057 echo
1058 # The following way of writing the cache mishandles newlines in values,
1059{
1060 (set) 2>&1 |
1061 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1062 *ac_space=\ *)
1063 sed -n \
1064 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1065 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1066 ;;
1067 *)
1068 sed -n \
1069 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1070 ;;
1071 esac;
1072}
1073 echo
1074
1075 cat <<\_ASBOX
1076## ----------------- ##
1077## Output variables. ##
1078## ----------------- ##
1079_ASBOX
1080 echo
1081 for ac_var in $ac_subst_vars
1082 do
1083 eval ac_val=$`echo $ac_var`
1084 echo "$ac_var='"'"'$ac_val'"'"'"
1085 done | sort
1086 echo
1087
1088 if test -n "$ac_subst_files"; then
1089 cat <<\_ASBOX
1090## ------------- ##
1091## Output files. ##
1092## ------------- ##
1093_ASBOX
1094 echo
1095 for ac_var in $ac_subst_files
1096 do
1097 eval ac_val=$`echo $ac_var`
1098 echo "$ac_var='"'"'$ac_val'"'"'"
1099 done | sort
1100 echo
1101 fi
1102
1103 if test -s confdefs.h; then
1104 cat <<\_ASBOX
1105## ----------- ##
1106## confdefs.h. ##
1107## ----------- ##
1108_ASBOX
1109 echo
1110 sed "/^$/d" confdefs.h | sort
1111 echo
1112 fi
1113 test "$ac_signal" != 0 &&
1114 echo "$as_me: caught signal $ac_signal"
1115 echo "$as_me: exit $exit_status"
1116 } >&5
1117 rm -f core core.* *.core &&
1118 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1119 exit $exit_status
1120 ' 0
1121for ac_signal in 1 2 13 15; do
1122 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1123done
1124ac_signal=0
1125
1126# confdefs.h avoids OS command line length limits that DEFS can exceed.
1127rm -rf conftest* confdefs.h
1128# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1129echo >confdefs.h
1130
1131# Predefined preprocessor variables.
1132
1133cat >>confdefs.h <<_ACEOF
1134#define PACKAGE_NAME "$PACKAGE_NAME"
1135_ACEOF
1136
1137
1138cat >>confdefs.h <<_ACEOF
1139#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1140_ACEOF
1141
1142
1143cat >>confdefs.h <<_ACEOF
1144#define PACKAGE_VERSION "$PACKAGE_VERSION"
1145_ACEOF
1146
1147
1148cat >>confdefs.h <<_ACEOF
1149#define PACKAGE_STRING "$PACKAGE_STRING"
1150_ACEOF
1151
1152
1153cat >>confdefs.h <<_ACEOF
1154#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1155_ACEOF
1156
1157
1158# Let the site file select an alternate cache file if it wants to.
1159# Prefer explicitly selected file to automatically selected ones.
1160if test -z "$CONFIG_SITE"; then
1161 if test "x$prefix" != xNONE; then
1162 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1163 else
1164 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1165 fi
1166fi
1167for ac_site_file in $CONFIG_SITE; do
1168 if test -r "$ac_site_file"; then
1169 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1170echo "$as_me: loading site script $ac_site_file" >&6;}
1171 sed 's/^/| /' "$ac_site_file" >&5
1172 . "$ac_site_file"
1173 fi
1174done
1175
1176if test -r "$cache_file"; then
1177 # Some versions of bash will fail to source /dev/null (special
1178 # files actually), so we avoid doing that.
1179 if test -f "$cache_file"; then
1180 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1181echo "$as_me: loading cache $cache_file" >&6;}
1182 case $cache_file in
1183 [\\/]* | ?:[\\/]* ) . $cache_file;;
1184 *) . ./$cache_file;;
1185 esac
1186 fi
1187else
1188 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1189echo "$as_me: creating cache $cache_file" >&6;}
1190 >$cache_file
1191fi
1192
1193# Check that the precious variables saved in the cache have kept the same
1194# value.
1195ac_cache_corrupted=false
1196for ac_var in `(set) 2>&1 |
1197 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1198 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1199 eval ac_new_set=\$ac_env_${ac_var}_set
1200 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1201 eval ac_new_val="\$ac_env_${ac_var}_value"
1202 case $ac_old_set,$ac_new_set in
1203 set,)
1204 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1205echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1206 ac_cache_corrupted=: ;;
1207 ,set)
1208 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1209echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1210 ac_cache_corrupted=: ;;
1211 ,);;
1212 *)
1213 if test "x$ac_old_val" != "x$ac_new_val"; then
1214 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1215echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1216 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1217echo "$as_me: former value: $ac_old_val" >&2;}
1218 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1219echo "$as_me: current value: $ac_new_val" >&2;}
1220 ac_cache_corrupted=:
1221 fi;;
1222 esac
1223 # Pass precious variables to config.status.
1224 if test "$ac_new_set" = set; then
1225 case $ac_new_val in
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 *) ac_arg=$ac_var=$ac_new_val ;;
1229 esac
1230 case " $ac_configure_args " in
1231 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1232 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1233 esac
1234 fi
1235done
1236if $ac_cache_corrupted; then
1237 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1238echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1239 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1240echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1241 { (exit 1); exit 1; }; }
1242fi
1243
1244ac_ext=c
1245ac_cpp='$CPP $CPPFLAGS'
1246ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1247ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1248ac_compiler_gnu=$ac_cv_c_compiler_gnu
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269if test -n "$ac_tool_prefix"; then
1270 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1271set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1272echo "$as_me:$LINENO: checking for $ac_word" >&5
1273echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1274if test "${ac_cv_prog_RANLIB+set}" = set; then
1275 echo $ECHO_N "(cached) $ECHO_C" >&6
1276else
1277 if test -n "$RANLIB"; then
1278 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1279else
1280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1281for as_dir in $PATH
1282do
1283 IFS=$as_save_IFS
1284 test -z "$as_dir" && as_dir=.
1285 for ac_exec_ext in '' $ac_executable_extensions; do
1286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1287 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1289 break 2
1290 fi
1291done
1292done
1293
1294fi
1295fi
1296RANLIB=$ac_cv_prog_RANLIB
1297if test -n "$RANLIB"; then
1298 echo "$as_me:$LINENO: result: $RANLIB" >&5
1299echo "${ECHO_T}$RANLIB" >&6
1300else
1301 echo "$as_me:$LINENO: result: no" >&5
1302echo "${ECHO_T}no" >&6
1303fi
1304
1305fi
1306if test -z "$ac_cv_prog_RANLIB"; then
1307 ac_ct_RANLIB=$RANLIB
1308 # Extract the first word of "ranlib", so it can be a program name with args.
1309set dummy ranlib; ac_word=$2
1310echo "$as_me:$LINENO: checking for $ac_word" >&5
1311echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1312if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
1313 echo $ECHO_N "(cached) $ECHO_C" >&6
1314else
1315 if test -n "$ac_ct_RANLIB"; then
1316 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1317else
1318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319for as_dir in $PATH
1320do
1321 IFS=$as_save_IFS
1322 test -z "$as_dir" && as_dir=.
1323 for ac_exec_ext in '' $ac_executable_extensions; do
1324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1325 ac_cv_prog_ac_ct_RANLIB="ranlib"
1326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1327 break 2
1328 fi
1329done
1330done
1331
1332 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
1333fi
1334fi
1335ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
1336if test -n "$ac_ct_RANLIB"; then
1337 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
1338echo "${ECHO_T}$ac_ct_RANLIB" >&6
1339else
1340 echo "$as_me:$LINENO: result: no" >&5
1341echo "${ECHO_T}no" >&6
1342fi
1343
1344 RANLIB=$ac_ct_RANLIB
1345else
1346 RANLIB="$ac_cv_prog_RANLIB"
1347fi
1348
1349ac_ext=c
1350ac_cpp='$CPP $CPPFLAGS'
1351ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1352ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1353ac_compiler_gnu=$ac_cv_c_compiler_gnu
1354if test -n "$ac_tool_prefix"; then
1355 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1356set dummy ${ac_tool_prefix}gcc; ac_word=$2
1357echo "$as_me:$LINENO: checking for $ac_word" >&5
1358echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1359if test "${ac_cv_prog_CC+set}" = set; then
1360 echo $ECHO_N "(cached) $ECHO_C" >&6
1361else
1362 if test -n "$CC"; then
1363 ac_cv_prog_CC="$CC" # Let the user override the test.
1364else
1365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366for as_dir in $PATH
1367do
1368 IFS=$as_save_IFS
1369 test -z "$as_dir" && as_dir=.
1370 for ac_exec_ext in '' $ac_executable_extensions; do
1371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1372 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1374 break 2
1375 fi
1376done
1377done
1378
1379fi
1380fi
1381CC=$ac_cv_prog_CC
1382if test -n "$CC"; then
1383 echo "$as_me:$LINENO: result: $CC" >&5
1384echo "${ECHO_T}$CC" >&6
1385else
1386 echo "$as_me:$LINENO: result: no" >&5
1387echo "${ECHO_T}no" >&6
1388fi
1389
1390fi
1391if test -z "$ac_cv_prog_CC"; then
1392 ac_ct_CC=$CC
1393 # Extract the first word of "gcc", so it can be a program name with args.
1394set dummy gcc; ac_word=$2
1395echo "$as_me:$LINENO: checking for $ac_word" >&5
1396echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1397if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1399else
1400 if test -n "$ac_ct_CC"; then
1401 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1402else
1403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404for as_dir in $PATH
1405do
1406 IFS=$as_save_IFS
1407 test -z "$as_dir" && as_dir=.
1408 for ac_exec_ext in '' $ac_executable_extensions; do
1409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1410 ac_cv_prog_ac_ct_CC="gcc"
1411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1412 break 2
1413 fi
1414done
1415done
1416
1417fi
1418fi
1419ac_ct_CC=$ac_cv_prog_ac_ct_CC
1420if test -n "$ac_ct_CC"; then
1421 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1422echo "${ECHO_T}$ac_ct_CC" >&6
1423else
1424 echo "$as_me:$LINENO: result: no" >&5
1425echo "${ECHO_T}no" >&6
1426fi
1427
1428 CC=$ac_ct_CC
1429else
1430 CC="$ac_cv_prog_CC"
1431fi
1432
1433if test -z "$CC"; then
1434 if test -n "$ac_tool_prefix"; then
1435 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1436set dummy ${ac_tool_prefix}cc; ac_word=$2
1437echo "$as_me:$LINENO: checking for $ac_word" >&5
1438echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439if test "${ac_cv_prog_CC+set}" = set; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1441else
1442 if test -n "$CC"; then
1443 ac_cv_prog_CC="$CC" # Let the user override the test.
1444else
1445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446for as_dir in $PATH
1447do
1448 IFS=$as_save_IFS
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 ac_cv_prog_CC="${ac_tool_prefix}cc"
1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1454 break 2
1455 fi
1456done
1457done
1458
1459fi
1460fi
1461CC=$ac_cv_prog_CC
1462if test -n "$CC"; then
1463 echo "$as_me:$LINENO: result: $CC" >&5
1464echo "${ECHO_T}$CC" >&6
1465else
1466 echo "$as_me:$LINENO: result: no" >&5
1467echo "${ECHO_T}no" >&6
1468fi
1469
1470fi
1471if test -z "$ac_cv_prog_CC"; then
1472 ac_ct_CC=$CC
1473 # Extract the first word of "cc", so it can be a program name with args.
1474set dummy cc; ac_word=$2
1475echo "$as_me:$LINENO: checking for $ac_word" >&5
1476echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1477if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1478 echo $ECHO_N "(cached) $ECHO_C" >&6
1479else
1480 if test -n "$ac_ct_CC"; then
1481 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1482else
1483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1484for as_dir in $PATH
1485do
1486 IFS=$as_save_IFS
1487 test -z "$as_dir" && as_dir=.
1488 for ac_exec_ext in '' $ac_executable_extensions; do
1489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1490 ac_cv_prog_ac_ct_CC="cc"
1491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1492 break 2
1493 fi
1494done
1495done
1496
1497fi
1498fi
1499ac_ct_CC=$ac_cv_prog_ac_ct_CC
1500if test -n "$ac_ct_CC"; then
1501 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1502echo "${ECHO_T}$ac_ct_CC" >&6
1503else
1504 echo "$as_me:$LINENO: result: no" >&5
1505echo "${ECHO_T}no" >&6
1506fi
1507
1508 CC=$ac_ct_CC
1509else
1510 CC="$ac_cv_prog_CC"
1511fi
1512
1513fi
1514if test -z "$CC"; then
1515 # Extract the first word of "cc", so it can be a program name with args.
1516set dummy cc; ac_word=$2
1517echo "$as_me:$LINENO: checking for $ac_word" >&5
1518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519if test "${ac_cv_prog_CC+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1521else
1522 if test -n "$CC"; then
1523 ac_cv_prog_CC="$CC" # Let the user override the test.
1524else
1525 ac_prog_rejected=no
1526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527for as_dir in $PATH
1528do
1529 IFS=$as_save_IFS
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1534 ac_prog_rejected=yes
1535 continue
1536 fi
1537 ac_cv_prog_CC="cc"
1538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1539 break 2
1540 fi
1541done
1542done
1543
1544if test $ac_prog_rejected = yes; then
1545 # We found a bogon in the path, so make sure we never use it.
1546 set dummy $ac_cv_prog_CC
1547 shift
1548 if test $# != 0; then
1549 # We chose a different compiler from the bogus one.
1550 # However, it has the same basename, so the bogon will be chosen
1551 # first if we set CC to just the basename; use the full file name.
1552 shift
1553 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1554 fi
1555fi
1556fi
1557fi
1558CC=$ac_cv_prog_CC
1559if test -n "$CC"; then
1560 echo "$as_me:$LINENO: result: $CC" >&5
1561echo "${ECHO_T}$CC" >&6
1562else
1563 echo "$as_me:$LINENO: result: no" >&5
1564echo "${ECHO_T}no" >&6
1565fi
1566
1567fi
1568if test -z "$CC"; then
1569 if test -n "$ac_tool_prefix"; then
1570 for ac_prog in cl
1571 do
1572 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1573set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1574echo "$as_me:$LINENO: checking for $ac_word" >&5
1575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576if test "${ac_cv_prog_CC+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1578else
1579 if test -n "$CC"; then
1580 ac_cv_prog_CC="$CC" # Let the user override the test.
1581else
1582as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583for as_dir in $PATH
1584do
1585 IFS=$as_save_IFS
1586 test -z "$as_dir" && as_dir=.
1587 for ac_exec_ext in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591 break 2
1592 fi
1593done
1594done
1595
1596fi
1597fi
1598CC=$ac_cv_prog_CC
1599if test -n "$CC"; then
1600 echo "$as_me:$LINENO: result: $CC" >&5
1601echo "${ECHO_T}$CC" >&6
1602else
1603 echo "$as_me:$LINENO: result: no" >&5
1604echo "${ECHO_T}no" >&6
1605fi
1606
1607 test -n "$CC" && break
1608 done
1609fi
1610if test -z "$CC"; then
1611 ac_ct_CC=$CC
1612 for ac_prog in cl
1613do
1614 # Extract the first word of "$ac_prog", so it can be a program name with args.
1615set dummy $ac_prog; ac_word=$2
1616echo "$as_me:$LINENO: checking for $ac_word" >&5
1617echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1620else
1621 if test -n "$ac_ct_CC"; then
1622 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1623else
1624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1625for as_dir in $PATH
1626do
1627 IFS=$as_save_IFS
1628 test -z "$as_dir" && as_dir=.
1629 for ac_exec_ext in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_ac_ct_CC="$ac_prog"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1633 break 2
1634 fi
1635done
1636done
1637
1638fi
1639fi
1640ac_ct_CC=$ac_cv_prog_ac_ct_CC
1641if test -n "$ac_ct_CC"; then
1642 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1643echo "${ECHO_T}$ac_ct_CC" >&6
1644else
1645 echo "$as_me:$LINENO: result: no" >&5
1646echo "${ECHO_T}no" >&6
1647fi
1648
1649 test -n "$ac_ct_CC" && break
1650done
1651
1652 CC=$ac_ct_CC
1653fi
1654
1655fi
1656
1657
1658test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1659See \`config.log' for more details." >&5
1660echo "$as_me: error: no acceptable C compiler found in \$PATH
1661See \`config.log' for more details." >&2;}
1662 { (exit 1); exit 1; }; }
1663
1664# Provide some information about the compiler.
1665echo "$as_me:$LINENO:" \
1666 "checking for C compiler version" >&5
1667ac_compiler=`set X $ac_compile; echo $2`
1668{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1669 (eval $ac_compiler --version </dev/null >&5) 2>&5
1670 ac_status=$?
1671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1672 (exit $ac_status); }
1673{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1674 (eval $ac_compiler -v </dev/null >&5) 2>&5
1675 ac_status=$?
1676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1677 (exit $ac_status); }
1678{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1679 (eval $ac_compiler -V </dev/null >&5) 2>&5
1680 ac_status=$?
1681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1682 (exit $ac_status); }
1683
1684cat >conftest.$ac_ext <<_ACEOF
1685#line $LINENO "configure"
1686/* confdefs.h. */
1687_ACEOF
1688cat confdefs.h >>conftest.$ac_ext
1689cat >>conftest.$ac_ext <<_ACEOF
1690/* end confdefs.h. */
1691
1692int
1693main ()
1694{
1695
1696 ;
1697 return 0;
1698}
1699_ACEOF
1700ac_clean_files_save=$ac_clean_files
1701ac_clean_files="$ac_clean_files a.out a.exe b.out"
1702# Try to create an executable without -o first, disregard a.out.
1703# It will help us diagnose broken compilers, and finding out an intuition
1704# of exeext.
1705echo "$as_me:$LINENO: checking for C compiler default output" >&5
1706echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1707ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1708if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1709 (eval $ac_link_default) 2>&5
1710 ac_status=$?
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712 (exit $ac_status); }; then
1713 # Find the output, starting from the most likely. This scheme is
1714# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1715# resort.
1716
1717# Be careful to initialize this variable, since it used to be cached.
1718# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1719ac_cv_exeext=
1720# b.out is created by i960 compilers.
1721for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1722do
1723 test -f "$ac_file" || continue
1724 case $ac_file in
1725 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1726 ;;
1727 conftest.$ac_ext )
1728 # This is the source file.
1729 ;;
1730 [ab].out )
1731 # We found the default executable, but exeext='' is most
1732 # certainly right.
1733 break;;
1734 *.* )
1735 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1736 # FIXME: I believe we export ac_cv_exeext for Libtool,
1737 # but it would be cool to find out if it's true. Does anybody
1738 # maintain Libtool? --akim.
1739 export ac_cv_exeext
1740 break;;
1741 * )
1742 break;;
1743 esac
1744done
1745else
1746 echo "$as_me: failed program was:" >&5
1747sed 's/^/| /' conftest.$ac_ext >&5
1748
1749{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1750See \`config.log' for more details." >&5
1751echo "$as_me: error: C compiler cannot create executables
1752See \`config.log' for more details." >&2;}
1753 { (exit 77); exit 77; }; }
1754fi
1755
1756ac_exeext=$ac_cv_exeext
1757echo "$as_me:$LINENO: result: $ac_file" >&5
1758echo "${ECHO_T}$ac_file" >&6
1759
1760# Check the compiler produces executables we can run. If not, either
1761# the compiler is broken, or we cross compile.
1762echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1763echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1764# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1765# If not cross compiling, check that we can run a simple program.
1766if test "$cross_compiling" != yes; then
1767 if { ac_try='./$ac_file'
1768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1769 (eval $ac_try) 2>&5
1770 ac_status=$?
1771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1772 (exit $ac_status); }; }; then
1773 cross_compiling=no
1774 else
1775 if test "$cross_compiling" = maybe; then
1776 cross_compiling=yes
1777 else
1778 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1779If you meant to cross compile, use \`--host'.
1780See \`config.log' for more details." >&5
1781echo "$as_me: error: cannot run C compiled programs.
1782If you meant to cross compile, use \`--host'.
1783See \`config.log' for more details." >&2;}
1784 { (exit 1); exit 1; }; }
1785 fi
1786 fi
1787fi
1788echo "$as_me:$LINENO: result: yes" >&5
1789echo "${ECHO_T}yes" >&6
1790
1791rm -f a.out a.exe conftest$ac_cv_exeext b.out
1792ac_clean_files=$ac_clean_files_save
1793# Check the compiler produces executables we can run. If not, either
1794# the compiler is broken, or we cross compile.
1795echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1796echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1797echo "$as_me:$LINENO: result: $cross_compiling" >&5
1798echo "${ECHO_T}$cross_compiling" >&6
1799
1800echo "$as_me:$LINENO: checking for suffix of executables" >&5
1801echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1802if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1803 (eval $ac_link) 2>&5
1804 ac_status=$?
1805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1806 (exit $ac_status); }; then
1807 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1808# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1809# work properly (i.e., refer to `conftest.exe'), while it won't with
1810# `rm'.
1811for ac_file in conftest.exe conftest conftest.*; do
1812 test -f "$ac_file" || continue
1813 case $ac_file in
1814 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1815 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1816 export ac_cv_exeext
1817 break;;
1818 * ) break;;
1819 esac
1820done
1821else
1822 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1823See \`config.log' for more details." >&5
1824echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1825See \`config.log' for more details." >&2;}
1826 { (exit 1); exit 1; }; }
1827fi
1828
1829rm -f conftest$ac_cv_exeext
1830echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1831echo "${ECHO_T}$ac_cv_exeext" >&6
1832
1833rm -f conftest.$ac_ext
1834EXEEXT=$ac_cv_exeext
1835ac_exeext=$EXEEXT
1836echo "$as_me:$LINENO: checking for suffix of object files" >&5
1837echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1838if test "${ac_cv_objext+set}" = set; then
1839 echo $ECHO_N "(cached) $ECHO_C" >&6
1840else
1841 cat >conftest.$ac_ext <<_ACEOF
1842#line $LINENO "configure"
1843/* confdefs.h. */
1844_ACEOF
1845cat confdefs.h >>conftest.$ac_ext
1846cat >>conftest.$ac_ext <<_ACEOF
1847/* end confdefs.h. */
1848
1849int
1850main ()
1851{
1852
1853 ;
1854 return 0;
1855}
1856_ACEOF
1857rm -f conftest.o conftest.obj
1858if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1859 (eval $ac_compile) 2>&5
1860 ac_status=$?
1861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1862 (exit $ac_status); }; then
1863 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1864 case $ac_file in
1865 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1866 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1867 break;;
1868 esac
1869done
1870else
1871 echo "$as_me: failed program was:" >&5
1872sed 's/^/| /' conftest.$ac_ext >&5
1873
1874{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1875See \`config.log' for more details." >&5
1876echo "$as_me: error: cannot compute suffix of object files: cannot compile
1877See \`config.log' for more details." >&2;}
1878 { (exit 1); exit 1; }; }
1879fi
1880
1881rm -f conftest.$ac_cv_objext conftest.$ac_ext
1882fi
1883echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1884echo "${ECHO_T}$ac_cv_objext" >&6
1885OBJEXT=$ac_cv_objext
1886ac_objext=$OBJEXT
1887echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1888echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1889if test "${ac_cv_c_compiler_gnu+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1891else
1892 cat >conftest.$ac_ext <<_ACEOF
1893#line $LINENO "configure"
1894/* confdefs.h. */
1895_ACEOF
1896cat confdefs.h >>conftest.$ac_ext
1897cat >>conftest.$ac_ext <<_ACEOF
1898/* end confdefs.h. */
1899
1900int
1901main ()
1902{
1903#ifndef __GNUC__
1904 choke me
1905#endif
1906
1907 ;
1908 return 0;
1909}
1910_ACEOF
1911rm -f conftest.$ac_objext
1912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1913 (eval $ac_compile) 2>&5
1914 ac_status=$?
1915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1916 (exit $ac_status); } &&
1917 { ac_try='test -s conftest.$ac_objext'
1918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919 (eval $ac_try) 2>&5
1920 ac_status=$?
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; }; then
1923 ac_compiler_gnu=yes
1924else
1925 echo "$as_me: failed program was:" >&5
1926sed 's/^/| /' conftest.$ac_ext >&5
1927
1928ac_compiler_gnu=no
1929fi
1930rm -f conftest.$ac_objext conftest.$ac_ext
1931ac_cv_c_compiler_gnu=$ac_compiler_gnu
1932
1933fi
1934echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1935echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1936GCC=`test $ac_compiler_gnu = yes && echo yes`
1937ac_test_CFLAGS=${CFLAGS+set}
1938ac_save_CFLAGS=$CFLAGS
1939CFLAGS="-g"
1940echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1941echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1942if test "${ac_cv_prog_cc_g+set}" = set; then
1943 echo $ECHO_N "(cached) $ECHO_C" >&6
1944else
1945 cat >conftest.$ac_ext <<_ACEOF
1946#line $LINENO "configure"
1947/* confdefs.h. */
1948_ACEOF
1949cat confdefs.h >>conftest.$ac_ext
1950cat >>conftest.$ac_ext <<_ACEOF
1951/* end confdefs.h. */
1952
1953int
1954main ()
1955{
1956
1957 ;
1958 return 0;
1959}
1960_ACEOF
1961rm -f conftest.$ac_objext
1962if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963 (eval $ac_compile) 2>&5
1964 ac_status=$?
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); } &&
1967 { ac_try='test -s conftest.$ac_objext'
1968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1969 (eval $ac_try) 2>&5
1970 ac_status=$?
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1973 ac_cv_prog_cc_g=yes
1974else
1975 echo "$as_me: failed program was:" >&5
1976sed 's/^/| /' conftest.$ac_ext >&5
1977
1978ac_cv_prog_cc_g=no
1979fi
1980rm -f conftest.$ac_objext conftest.$ac_ext
1981fi
1982echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1983echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1984if test "$ac_test_CFLAGS" = set; then
1985 CFLAGS=$ac_save_CFLAGS
1986elif test $ac_cv_prog_cc_g = yes; then
1987 if test "$GCC" = yes; then
1988 CFLAGS="-g -O2"
1989 else
1990 CFLAGS="-g"
1991 fi
1992else
1993 if test "$GCC" = yes; then
1994 CFLAGS="-O2"
1995 else
1996 CFLAGS=
1997 fi
1998fi
1999echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2000echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2001if test "${ac_cv_prog_cc_stdc+set}" = set; then
2002 echo $ECHO_N "(cached) $ECHO_C" >&6
2003else
2004 ac_cv_prog_cc_stdc=no
2005ac_save_CC=$CC
2006cat >conftest.$ac_ext <<_ACEOF
2007#line $LINENO "configure"
2008/* confdefs.h. */
2009_ACEOF
2010cat confdefs.h >>conftest.$ac_ext
2011cat >>conftest.$ac_ext <<_ACEOF
2012/* end confdefs.h. */
2013#include <stdarg.h>
2014#include <stdio.h>
2015#include <sys/types.h>
2016#include <sys/stat.h>
2017/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2018struct buf { int x; };
2019FILE * (*rcsopen) (struct buf *, struct stat *, int);
2020static char *e (p, i)
2021 char **p;
2022 int i;
2023{
2024 return p[i];
2025}
2026static char *f (char * (*g) (char **, int), char **p, ...)
2027{
2028 char *s;
2029 va_list v;
2030 va_start (v,p);
2031 s = g (p, va_arg (v,int));
2032 va_end (v);
2033 return s;
2034}
2035int test (int i, double x);
2036struct s1 {int (*f) (int a);};
2037struct s2 {int (*f) (double a);};
2038int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2039int argc;
2040char **argv;
2041int
2042main ()
2043{
2044return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2045 ;
2046 return 0;
2047}
2048_ACEOF
2049# Don't try gcc -ansi; that turns off useful extensions and
2050# breaks some systems' header files.
2051# AIX -qlanglvl=ansi
2052# Ultrix and OSF/1 -std1
2053# HP-UX 10.20 and later -Ae
2054# HP-UX older versions -Aa -D_HPUX_SOURCE
2055# SVR4 -Xc -D__EXTENSIONS__
2056for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2057do
2058 CC="$ac_save_CC $ac_arg"
2059 rm -f conftest.$ac_objext
2060if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2061 (eval $ac_compile) 2>&5
2062 ac_status=$?
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); } &&
2065 { ac_try='test -s conftest.$ac_objext'
2066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 (eval $ac_try) 2>&5
2068 ac_status=$?
2069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 (exit $ac_status); }; }; then
2071 ac_cv_prog_cc_stdc=$ac_arg
2072break
2073else
2074 echo "$as_me: failed program was:" >&5
2075sed 's/^/| /' conftest.$ac_ext >&5
2076
2077fi
2078rm -f conftest.$ac_objext
2079done
2080rm -f conftest.$ac_ext conftest.$ac_objext
2081CC=$ac_save_CC
2082
2083fi
2084
2085case "x$ac_cv_prog_cc_stdc" in
2086 x|xno)
2087 echo "$as_me:$LINENO: result: none needed" >&5
2088echo "${ECHO_T}none needed" >&6 ;;
2089 *)
2090 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2091echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2092 CC="$CC $ac_cv_prog_cc_stdc" ;;
2093esac
2094
2095# Some people use a C++ compiler to compile C. Since we use `exit',
2096# in C++ we need to declare it. In case someone uses the same compiler
2097# for both compiling C and C++ we need to have the C++ compiler decide
2098# the declaration of exit, since it's the most demanding environment.
2099cat >conftest.$ac_ext <<_ACEOF
2100#ifndef __cplusplus
2101 choke me
2102#endif
2103_ACEOF
2104rm -f conftest.$ac_objext
2105if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2106 (eval $ac_compile) 2>&5
2107 ac_status=$?
2108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2109 (exit $ac_status); } &&
2110 { ac_try='test -s conftest.$ac_objext'
2111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2112 (eval $ac_try) 2>&5
2113 ac_status=$?
2114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115 (exit $ac_status); }; }; then
2116 for ac_declaration in \
2117 ''\
2118 '#include <stdlib.h>' \
2119 'extern "C" void std::exit (int) throw (); using std::exit;' \
2120 'extern "C" void std::exit (int); using std::exit;' \
2121 'extern "C" void exit (int) throw ();' \
2122 'extern "C" void exit (int);' \
2123 'void exit (int);'
2124do
2125 cat >conftest.$ac_ext <<_ACEOF
2126#line $LINENO "configure"
2127/* confdefs.h. */
2128_ACEOF
2129cat confdefs.h >>conftest.$ac_ext
2130cat >>conftest.$ac_ext <<_ACEOF
2131/* end confdefs.h. */
2132#include <stdlib.h>
2133$ac_declaration
2134int
2135main ()
2136{
2137exit (42);
2138 ;
2139 return 0;
2140}
2141_ACEOF
2142rm -f conftest.$ac_objext
2143if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2144 (eval $ac_compile) 2>&5
2145 ac_status=$?
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); } &&
2148 { ac_try='test -s conftest.$ac_objext'
2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2150 (eval $ac_try) 2>&5
2151 ac_status=$?
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; }; then
2154 :
2155else
2156 echo "$as_me: failed program was:" >&5
2157sed 's/^/| /' conftest.$ac_ext >&5
2158
2159continue
2160fi
2161rm -f conftest.$ac_objext conftest.$ac_ext
2162 cat >conftest.$ac_ext <<_ACEOF
2163#line $LINENO "configure"
2164/* confdefs.h. */
2165_ACEOF
2166cat confdefs.h >>conftest.$ac_ext
2167cat >>conftest.$ac_ext <<_ACEOF
2168/* end confdefs.h. */
2169$ac_declaration
2170int
2171main ()
2172{
2173exit (42);
2174 ;
2175 return 0;
2176}
2177_ACEOF
2178rm -f conftest.$ac_objext
2179if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2180 (eval $ac_compile) 2>&5
2181 ac_status=$?
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); } &&
2184 { ac_try='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2186 (eval $ac_try) 2>&5
2187 ac_status=$?
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2190 break
2191else
2192 echo "$as_me: failed program was:" >&5
2193sed 's/^/| /' conftest.$ac_ext >&5
2194
2195fi
2196rm -f conftest.$ac_objext conftest.$ac_ext
2197done
2198rm -f conftest*
2199if test -n "$ac_declaration"; then
2200 echo '#ifdef __cplusplus' >>confdefs.h
2201 echo $ac_declaration >>confdefs.h
2202 echo '#endif' >>confdefs.h
2203fi
2204
2205else
2206 echo "$as_me: failed program was:" >&5
2207sed 's/^/| /' conftest.$ac_ext >&5
2208
2209fi
2210rm -f conftest.$ac_objext conftest.$ac_ext
2211ac_ext=c
2212ac_cpp='$CPP $CPPFLAGS'
2213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2215ac_compiler_gnu=$ac_cv_c_compiler_gnu
2216
2217
2218
2219
2220echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2221echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2222if test "${ac_cv_lib_socket_socket+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2224else
2225 ac_check_lib_save_LIBS=$LIBS
2226LIBS="-lsocket $LIBS"
2227cat >conftest.$ac_ext <<_ACEOF
2228#line $LINENO "configure"
2229/* confdefs.h. */
2230_ACEOF
2231cat confdefs.h >>conftest.$ac_ext
2232cat >>conftest.$ac_ext <<_ACEOF
2233/* end confdefs.h. */
2234
2235/* Override any gcc2 internal prototype to avoid an error. */
2236#ifdef __cplusplus
2237extern "C"
2238#endif
2239/* We use char because int might match the return type of a gcc2
2240 builtin and then its argument prototype would still apply. */
2241char socket ();
2242int
2243main ()
2244{
2245socket ();
2246 ;
2247 return 0;
2248}
2249_ACEOF
2250rm -f conftest.$ac_objext conftest$ac_exeext
2251if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2252 (eval $ac_link) 2>&5
2253 ac_status=$?
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } &&
2256 { ac_try='test -s conftest$ac_exeext'
2257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 (eval $ac_try) 2>&5
2259 ac_status=$?
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); }; }; then
2262 ac_cv_lib_socket_socket=yes
2263else
2264 echo "$as_me: failed program was:" >&5
2265sed 's/^/| /' conftest.$ac_ext >&5
2266
2267ac_cv_lib_socket_socket=no
2268fi
2269rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2270LIBS=$ac_check_lib_save_LIBS
2271fi
2272echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
2273echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
2274if test $ac_cv_lib_socket_socket = yes; then
2275 cat >>confdefs.h <<_ACEOF
2276#define HAVE_LIBSOCKET 1
2277_ACEOF
2278
2279 LIBS="-lsocket $LIBS"
2280
2281fi
2282
2283
2284echo "$as_me:$LINENO: checking for srtp_init in -lsrtp" >&5
2285echo $ECHO_N "checking for srtp_init in -lsrtp... $ECHO_C" >&6
2286if test "${ac_cv_lib_srtp_srtp_init+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288else
2289 ac_check_lib_save_LIBS=$LIBS
2290LIBS="-lsrtp $LIBS"
2291cat >conftest.$ac_ext <<_ACEOF
2292#line $LINENO "configure"
2293/* confdefs.h. */
2294_ACEOF
2295cat confdefs.h >>conftest.$ac_ext
2296cat >>conftest.$ac_ext <<_ACEOF
2297/* end confdefs.h. */
2298
2299/* Override any gcc2 internal prototype to avoid an error. */
2300#ifdef __cplusplus
2301extern "C"
2302#endif
2303/* We use char because int might match the return type of a gcc2
2304 builtin and then its argument prototype would still apply. */
2305char srtp_init ();
2306int
2307main ()
2308{
2309srtp_init ();
2310 ;
2311 return 0;
2312}
2313_ACEOF
2314rm -f conftest.$ac_objext conftest$ac_exeext
2315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2316 (eval $ac_link) 2>&5
2317 ac_status=$?
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } &&
2320 { ac_try='test -s conftest$ac_exeext'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 (eval $ac_try) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2326 ac_cv_lib_srtp_srtp_init=yes
2327else
2328 echo "$as_me: failed program was:" >&5
2329sed 's/^/| /' conftest.$ac_ext >&5
2330
2331ac_cv_lib_srtp_srtp_init=no
2332fi
2333rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2334LIBS=$ac_check_lib_save_LIBS
2335fi
2336echo "$as_me:$LINENO: result: $ac_cv_lib_srtp_srtp_init" >&5
2337echo "${ECHO_T}$ac_cv_lib_srtp_srtp_init" >&6
2338if test $ac_cv_lib_srtp_srtp_init = yes; then
2339 cat >>confdefs.h <<_ACEOF
2340#define HAVE_LIBSRTP 1
2341_ACEOF
2342
2343 LIBS="-lsrtp $LIBS"
2344
2345fi
2346
2347
2348
2349echo "$as_me:$LINENO: checking for /dev/urandom" >&5
2350echo $ECHO_N "checking for /dev/urandom... $ECHO_C" >&6
2351if test "${ac_cv_file__dev_urandom+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2353else
2354 test "$cross_compiling" = yes &&
2355 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
2356echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
2357 { (exit 1); exit 1; }; }
2358if test -r "/dev/urandom"; then
2359 ac_cv_file__dev_urandom=yes
2360else
2361 ac_cv_file__dev_urandom=no
2362fi
2363fi
2364echo "$as_me:$LINENO: result: $ac_cv_file__dev_urandom" >&5
2365echo "${ECHO_T}$ac_cv_file__dev_urandom" >&6
2366if test $ac_cv_file__dev_urandom = yes; then
2367 DEV_URANDOM=1
2368else
2369 DEV_URANDOM=0
2370fi
2371
2372if test $DEV_URANDOM = 1; then
2373 cat >>confdefs.h <<\_ACEOF
2374#define DEV_URANDOM 1
2375_ACEOF
2376
2377 RNG_OBJS=crypto/rng/rand_source.c
2378
2379fi
2380
2381
2382ac_ext=c
2383ac_cpp='$CPP $CPPFLAGS'
2384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2386ac_compiler_gnu=$ac_cv_c_compiler_gnu
2387echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2388echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2389# On Suns, sometimes $CPP names a directory.
2390if test -n "$CPP" && test -d "$CPP"; then
2391 CPP=
2392fi
2393if test -z "$CPP"; then
2394 if test "${ac_cv_prog_CPP+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2396else
2397 # Double quotes because CPP needs to be expanded
2398 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2399 do
2400 ac_preproc_ok=false
2401for ac_c_preproc_warn_flag in '' yes
2402do
2403 # Use a header file that comes with gcc, so configuring glibc
2404 # with a fresh cross-compiler works.
2405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2406 # <limits.h> exists even on freestanding compilers.
2407 # On the NeXT, cc -E runs the code through the compiler's parser,
2408 # not just through cpp. "Syntax error" is here to catch this case.
2409 cat >conftest.$ac_ext <<_ACEOF
2410#line $LINENO "configure"
2411/* confdefs.h. */
2412_ACEOF
2413cat confdefs.h >>conftest.$ac_ext
2414cat >>conftest.$ac_ext <<_ACEOF
2415/* end confdefs.h. */
2416#ifdef __STDC__
2417# include <limits.h>
2418#else
2419# include <assert.h>
2420#endif
2421 Syntax error
2422_ACEOF
2423if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2425 ac_status=$?
2426 grep -v '^ *+' conftest.er1 >conftest.err
2427 rm -f conftest.er1
2428 cat conftest.err >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } >/dev/null; then
2431 if test -s conftest.err; then
2432 ac_cpp_err=$ac_c_preproc_warn_flag
2433 else
2434 ac_cpp_err=
2435 fi
2436else
2437 ac_cpp_err=yes
2438fi
2439if test -z "$ac_cpp_err"; then
2440 :
2441else
2442 echo "$as_me: failed program was:" >&5
2443sed 's/^/| /' conftest.$ac_ext >&5
2444
2445 # Broken: fails on valid input.
2446continue
2447fi
2448rm -f conftest.err conftest.$ac_ext
2449
2450 # OK, works on sane cases. Now check whether non-existent headers
2451 # can be detected and how.
2452 cat >conftest.$ac_ext <<_ACEOF
2453#line $LINENO "configure"
2454/* confdefs.h. */
2455_ACEOF
2456cat confdefs.h >>conftest.$ac_ext
2457cat >>conftest.$ac_ext <<_ACEOF
2458/* end confdefs.h. */
2459#include <ac_nonexistent.h>
2460_ACEOF
2461if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2463 ac_status=$?
2464 grep -v '^ *+' conftest.er1 >conftest.err
2465 rm -f conftest.er1
2466 cat conftest.err >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } >/dev/null; then
2469 if test -s conftest.err; then
2470 ac_cpp_err=$ac_c_preproc_warn_flag
2471 else
2472 ac_cpp_err=
2473 fi
2474else
2475 ac_cpp_err=yes
2476fi
2477if test -z "$ac_cpp_err"; then
2478 # Broken: success on invalid input.
2479continue
2480else
2481 echo "$as_me: failed program was:" >&5
2482sed 's/^/| /' conftest.$ac_ext >&5
2483
2484 # Passes both tests.
2485ac_preproc_ok=:
2486break
2487fi
2488rm -f conftest.err conftest.$ac_ext
2489
2490done
2491# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2492rm -f conftest.err conftest.$ac_ext
2493if $ac_preproc_ok; then
2494 break
2495fi
2496
2497 done
2498 ac_cv_prog_CPP=$CPP
2499
2500fi
2501 CPP=$ac_cv_prog_CPP
2502else
2503 ac_cv_prog_CPP=$CPP
2504fi
2505echo "$as_me:$LINENO: result: $CPP" >&5
2506echo "${ECHO_T}$CPP" >&6
2507ac_preproc_ok=false
2508for ac_c_preproc_warn_flag in '' yes
2509do
2510 # Use a header file that comes with gcc, so configuring glibc
2511 # with a fresh cross-compiler works.
2512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2513 # <limits.h> exists even on freestanding compilers.
2514 # On the NeXT, cc -E runs the code through the compiler's parser,
2515 # not just through cpp. "Syntax error" is here to catch this case.
2516 cat >conftest.$ac_ext <<_ACEOF
2517#line $LINENO "configure"
2518/* confdefs.h. */
2519_ACEOF
2520cat confdefs.h >>conftest.$ac_ext
2521cat >>conftest.$ac_ext <<_ACEOF
2522/* end confdefs.h. */
2523#ifdef __STDC__
2524# include <limits.h>
2525#else
2526# include <assert.h>
2527#endif
2528 Syntax error
2529_ACEOF
2530if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2532 ac_status=$?
2533 grep -v '^ *+' conftest.er1 >conftest.err
2534 rm -f conftest.er1
2535 cat conftest.err >&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); } >/dev/null; then
2538 if test -s conftest.err; then
2539 ac_cpp_err=$ac_c_preproc_warn_flag
2540 else
2541 ac_cpp_err=
2542 fi
2543else
2544 ac_cpp_err=yes
2545fi
2546if test -z "$ac_cpp_err"; then
2547 :
2548else
2549 echo "$as_me: failed program was:" >&5
2550sed 's/^/| /' conftest.$ac_ext >&5
2551
2552 # Broken: fails on valid input.
2553continue
2554fi
2555rm -f conftest.err conftest.$ac_ext
2556
2557 # OK, works on sane cases. Now check whether non-existent headers
2558 # can be detected and how.
2559 cat >conftest.$ac_ext <<_ACEOF
2560#line $LINENO "configure"
2561/* confdefs.h. */
2562_ACEOF
2563cat confdefs.h >>conftest.$ac_ext
2564cat >>conftest.$ac_ext <<_ACEOF
2565/* end confdefs.h. */
2566#include <ac_nonexistent.h>
2567_ACEOF
2568if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2569 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2570 ac_status=$?
2571 grep -v '^ *+' conftest.er1 >conftest.err
2572 rm -f conftest.er1
2573 cat conftest.err >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } >/dev/null; then
2576 if test -s conftest.err; then
2577 ac_cpp_err=$ac_c_preproc_warn_flag
2578 else
2579 ac_cpp_err=
2580 fi
2581else
2582 ac_cpp_err=yes
2583fi
2584if test -z "$ac_cpp_err"; then
2585 # Broken: success on invalid input.
2586continue
2587else
2588 echo "$as_me: failed program was:" >&5
2589sed 's/^/| /' conftest.$ac_ext >&5
2590
2591 # Passes both tests.
2592ac_preproc_ok=:
2593break
2594fi
2595rm -f conftest.err conftest.$ac_ext
2596
2597done
2598# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2599rm -f conftest.err conftest.$ac_ext
2600if $ac_preproc_ok; then
2601 :
2602else
2603 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2604See \`config.log' for more details." >&5
2605echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2606See \`config.log' for more details." >&2;}
2607 { (exit 1); exit 1; }; }
2608fi
2609
2610ac_ext=c
2611ac_cpp='$CPP $CPPFLAGS'
2612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615
2616
2617echo "$as_me:$LINENO: checking for egrep" >&5
2618echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2619if test "${ac_cv_prog_egrep+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2621else
2622 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2623 then ac_cv_prog_egrep='grep -E'
2624 else ac_cv_prog_egrep='egrep'
2625 fi
2626fi
2627echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2628echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2629 EGREP=$ac_cv_prog_egrep
2630
2631
2632echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2633echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2634if test "${ac_cv_header_stdc+set}" = set; then
2635 echo $ECHO_N "(cached) $ECHO_C" >&6
2636else
2637 cat >conftest.$ac_ext <<_ACEOF
2638#line $LINENO "configure"
2639/* confdefs.h. */
2640_ACEOF
2641cat confdefs.h >>conftest.$ac_ext
2642cat >>conftest.$ac_ext <<_ACEOF
2643/* end confdefs.h. */
2644#include <stdlib.h>
2645#include <stdarg.h>
2646#include <string.h>
2647#include <float.h>
2648
2649int
2650main ()
2651{
2652
2653 ;
2654 return 0;
2655}
2656_ACEOF
2657rm -f conftest.$ac_objext
2658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659 (eval $ac_compile) 2>&5
2660 ac_status=$?
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -s conftest.$ac_objext'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 (eval $ac_try) 2>&5
2666 ac_status=$?
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2669 ac_cv_header_stdc=yes
2670else
2671 echo "$as_me: failed program was:" >&5
2672sed 's/^/| /' conftest.$ac_ext >&5
2673
2674ac_cv_header_stdc=no
2675fi
2676rm -f conftest.$ac_objext conftest.$ac_ext
2677
2678if test $ac_cv_header_stdc = yes; then
2679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2680 cat >conftest.$ac_ext <<_ACEOF
2681#line $LINENO "configure"
2682/* confdefs.h. */
2683_ACEOF
2684cat confdefs.h >>conftest.$ac_ext
2685cat >>conftest.$ac_ext <<_ACEOF
2686/* end confdefs.h. */
2687#include <string.h>
2688
2689_ACEOF
2690if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2691 $EGREP "memchr" >/dev/null 2>&1; then
2692 :
2693else
2694 ac_cv_header_stdc=no
2695fi
2696rm -f conftest*
2697
2698fi
2699
2700if test $ac_cv_header_stdc = yes; then
2701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2702 cat >conftest.$ac_ext <<_ACEOF
2703#line $LINENO "configure"
2704/* confdefs.h. */
2705_ACEOF
2706cat confdefs.h >>conftest.$ac_ext
2707cat >>conftest.$ac_ext <<_ACEOF
2708/* end confdefs.h. */
2709#include <stdlib.h>
2710
2711_ACEOF
2712if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2713 $EGREP "free" >/dev/null 2>&1; then
2714 :
2715else
2716 ac_cv_header_stdc=no
2717fi
2718rm -f conftest*
2719
2720fi
2721
2722if test $ac_cv_header_stdc = yes; then
2723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2724 if test "$cross_compiling" = yes; then
2725 :
2726else
2727 cat >conftest.$ac_ext <<_ACEOF
2728#line $LINENO "configure"
2729/* confdefs.h. */
2730_ACEOF
2731cat confdefs.h >>conftest.$ac_ext
2732cat >>conftest.$ac_ext <<_ACEOF
2733/* end confdefs.h. */
2734#include <ctype.h>
2735#if ((' ' & 0x0FF) == 0x020)
2736# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2737# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2738#else
2739# define ISLOWER(c) \
2740 (('a' <= (c) && (c) <= 'i') \
2741 || ('j' <= (c) && (c) <= 'r') \
2742 || ('s' <= (c) && (c) <= 'z'))
2743# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2744#endif
2745
2746#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2747int
2748main ()
2749{
2750 int i;
2751 for (i = 0; i < 256; i++)
2752 if (XOR (islower (i), ISLOWER (i))
2753 || toupper (i) != TOUPPER (i))
2754 exit(2);
2755 exit (0);
2756}
2757_ACEOF
2758rm -f conftest$ac_exeext
2759if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2760 (eval $ac_link) 2>&5
2761 ac_status=$?
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 (eval $ac_try) 2>&5
2766 ac_status=$?
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2769 :
2770else
2771 echo "$as_me: program exited with status $ac_status" >&5
2772echo "$as_me: failed program was:" >&5
2773sed 's/^/| /' conftest.$ac_ext >&5
2774
2775( exit $ac_status )
2776ac_cv_header_stdc=no
2777fi
2778rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2779fi
2780fi
2781fi
2782echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2783echo "${ECHO_T}$ac_cv_header_stdc" >&6
2784if test $ac_cv_header_stdc = yes; then
2785
2786cat >>confdefs.h <<\_ACEOF
2787#define STDC_HEADERS 1
2788_ACEOF
2789
2790fi
2791
2792# On IRIX 5.3, sys/types and inttypes.h are conflicting.
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2803 inttypes.h stdint.h unistd.h
2804do
2805as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2806echo "$as_me:$LINENO: checking for $ac_header" >&5
2807echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2808if eval "test \"\${$as_ac_Header+set}\" = set"; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2810else
2811 cat >conftest.$ac_ext <<_ACEOF
2812#line $LINENO "configure"
2813/* confdefs.h. */
2814_ACEOF
2815cat confdefs.h >>conftest.$ac_ext
2816cat >>conftest.$ac_ext <<_ACEOF
2817/* end confdefs.h. */
2818$ac_includes_default
2819
2820#include <$ac_header>
2821_ACEOF
2822rm -f conftest.$ac_objext
2823if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824 (eval $ac_compile) 2>&5
2825 ac_status=$?
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); } &&
2828 { ac_try='test -s conftest.$ac_objext'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2830 (eval $ac_try) 2>&5
2831 ac_status=$?
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2834 eval "$as_ac_Header=yes"
2835else
2836 echo "$as_me: failed program was:" >&5
2837sed 's/^/| /' conftest.$ac_ext >&5
2838
2839eval "$as_ac_Header=no"
2840fi
2841rm -f conftest.$ac_objext conftest.$ac_ext
2842fi
2843echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2844echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2845if test `eval echo '${'$as_ac_Header'}'` = yes; then
2846 cat >>confdefs.h <<_ACEOF
2847#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2848_ACEOF
2849
2850fi
2851
2852done
2853
2854
2855
2856for ac_header in stdlib.h
2857do
2858as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2859if eval "test \"\${$as_ac_Header+set}\" = set"; then
2860 echo "$as_me:$LINENO: checking for $ac_header" >&5
2861echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2862if eval "test \"\${$as_ac_Header+set}\" = set"; then
2863 echo $ECHO_N "(cached) $ECHO_C" >&6
2864fi
2865echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2866echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2867else
2868 # Is the header compilable?
2869echo "$as_me:$LINENO: checking $ac_header usability" >&5
2870echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2871cat >conftest.$ac_ext <<_ACEOF
2872#line $LINENO "configure"
2873/* confdefs.h. */
2874_ACEOF
2875cat confdefs.h >>conftest.$ac_ext
2876cat >>conftest.$ac_ext <<_ACEOF
2877/* end confdefs.h. */
2878$ac_includes_default
2879#include <$ac_header>
2880_ACEOF
2881rm -f conftest.$ac_objext
2882if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>&5
2884 ac_status=$?
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); } &&
2887 { ac_try='test -s conftest.$ac_objext'
2888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2889 (eval $ac_try) 2>&5
2890 ac_status=$?
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); }; }; then
2893 ac_header_compiler=yes
2894else
2895 echo "$as_me: failed program was:" >&5
2896sed 's/^/| /' conftest.$ac_ext >&5
2897
2898ac_header_compiler=no
2899fi
2900rm -f conftest.$ac_objext conftest.$ac_ext
2901echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2902echo "${ECHO_T}$ac_header_compiler" >&6
2903
2904# Is the header present?
2905echo "$as_me:$LINENO: checking $ac_header presence" >&5
2906echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2907cat >conftest.$ac_ext <<_ACEOF
2908#line $LINENO "configure"
2909/* confdefs.h. */
2910_ACEOF
2911cat confdefs.h >>conftest.$ac_ext
2912cat >>conftest.$ac_ext <<_ACEOF
2913/* end confdefs.h. */
2914#include <$ac_header>
2915_ACEOF
2916if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2918 ac_status=$?
2919 grep -v '^ *+' conftest.er1 >conftest.err
2920 rm -f conftest.er1
2921 cat conftest.err >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); } >/dev/null; then
2924 if test -s conftest.err; then
2925 ac_cpp_err=$ac_c_preproc_warn_flag
2926 else
2927 ac_cpp_err=
2928 fi
2929else
2930 ac_cpp_err=yes
2931fi
2932if test -z "$ac_cpp_err"; then
2933 ac_header_preproc=yes
2934else
2935 echo "$as_me: failed program was:" >&5
2936sed 's/^/| /' conftest.$ac_ext >&5
2937
2938 ac_header_preproc=no
2939fi
2940rm -f conftest.err conftest.$ac_ext
2941echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2942echo "${ECHO_T}$ac_header_preproc" >&6
2943
2944# So? What about this header?
2945case $ac_header_compiler:$ac_header_preproc in
2946 yes:no )
2947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2948echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2950echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2951 (
2952 cat <<\_ASBOX
2953## ------------------------------------ ##
2954## Report this to bug-autoconf@gnu.org. ##
2955## ------------------------------------ ##
2956_ASBOX
2957 ) |
2958 sed "s/^/$as_me: WARNING: /" >&2
2959 ;;
2960 no:yes )
2961 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2962echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2963 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2964echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2966echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2967 (
2968 cat <<\_ASBOX
2969## ------------------------------------ ##
2970## Report this to bug-autoconf@gnu.org. ##
2971## ------------------------------------ ##
2972_ASBOX
2973 ) |
2974 sed "s/^/$as_me: WARNING: /" >&2
2975 ;;
2976esac
2977echo "$as_me:$LINENO: checking for $ac_header" >&5
2978echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2979if eval "test \"\${$as_ac_Header+set}\" = set"; then
2980 echo $ECHO_N "(cached) $ECHO_C" >&6
2981else
2982 eval "$as_ac_Header=$ac_header_preproc"
2983fi
2984echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2985echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2986
2987fi
2988if test `eval echo '${'$as_ac_Header'}'` = yes; then
2989 cat >>confdefs.h <<_ACEOF
2990#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2991_ACEOF
2992
2993fi
2994
2995done
2996
2997
2998for ac_header in unistd.h
2999do
3000as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3001if eval "test \"\${$as_ac_Header+set}\" = set"; then
3002 echo "$as_me:$LINENO: checking for $ac_header" >&5
3003echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3004if eval "test \"\${$as_ac_Header+set}\" = set"; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3006fi
3007echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3008echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3009else
3010 # Is the header compilable?
3011echo "$as_me:$LINENO: checking $ac_header usability" >&5
3012echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3013cat >conftest.$ac_ext <<_ACEOF
3014#line $LINENO "configure"
3015/* confdefs.h. */
3016_ACEOF
3017cat confdefs.h >>conftest.$ac_ext
3018cat >>conftest.$ac_ext <<_ACEOF
3019/* end confdefs.h. */
3020$ac_includes_default
3021#include <$ac_header>
3022_ACEOF
3023rm -f conftest.$ac_objext
3024if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3025 (eval $ac_compile) 2>&5
3026 ac_status=$?
3027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028 (exit $ac_status); } &&
3029 { ac_try='test -s conftest.$ac_objext'
3030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 (eval $ac_try) 2>&5
3032 ac_status=$?
3033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034 (exit $ac_status); }; }; then
3035 ac_header_compiler=yes
3036else
3037 echo "$as_me: failed program was:" >&5
3038sed 's/^/| /' conftest.$ac_ext >&5
3039
3040ac_header_compiler=no
3041fi
3042rm -f conftest.$ac_objext conftest.$ac_ext
3043echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3044echo "${ECHO_T}$ac_header_compiler" >&6
3045
3046# Is the header present?
3047echo "$as_me:$LINENO: checking $ac_header presence" >&5
3048echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3049cat >conftest.$ac_ext <<_ACEOF
3050#line $LINENO "configure"
3051/* confdefs.h. */
3052_ACEOF
3053cat confdefs.h >>conftest.$ac_ext
3054cat >>conftest.$ac_ext <<_ACEOF
3055/* end confdefs.h. */
3056#include <$ac_header>
3057_ACEOF
3058if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3060 ac_status=$?
3061 grep -v '^ *+' conftest.er1 >conftest.err
3062 rm -f conftest.er1
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev/null; then
3066 if test -s conftest.err; then
3067 ac_cpp_err=$ac_c_preproc_warn_flag
3068 else
3069 ac_cpp_err=
3070 fi
3071else
3072 ac_cpp_err=yes
3073fi
3074if test -z "$ac_cpp_err"; then
3075 ac_header_preproc=yes
3076else
3077 echo "$as_me: failed program was:" >&5
3078sed 's/^/| /' conftest.$ac_ext >&5
3079
3080 ac_header_preproc=no
3081fi
3082rm -f conftest.err conftest.$ac_ext
3083echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3084echo "${ECHO_T}$ac_header_preproc" >&6
3085
3086# So? What about this header?
3087case $ac_header_compiler:$ac_header_preproc in
3088 yes:no )
3089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3090echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3092echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3093 (
3094 cat <<\_ASBOX
3095## ------------------------------------ ##
3096## Report this to bug-autoconf@gnu.org. ##
3097## ------------------------------------ ##
3098_ASBOX
3099 ) |
3100 sed "s/^/$as_me: WARNING: /" >&2
3101 ;;
3102 no:yes )
3103 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3104echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3105 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3106echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3108echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3109 (
3110 cat <<\_ASBOX
3111## ------------------------------------ ##
3112## Report this to bug-autoconf@gnu.org. ##
3113## ------------------------------------ ##
3114_ASBOX
3115 ) |
3116 sed "s/^/$as_me: WARNING: /" >&2
3117 ;;
3118esac
3119echo "$as_me:$LINENO: checking for $ac_header" >&5
3120echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3121if eval "test \"\${$as_ac_Header+set}\" = set"; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3123else
3124 eval "$as_ac_Header=$ac_header_preproc"
3125fi
3126echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3127echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3128
3129fi
3130if test `eval echo '${'$as_ac_Header'}'` = yes; then
3131 cat >>confdefs.h <<_ACEOF
3132#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3133_ACEOF
3134
3135fi
3136
3137done
3138
3139
3140for ac_header in stdint.h
3141do
3142as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3143if eval "test \"\${$as_ac_Header+set}\" = set"; then
3144 echo "$as_me:$LINENO: checking for $ac_header" >&5
3145echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3146if eval "test \"\${$as_ac_Header+set}\" = set"; then
3147 echo $ECHO_N "(cached) $ECHO_C" >&6
3148fi
3149echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3150echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3151else
3152 # Is the header compilable?
3153echo "$as_me:$LINENO: checking $ac_header usability" >&5
3154echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3155cat >conftest.$ac_ext <<_ACEOF
3156#line $LINENO "configure"
3157/* confdefs.h. */
3158_ACEOF
3159cat confdefs.h >>conftest.$ac_ext
3160cat >>conftest.$ac_ext <<_ACEOF
3161/* end confdefs.h. */
3162$ac_includes_default
3163#include <$ac_header>
3164_ACEOF
3165rm -f conftest.$ac_objext
3166if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3167 (eval $ac_compile) 2>&5
3168 ac_status=$?
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 (eval $ac_try) 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 ac_header_compiler=yes
3178else
3179 echo "$as_me: failed program was:" >&5
3180sed 's/^/| /' conftest.$ac_ext >&5
3181
3182ac_header_compiler=no
3183fi
3184rm -f conftest.$ac_objext conftest.$ac_ext
3185echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3186echo "${ECHO_T}$ac_header_compiler" >&6
3187
3188# Is the header present?
3189echo "$as_me:$LINENO: checking $ac_header presence" >&5
3190echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3191cat >conftest.$ac_ext <<_ACEOF
3192#line $LINENO "configure"
3193/* confdefs.h. */
3194_ACEOF
3195cat confdefs.h >>conftest.$ac_ext
3196cat >>conftest.$ac_ext <<_ACEOF
3197/* end confdefs.h. */
3198#include <$ac_header>
3199_ACEOF
3200if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } >/dev/null; then
3208 if test -s conftest.err; then
3209 ac_cpp_err=$ac_c_preproc_warn_flag
3210 else
3211 ac_cpp_err=
3212 fi
3213else
3214 ac_cpp_err=yes
3215fi
3216if test -z "$ac_cpp_err"; then
3217 ac_header_preproc=yes
3218else
3219 echo "$as_me: failed program was:" >&5
3220sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 ac_header_preproc=no
3223fi
3224rm -f conftest.err conftest.$ac_ext
3225echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3226echo "${ECHO_T}$ac_header_preproc" >&6
3227
3228# So? What about this header?
3229case $ac_header_compiler:$ac_header_preproc in
3230 yes:no )
3231 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3232echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3233 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3234echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3235 (
3236 cat <<\_ASBOX
3237## ------------------------------------ ##
3238## Report this to bug-autoconf@gnu.org. ##
3239## ------------------------------------ ##
3240_ASBOX
3241 ) |
3242 sed "s/^/$as_me: WARNING: /" >&2
3243 ;;
3244 no:yes )
3245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3246echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3248echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3250echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3251 (
3252 cat <<\_ASBOX
3253## ------------------------------------ ##
3254## Report this to bug-autoconf@gnu.org. ##
3255## ------------------------------------ ##
3256_ASBOX
3257 ) |
3258 sed "s/^/$as_me: WARNING: /" >&2
3259 ;;
3260esac
3261echo "$as_me:$LINENO: checking for $ac_header" >&5
3262echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3263if eval "test \"\${$as_ac_Header+set}\" = set"; then
3264 echo $ECHO_N "(cached) $ECHO_C" >&6
3265else
3266 eval "$as_ac_Header=$ac_header_preproc"
3267fi
3268echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3269echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3270
3271fi
3272if test `eval echo '${'$as_ac_Header'}'` = yes; then
3273 cat >>confdefs.h <<_ACEOF
3274#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3275_ACEOF
3276
3277fi
3278
3279done
3280
3281
3282for ac_header in sys/uio.h
3283do
3284as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3285if eval "test \"\${$as_ac_Header+set}\" = set"; then
3286 echo "$as_me:$LINENO: checking for $ac_header" >&5
3287echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3288if eval "test \"\${$as_ac_Header+set}\" = set"; then
3289 echo $ECHO_N "(cached) $ECHO_C" >&6
3290fi
3291echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3292echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3293else
3294 # Is the header compilable?
3295echo "$as_me:$LINENO: checking $ac_header usability" >&5
3296echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3297cat >conftest.$ac_ext <<_ACEOF
3298#line $LINENO "configure"
3299/* confdefs.h. */
3300_ACEOF
3301cat confdefs.h >>conftest.$ac_ext
3302cat >>conftest.$ac_ext <<_ACEOF
3303/* end confdefs.h. */
3304$ac_includes_default
3305#include <$ac_header>
3306_ACEOF
3307rm -f conftest.$ac_objext
3308if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 (eval $ac_compile) 2>&5
3310 ac_status=$?
3311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3312 (exit $ac_status); } &&
3313 { ac_try='test -s conftest.$ac_objext'
3314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3315 (eval $ac_try) 2>&5
3316 ac_status=$?
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); }; }; then
3319 ac_header_compiler=yes
3320else
3321 echo "$as_me: failed program was:" >&5
3322sed 's/^/| /' conftest.$ac_ext >&5
3323
3324ac_header_compiler=no
3325fi
3326rm -f conftest.$ac_objext conftest.$ac_ext
3327echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3328echo "${ECHO_T}$ac_header_compiler" >&6
3329
3330# Is the header present?
3331echo "$as_me:$LINENO: checking $ac_header presence" >&5
3332echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3333cat >conftest.$ac_ext <<_ACEOF
3334#line $LINENO "configure"
3335/* confdefs.h. */
3336_ACEOF
3337cat confdefs.h >>conftest.$ac_ext
3338cat >>conftest.$ac_ext <<_ACEOF
3339/* end confdefs.h. */
3340#include <$ac_header>
3341_ACEOF
3342if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3343 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3344 ac_status=$?
3345 grep -v '^ *+' conftest.er1 >conftest.err
3346 rm -f conftest.er1
3347 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } >/dev/null; then
3350 if test -s conftest.err; then
3351 ac_cpp_err=$ac_c_preproc_warn_flag
3352 else
3353 ac_cpp_err=
3354 fi
3355else
3356 ac_cpp_err=yes
3357fi
3358if test -z "$ac_cpp_err"; then
3359 ac_header_preproc=yes
3360else
3361 echo "$as_me: failed program was:" >&5
3362sed 's/^/| /' conftest.$ac_ext >&5
3363
3364 ac_header_preproc=no
3365fi
3366rm -f conftest.err conftest.$ac_ext
3367echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3368echo "${ECHO_T}$ac_header_preproc" >&6
3369
3370# So? What about this header?
3371case $ac_header_compiler:$ac_header_preproc in
3372 yes:no )
3373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3374echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3376echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3377 (
3378 cat <<\_ASBOX
3379## ------------------------------------ ##
3380## Report this to bug-autoconf@gnu.org. ##
3381## ------------------------------------ ##
3382_ASBOX
3383 ) |
3384 sed "s/^/$as_me: WARNING: /" >&2
3385 ;;
3386 no:yes )
3387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3388echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3390echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3392echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3393 (
3394 cat <<\_ASBOX
3395## ------------------------------------ ##
3396## Report this to bug-autoconf@gnu.org. ##
3397## ------------------------------------ ##
3398_ASBOX
3399 ) |
3400 sed "s/^/$as_me: WARNING: /" >&2
3401 ;;
3402esac
3403echo "$as_me:$LINENO: checking for $ac_header" >&5
3404echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3405if eval "test \"\${$as_ac_Header+set}\" = set"; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3407else
3408 eval "$as_ac_Header=$ac_header_preproc"
3409fi
3410echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3411echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3412
3413fi
3414if test `eval echo '${'$as_ac_Header'}'` = yes; then
3415 cat >>confdefs.h <<_ACEOF
3416#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3417_ACEOF
3418
3419fi
3420
3421done
3422
3423
3424for ac_header in machine/types.h
3425do
3426as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3427if eval "test \"\${$as_ac_Header+set}\" = set"; then
3428 echo "$as_me:$LINENO: checking for $ac_header" >&5
3429echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3430if eval "test \"\${$as_ac_Header+set}\" = set"; then
3431 echo $ECHO_N "(cached) $ECHO_C" >&6
3432fi
3433echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3434echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3435else
3436 # Is the header compilable?
3437echo "$as_me:$LINENO: checking $ac_header usability" >&5
3438echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3439cat >conftest.$ac_ext <<_ACEOF
3440#line $LINENO "configure"
3441/* confdefs.h. */
3442_ACEOF
3443cat confdefs.h >>conftest.$ac_ext
3444cat >>conftest.$ac_ext <<_ACEOF
3445/* end confdefs.h. */
3446$ac_includes_default
3447#include <$ac_header>
3448_ACEOF
3449rm -f conftest.$ac_objext
3450if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3451 (eval $ac_compile) 2>&5
3452 ac_status=$?
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } &&
3455 { ac_try='test -s conftest.$ac_objext'
3456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 (eval $ac_try) 2>&5
3458 ac_status=$?
3459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460 (exit $ac_status); }; }; then
3461 ac_header_compiler=yes
3462else
3463 echo "$as_me: failed program was:" >&5
3464sed 's/^/| /' conftest.$ac_ext >&5
3465
3466ac_header_compiler=no
3467fi
3468rm -f conftest.$ac_objext conftest.$ac_ext
3469echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3470echo "${ECHO_T}$ac_header_compiler" >&6
3471
3472# Is the header present?
3473echo "$as_me:$LINENO: checking $ac_header presence" >&5
3474echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3475cat >conftest.$ac_ext <<_ACEOF
3476#line $LINENO "configure"
3477/* confdefs.h. */
3478_ACEOF
3479cat confdefs.h >>conftest.$ac_ext
3480cat >>conftest.$ac_ext <<_ACEOF
3481/* end confdefs.h. */
3482#include <$ac_header>
3483_ACEOF
3484if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3485 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3486 ac_status=$?
3487 grep -v '^ *+' conftest.er1 >conftest.err
3488 rm -f conftest.er1
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } >/dev/null; then
3492 if test -s conftest.err; then
3493 ac_cpp_err=$ac_c_preproc_warn_flag
3494 else
3495 ac_cpp_err=
3496 fi
3497else
3498 ac_cpp_err=yes
3499fi
3500if test -z "$ac_cpp_err"; then
3501 ac_header_preproc=yes
3502else
3503 echo "$as_me: failed program was:" >&5
3504sed 's/^/| /' conftest.$ac_ext >&5
3505
3506 ac_header_preproc=no
3507fi
3508rm -f conftest.err conftest.$ac_ext
3509echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3510echo "${ECHO_T}$ac_header_preproc" >&6
3511
3512# So? What about this header?
3513case $ac_header_compiler:$ac_header_preproc in
3514 yes:no )
3515 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3516echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3518echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3519 (
3520 cat <<\_ASBOX
3521## ------------------------------------ ##
3522## Report this to bug-autoconf@gnu.org. ##
3523## ------------------------------------ ##
3524_ASBOX
3525 ) |
3526 sed "s/^/$as_me: WARNING: /" >&2
3527 ;;
3528 no:yes )
3529 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3530echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3531 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3532echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3534echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3535 (
3536 cat <<\_ASBOX
3537## ------------------------------------ ##
3538## Report this to bug-autoconf@gnu.org. ##
3539## ------------------------------------ ##
3540_ASBOX
3541 ) |
3542 sed "s/^/$as_me: WARNING: /" >&2
3543 ;;
3544esac
3545echo "$as_me:$LINENO: checking for $ac_header" >&5
3546echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3547if eval "test \"\${$as_ac_Header+set}\" = set"; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3549else
3550 eval "$as_ac_Header=$ac_header_preproc"
3551fi
3552echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3553echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3554
3555fi
3556if test `eval echo '${'$as_ac_Header'}'` = yes; then
3557 cat >>confdefs.h <<_ACEOF
3558#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3559_ACEOF
3560
3561fi
3562
3563done
3564
3565
3566for ac_header in sys/int_types.h
3567do
3568as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3569if eval "test \"\${$as_ac_Header+set}\" = set"; then
3570 echo "$as_me:$LINENO: checking for $ac_header" >&5
3571echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3572if eval "test \"\${$as_ac_Header+set}\" = set"; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574fi
3575echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3576echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3577else
3578 # Is the header compilable?
3579echo "$as_me:$LINENO: checking $ac_header usability" >&5
3580echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3581cat >conftest.$ac_ext <<_ACEOF
3582#line $LINENO "configure"
3583/* confdefs.h. */
3584_ACEOF
3585cat confdefs.h >>conftest.$ac_ext
3586cat >>conftest.$ac_ext <<_ACEOF
3587/* end confdefs.h. */
3588$ac_includes_default
3589#include <$ac_header>
3590_ACEOF
3591rm -f conftest.$ac_objext
3592if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3593 (eval $ac_compile) 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } &&
3597 { ac_try='test -s conftest.$ac_objext'
3598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599 (eval $ac_try) 2>&5
3600 ac_status=$?
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); }; }; then
3603 ac_header_compiler=yes
3604else
3605 echo "$as_me: failed program was:" >&5
3606sed 's/^/| /' conftest.$ac_ext >&5
3607
3608ac_header_compiler=no
3609fi
3610rm -f conftest.$ac_objext conftest.$ac_ext
3611echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3612echo "${ECHO_T}$ac_header_compiler" >&6
3613
3614# Is the header present?
3615echo "$as_me:$LINENO: checking $ac_header presence" >&5
3616echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3617cat >conftest.$ac_ext <<_ACEOF
3618#line $LINENO "configure"
3619/* confdefs.h. */
3620_ACEOF
3621cat confdefs.h >>conftest.$ac_ext
3622cat >>conftest.$ac_ext <<_ACEOF
3623/* end confdefs.h. */
3624#include <$ac_header>
3625_ACEOF
3626if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3628 ac_status=$?
3629 grep -v '^ *+' conftest.er1 >conftest.err
3630 rm -f conftest.er1
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 else
3637 ac_cpp_err=
3638 fi
3639else
3640 ac_cpp_err=yes
3641fi
3642if test -z "$ac_cpp_err"; then
3643 ac_header_preproc=yes
3644else
3645 echo "$as_me: failed program was:" >&5
3646sed 's/^/| /' conftest.$ac_ext >&5
3647
3648 ac_header_preproc=no
3649fi
3650rm -f conftest.err conftest.$ac_ext
3651echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3652echo "${ECHO_T}$ac_header_preproc" >&6
3653
3654# So? What about this header?
3655case $ac_header_compiler:$ac_header_preproc in
3656 yes:no )
3657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3658echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3660echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3661 (
3662 cat <<\_ASBOX
3663## ------------------------------------ ##
3664## Report this to bug-autoconf@gnu.org. ##
3665## ------------------------------------ ##
3666_ASBOX
3667 ) |
3668 sed "s/^/$as_me: WARNING: /" >&2
3669 ;;
3670 no:yes )
3671 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3672echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3673 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3674echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3676echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3677 (
3678 cat <<\_ASBOX
3679## ------------------------------------ ##
3680## Report this to bug-autoconf@gnu.org. ##
3681## ------------------------------------ ##
3682_ASBOX
3683 ) |
3684 sed "s/^/$as_me: WARNING: /" >&2
3685 ;;
3686esac
3687echo "$as_me:$LINENO: checking for $ac_header" >&5
3688echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3689if eval "test \"\${$as_ac_Header+set}\" = set"; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3691else
3692 eval "$as_ac_Header=$ac_header_preproc"
3693fi
3694echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3695echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3696
3697fi
3698if test `eval echo '${'$as_ac_Header'}'` = yes; then
3699 cat >>confdefs.h <<_ACEOF
3700#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3701_ACEOF
3702
3703fi
3704
3705done
3706
3707
3708
3709for ac_header in syslog.h
3710do
3711as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3712if eval "test \"\${$as_ac_Header+set}\" = set"; then
3713 echo "$as_me:$LINENO: checking for $ac_header" >&5
3714echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3715if eval "test \"\${$as_ac_Header+set}\" = set"; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3717fi
3718echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3719echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3720else
3721 # Is the header compilable?
3722echo "$as_me:$LINENO: checking $ac_header usability" >&5
3723echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3724cat >conftest.$ac_ext <<_ACEOF
3725#line $LINENO "configure"
3726/* confdefs.h. */
3727_ACEOF
3728cat confdefs.h >>conftest.$ac_ext
3729cat >>conftest.$ac_ext <<_ACEOF
3730/* end confdefs.h. */
3731$ac_includes_default
3732#include <$ac_header>
3733_ACEOF
3734rm -f conftest.$ac_objext
3735if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3736 (eval $ac_compile) 2>&5
3737 ac_status=$?
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } &&
3740 { ac_try='test -s conftest.$ac_objext'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3742 (eval $ac_try) 2>&5
3743 ac_status=$?
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; }; then
3746 ac_header_compiler=yes
3747else
3748 echo "$as_me: failed program was:" >&5
3749sed 's/^/| /' conftest.$ac_ext >&5
3750
3751ac_header_compiler=no
3752fi
3753rm -f conftest.$ac_objext conftest.$ac_ext
3754echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3755echo "${ECHO_T}$ac_header_compiler" >&6
3756
3757# Is the header present?
3758echo "$as_me:$LINENO: checking $ac_header presence" >&5
3759echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3760cat >conftest.$ac_ext <<_ACEOF
3761#line $LINENO "configure"
3762/* confdefs.h. */
3763_ACEOF
3764cat confdefs.h >>conftest.$ac_ext
3765cat >>conftest.$ac_ext <<_ACEOF
3766/* end confdefs.h. */
3767#include <$ac_header>
3768_ACEOF
3769if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3771 ac_status=$?
3772 grep -v '^ *+' conftest.er1 >conftest.err
3773 rm -f conftest.er1
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } >/dev/null; then
3777 if test -s conftest.err; then
3778 ac_cpp_err=$ac_c_preproc_warn_flag
3779 else
3780 ac_cpp_err=
3781 fi
3782else
3783 ac_cpp_err=yes
3784fi
3785if test -z "$ac_cpp_err"; then
3786 ac_header_preproc=yes
3787else
3788 echo "$as_me: failed program was:" >&5
3789sed 's/^/| /' conftest.$ac_ext >&5
3790
3791 ac_header_preproc=no
3792fi
3793rm -f conftest.err conftest.$ac_ext
3794echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3795echo "${ECHO_T}$ac_header_preproc" >&6
3796
3797# So? What about this header?
3798case $ac_header_compiler:$ac_header_preproc in
3799 yes:no )
3800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3801echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3803echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3804 (
3805 cat <<\_ASBOX
3806## ------------------------------------ ##
3807## Report this to bug-autoconf@gnu.org. ##
3808## ------------------------------------ ##
3809_ASBOX
3810 ) |
3811 sed "s/^/$as_me: WARNING: /" >&2
3812 ;;
3813 no:yes )
3814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3815echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3817echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3819echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3820 (
3821 cat <<\_ASBOX
3822## ------------------------------------ ##
3823## Report this to bug-autoconf@gnu.org. ##
3824## ------------------------------------ ##
3825_ASBOX
3826 ) |
3827 sed "s/^/$as_me: WARNING: /" >&2
3828 ;;
3829esac
3830echo "$as_me:$LINENO: checking for $ac_header" >&5
3831echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3832if eval "test \"\${$as_ac_Header+set}\" = set"; then
3833 echo $ECHO_N "(cached) $ECHO_C" >&6
3834else
3835 eval "$as_ac_Header=$ac_header_preproc"
3836fi
3837echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3838echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3839
3840fi
3841if test `eval echo '${'$as_ac_Header'}'` = yes; then
3842 cat >>confdefs.h <<_ACEOF
3843#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3844_ACEOF
3845
3846fi
3847
3848done
3849
3850
3851echo "$as_me:$LINENO: checking for uint16_t" >&5
3852echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
3853if test "${ac_cv_type_uint16_t+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3855else
3856 cat >conftest.$ac_ext <<_ACEOF
3857#line $LINENO "configure"
3858/* confdefs.h. */
3859_ACEOF
3860cat confdefs.h >>conftest.$ac_ext
3861cat >>conftest.$ac_ext <<_ACEOF
3862/* end confdefs.h. */
3863$ac_includes_default
3864int
3865main ()
3866{
3867if ((uint16_t *) 0)
3868 return 0;
3869if (sizeof (uint16_t))
3870 return 0;
3871 ;
3872 return 0;
3873}
3874_ACEOF
3875rm -f conftest.$ac_objext
3876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3877 (eval $ac_compile) 2>&5
3878 ac_status=$?
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } &&
3881 { ac_try='test -s conftest.$ac_objext'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 (eval $ac_try) 2>&5
3884 ac_status=$?
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; }; then
3887 ac_cv_type_uint16_t=yes
3888else
3889 echo "$as_me: failed program was:" >&5
3890sed 's/^/| /' conftest.$ac_ext >&5
3891
3892ac_cv_type_uint16_t=no
3893fi
3894rm -f conftest.$ac_objext conftest.$ac_ext
3895fi
3896echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
3897echo "${ECHO_T}$ac_cv_type_uint16_t" >&6
3898
3899
3900echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3901echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3902if test "${ac_cv_c_const+set}" = set; then
3903 echo $ECHO_N "(cached) $ECHO_C" >&6
3904else
3905 cat >conftest.$ac_ext <<_ACEOF
3906#line $LINENO "configure"
3907/* confdefs.h. */
3908_ACEOF
3909cat confdefs.h >>conftest.$ac_ext
3910cat >>conftest.$ac_ext <<_ACEOF
3911/* end confdefs.h. */
3912
3913int
3914main ()
3915{
3916/* FIXME: Include the comments suggested by Paul. */
3917#ifndef __cplusplus
3918 /* Ultrix mips cc rejects this. */
3919 typedef int charset[2];
3920 const charset x;
3921 /* SunOS 4.1.1 cc rejects this. */
3922 char const *const *ccp;
3923 char **p;
3924 /* NEC SVR4.0.2 mips cc rejects this. */
3925 struct point {int x, y;};
3926 static struct point const zero = {0,0};
3927 /* AIX XL C 1.02.0.0 rejects this.
3928 It does not let you subtract one const X* pointer from another in
3929 an arm of an if-expression whose if-part is not a constant
3930 expression */
3931 const char *g = "string";
3932 ccp = &g + (g ? g-g : 0);
3933 /* HPUX 7.0 cc rejects these. */
3934 ++ccp;
3935 p = (char**) ccp;
3936 ccp = (char const *const *) p;
3937 { /* SCO 3.2v4 cc rejects this. */
3938 char *t;
3939 char const *s = 0 ? (char *) 0 : (char const *) 0;
3940
3941 *t++ = 0;
3942 }
3943 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3944 int x[] = {25, 17};
3945 const int *foo = &x[0];
3946 ++foo;
3947 }
3948 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3949 typedef const int *iptr;
3950 iptr p = 0;
3951 ++p;
3952 }
3953 { /* AIX XL C 1.02.0.0 rejects this saying
3954 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3955 struct s { int j; const int *ap[3]; };
3956 struct s *b; b->j = 5;
3957 }
3958 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3959 const int foo = 10;
3960 }
3961#endif
3962
3963 ;
3964 return 0;
3965}
3966_ACEOF
3967rm -f conftest.$ac_objext
3968if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3969 (eval $ac_compile) 2>&5
3970 ac_status=$?
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } &&
3973 { ac_try='test -s conftest.$ac_objext'
3974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 (eval $ac_try) 2>&5
3976 ac_status=$?
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3979 ac_cv_c_const=yes
3980else
3981 echo "$as_me: failed program was:" >&5
3982sed 's/^/| /' conftest.$ac_ext >&5
3983
3984ac_cv_c_const=no
3985fi
3986rm -f conftest.$ac_objext conftest.$ac_ext
3987fi
3988echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3989echo "${ECHO_T}$ac_cv_c_const" >&6
3990if test $ac_cv_c_const = no; then
3991
3992cat >>confdefs.h <<\_ACEOF
3993#define const
3994_ACEOF
3995
3996fi
3997
3998echo "$as_me:$LINENO: checking for inline" >&5
3999echo $ECHO_N "checking for inline... $ECHO_C" >&6
4000if test "${ac_cv_c_inline+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6
4002else
4003 ac_cv_c_inline=no
4004for ac_kw in inline __inline__ __inline; do
4005 cat >conftest.$ac_ext <<_ACEOF
4006#line $LINENO "configure"
4007/* confdefs.h. */
4008_ACEOF
4009cat confdefs.h >>conftest.$ac_ext
4010cat >>conftest.$ac_ext <<_ACEOF
4011/* end confdefs.h. */
4012#ifndef __cplusplus
4013typedef int foo_t;
4014static $ac_kw foo_t static_foo () {return 0; }
4015$ac_kw foo_t foo () {return 0; }
4016#endif
4017
4018_ACEOF
4019rm -f conftest.$ac_objext
4020if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4021 (eval $ac_compile) 2>&5
4022 ac_status=$?
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); } &&
4025 { ac_try='test -s conftest.$ac_objext'
4026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027 (eval $ac_try) 2>&5
4028 ac_status=$?
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); }; }; then
4031 ac_cv_c_inline=$ac_kw; break
4032else
4033 echo "$as_me: failed program was:" >&5
4034sed 's/^/| /' conftest.$ac_ext >&5
4035
4036fi
4037rm -f conftest.$ac_objext conftest.$ac_ext
4038done
4039
4040fi
4041echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4042echo "${ECHO_T}$ac_cv_c_inline" >&6
4043case $ac_cv_c_inline in
4044 inline | yes) ;;
4045 no)
4046cat >>confdefs.h <<\_ACEOF
4047#define inline
4048_ACEOF
4049 ;;
4050 *) cat >>confdefs.h <<_ACEOF
4051#define inline $ac_cv_c_inline
4052_ACEOF
4053 ;;
4054esac
4055
4056echo "$as_me:$LINENO: checking for size_t" >&5
4057echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4058if test "${ac_cv_type_size_t+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4060else
4061 cat >conftest.$ac_ext <<_ACEOF
4062#line $LINENO "configure"
4063/* confdefs.h. */
4064_ACEOF
4065cat confdefs.h >>conftest.$ac_ext
4066cat >>conftest.$ac_ext <<_ACEOF
4067/* end confdefs.h. */
4068$ac_includes_default
4069int
4070main ()
4071{
4072if ((size_t *) 0)
4073 return 0;
4074if (sizeof (size_t))
4075 return 0;
4076 ;
4077 return 0;
4078}
4079_ACEOF
4080rm -f conftest.$ac_objext
4081if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4082 (eval $ac_compile) 2>&5
4083 ac_status=$?
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } &&
4086 { ac_try='test -s conftest.$ac_objext'
4087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4088 (eval $ac_try) 2>&5
4089 ac_status=$?
4090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091 (exit $ac_status); }; }; then
4092 ac_cv_type_size_t=yes
4093else
4094 echo "$as_me: failed program was:" >&5
4095sed 's/^/| /' conftest.$ac_ext >&5
4096
4097ac_cv_type_size_t=no
4098fi
4099rm -f conftest.$ac_objext conftest.$ac_ext
4100fi
4101echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4102echo "${ECHO_T}$ac_cv_type_size_t" >&6
4103if test $ac_cv_type_size_t = yes; then
4104 :
4105else
4106
4107cat >>confdefs.h <<_ACEOF
4108#define size_t unsigned
4109_ACEOF
4110
4111fi
4112
4113
4114echo "$as_me:$LINENO: checking for working memcmp" >&5
4115echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
4116if test "${ac_cv_func_memcmp_working+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4118else
4119 if test "$cross_compiling" = yes; then
4120 ac_cv_func_memcmp_working=no
4121else
4122 cat >conftest.$ac_ext <<_ACEOF
4123#line $LINENO "configure"
4124/* confdefs.h. */
4125_ACEOF
4126cat confdefs.h >>conftest.$ac_ext
4127cat >>conftest.$ac_ext <<_ACEOF
4128/* end confdefs.h. */
4129
4130int
4131main ()
4132{
4133
4134 /* Some versions of memcmp are not 8-bit clean. */
4135 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
4136 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
4137 exit (1);
4138
4139 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
4140 or more and with at least one buffer not starting on a 4-byte boundary.
4141 William Lewis provided this test program. */
4142 {
4143 char foo[21];
4144 char bar[21];
4145 int i;
4146 for (i = 0; i < 4; i++)
4147 {
4148 char *a = foo + i;
4149 char *b = bar + i;
4150 strcpy (a, "--------01111111");
4151 strcpy (b, "--------10000000");
4152 if (memcmp (a, b, 16) >= 0)
4153 exit (1);
4154 }
4155 exit (0);
4156 }
4157
4158 ;
4159 return 0;
4160}
4161_ACEOF
4162rm -f conftest$ac_exeext
4163if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4164 (eval $ac_link) 2>&5
4165 ac_status=$?
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 (eval $ac_try) 2>&5
4170 ac_status=$?
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 ac_cv_func_memcmp_working=yes
4174else
4175 echo "$as_me: program exited with status $ac_status" >&5
4176echo "$as_me: failed program was:" >&5
4177sed 's/^/| /' conftest.$ac_ext >&5
4178
4179( exit $ac_status )
4180ac_cv_func_memcmp_working=no
4181fi
4182rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4183fi
4184fi
4185echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
4186echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
4187test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
4188
4189
4190
4191
4192for ac_func in socket strerror inet_aton
4193do
4194as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4195echo "$as_me:$LINENO: checking for $ac_func" >&5
4196echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4197if eval "test \"\${$as_ac_var+set}\" = set"; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4199else
4200 cat >conftest.$ac_ext <<_ACEOF
4201#line $LINENO "configure"
4202/* confdefs.h. */
4203_ACEOF
4204cat confdefs.h >>conftest.$ac_ext
4205cat >>conftest.$ac_ext <<_ACEOF
4206/* end confdefs.h. */
4207/* System header to define __stub macros and hopefully few prototypes,
4208 which can conflict with char $ac_func (); below.
4209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4210 <limits.h> exists even on freestanding compilers. */
4211#ifdef __STDC__
4212# include <limits.h>
4213#else
4214# include <assert.h>
4215#endif
4216/* Override any gcc2 internal prototype to avoid an error. */
4217#ifdef __cplusplus
4218extern "C"
4219{
4220#endif
4221/* We use char because int might match the return type of a gcc2
4222 builtin and then its argument prototype would still apply. */
4223char $ac_func ();
4224/* The GNU C library defines this for functions which it implements
4225 to always fail with ENOSYS. Some functions are actually named
4226 something starting with __ and the normal name is an alias. */
4227#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4228choke me
4229#else
4230char (*f) () = $ac_func;
4231#endif
4232#ifdef __cplusplus
4233}
4234#endif
4235
4236int
4237main ()
4238{
4239return f != $ac_func;
4240 ;
4241 return 0;
4242}
4243_ACEOF
4244rm -f conftest.$ac_objext conftest$ac_exeext
4245if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4246 (eval $ac_link) 2>&5
4247 ac_status=$?
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); } &&
4250 { ac_try='test -s conftest$ac_exeext'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 (eval $ac_try) 2>&5
4253 ac_status=$?
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; }; then
4256 eval "$as_ac_var=yes"
4257else
4258 echo "$as_me: failed program was:" >&5
4259sed 's/^/| /' conftest.$ac_ext >&5
4260
4261eval "$as_ac_var=no"
4262fi
4263rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4264fi
4265echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4266echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4267if test `eval echo '${'$as_ac_var'}'` = yes; then
4268 cat >>confdefs.h <<_ACEOF
4269#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4270_ACEOF
4271
4272fi
4273done
4274
4275
4276echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4277echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4278if test "${ac_cv_c_bigendian+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4280else
4281 # See if sys/param.h defines the BYTE_ORDER macro.
4282cat >conftest.$ac_ext <<_ACEOF
4283#line $LINENO "configure"
4284/* confdefs.h. */
4285_ACEOF
4286cat confdefs.h >>conftest.$ac_ext
4287cat >>conftest.$ac_ext <<_ACEOF
4288/* end confdefs.h. */
4289#include <sys/types.h>
4290#include <sys/param.h>
4291
4292int
4293main ()
4294{
4295#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4296 bogus endian macros
4297#endif
4298
4299 ;
4300 return 0;
4301}
4302_ACEOF
4303rm -f conftest.$ac_objext
4304if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4305 (eval $ac_compile) 2>&5
4306 ac_status=$?
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } &&
4309 { ac_try='test -s conftest.$ac_objext'
4310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311 (eval $ac_try) 2>&5
4312 ac_status=$?
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; }; then
4315 # It does; now see whether it defined to BIG_ENDIAN or not.
4316cat >conftest.$ac_ext <<_ACEOF
4317#line $LINENO "configure"
4318/* confdefs.h. */
4319_ACEOF
4320cat confdefs.h >>conftest.$ac_ext
4321cat >>conftest.$ac_ext <<_ACEOF
4322/* end confdefs.h. */
4323#include <sys/types.h>
4324#include <sys/param.h>
4325
4326int
4327main ()
4328{
4329#if BYTE_ORDER != BIG_ENDIAN
4330 not big endian
4331#endif
4332
4333 ;
4334 return 0;
4335}
4336_ACEOF
4337rm -f conftest.$ac_objext
4338if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4339 (eval $ac_compile) 2>&5
4340 ac_status=$?
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } &&
4343 { ac_try='test -s conftest.$ac_objext'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 (eval $ac_try) 2>&5
4346 ac_status=$?
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; }; then
4349 ac_cv_c_bigendian=yes
4350else
4351 echo "$as_me: failed program was:" >&5
4352sed 's/^/| /' conftest.$ac_ext >&5
4353
4354ac_cv_c_bigendian=no
4355fi
4356rm -f conftest.$ac_objext conftest.$ac_ext
4357else
4358 echo "$as_me: failed program was:" >&5
4359sed 's/^/| /' conftest.$ac_ext >&5
4360
4361# It does not; compile a test program.
4362if test "$cross_compiling" = yes; then
4363 # try to guess the endianness by grepping values into an object file
4364 ac_cv_c_bigendian=unknown
4365 cat >conftest.$ac_ext <<_ACEOF
4366#line $LINENO "configure"
4367/* confdefs.h. */
4368_ACEOF
4369cat confdefs.h >>conftest.$ac_ext
4370cat >>conftest.$ac_ext <<_ACEOF
4371/* end confdefs.h. */
4372short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4373short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4374void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4375short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4376short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4377void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4378int
4379main ()
4380{
4381 _ascii (); _ebcdic ();
4382 ;
4383 return 0;
4384}
4385_ACEOF
4386rm -f conftest.$ac_objext
4387if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388 (eval $ac_compile) 2>&5
4389 ac_status=$?
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); } &&
4392 { ac_try='test -s conftest.$ac_objext'
4393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4394 (eval $ac_try) 2>&5
4395 ac_status=$?
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); }; }; then
4398 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4399 ac_cv_c_bigendian=yes
4400fi
4401if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4402 if test "$ac_cv_c_bigendian" = unknown; then
4403 ac_cv_c_bigendian=no
4404 else
4405 # finding both strings is unlikely to happen, but who knows?
4406 ac_cv_c_bigendian=unknown
4407 fi
4408fi
4409else
4410 echo "$as_me: failed program was:" >&5
4411sed 's/^/| /' conftest.$ac_ext >&5
4412
4413fi
4414rm -f conftest.$ac_objext conftest.$ac_ext
4415else
4416 cat >conftest.$ac_ext <<_ACEOF
4417#line $LINENO "configure"
4418/* confdefs.h. */
4419_ACEOF
4420cat confdefs.h >>conftest.$ac_ext
4421cat >>conftest.$ac_ext <<_ACEOF
4422/* end confdefs.h. */
4423int
4424main ()
4425{
4426 /* Are we little or big endian? From Harbison&Steele. */
4427 union
4428 {
4429 long l;
4430 char c[sizeof (long)];
4431 } u;
4432 u.l = 1;
4433 exit (u.c[sizeof (long) - 1] == 1);
4434}
4435_ACEOF
4436rm -f conftest$ac_exeext
4437if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4438 (eval $ac_link) 2>&5
4439 ac_status=$?
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4443 (eval $ac_try) 2>&5
4444 ac_status=$?
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; }; then
4447 ac_cv_c_bigendian=no
4448else
4449 echo "$as_me: program exited with status $ac_status" >&5
4450echo "$as_me: failed program was:" >&5
4451sed 's/^/| /' conftest.$ac_ext >&5
4452
4453( exit $ac_status )
4454ac_cv_c_bigendian=yes
4455fi
4456rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4457fi
4458fi
4459rm -f conftest.$ac_objext conftest.$ac_ext
4460fi
4461echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4462echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4463case $ac_cv_c_bigendian in
4464 yes)
4465
4466cat >>confdefs.h <<\_ACEOF
4467#define WORDS_BIGENDIAN 1
4468_ACEOF
4469 ;;
4470 no)
4471 ;;
4472 *)
4473 { { echo "$as_me:$LINENO: error: unknown endianness
4474presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4475echo "$as_me: error: unknown endianness
4476presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4477 { (exit 1); exit 1; }; } ;;
4478esac
4479
4480
4481ac_aux_dir=
4482for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
4483 if test -f $ac_dir/install-sh; then
4484 ac_aux_dir=$ac_dir
4485 ac_install_sh="$ac_aux_dir/install-sh -c"
4486 break
4487 elif test -f $ac_dir/install.sh; then
4488 ac_aux_dir=$ac_dir
4489 ac_install_sh="$ac_aux_dir/install.sh -c"
4490 break
4491 elif test -f $ac_dir/shtool; then
4492 ac_aux_dir=$ac_dir
4493 ac_install_sh="$ac_aux_dir/shtool install -c"
4494 break
4495 fi
4496done
4497if test -z "$ac_aux_dir"; then
4498 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
4499echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
4500 { (exit 1); exit 1; }; }
4501fi
4502ac_config_guess="$SHELL $ac_aux_dir/config.guess"
4503ac_config_sub="$SHELL $ac_aux_dir/config.sub"
4504ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
4505
4506# Make sure we can run config.sub.
4507$ac_config_sub sun4 >/dev/null 2>&1 ||
4508 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4509echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4510 { (exit 1); exit 1; }; }
4511
4512echo "$as_me:$LINENO: checking build system type" >&5
4513echo $ECHO_N "checking build system type... $ECHO_C" >&6
4514if test "${ac_cv_build+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4516else
4517 ac_cv_build_alias=$build_alias
4518test -z "$ac_cv_build_alias" &&
4519 ac_cv_build_alias=`$ac_config_guess`
4520test -z "$ac_cv_build_alias" &&
4521 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4522echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4523 { (exit 1); exit 1; }; }
4524ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4525 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4526echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4527 { (exit 1); exit 1; }; }
4528
4529fi
4530echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4531echo "${ECHO_T}$ac_cv_build" >&6
4532build=$ac_cv_build
4533build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4534build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4535build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4536
4537
4538echo "$as_me:$LINENO: checking host system type" >&5
4539echo $ECHO_N "checking host system type... $ECHO_C" >&6
4540if test "${ac_cv_host+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4542else
4543 ac_cv_host_alias=$host_alias
4544test -z "$ac_cv_host_alias" &&
4545 ac_cv_host_alias=$ac_cv_build_alias
4546ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4548echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4549 { (exit 1); exit 1; }; }
4550
4551fi
4552echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4553echo "${ECHO_T}$ac_cv_host" >&6
4554host=$ac_cv_host
4555host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4556host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4557host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4558
4559
4560
4561if test $host_cpu = x86; then
4562 echo "x86 cpu found" # should use inline assembly
4563fi
4564
4565case $host_cpu in
4566 i*86 )
4567 cat >>confdefs.h <<\_ACEOF
4568#define CPU_CISC 1
4569_ACEOF
4570;;
4571 * )
4572 cat >>confdefs.h <<\_ACEOF
4573#define CPU_RISC 1
4574_ACEOF
4575;;
4576esac
4577
4578
4579case $host_os in
4580 *cygwin* )
4581 cat >>confdefs.h <<\_ACEOF
4582#define HAVE_MS_TYPES 1
4583_ACEOF
4584
4585 EXE=.exe;;
4586 * ) EXE="";;
4587esac
4588
4589 # define executable suffix; this is needed for `make clean'
4590
4591# Check whether --enable-debug or --disable-debug was given.
4592if test "${enable_debug+set}" = set; then
4593 enableval="$enable_debug"
4594 USE_DEBUG=0
4595else
4596 USE_DEBUG=1
4597fi;
4598
4599if test $USE_DEBUG = 1; then
4600 cat >>confdefs.h <<\_ACEOF
4601#define ENABLE_DEBUGGING 1
4602_ACEOF
4603
4604fi
4605
4606# Check whether --enable-generic-aesicm or --disable-generic-aesicm was given.
4607if test "${enable_generic_aesicm+set}" = set; then
4608 enableval="$enable_generic_aesicm"
4609 GENERIC_AESICM=0
4610else
4611 GENERIC_AESICM=1
4612fi;
4613
4614if test $GENERIC_AESICM = 1; then
4615 cat >>confdefs.h <<\_ACEOF
4616#define GENERIC_AESICM 1
4617_ACEOF
4618
4619fi
4620
4621# Check whether --enable-syslog or --disable-syslog was given.
4622if test "${enable_syslog+set}" = set; then
4623 enableval="$enable_syslog"
4624 USE_SYSLOG=1
4625else
4626 USE_SYSLOG=0
4627fi;
4628
4629if test $USE_SYSLOG = 1; then
4630 cat >>confdefs.h <<\_ACEOF
4631#define USE_SYSLOG 1
4632_ACEOF
4633
4634fi
4635
4636# Check whether --enable-stdout or --disable-stdout was given.
4637if test "${enable_stdout+set}" = set; then
4638 enableval="$enable_stdout"
4639 ERR_STDOUT=0
4640else
4641 ERR_STDOUT=1
4642fi;
4643
4644if test $ERR_STDOUT = 1; then
4645 cat >>confdefs.h <<\_ACEOF
4646#define ERR_REPORTING_STDOUT 1
4647_ACEOF
4648
4649fi
4650
4651# Check whether --enable-console or --disable-console was given.
4652if test "${enable_console+set}" = set; then
4653 enableval="$enable_console"
4654 ERR_FILE=1
4655else
4656 ERR_FILE=0
4657fi;
4658
4659if test $ERR_FILE = 1; then
4660 cat >>confdefs.h <<\_ACEOF
4661#define ERR_REPORTING_FILE "/dev/console"
4662_ACEOF
4663
4664fi
4665# Check whether --enable-gdoi or --disable-gdoi was given.
4666if test "${enable_gdoi+set}" = set; then
4667 enableval="$enable_gdoi"
4668 GDOI=1
4669else
4670 GDOI=0
4671fi;
4672
4673if test $GDOI = 1; then
4674 echo "$as_me:$LINENO: checking for GDOI key management" >&5
4675echo $ECHO_N "checking for GDOI key management... $ECHO_C" >&6
4676 echo "$as_me:$LINENO: result: ?" >&5
4677echo "${ECHO_T}?" >&6
4678 cat >>confdefs.h <<\_ACEOF
4679#define SRTP_GDOI 1
4680_ACEOF
4681
4682 GDOI_OBJS=gdoi/srtp+gdoi.o
4683
4684fi
4685
4686 ac_config_headers="$ac_config_headers include/config.h:config_in.h"
4687
4688
4689 ac_config_files="$ac_config_files Makefile"
4690cat >confcache <<\_ACEOF
4691# This file is a shell script that caches the results of configure
4692# tests run on this system so they can be shared between configure
4693# scripts and configure runs, see configure's option --config-cache.
4694# It is not useful on other systems. If it contains results you don't
4695# want to keep, you may remove or edit it.
4696#
4697# config.status only pays attention to the cache file if you give it
4698# the --recheck option to rerun configure.
4699#
4700# `ac_cv_env_foo' variables (set or unset) will be overridden when
4701# loading this file, other *unset* `ac_cv_foo' will be assigned the
4702# following values.
4703
4704_ACEOF
4705
4706# The following way of writing the cache mishandles newlines in values,
4707# but we know of no workaround that is simple, portable, and efficient.
4708# So, don't put newlines in cache variables' values.
4709# Ultrix sh set writes to stderr and can't be redirected directly,
4710# and sets the high bit in the cache file unless we assign to the vars.
4711{
4712 (set) 2>&1 |
4713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4714 *ac_space=\ *)
4715 # `set' does not quote correctly, so add quotes (double-quote
4716 # substitution turns \\\\ into \\, and sed turns \\ into \).
4717 sed -n \
4718 "s/'/'\\\\''/g;
4719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4720 ;;
4721 *)
4722 # `set' quotes correctly as required by POSIX, so do not add quotes.
4723 sed -n \
4724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4725 ;;
4726 esac;
4727} |
4728 sed '
4729 t clear
4730 : clear
4731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4732 t end
4733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4734 : end' >>confcache
4735if diff $cache_file confcache >/dev/null 2>&1; then :; else
4736 if test -w $cache_file; then
4737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4738 cat confcache >$cache_file
4739 else
4740 echo "not updating unwritable cache $cache_file"
4741 fi
4742fi
4743rm -f confcache
4744
4745test "x$prefix" = xNONE && prefix=$ac_default_prefix
4746# Let make expand exec_prefix.
4747test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4748
4749# VPATH may cause trouble with some makes, so we remove $(srcdir),
4750# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4751# trailing colons and then remove the whole line if VPATH becomes empty
4752# (actually we leave an empty line to preserve line numbers).
4753if test "x$srcdir" = x.; then
4754 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4755s/:*\$(srcdir):*/:/;
4756s/:*\${srcdir}:*/:/;
4757s/:*@srcdir@:*/:/;
4758s/^\([^=]*=[ ]*\):*/\1/;
4759s/:*$//;
4760s/^[^=]*=[ ]*$//;
4761}'
4762fi
4763
4764DEFS=-DHAVE_CONFIG_H
4765
4766ac_libobjs=
4767ac_ltlibobjs=
4768for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4769 # 1. Remove the extension, and $U if already installed.
4770 ac_i=`echo "$ac_i" |
4771 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4772 # 2. Add them.
4773 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4774 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4775done
4776LIBOBJS=$ac_libobjs
4777
4778LTLIBOBJS=$ac_ltlibobjs
4779
4780
4781
4782: ${CONFIG_STATUS=./config.status}
4783ac_clean_files_save=$ac_clean_files
4784ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4785{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4786echo "$as_me: creating $CONFIG_STATUS" >&6;}
4787cat >$CONFIG_STATUS <<_ACEOF
4788#! $SHELL
4789# Generated by $as_me.
4790# Run this file to recreate the current configuration.
4791# Compiler output produced by configure, useful for debugging
4792# configure, is in config.log if it exists.
4793
4794debug=false
4795ac_cs_recheck=false
4796ac_cs_silent=false
4797SHELL=\${CONFIG_SHELL-$SHELL}
4798_ACEOF
4799
4800cat >>$CONFIG_STATUS <<\_ACEOF
4801## --------------------- ##
4802## M4sh Initialization. ##
4803## --------------------- ##
4804
4805# Be Bourne compatible
4806if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4807 emulate sh
4808 NULLCMD=:
4809 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4810 # is contrary to our usage. Disable this feature.
4811 alias -g '${1+"$@"}'='"$@"'
4812elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4813 set -o posix
4814fi
4815
4816# Support unset when possible.
4817if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4818 as_unset=unset
4819else
4820 as_unset=false
4821fi
4822
4823
4824# Work around bugs in pre-3.0 UWIN ksh.
4825$as_unset ENV MAIL MAILPATH
4826PS1='$ '
4827PS2='> '
4828PS4='+ '
4829
4830# NLS nuisances.
4831for as_var in \
4832 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4833 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4834 LC_TELEPHONE LC_TIME
4835do
4836 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
4837 eval $as_var=C; export $as_var
4838 else
4839 $as_unset $as_var
4840 fi
4841done
4842
4843# Required to use basename.
4844if expr a : '\(a\)' >/dev/null 2>&1; then
4845 as_expr=expr
4846else
4847 as_expr=false
4848fi
4849
4850if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4851 as_basename=basename
4852else
4853 as_basename=false
4854fi
4855
4856
4857# Name of the executable.
4858as_me=`$as_basename "$0" ||
4859$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4860 X"$0" : 'X\(//\)$' \| \
4861 X"$0" : 'X\(/\)$' \| \
4862 . : '\(.\)' 2>/dev/null ||
4863echo X/"$0" |
4864 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4865 /^X\/\(\/\/\)$/{ s//\1/; q; }
4866 /^X\/\(\/\).*/{ s//\1/; q; }
4867 s/.*/./; q'`
4868
4869
4870# PATH needs CR, and LINENO needs CR and PATH.
4871# Avoid depending upon Character Ranges.
4872as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4873as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4874as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4875as_cr_digits='0123456789'
4876as_cr_alnum=$as_cr_Letters$as_cr_digits
4877
4878# The user is always right.
4879if test "${PATH_SEPARATOR+set}" != set; then
4880 echo "#! /bin/sh" >conf$$.sh
4881 echo "exit 0" >>conf$$.sh
4882 chmod +x conf$$.sh
4883 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4884 PATH_SEPARATOR=';'
4885 else
4886 PATH_SEPARATOR=:
4887 fi
4888 rm -f conf$$.sh
4889fi
4890
4891
4892 as_lineno_1=$LINENO
4893 as_lineno_2=$LINENO
4894 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4895 test "x$as_lineno_1" != "x$as_lineno_2" &&
4896 test "x$as_lineno_3" = "x$as_lineno_2" || {
4897 # Find who we are. Look in the path if we contain no path at all
4898 # relative or not.
4899 case $0 in
4900 *[\\/]* ) as_myself=$0 ;;
4901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902for as_dir in $PATH
4903do
4904 IFS=$as_save_IFS
4905 test -z "$as_dir" && as_dir=.
4906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4907done
4908
4909 ;;
4910 esac
4911 # We did not find ourselves, most probably we were run as `sh COMMAND'
4912 # in which case we are not to be found in the path.
4913 if test "x$as_myself" = x; then
4914 as_myself=$0
4915 fi
4916 if test ! -f "$as_myself"; then
4917 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4918echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4919 { (exit 1); exit 1; }; }
4920 fi
4921 case $CONFIG_SHELL in
4922 '')
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4925do
4926 IFS=$as_save_IFS
4927 test -z "$as_dir" && as_dir=.
4928 for as_base in sh bash ksh sh5; do
4929 case $as_dir in
4930 /*)
4931 if ("$as_dir/$as_base" -c '
4932 as_lineno_1=$LINENO
4933 as_lineno_2=$LINENO
4934 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4935 test "x$as_lineno_1" != "x$as_lineno_2" &&
4936 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4937 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4938 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4939 CONFIG_SHELL=$as_dir/$as_base
4940 export CONFIG_SHELL
4941 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4942 fi;;
4943 esac
4944 done
4945done
4946;;
4947 esac
4948
4949 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4950 # uniformly replaced by the line number. The first 'sed' inserts a
4951 # line-number line before each line; the second 'sed' does the real
4952 # work. The second script uses 'N' to pair each line-number line
4953 # with the numbered line, and appends trailing '-' during
4954 # substitution so that $LINENO is not a special case at line end.
4955 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4956 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4957 sed '=' <$as_myself |
4958 sed '
4959 N
4960 s,$,-,
4961 : loop
4962 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4963 t loop
4964 s,-$,,
4965 s,^['$as_cr_digits']*\n,,
4966 ' >$as_me.lineno &&
4967 chmod +x $as_me.lineno ||
4968 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4969echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4970 { (exit 1); exit 1; }; }
4971
4972 # Don't try to exec as it changes $[0], causing all sort of problems
4973 # (the dirname of $[0] is not the place where we might find the
4974 # original and so on. Autoconf is especially sensible to this).
4975 . ./$as_me.lineno
4976 # Exit status is that of the last command.
4977 exit
4978}
4979
4980
4981case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4982 *c*,-n*) ECHO_N= ECHO_C='
4983' ECHO_T=' ' ;;
4984 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4985 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4986esac
4987
4988if expr a : '\(a\)' >/dev/null 2>&1; then
4989 as_expr=expr
4990else
4991 as_expr=false
4992fi
4993
4994rm -f conf$$ conf$$.exe conf$$.file
4995echo >conf$$.file
4996if ln -s conf$$.file conf$$ 2>/dev/null; then
4997 # We could just check for DJGPP; but this test a) works b) is more generic
4998 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4999 if test -f conf$$.exe; then
5000 # Don't use ln at all; we don't have any links
5001 as_ln_s='cp -p'
5002 else
5003 as_ln_s='ln -s'
5004 fi
5005elif ln conf$$.file conf$$ 2>/dev/null; then
5006 as_ln_s=ln
5007else
5008 as_ln_s='cp -p'
5009fi
5010rm -f conf$$ conf$$.exe conf$$.file
5011
5012if mkdir -p . 2>/dev/null; then
5013 as_mkdir_p=:
5014else
5015 as_mkdir_p=false
5016fi
5017
5018as_executable_p="test -f"
5019
5020# Sed expression to map a string onto a valid CPP name.
5021as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5022
5023# Sed expression to map a string onto a valid variable name.
5024as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5025
5026
5027# IFS
5028# We need space, tab and new line, in precisely that order.
5029as_nl='
5030'
5031IFS=" $as_nl"
5032
5033# CDPATH.
5034$as_unset CDPATH
5035
5036exec 6>&1
5037
5038# Open the log real soon, to keep \$[0] and so on meaningful, and to
5039# report actual input values of CONFIG_FILES etc. instead of their
5040# values after options handling. Logging --version etc. is OK.
5041exec 5>>config.log
5042{
5043 echo
5044 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5045## Running $as_me. ##
5046_ASBOX
5047} >&5
5048cat >&5 <<_CSEOF
5049
5050This file was extended by $as_me, which was
5051generated by GNU Autoconf 2.57. Invocation command line was
5052
5053 CONFIG_FILES = $CONFIG_FILES
5054 CONFIG_HEADERS = $CONFIG_HEADERS
5055 CONFIG_LINKS = $CONFIG_LINKS
5056 CONFIG_COMMANDS = $CONFIG_COMMANDS
5057 $ $0 $@
5058
5059_CSEOF
5060echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5061echo >&5
5062_ACEOF
5063
5064# Files that config.status was made for.
5065if test -n "$ac_config_files"; then
5066 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5067fi
5068
5069if test -n "$ac_config_headers"; then
5070 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5071fi
5072
5073if test -n "$ac_config_links"; then
5074 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5075fi
5076
5077if test -n "$ac_config_commands"; then
5078 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5079fi
5080
5081cat >>$CONFIG_STATUS <<\_ACEOF
5082
5083ac_cs_usage="\
5084\`$as_me' instantiates files from templates according to the
5085current configuration.
5086
5087Usage: $0 [OPTIONS] [FILE]...
5088
5089 -h, --help print this help, then exit
5090 -V, --version print version number, then exit
5091 -q, --quiet do not print progress messages
5092 -d, --debug don't remove temporary files
5093 --recheck update $as_me by reconfiguring in the same conditions
5094 --file=FILE[:TEMPLATE]
5095 instantiate the configuration file FILE
5096 --header=FILE[:TEMPLATE]
5097 instantiate the configuration header FILE
5098
5099Configuration files:
5100$config_files
5101
5102Configuration headers:
5103$config_headers
5104
5105Report bugs to <bug-autoconf@gnu.org>."
5106_ACEOF
5107
5108cat >>$CONFIG_STATUS <<_ACEOF
5109ac_cs_version="\\
5110config.status
5111configured by $0, generated by GNU Autoconf 2.57,
5112 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5113
5114Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5115Free Software Foundation, Inc.
5116This config.status script is free software; the Free Software Foundation
5117gives unlimited permission to copy, distribute and modify it."
5118srcdir=$srcdir
5119_ACEOF
5120
5121cat >>$CONFIG_STATUS <<\_ACEOF
5122# If no file are specified by the user, then we need to provide default
5123# value. By we need to know if files were specified by the user.
5124ac_need_defaults=:
5125while test $# != 0
5126do
5127 case $1 in
5128 --*=*)
5129 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5130 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5131 ac_shift=:
5132 ;;
5133 -*)
5134 ac_option=$1
5135 ac_optarg=$2
5136 ac_shift=shift
5137 ;;
5138 *) # This is not an option, so the user has probably given explicit
5139 # arguments.
5140 ac_option=$1
5141 ac_need_defaults=false;;
5142 esac
5143
5144 case $ac_option in
5145 # Handling of the options.
5146_ACEOF
5147cat >>$CONFIG_STATUS <<\_ACEOF
5148 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5149 ac_cs_recheck=: ;;
5150 --version | --vers* | -V )
5151 echo "$ac_cs_version"; exit 0 ;;
5152 --he | --h)
5153 # Conflict between --help and --header
5154 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5155Try \`$0 --help' for more information." >&5
5156echo "$as_me: error: ambiguous option: $1
5157Try \`$0 --help' for more information." >&2;}
5158 { (exit 1); exit 1; }; };;
5159 --help | --hel | -h )
5160 echo "$ac_cs_usage"; exit 0 ;;
5161 --debug | --d* | -d )
5162 debug=: ;;
5163 --file | --fil | --fi | --f )
5164 $ac_shift
5165 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5166 ac_need_defaults=false;;
5167 --header | --heade | --head | --hea )
5168 $ac_shift
5169 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5170 ac_need_defaults=false;;
5171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5172 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5173 ac_cs_silent=: ;;
5174
5175 # This is an error.
5176 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5177Try \`$0 --help' for more information." >&5
5178echo "$as_me: error: unrecognized option: $1
5179Try \`$0 --help' for more information." >&2;}
5180 { (exit 1); exit 1; }; } ;;
5181
5182 *) ac_config_targets="$ac_config_targets $1" ;;
5183
5184 esac
5185 shift
5186done
5187
5188ac_configure_extra_args=
5189
5190if $ac_cs_silent; then
5191 exec 6>/dev/null
5192 ac_configure_extra_args="$ac_configure_extra_args --silent"
5193fi
5194
5195_ACEOF
5196cat >>$CONFIG_STATUS <<_ACEOF
5197if \$ac_cs_recheck; then
5198 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5199 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5200fi
5201
5202_ACEOF
5203
5204
5205
5206
5207
5208cat >>$CONFIG_STATUS <<\_ACEOF
5209for ac_config_target in $ac_config_targets
5210do
5211 case "$ac_config_target" in
5212 # Handling of arguments.
5213 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5214 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:config_in.h" ;;
5215 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5216echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5217 { (exit 1); exit 1; }; };;
5218 esac
5219done
5220
5221# If the user did not use the arguments to specify the items to instantiate,
5222# then the envvar interface is used. Set only those that are not.
5223# We use the long form for the default assignment because of an extremely
5224# bizarre bug on SunOS 4.1.3.
5225if $ac_need_defaults; then
5226 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5227 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5228fi
5229
5230# Have a temporary directory for convenience. Make it in the build tree
5231# simply because there is no reason to put it here, and in addition,
5232# creating and moving files from /tmp can sometimes cause problems.
5233# Create a temporary directory, and hook for its removal unless debugging.
5234$debug ||
5235{
5236 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5237 trap '{ (exit 1); exit 1; }' 1 2 13 15
5238}
5239
5240# Create a (secure) tmp directory for tmp files.
5241
5242{
5243 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5244 test -n "$tmp" && test -d "$tmp"
5245} ||
5246{
5247 tmp=./confstat$$-$RANDOM
5248 (umask 077 && mkdir $tmp)
5249} ||
5250{
5251 echo "$me: cannot create a temporary directory in ." >&2
5252 { (exit 1); exit 1; }
5253}
5254
5255_ACEOF
5256
5257cat >>$CONFIG_STATUS <<_ACEOF
5258
5259#
5260# CONFIG_FILES section.
5261#
5262
5263# No need to generate the scripts if there are no CONFIG_FILES.
5264# This happens for instance when ./config.status config.h
5265if test -n "\$CONFIG_FILES"; then
5266 # Protect against being on the right side of a sed subst in config.status.
5267 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5268 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5269s,@SHELL@,$SHELL,;t t
5270s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5271s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5272s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5273s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5274s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5275s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5276s,@exec_prefix@,$exec_prefix,;t t
5277s,@prefix@,$prefix,;t t
5278s,@program_transform_name@,$program_transform_name,;t t
5279s,@bindir@,$bindir,;t t
5280s,@sbindir@,$sbindir,;t t
5281s,@libexecdir@,$libexecdir,;t t
5282s,@datadir@,$datadir,;t t
5283s,@sysconfdir@,$sysconfdir,;t t
5284s,@sharedstatedir@,$sharedstatedir,;t t
5285s,@localstatedir@,$localstatedir,;t t
5286s,@libdir@,$libdir,;t t
5287s,@includedir@,$includedir,;t t
5288s,@oldincludedir@,$oldincludedir,;t t
5289s,@infodir@,$infodir,;t t
5290s,@mandir@,$mandir,;t t
5291s,@build_alias@,$build_alias,;t t
5292s,@host_alias@,$host_alias,;t t
5293s,@target_alias@,$target_alias,;t t
5294s,@DEFS@,$DEFS,;t t
5295s,@ECHO_C@,$ECHO_C,;t t
5296s,@ECHO_N@,$ECHO_N,;t t
5297s,@ECHO_T@,$ECHO_T,;t t
5298s,@LIBS@,$LIBS,;t t
5299s,@RANLIB@,$RANLIB,;t t
5300s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5301s,@CC@,$CC,;t t
5302s,@CFLAGS@,$CFLAGS,;t t
5303s,@LDFLAGS@,$LDFLAGS,;t t
5304s,@CPPFLAGS@,$CPPFLAGS,;t t
5305s,@ac_ct_CC@,$ac_ct_CC,;t t
5306s,@EXEEXT@,$EXEEXT,;t t
5307s,@OBJEXT@,$OBJEXT,;t t
5308s,@RNG_OBJS@,$RNG_OBJS,;t t
5309s,@CPP@,$CPP,;t t
5310s,@EGREP@,$EGREP,;t t
5311s,@LIBOBJS@,$LIBOBJS,;t t
5312s,@build@,$build,;t t
5313s,@build_cpu@,$build_cpu,;t t
5314s,@build_vendor@,$build_vendor,;t t
5315s,@build_os@,$build_os,;t t
5316s,@host@,$host,;t t
5317s,@host_cpu@,$host_cpu,;t t
5318s,@host_vendor@,$host_vendor,;t t
5319s,@host_os@,$host_os,;t t
5320s,@EXE@,$EXE,;t t
5321s,@GDOI_OBJS@,$GDOI_OBJS,;t t
5322s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5323CEOF
5324
5325_ACEOF
5326
5327 cat >>$CONFIG_STATUS <<\_ACEOF
5328 # Split the substitutions into bite-sized pieces for seds with
5329 # small command number limits, like on Digital OSF/1 and HP-UX.
5330 ac_max_sed_lines=48
5331 ac_sed_frag=1 # Number of current file.
5332 ac_beg=1 # First line for current file.
5333 ac_end=$ac_max_sed_lines # Line after last line for current file.
5334 ac_more_lines=:
5335 ac_sed_cmds=
5336 while $ac_more_lines; do
5337 if test $ac_beg -gt 1; then
5338 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5339 else
5340 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5341 fi
5342 if test ! -s $tmp/subs.frag; then
5343 ac_more_lines=false
5344 else
5345 # The purpose of the label and of the branching condition is to
5346 # speed up the sed processing (if there are no `@' at all, there
5347 # is no need to browse any of the substitutions).
5348 # These are the two extra sed commands mentioned above.
5349 (echo ':t
5350 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5351 if test -z "$ac_sed_cmds"; then
5352 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5353 else
5354 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5355 fi
5356 ac_sed_frag=`expr $ac_sed_frag + 1`
5357 ac_beg=$ac_end
5358 ac_end=`expr $ac_end + $ac_max_sed_lines`
5359 fi
5360 done
5361 if test -z "$ac_sed_cmds"; then
5362 ac_sed_cmds=cat
5363 fi
5364fi # test -n "$CONFIG_FILES"
5365
5366_ACEOF
5367cat >>$CONFIG_STATUS <<\_ACEOF
5368for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5369 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5370 case $ac_file in
5371 - | *:- | *:-:* ) # input from stdin
5372 cat >$tmp/stdin
5373 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5374 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5375 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5376 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5377 * ) ac_file_in=$ac_file.in ;;
5378 esac
5379
5380 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5381 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5382$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5383 X"$ac_file" : 'X\(//\)[^/]' \| \
5384 X"$ac_file" : 'X\(//\)$' \| \
5385 X"$ac_file" : 'X\(/\)' \| \
5386 . : '\(.\)' 2>/dev/null ||
5387echo X"$ac_file" |
5388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5390 /^X\(\/\/\)$/{ s//\1/; q; }
5391 /^X\(\/\).*/{ s//\1/; q; }
5392 s/.*/./; q'`
5393 { if $as_mkdir_p; then
5394 mkdir -p "$ac_dir"
5395 else
5396 as_dir="$ac_dir"
5397 as_dirs=
5398 while test ! -d "$as_dir"; do
5399 as_dirs="$as_dir $as_dirs"
5400 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5401$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5402 X"$as_dir" : 'X\(//\)[^/]' \| \
5403 X"$as_dir" : 'X\(//\)$' \| \
5404 X"$as_dir" : 'X\(/\)' \| \
5405 . : '\(.\)' 2>/dev/null ||
5406echo X"$as_dir" |
5407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5409 /^X\(\/\/\)$/{ s//\1/; q; }
5410 /^X\(\/\).*/{ s//\1/; q; }
5411 s/.*/./; q'`
5412 done
5413 test ! -n "$as_dirs" || mkdir $as_dirs
5414 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5415echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5416 { (exit 1); exit 1; }; }; }
5417
5418 ac_builddir=.
5419
5420if test "$ac_dir" != .; then
5421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5422 # A "../" for each directory in $ac_dir_suffix.
5423 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5424else
5425 ac_dir_suffix= ac_top_builddir=
5426fi
5427
5428case $srcdir in
5429 .) # No --srcdir option. We are building in place.
5430 ac_srcdir=.
5431 if test -z "$ac_top_builddir"; then
5432 ac_top_srcdir=.
5433 else
5434 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5435 fi ;;
5436 [\\/]* | ?:[\\/]* ) # Absolute path.
5437 ac_srcdir=$srcdir$ac_dir_suffix;
5438 ac_top_srcdir=$srcdir ;;
5439 *) # Relative path.
5440 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5441 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5442esac
5443# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5444# absolute.
5445ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5446ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5447ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5448ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5449
5450
5451
5452 if test x"$ac_file" != x-; then
5453 { echo "$as_me:$LINENO: creating $ac_file" >&5
5454echo "$as_me: creating $ac_file" >&6;}
5455 rm -f "$ac_file"
5456 fi
5457 # Let's still pretend it is `configure' which instantiates (i.e., don't
5458 # use $as_me), people would be surprised to read:
5459 # /* config.h. Generated by config.status. */
5460 if test x"$ac_file" = x-; then
5461 configure_input=
5462 else
5463 configure_input="$ac_file. "
5464 fi
5465 configure_input=$configure_input"Generated from `echo $ac_file_in |
5466 sed 's,.*/,,'` by configure."
5467
5468 # First look for the input files in the build tree, otherwise in the
5469 # src tree.
5470 ac_file_inputs=`IFS=:
5471 for f in $ac_file_in; do
5472 case $f in
5473 -) echo $tmp/stdin ;;
5474 [\\/$]*)
5475 # Absolute (can't be DOS-style, as IFS=:)
5476 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5477echo "$as_me: error: cannot find input file: $f" >&2;}
5478 { (exit 1); exit 1; }; }
5479 echo $f;;
5480 *) # Relative
5481 if test -f "$f"; then
5482 # Build tree
5483 echo $f
5484 elif test -f "$srcdir/$f"; then
5485 # Source tree
5486 echo $srcdir/$f
5487 else
5488 # /dev/null tree
5489 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5490echo "$as_me: error: cannot find input file: $f" >&2;}
5491 { (exit 1); exit 1; }; }
5492 fi;;
5493 esac
5494 done` || { (exit 1); exit 1; }
5495_ACEOF
5496cat >>$CONFIG_STATUS <<_ACEOF
5497 sed "$ac_vpsub
5498$extrasub
5499_ACEOF
5500cat >>$CONFIG_STATUS <<\_ACEOF
5501:t
5502/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5503s,@configure_input@,$configure_input,;t t
5504s,@srcdir@,$ac_srcdir,;t t
5505s,@abs_srcdir@,$ac_abs_srcdir,;t t
5506s,@top_srcdir@,$ac_top_srcdir,;t t
5507s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5508s,@builddir@,$ac_builddir,;t t
5509s,@abs_builddir@,$ac_abs_builddir,;t t
5510s,@top_builddir@,$ac_top_builddir,;t t
5511s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5512" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5513 rm -f $tmp/stdin
5514 if test x"$ac_file" != x-; then
5515 mv $tmp/out $ac_file
5516 else
5517 cat $tmp/out
5518 rm -f $tmp/out
5519 fi
5520
5521done
5522_ACEOF
5523cat >>$CONFIG_STATUS <<\_ACEOF
5524
5525#
5526# CONFIG_HEADER section.
5527#
5528
5529# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5530# NAME is the cpp macro being defined and VALUE is the value it is being given.
5531#
5532# ac_d sets the value in "#define NAME VALUE" lines.
5533ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5534ac_dB='[ ].*$,\1#\2'
5535ac_dC=' '
5536ac_dD=',;t'
5537# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5538ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5539ac_uB='$,\1#\2define\3'
5540ac_uC=' '
5541ac_uD=',;t'
5542
5543for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5544 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5545 case $ac_file in
5546 - | *:- | *:-:* ) # input from stdin
5547 cat >$tmp/stdin
5548 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5549 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5550 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5551 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5552 * ) ac_file_in=$ac_file.in ;;
5553 esac
5554
5555 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5556echo "$as_me: creating $ac_file" >&6;}
5557
5558 # First look for the input files in the build tree, otherwise in the
5559 # src tree.
5560 ac_file_inputs=`IFS=:
5561 for f in $ac_file_in; do
5562 case $f in
5563 -) echo $tmp/stdin ;;
5564 [\\/$]*)
5565 # Absolute (can't be DOS-style, as IFS=:)
5566 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5567echo "$as_me: error: cannot find input file: $f" >&2;}
5568 { (exit 1); exit 1; }; }
5569 echo $f;;
5570 *) # Relative
5571 if test -f "$f"; then
5572 # Build tree
5573 echo $f
5574 elif test -f "$srcdir/$f"; then
5575 # Source tree
5576 echo $srcdir/$f
5577 else
5578 # /dev/null tree
5579 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5580echo "$as_me: error: cannot find input file: $f" >&2;}
5581 { (exit 1); exit 1; }; }
5582 fi;;
5583 esac
5584 done` || { (exit 1); exit 1; }
5585 # Remove the trailing spaces.
5586 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5587
5588_ACEOF
5589
5590# Transform confdefs.h into two sed scripts, `conftest.defines' and
5591# `conftest.undefs', that substitutes the proper values into
5592# config.h.in to produce config.h. The first handles `#define'
5593# templates, and the second `#undef' templates.
5594# And first: Protect against being on the right side of a sed subst in
5595# config.status. Protect against being in an unquoted here document
5596# in config.status.
5597rm -f conftest.defines conftest.undefs
5598# Using a here document instead of a string reduces the quoting nightmare.
5599# Putting comments in sed scripts is not portable.
5600#
5601# `end' is used to avoid that the second main sed command (meant for
5602# 0-ary CPP macros) applies to n-ary macro definitions.
5603# See the Autoconf documentation for `clear'.
5604cat >confdef2sed.sed <<\_ACEOF
5605s/[\\&,]/\\&/g
5606s,[\\$`],\\&,g
5607t clear
5608: clear
5609s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5610t end
5611s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5612: end
5613_ACEOF
5614# If some macros were called several times there might be several times
5615# the same #defines, which is useless. Nevertheless, we may not want to
5616# sort them, since we want the *last* AC-DEFINE to be honored.
5617uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5618sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5619rm -f confdef2sed.sed
5620
5621# This sed command replaces #undef with comments. This is necessary, for
5622# example, in the case of _POSIX_SOURCE, which is predefined and required
5623# on some systems where configure will not decide to define it.
5624cat >>conftest.undefs <<\_ACEOF
5625s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5626_ACEOF
5627
5628# Break up conftest.defines because some shells have a limit on the size
5629# of here documents, and old seds have small limits too (100 cmds).
5630echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5631echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5632echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5633echo ' :' >>$CONFIG_STATUS
5634rm -f conftest.tail
5635while grep . conftest.defines >/dev/null
5636do
5637 # Write a limited-size here document to $tmp/defines.sed.
5638 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5639 # Speed up: don't consider the non `#define' lines.
5640 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5641 # Work around the forget-to-reset-the-flag bug.
5642 echo 't clr' >>$CONFIG_STATUS
5643 echo ': clr' >>$CONFIG_STATUS
5644 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5645 echo 'CEOF
5646 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5647 rm -f $tmp/in
5648 mv $tmp/out $tmp/in
5649' >>$CONFIG_STATUS
5650 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5651 rm -f conftest.defines
5652 mv conftest.tail conftest.defines
5653done
5654rm -f conftest.defines
5655echo ' fi # grep' >>$CONFIG_STATUS
5656echo >>$CONFIG_STATUS
5657
5658# Break up conftest.undefs because some shells have a limit on the size
5659# of here documents, and old seds have small limits too (100 cmds).
5660echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5661rm -f conftest.tail
5662while grep . conftest.undefs >/dev/null
5663do
5664 # Write a limited-size here document to $tmp/undefs.sed.
5665 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5666 # Speed up: don't consider the non `#undef'
5667 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5668 # Work around the forget-to-reset-the-flag bug.
5669 echo 't clr' >>$CONFIG_STATUS
5670 echo ': clr' >>$CONFIG_STATUS
5671 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5672 echo 'CEOF
5673 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5674 rm -f $tmp/in
5675 mv $tmp/out $tmp/in
5676' >>$CONFIG_STATUS
5677 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5678 rm -f conftest.undefs
5679 mv conftest.tail conftest.undefs
5680done
5681rm -f conftest.undefs
5682
5683cat >>$CONFIG_STATUS <<\_ACEOF
5684 # Let's still pretend it is `configure' which instantiates (i.e., don't
5685 # use $as_me), people would be surprised to read:
5686 # /* config.h. Generated by config.status. */
5687 if test x"$ac_file" = x-; then
5688 echo "/* Generated by configure. */" >$tmp/config.h
5689 else
5690 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5691 fi
5692 cat $tmp/in >>$tmp/config.h
5693 rm -f $tmp/in
5694 if test x"$ac_file" != x-; then
5695 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5696 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5697echo "$as_me: $ac_file is unchanged" >&6;}
5698 else
5699 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5700$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5701 X"$ac_file" : 'X\(//\)[^/]' \| \
5702 X"$ac_file" : 'X\(//\)$' \| \
5703 X"$ac_file" : 'X\(/\)' \| \
5704 . : '\(.\)' 2>/dev/null ||
5705echo X"$ac_file" |
5706 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5707 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5708 /^X\(\/\/\)$/{ s//\1/; q; }
5709 /^X\(\/\).*/{ s//\1/; q; }
5710 s/.*/./; q'`
5711 { if $as_mkdir_p; then
5712 mkdir -p "$ac_dir"
5713 else
5714 as_dir="$ac_dir"
5715 as_dirs=
5716 while test ! -d "$as_dir"; do
5717 as_dirs="$as_dir $as_dirs"
5718 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5719$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5720 X"$as_dir" : 'X\(//\)[^/]' \| \
5721 X"$as_dir" : 'X\(//\)$' \| \
5722 X"$as_dir" : 'X\(/\)' \| \
5723 . : '\(.\)' 2>/dev/null ||
5724echo X"$as_dir" |
5725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5726 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5727 /^X\(\/\/\)$/{ s//\1/; q; }
5728 /^X\(\/\).*/{ s//\1/; q; }
5729 s/.*/./; q'`
5730 done
5731 test ! -n "$as_dirs" || mkdir $as_dirs
5732 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5733echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5734 { (exit 1); exit 1; }; }; }
5735
5736 rm -f $ac_file
5737 mv $tmp/config.h $ac_file
5738 fi
5739 else
5740 cat $tmp/config.h
5741 rm -f $tmp/config.h
5742 fi
5743done
5744_ACEOF
5745
5746cat >>$CONFIG_STATUS <<\_ACEOF
5747
5748{ (exit 0); exit 0; }
5749_ACEOF
5750chmod +x $CONFIG_STATUS
5751ac_clean_files=$ac_clean_files_save
5752
5753
5754# configure is writing to config.log, and then calls config.status.
5755# config.status does its own redirection, appending to config.log.
5756# Unfortunately, on DOS this fails, as config.log is still kept open
5757# by configure, so config.status won't be able to write to it; its
5758# output is simply discarded. So we exec the FD to /dev/null,
5759# effectively closing config.log, so it can be properly (re)opened and
5760# appended to by config.status. When coming back to configure, we
5761# need to make the FD available again.
5762if test "$no_create" != yes; then
5763 ac_cs_success=:
5764 ac_config_status_args=
5765 test "$silent" = yes &&
5766 ac_config_status_args="$ac_config_status_args --quiet"
5767 exec 5>/dev/null
5768 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5769 exec 5>>config.log
5770 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5771 # would make configure fail if this is the last instruction.
5772 $ac_cs_success || { (exit 1); exit 1; }
5773fi
5774
5775
5776