2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
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
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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; }; }
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="xinetd/main.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure for building on BUILD [guessed]
836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
837 --target=TARGET configure for building compilers for TARGET [HOST]
841 if test -n "$ac_init_help"; then
846 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
847 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
848 --with-howl=PATH Compile in howl support.
849 PATH is the prefix where howl is installed,
851 --with-loadavg=PATH Compile in loadavg support.
853 --with-inet6 Compile in ipv6 support. (obsolete)
854 --with-libwrap=PATH Compile in libwrap (tcp_wrappers) support.
856 Some influential environment variables:
857 CC C compiler command
858 CFLAGS C compiler flags
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
860 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
865 Use these variables to override the choices made by `configure' or to help
866 it to find libraries and programs with nonstandard names/locations.
871 if test "$ac_init_help" = "recursive"; then
872 # If there are subdirs, report their specific --help.
874 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
875 test -d $ac_dir || continue
878 if test "$ac_dir" != .; then
879 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
880 # A "../" for each directory in $ac_dir_suffix.
881 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
883 ac_dir_suffix= ac_top_builddir=
887 .) # No --srcdir option. We are building in place.
889 if test -z "$ac_top_builddir"; then
892 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
894 [\\/]* | ?:[\\/]* ) # Absolute path.
895 ac_srcdir=$srcdir$ac_dir_suffix;
896 ac_top_srcdir=$srcdir ;;
898 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
899 ac_top_srcdir=$ac_top_builddir$srcdir ;;
902 # Do not use `cd foo && pwd` to compute absolute paths, because
903 # the directories may not exist.
905 .) ac_abs_builddir="$ac_dir";;
908 .) ac_abs_builddir=`pwd`;;
909 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
910 *) ac_abs_builddir=`pwd`/"$ac_dir";;
913 case $ac_abs_builddir in
914 .) ac_abs_top_builddir=${ac_top_builddir}.;;
916 case ${ac_top_builddir}. in
917 .) ac_abs_top_builddir=$ac_abs_builddir;;
918 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
919 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
922 case $ac_abs_builddir in
923 .) ac_abs_srcdir=$ac_srcdir;;
926 .) ac_abs_srcdir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
928 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
931 case $ac_abs_builddir in
932 .) ac_abs_top_srcdir=$ac_top_srcdir;;
934 case $ac_top_srcdir in
935 .) ac_abs_top_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
937 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
942 # Check for guested configure; otherwise get Cygnus style configure.
943 if test -f $ac_srcdir/configure.gnu; then
945 $SHELL $ac_srcdir/configure.gnu --help=recursive
946 elif test -f $ac_srcdir/configure; then
948 $SHELL $ac_srcdir/configure --help=recursive
949 elif test -f $ac_srcdir/configure.ac ||
950 test -f $ac_srcdir/configure.in; then
954 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960 test -n "$ac_init_help" && exit 0
961 if $ac_init_version; then
964 Copyright (C) 2003 Free Software Foundation, Inc.
965 This configure script is free software; the Free Software Foundation
966 gives unlimited permission to copy, distribute and modify it.
972 This file contains any messages produced by compilers while
973 running configure, to aid debugging if configure makes a mistake.
975 It was created by $as_me, which was
976 generated by GNU Autoconf 2.59. Invocation command line was
987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
999 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1010 test -z "$as_dir" && as_dir=.
1011 echo "PATH: $as_dir"
1026 # Keep a trace of the command line.
1027 # Strip out --no-create and --no-recursion so they do not pile up.
1028 # Strip out --silent because we don't want to record it for future runs.
1029 # Also quote any args containing shell meta-characters.
1030 # Make two passes to allow for proper duplicate-argument suppression.
1035 ac_must_keep_next=false
1041 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1042 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1043 | -silent | --silent | --silen | --sile | --sil)
1045 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1046 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1049 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1051 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1052 if test $ac_must_keep_next = true; then
1053 ac_must_keep_next=false # Got value, back to normal.
1056 *=* | --config-cache | -C | -disable-* | --disable-* \
1057 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1058 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1059 | -with-* | --with-* | -without-* | --without-* | --x)
1060 case "$ac_configure_args0 " in
1061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064 -* ) ac_must_keep_next=true ;;
1067 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1068 # Get rid of the leading space.
1074 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1075 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1077 # When interrupted or exit'd, cleanup temporary files, and complete
1078 # config.log. We remove comments because anyway the quotes in there
1079 # would cause problems or look ugly.
1080 # WARNING: Be sure not to use single quotes in there, as some shells,
1081 # such as our DU 5.0 friend, will then `close' the trap.
1082 trap 'exit_status=$?
1083 # Save into config.log some information that might help in debugging.
1088 ## ---------------- ##
1089 ## Cache variables. ##
1090 ## ---------------- ##
1093 # The following way of writing the cache mishandles newlines in values,
1096 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1099 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 ## ----------------- ##
1112 ## Output variables. ##
1113 ## ----------------- ##
1116 for ac_var in $ac_subst_vars
1118 eval ac_val=$`echo $ac_var`
1119 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -n "$ac_subst_files"; then
1130 for ac_var in $ac_subst_files
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -s confdefs.h; then
1145 sed "/^$/d" confdefs.h | sort
1148 test "$ac_signal" != 0 &&
1149 echo "$as_me: caught signal $ac_signal"
1150 echo "$as_me: exit $exit_status"
1152 rm -f core *.core &&
1153 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1156 for ac_signal in 1 2 13 15; do
1157 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1161 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1162 rm -rf conftest* confdefs.h
1163 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1166 # Predefined preprocessor variables.
1168 cat >>confdefs.h <<_ACEOF
1169 #define PACKAGE_NAME "$PACKAGE_NAME"
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_STRING "$PACKAGE_STRING"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1193 # Let the site file select an alternate cache file if it wants to.
1194 # Prefer explicitly selected file to automatically selected ones.
1195 if test -z "$CONFIG_SITE"; then
1196 if test "x$prefix" != xNONE; then
1197 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1199 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1202 for ac_site_file in $CONFIG_SITE; do
1203 if test -r "$ac_site_file"; then
1204 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1205 echo "$as_me: loading site script $ac_site_file" >&6;}
1206 sed 's/^/| /' "$ac_site_file" >&5
1211 if test -r "$cache_file"; then
1212 # Some versions of bash will fail to source /dev/null (special
1213 # files actually), so we avoid doing that.
1214 if test -f "$cache_file"; then
1215 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1216 echo "$as_me: loading cache $cache_file" >&6;}
1218 [\\/]* | ?:[\\/]* ) . $cache_file;;
1219 *) . ./$cache_file;;
1223 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1224 echo "$as_me: creating cache $cache_file" >&6;}
1228 # Check that the precious variables saved in the cache have kept the same
1230 ac_cache_corrupted=false
1231 for ac_var in `(set) 2>&1 |
1232 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1233 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1234 eval ac_new_set=\$ac_env_${ac_var}_set
1235 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1236 eval ac_new_val="\$ac_env_${ac_var}_value"
1237 case $ac_old_set,$ac_new_set in
1239 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1241 ac_cache_corrupted=: ;;
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1245 ac_cache_corrupted=: ;;
1248 if test "x$ac_old_val" != "x$ac_new_val"; then
1249 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1250 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1251 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1252 echo "$as_me: former value: $ac_old_val" >&2;}
1253 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1254 echo "$as_me: current value: $ac_new_val" >&2;}
1255 ac_cache_corrupted=:
1258 # Pass precious variables to config.status.
1259 if test "$ac_new_set" = set; then
1261 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1262 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1263 *) ac_arg=$ac_var=$ac_new_val ;;
1265 case " $ac_configure_args " in
1266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1267 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1271 if $ac_cache_corrupted; then
1272 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1273 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1274 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1275 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1276 { (exit 1); exit 1; }; }
1280 ac_cpp='$CPP $CPPFLAGS'
1281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1305 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1306 if test -f $ac_dir/install-sh; then
1308 ac_install_sh="$ac_aux_dir/install-sh -c"
1310 elif test -f $ac_dir/install.sh; then
1312 ac_install_sh="$ac_aux_dir/install.sh -c"
1314 elif test -f $ac_dir/shtool; then
1316 ac_install_sh="$ac_aux_dir/shtool install -c"
1320 if test -z "$ac_aux_dir"; then
1321 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1322 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1323 { (exit 1); exit 1; }; }
1325 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1326 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1327 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1329 # Make sure we can run config.sub.
1330 $ac_config_sub sun4 >/dev/null 2>&1 ||
1331 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1332 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1333 { (exit 1); exit 1; }; }
1335 echo "$as_me:$LINENO: checking build system type" >&5
1336 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1337 if test "${ac_cv_build+set}" = set; then
1338 echo $ECHO_N "(cached) $ECHO_C" >&6
1340 ac_cv_build_alias=$build_alias
1341 test -z "$ac_cv_build_alias" &&
1342 ac_cv_build_alias=`$ac_config_guess`
1343 test -z "$ac_cv_build_alias" &&
1344 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1345 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1346 { (exit 1); exit 1; }; }
1347 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1348 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1349 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1350 { (exit 1); exit 1; }; }
1353 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1354 echo "${ECHO_T}$ac_cv_build" >&6
1356 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1357 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1358 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1361 echo "$as_me:$LINENO: checking host system type" >&5
1362 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1363 if test "${ac_cv_host+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 ac_cv_host_alias=$host_alias
1367 test -z "$ac_cv_host_alias" &&
1368 ac_cv_host_alias=$ac_cv_build_alias
1369 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1370 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1371 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1372 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1376 echo "${ECHO_T}$ac_cv_host" >&6
1378 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1379 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1380 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1383 echo "$as_me:$LINENO: checking target system type" >&5
1384 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1385 if test "${ac_cv_target+set}" = set; then
1386 echo $ECHO_N "(cached) $ECHO_C" >&6
1388 ac_cv_target_alias=$target_alias
1389 test "x$ac_cv_target_alias" = "x" &&
1390 ac_cv_target_alias=$ac_cv_host_alias
1391 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1398 echo "${ECHO_T}$ac_cv_target" >&6
1399 target=$ac_cv_target
1400 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1401 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1402 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1405 # The aliases save the names the user supplied, while $host etc.
1406 # will get canonicalized.
1407 test -n "$target_alias" &&
1408 test "$program_prefix$program_suffix$program_transform_name" = \
1410 program_prefix=${target_alias}-
1413 ac_cpp='$CPP $CPPFLAGS'
1414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1417 if test -n "$ac_tool_prefix"; then
1418 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1419 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1420 echo "$as_me:$LINENO: checking for $ac_word" >&5
1421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1422 if test "${ac_cv_prog_CC+set}" = set; then
1423 echo $ECHO_N "(cached) $ECHO_C" >&6
1425 if test -n "$CC"; then
1426 ac_cv_prog_CC="$CC" # Let the user override the test.
1428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 test -z "$as_dir" && as_dir=.
1433 for ac_exec_ext in '' $ac_executable_extensions; do
1434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1435 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445 if test -n "$CC"; then
1446 echo "$as_me:$LINENO: result: $CC" >&5
1447 echo "${ECHO_T}$CC" >&6
1449 echo "$as_me:$LINENO: result: no" >&5
1450 echo "${ECHO_T}no" >&6
1454 if test -z "$ac_cv_prog_CC"; then
1456 # Extract the first word of "gcc", so it can be a program name with args.
1457 set dummy gcc; ac_word=$2
1458 echo "$as_me:$LINENO: checking for $ac_word" >&5
1459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 if test -n "$ac_ct_CC"; then
1464 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir=.
1471 for ac_exec_ext in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473 ac_cv_prog_ac_ct_CC="gcc"
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1483 if test -n "$ac_ct_CC"; then
1484 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1485 echo "${ECHO_T}$ac_ct_CC" >&6
1487 echo "$as_me:$LINENO: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1496 if test -z "$CC"; then
1497 if test -n "$ac_tool_prefix"; then
1498 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1499 set dummy ${ac_tool_prefix}cc; ac_word=$2
1500 echo "$as_me:$LINENO: checking for $ac_word" >&5
1501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502 if test "${ac_cv_prog_CC+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 if test -n "$CC"; then
1506 ac_cv_prog_CC="$CC" # Let the user override the test.
1508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512 test -z "$as_dir" && as_dir=.
1513 for ac_exec_ext in '' $ac_executable_extensions; do
1514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1515 ac_cv_prog_CC="${ac_tool_prefix}cc"
1516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1525 if test -n "$CC"; then
1526 echo "$as_me:$LINENO: result: $CC" >&5
1527 echo "${ECHO_T}$CC" >&6
1529 echo "$as_me:$LINENO: result: no" >&5
1530 echo "${ECHO_T}no" >&6
1534 if test -z "$ac_cv_prog_CC"; then
1536 # Extract the first word of "cc", so it can be a program name with args.
1537 set dummy cc; ac_word=$2
1538 echo "$as_me:$LINENO: checking for $ac_word" >&5
1539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1541 echo $ECHO_N "(cached) $ECHO_C" >&6
1543 if test -n "$ac_ct_CC"; then
1544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550 test -z "$as_dir" && as_dir=.
1551 for ac_exec_ext in '' $ac_executable_extensions; do
1552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1553 ac_cv_prog_ac_ct_CC="cc"
1554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1563 if test -n "$ac_ct_CC"; then
1564 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1565 echo "${ECHO_T}$ac_ct_CC" >&6
1567 echo "$as_me:$LINENO: result: no" >&5
1568 echo "${ECHO_T}no" >&6
1577 if test -z "$CC"; then
1578 # Extract the first word of "cc", so it can be a program name with args.
1579 set dummy cc; ac_word=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_prog_CC+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 if test -n "$CC"; then
1586 ac_cv_prog_CC="$CC" # Let the user override the test.
1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir=.
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1597 ac_prog_rejected=yes
1601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 if test $ac_prog_rejected = yes; then
1608 # We found a bogon in the path, so make sure we never use it.
1609 set dummy $ac_cv_prog_CC
1611 if test $# != 0; then
1612 # We chose a different compiler from the bogus one.
1613 # However, it has the same basename, so the bogon will be chosen
1614 # first if we set CC to just the basename; use the full file name.
1616 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1622 if test -n "$CC"; then
1623 echo "$as_me:$LINENO: result: $CC" >&5
1624 echo "${ECHO_T}$CC" >&6
1626 echo "$as_me:$LINENO: result: no" >&5
1627 echo "${ECHO_T}no" >&6
1631 if test -z "$CC"; then
1632 if test -n "$ac_tool_prefix"; then
1635 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1637 echo "$as_me:$LINENO: checking for $ac_word" >&5
1638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1639 if test "${ac_cv_prog_CC+set}" = set; then
1640 echo $ECHO_N "(cached) $ECHO_C" >&6
1642 if test -n "$CC"; then
1643 ac_cv_prog_CC="$CC" # Let the user override the test.
1645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir=.
1650 for ac_exec_ext in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1662 if test -n "$CC"; then
1663 echo "$as_me:$LINENO: result: $CC" >&5
1664 echo "${ECHO_T}$CC" >&6
1666 echo "$as_me:$LINENO: result: no" >&5
1667 echo "${ECHO_T}no" >&6
1670 test -n "$CC" && break
1673 if test -z "$CC"; then
1677 # Extract the first word of "$ac_prog", so it can be a program name with args.
1678 set dummy $ac_prog; ac_word=$2
1679 echo "$as_me:$LINENO: checking for $ac_word" >&5
1680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1682 echo $ECHO_N "(cached) $ECHO_C" >&6
1684 if test -n "$ac_ct_CC"; then
1685 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 ac_cv_prog_ac_ct_CC="$ac_prog"
1695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1704 if test -n "$ac_ct_CC"; then
1705 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1706 echo "${ECHO_T}$ac_ct_CC" >&6
1708 echo "$as_me:$LINENO: result: no" >&5
1709 echo "${ECHO_T}no" >&6
1712 test -n "$ac_ct_CC" && break
1721 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1722 See \`config.log' for more details." >&5
1723 echo "$as_me: error: no acceptable C compiler found in \$PATH
1724 See \`config.log' for more details." >&2;}
1725 { (exit 1); exit 1; }; }
1727 # Provide some information about the compiler.
1728 echo "$as_me:$LINENO:" \
1729 "checking for C compiler version" >&5
1730 ac_compiler=`set X $ac_compile; echo $2`
1731 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1732 (eval $ac_compiler --version </dev/null >&5) 2>&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); }
1736 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1737 (eval $ac_compiler -v </dev/null >&5) 2>&5
1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740 (exit $ac_status); }
1741 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1742 (eval $ac_compiler -V </dev/null >&5) 2>&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); }
1747 cat >conftest.$ac_ext <<_ACEOF
1750 cat confdefs.h >>conftest.$ac_ext
1751 cat >>conftest.$ac_ext <<_ACEOF
1752 /* end confdefs.h. */
1762 ac_clean_files_save=$ac_clean_files
1763 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1764 # Try to create an executable without -o first, disregard a.out.
1765 # It will help us diagnose broken compilers, and finding out an intuition
1767 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1768 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1769 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1770 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1771 (eval $ac_link_default) 2>&5
1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 (exit $ac_status); }; then
1775 # Find the output, starting from the most likely. This scheme is
1776 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1779 # Be careful to initialize this variable, since it used to be cached.
1780 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1782 # b.out is created by i960 compilers.
1783 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1785 test -f "$ac_file" || continue
1787 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1790 # This is the source file.
1793 # We found the default executable, but exeext='' is most
1797 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1798 # FIXME: I believe we export ac_cv_exeext for Libtool,
1799 # but it would be cool to find out if it's true. Does anybody
1800 # maintain Libtool? --akim.
1808 echo "$as_me: failed program was:" >&5
1809 sed 's/^/| /' conftest.$ac_ext >&5
1811 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1812 See \`config.log' for more details." >&5
1813 echo "$as_me: error: C compiler cannot create executables
1814 See \`config.log' for more details." >&2;}
1815 { (exit 77); exit 77; }; }
1818 ac_exeext=$ac_cv_exeext
1819 echo "$as_me:$LINENO: result: $ac_file" >&5
1820 echo "${ECHO_T}$ac_file" >&6
1822 # Check the compiler produces executables we can run. If not, either
1823 # the compiler is broken, or we cross compile.
1824 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1825 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1826 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1827 # If not cross compiling, check that we can run a simple program.
1828 if test "$cross_compiling" != yes; then
1829 if { ac_try='./$ac_file'
1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; }; then
1837 if test "$cross_compiling" = maybe; then
1840 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1841 If you meant to cross compile, use \`--host'.
1842 See \`config.log' for more details." >&5
1843 echo "$as_me: error: cannot run C compiled programs.
1844 If you meant to cross compile, use \`--host'.
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1850 echo "$as_me:$LINENO: result: yes" >&5
1851 echo "${ECHO_T}yes" >&6
1853 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1854 ac_clean_files=$ac_clean_files_save
1855 # Check the compiler produces executables we can run. If not, either
1856 # the compiler is broken, or we cross compile.
1857 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1858 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1859 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1860 echo "${ECHO_T}$cross_compiling" >&6
1862 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1863 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1865 (eval $ac_link) 2>&5
1867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1868 (exit $ac_status); }; then
1869 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1870 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1871 # work properly (i.e., refer to `conftest.exe'), while it won't with
1873 for ac_file in conftest.exe conftest conftest.*; do
1874 test -f "$ac_file" || continue
1876 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1877 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1884 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1885 See \`config.log' for more details." >&5
1886 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1887 See \`config.log' for more details." >&2;}
1888 { (exit 1); exit 1; }; }
1891 rm -f conftest$ac_cv_exeext
1892 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1893 echo "${ECHO_T}$ac_cv_exeext" >&6
1895 rm -f conftest.$ac_ext
1896 EXEEXT=$ac_cv_exeext
1898 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1899 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1900 if test "${ac_cv_objext+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 cat >conftest.$ac_ext <<_ACEOF
1906 cat confdefs.h >>conftest.$ac_ext
1907 cat >>conftest.$ac_ext <<_ACEOF
1908 /* end confdefs.h. */
1918 rm -f conftest.o conftest.obj
1919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1920 (eval $ac_compile) 2>&5
1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); }; then
1924 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1927 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1932 echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1935 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1936 See \`config.log' for more details." >&5
1937 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1938 See \`config.log' for more details." >&2;}
1939 { (exit 1); exit 1; }; }
1942 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1944 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1945 echo "${ECHO_T}$ac_cv_objext" >&6
1946 OBJEXT=$ac_cv_objext
1948 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1949 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1950 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 cat >conftest.$ac_ext <<_ACEOF
1956 cat confdefs.h >>conftest.$ac_ext
1957 cat >>conftest.$ac_ext <<_ACEOF
1958 /* end confdefs.h. */
1971 rm -f conftest.$ac_objext
1972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1973 (eval $ac_compile) 2>conftest.er1
1975 grep -v '^ *+' conftest.er1 >conftest.err
1977 cat conftest.err >&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); } &&
1980 { ac_try='test -z "$ac_c_werror_flag"
1981 || test ! -s conftest.err'
1982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986 (exit $ac_status); }; } &&
1987 { ac_try='test -s conftest.$ac_objext'
1988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }; }; then
1995 echo "$as_me: failed program was:" >&5
1996 sed 's/^/| /' conftest.$ac_ext >&5
2000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2001 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2004 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2005 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2006 GCC=`test $ac_compiler_gnu = yes && echo yes`
2007 ac_test_CFLAGS=${CFLAGS+set}
2008 ac_save_CFLAGS=$CFLAGS
2010 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2011 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2012 if test "${ac_cv_prog_cc_g+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.$ac_ext <<_ACEOF
2018 cat confdefs.h >>conftest.$ac_ext
2019 cat >>conftest.$ac_ext <<_ACEOF
2020 /* end confdefs.h. */
2030 rm -f conftest.$ac_objext
2031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2032 (eval $ac_compile) 2>conftest.er1
2034 grep -v '^ *+' conftest.er1 >conftest.err
2036 cat conftest.err >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); } &&
2039 { ac_try='test -z "$ac_c_werror_flag"
2040 || test ! -s conftest.err'
2041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045 (exit $ac_status); }; } &&
2046 { ac_try='test -s conftest.$ac_objext'
2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; }; then
2054 echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2061 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2062 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2063 if test "$ac_test_CFLAGS" = set; then
2064 CFLAGS=$ac_save_CFLAGS
2065 elif test $ac_cv_prog_cc_g = yes; then
2066 if test "$GCC" = yes; then
2072 if test "$GCC" = yes; then
2078 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2079 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2080 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2083 ac_cv_prog_cc_stdc=no
2085 cat >conftest.$ac_ext <<_ACEOF
2088 cat confdefs.h >>conftest.$ac_ext
2089 cat >>conftest.$ac_ext <<_ACEOF
2090 /* end confdefs.h. */
2093 #include <sys/types.h>
2094 #include <sys/stat.h>
2095 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2096 struct buf { int x; };
2097 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2098 static char *e (p, i)
2104 static char *f (char * (*g) (char **, int), char **p, ...)
2109 s = g (p, va_arg (v,int));
2114 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2115 function prototypes and stuff, but not '\xHH' hex character constants.
2116 These don't provoke an error unfortunately, instead are silently treated
2117 as 'x'. The following induces an error, until -std1 is added to get
2118 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2119 array size at least. It's necessary to write '\x00'==0 to get something
2120 that's true only with -std1. */
2121 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2123 int test (int i, double x);
2124 struct s1 {int (*f) (int a);};
2125 struct s2 {int (*f) (double a);};
2126 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2132 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2137 # Don't try gcc -ansi; that turns off useful extensions and
2138 # breaks some systems' header files.
2139 # AIX -qlanglvl=ansi
2140 # Ultrix and OSF/1 -std1
2141 # HP-UX 10.20 and later -Ae
2142 # HP-UX older versions -Aa -D_HPUX_SOURCE
2143 # SVR4 -Xc -D__EXTENSIONS__
2144 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2146 CC="$ac_save_CC $ac_arg"
2147 rm -f conftest.$ac_objext
2148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2149 (eval $ac_compile) 2>conftest.er1
2151 grep -v '^ *+' conftest.er1 >conftest.err
2153 cat conftest.err >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); } &&
2156 { ac_try='test -z "$ac_c_werror_flag"
2157 || test ! -s conftest.err'
2158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; } &&
2163 { ac_try='test -s conftest.$ac_objext'
2164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); }; }; then
2169 ac_cv_prog_cc_stdc=$ac_arg
2172 echo "$as_me: failed program was:" >&5
2173 sed 's/^/| /' conftest.$ac_ext >&5
2176 rm -f conftest.err conftest.$ac_objext
2178 rm -f conftest.$ac_ext conftest.$ac_objext
2183 case "x$ac_cv_prog_cc_stdc" in
2185 echo "$as_me:$LINENO: result: none needed" >&5
2186 echo "${ECHO_T}none needed" >&6 ;;
2188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2189 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2190 CC="$CC $ac_cv_prog_cc_stdc" ;;
2193 # Some people use a C++ compiler to compile C. Since we use `exit',
2194 # in C++ we need to declare it. In case someone uses the same compiler
2195 # for both compiling C and C++ we need to have the C++ compiler decide
2196 # the declaration of exit, since it's the most demanding environment.
2197 cat >conftest.$ac_ext <<_ACEOF
2202 rm -f conftest.$ac_objext
2203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2204 (eval $ac_compile) 2>conftest.er1
2206 grep -v '^ *+' conftest.er1 >conftest.err
2208 cat conftest.err >&5
2209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210 (exit $ac_status); } &&
2211 { ac_try='test -z "$ac_c_werror_flag"
2212 || test ! -s conftest.err'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; } &&
2218 { ac_try='test -s conftest.$ac_objext'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; }; then
2224 for ac_declaration in \
2226 'extern "C" void std::exit (int) throw (); using std::exit;' \
2227 'extern "C" void std::exit (int); using std::exit;' \
2228 'extern "C" void exit (int) throw ();' \
2229 'extern "C" void exit (int);' \
2232 cat >conftest.$ac_ext <<_ACEOF
2235 cat confdefs.h >>conftest.$ac_ext
2236 cat >>conftest.$ac_ext <<_ACEOF
2237 /* end confdefs.h. */
2248 rm -f conftest.$ac_objext
2249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250 (eval $ac_compile) 2>conftest.er1
2252 grep -v '^ *+' conftest.er1 >conftest.err
2254 cat conftest.err >&5
2255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256 (exit $ac_status); } &&
2257 { ac_try='test -z "$ac_c_werror_flag"
2258 || test ! -s conftest.err'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; } &&
2264 { ac_try='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2272 echo "$as_me: failed program was:" >&5
2273 sed 's/^/| /' conftest.$ac_ext >&5
2277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2278 cat >conftest.$ac_ext <<_ACEOF
2281 cat confdefs.h >>conftest.$ac_ext
2282 cat >>conftest.$ac_ext <<_ACEOF
2283 /* end confdefs.h. */
2293 rm -f conftest.$ac_objext
2294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2295 (eval $ac_compile) 2>conftest.er1
2297 grep -v '^ *+' conftest.er1 >conftest.err
2299 cat conftest.err >&5
2300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301 (exit $ac_status); } &&
2302 { ac_try='test -z "$ac_c_werror_flag"
2303 || test ! -s conftest.err'
2304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); }; } &&
2309 { ac_try='test -s conftest.$ac_objext'
2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; }; then
2317 echo "$as_me: failed program was:" >&5
2318 sed 's/^/| /' conftest.$ac_ext >&5
2321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2324 if test -n "$ac_declaration"; then
2325 echo '#ifdef __cplusplus' >>confdefs.h
2326 echo $ac_declaration >>confdefs.h
2327 echo '#endif' >>confdefs.h
2331 echo "$as_me: failed program was:" >&5
2332 sed 's/^/| /' conftest.$ac_ext >&5
2335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2337 ac_cpp='$CPP $CPPFLAGS'
2338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2342 # Find a good install program. We prefer a C program (faster),
2343 # so one script is as good as another. But avoid the broken or
2344 # incompatible versions:
2345 # SysV /etc/install, /usr/sbin/install
2346 # SunOS /usr/etc/install
2347 # IRIX /sbin/install
2349 # AmigaOS /C/install, which installs bootblocks on floppy discs
2350 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2351 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2352 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2353 # OS/2's system install, which has a completely different semantic
2354 # ./install, which can be erroneously created by make from ./install.sh.
2355 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2356 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2357 if test -z "$INSTALL"; then
2358 if test "${ac_cv_path_install+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365 test -z "$as_dir" && as_dir=.
2366 # Account for people who put trailing slashes in PATH elements.
2368 ./ | .// | /cC/* | \
2369 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2370 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2373 # OSF1 and SCO ODT 3.0 have their own names for install.
2374 # Don't use installbsd from OSF since it installs stuff as root
2376 for ac_prog in ginstall scoinst install; do
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2379 if test $ac_prog = install &&
2380 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2381 # AIX install. It has an incompatible calling convention.
2383 elif test $ac_prog = install &&
2384 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385 # program-specific install script used by HP pwplus--don't use.
2388 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2400 if test "${ac_cv_path_install+set}" = set; then
2401 INSTALL=$ac_cv_path_install
2403 # As a last resort, use the slow shell script. We don't cache a
2404 # path for INSTALL within a source directory, because that will
2405 # break other packages using the cache if that directory is
2406 # removed, or if the path is relative.
2407 INSTALL=$ac_install_sh
2410 echo "$as_me:$LINENO: result: $INSTALL" >&5
2411 echo "${ECHO_T}$INSTALL" >&6
2413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2414 # It thinks the first close brace ends the variable substitution.
2415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2421 if test -n "$ac_tool_prefix"; then
2422 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2423 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2424 echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2426 if test "${ac_cv_prog_RANLIB+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if test -n "$RANLIB"; then
2430 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2448 RANLIB=$ac_cv_prog_RANLIB
2449 if test -n "$RANLIB"; then
2450 echo "$as_me:$LINENO: result: $RANLIB" >&5
2451 echo "${ECHO_T}$RANLIB" >&6
2453 echo "$as_me:$LINENO: result: no" >&5
2454 echo "${ECHO_T}no" >&6
2458 if test -z "$ac_cv_prog_RANLIB"; then
2459 ac_ct_RANLIB=$RANLIB
2460 # Extract the first word of "ranlib", so it can be a program name with args.
2461 set dummy ranlib; ac_word=$2
2462 echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$ac_ct_RANLIB"; then
2468 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir=.
2475 for ac_exec_ext in '' $ac_executable_extensions; do
2476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 ac_cv_prog_ac_ct_RANLIB="ranlib"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2487 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2488 if test -n "$ac_ct_RANLIB"; then
2489 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2490 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2492 echo "$as_me:$LINENO: result: no" >&5
2493 echo "${ECHO_T}no" >&6
2496 RANLIB=$ac_ct_RANLIB
2498 RANLIB="$ac_cv_prog_RANLIB"
2504 echo "$as_me:$LINENO: checking for main in -lcompat" >&5
2505 echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6
2506 if test "${ac_cv_lib_compat_main+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 ac_check_lib_save_LIBS=$LIBS
2510 LIBS="-lcompat $LIBS"
2511 cat >conftest.$ac_ext <<_ACEOF
2514 cat confdefs.h >>conftest.$ac_ext
2515 cat >>conftest.$ac_ext <<_ACEOF
2516 /* end confdefs.h. */
2527 rm -f conftest.$ac_objext conftest$ac_exeext
2528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2529 (eval $ac_link) 2>conftest.er1
2531 grep -v '^ *+' conftest.er1 >conftest.err
2533 cat conftest.err >&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); } &&
2536 { ac_try='test -z "$ac_c_werror_flag"
2537 || test ! -s conftest.err'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; } &&
2543 { ac_try='test -s conftest$ac_exeext'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; }; then
2549 ac_cv_lib_compat_main=yes
2551 echo "$as_me: failed program was:" >&5
2552 sed 's/^/| /' conftest.$ac_ext >&5
2554 ac_cv_lib_compat_main=no
2556 rm -f conftest.err conftest.$ac_objext \
2557 conftest$ac_exeext conftest.$ac_ext
2558 LIBS=$ac_check_lib_save_LIBS
2560 echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
2561 echo "${ECHO_T}$ac_cv_lib_compat_main" >&6
2562 if test $ac_cv_lib_compat_main = yes; then
2563 cat >>confdefs.h <<_ACEOF
2564 #define HAVE_LIBCOMPAT 1
2567 LIBS="-lcompat $LIBS"
2571 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
2572 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
2573 if test "${ac_cv_search_gethostbyname+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 ac_func_search_save_LIBS=$LIBS
2577 ac_cv_search_gethostbyname=no
2578 cat >conftest.$ac_ext <<_ACEOF
2581 cat confdefs.h >>conftest.$ac_ext
2582 cat >>conftest.$ac_ext <<_ACEOF
2583 /* end confdefs.h. */
2585 /* Override any gcc2 internal prototype to avoid an error. */
2589 /* We use char because int might match the return type of a gcc2
2590 builtin and then its argument prototype would still apply. */
2591 char gethostbyname ();
2600 rm -f conftest.$ac_objext conftest$ac_exeext
2601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2602 (eval $ac_link) 2>conftest.er1
2604 grep -v '^ *+' conftest.er1 >conftest.err
2606 cat conftest.err >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } &&
2609 { ac_try='test -z "$ac_c_werror_flag"
2610 || test ! -s conftest.err'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; } &&
2616 { ac_try='test -s conftest$ac_exeext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2622 ac_cv_search_gethostbyname="none required"
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2628 rm -f conftest.err conftest.$ac_objext \
2629 conftest$ac_exeext conftest.$ac_ext
2630 if test "$ac_cv_search_gethostbyname" = no; then
2631 for ac_lib in nsl socket resolv; do
2632 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2633 cat >conftest.$ac_ext <<_ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2640 /* Override any gcc2 internal prototype to avoid an error. */
2644 /* We use char because int might match the return type of a gcc2
2645 builtin and then its argument prototype would still apply. */
2646 char gethostbyname ();
2655 rm -f conftest.$ac_objext conftest$ac_exeext
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2657 (eval $ac_link) 2>conftest.er1
2659 grep -v '^ *+' conftest.er1 >conftest.err
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } &&
2664 { ac_try='test -z "$ac_c_werror_flag"
2665 || test ! -s conftest.err'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; } &&
2671 { ac_try='test -s conftest$ac_exeext'
2672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676 (exit $ac_status); }; }; then
2677 ac_cv_search_gethostbyname="-l$ac_lib"
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.$ac_ext >&5
2684 rm -f conftest.err conftest.$ac_objext \
2685 conftest$ac_exeext conftest.$ac_ext
2688 LIBS=$ac_func_search_save_LIBS
2690 echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
2691 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
2692 if test "$ac_cv_search_gethostbyname" != no; then
2693 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
2697 echo "$as_me:$LINENO: checking for library containing getnameinfo" >&5
2698 echo $ECHO_N "checking for library containing getnameinfo... $ECHO_C" >&6
2699 if test "${ac_cv_search_getnameinfo+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2702 ac_func_search_save_LIBS=$LIBS
2703 ac_cv_search_getnameinfo=no
2704 cat >conftest.$ac_ext <<_ACEOF
2707 cat confdefs.h >>conftest.$ac_ext
2708 cat >>conftest.$ac_ext <<_ACEOF
2709 /* end confdefs.h. */
2711 /* Override any gcc2 internal prototype to avoid an error. */
2715 /* We use char because int might match the return type of a gcc2
2716 builtin and then its argument prototype would still apply. */
2717 char getnameinfo ();
2726 rm -f conftest.$ac_objext conftest$ac_exeext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2728 (eval $ac_link) 2>conftest.er1
2730 grep -v '^ *+' conftest.er1 >conftest.err
2732 cat conftest.err >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -z "$ac_c_werror_flag"
2736 || test ! -s conftest.err'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; } &&
2742 { ac_try='test -s conftest$ac_exeext'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then
2748 ac_cv_search_getnameinfo="none required"
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2754 rm -f conftest.err conftest.$ac_objext \
2755 conftest$ac_exeext conftest.$ac_ext
2756 if test "$ac_cv_search_getnameinfo" = no; then
2757 for ac_lib in nsl socket resolv; do
2758 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2759 cat >conftest.$ac_ext <<_ACEOF
2762 cat confdefs.h >>conftest.$ac_ext
2763 cat >>conftest.$ac_ext <<_ACEOF
2764 /* end confdefs.h. */
2766 /* Override any gcc2 internal prototype to avoid an error. */
2770 /* We use char because int might match the return type of a gcc2
2771 builtin and then its argument prototype would still apply. */
2772 char getnameinfo ();
2781 rm -f conftest.$ac_objext conftest$ac_exeext
2782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2783 (eval $ac_link) 2>conftest.er1
2785 grep -v '^ *+' conftest.er1 >conftest.err
2787 cat conftest.err >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); } &&
2790 { ac_try='test -z "$ac_c_werror_flag"
2791 || test ! -s conftest.err'
2792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); }; } &&
2797 { ac_try='test -s conftest$ac_exeext'
2798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); }; }; then
2803 ac_cv_search_getnameinfo="-l$ac_lib"
2806 echo "$as_me: failed program was:" >&5
2807 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f conftest.err conftest.$ac_objext \
2811 conftest$ac_exeext conftest.$ac_ext
2814 LIBS=$ac_func_search_save_LIBS
2816 echo "$as_me:$LINENO: result: $ac_cv_search_getnameinfo" >&5
2817 echo "${ECHO_T}$ac_cv_search_getnameinfo" >&6
2818 if test "$ac_cv_search_getnameinfo" != no; then
2819 test "$ac_cv_search_getnameinfo" = "none required" || LIBS="$ac_cv_search_getnameinfo $LIBS"
2823 echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5
2824 echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6
2825 if test "${ac_cv_search_inet_ntop+set}" = set; then
2826 echo $ECHO_N "(cached) $ECHO_C" >&6
2828 ac_func_search_save_LIBS=$LIBS
2829 ac_cv_search_inet_ntop=no
2830 cat >conftest.$ac_ext <<_ACEOF
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2837 /* Override any gcc2 internal prototype to avoid an error. */
2841 /* We use char because int might match the return type of a gcc2
2842 builtin and then its argument prototype would still apply. */
2852 rm -f conftest.$ac_objext conftest$ac_exeext
2853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2854 (eval $ac_link) 2>conftest.er1
2856 grep -v '^ *+' conftest.er1 >conftest.err
2858 cat conftest.err >&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } &&
2861 { ac_try='test -z "$ac_c_werror_flag"
2862 || test ! -s conftest.err'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; } &&
2868 { ac_try='test -s conftest$ac_exeext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2874 ac_cv_search_inet_ntop="none required"
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2880 rm -f conftest.err conftest.$ac_objext \
2881 conftest$ac_exeext conftest.$ac_ext
2882 if test "$ac_cv_search_inet_ntop" = no; then
2883 for ac_lib in nsl socket resolv; do
2884 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2885 cat >conftest.$ac_ext <<_ACEOF
2888 cat confdefs.h >>conftest.$ac_ext
2889 cat >>conftest.$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2892 /* Override any gcc2 internal prototype to avoid an error. */
2896 /* We use char because int might match the return type of a gcc2
2897 builtin and then its argument prototype would still apply. */
2907 rm -f conftest.$ac_objext conftest$ac_exeext
2908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2909 (eval $ac_link) 2>conftest.er1
2911 grep -v '^ *+' conftest.er1 >conftest.err
2913 cat conftest.err >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } &&
2916 { ac_try='test -z "$ac_c_werror_flag"
2917 || test ! -s conftest.err'
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; } &&
2923 { ac_try='test -s conftest$ac_exeext'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2929 ac_cv_search_inet_ntop="-l$ac_lib"
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f conftest.err conftest.$ac_objext \
2937 conftest$ac_exeext conftest.$ac_ext
2940 LIBS=$ac_func_search_save_LIBS
2942 echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5
2943 echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6
2944 if test "$ac_cv_search_inet_ntop" != no; then
2945 test "$ac_cv_search_inet_ntop" = "none required" || LIBS="$ac_cv_search_inet_ntop $LIBS"
2951 for ac_func in getnameinfo inet_ntop
2953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2954 echo "$as_me:$LINENO: checking for $ac_func" >&5
2955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2956 if eval "test \"\${$as_ac_var+set}\" = set"; then
2957 echo $ECHO_N "(cached) $ECHO_C" >&6
2959 cat >conftest.$ac_ext <<_ACEOF
2962 cat confdefs.h >>conftest.$ac_ext
2963 cat >>conftest.$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2967 #define $ac_func innocuous_$ac_func
2969 /* System header to define __stub macros and hopefully few prototypes,
2970 which can conflict with char $ac_func (); below.
2971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2972 <limits.h> exists even on freestanding compilers. */
2975 # include <limits.h>
2977 # include <assert.h>
2982 /* Override any gcc2 internal prototype to avoid an error. */
2987 /* We use char because int might match the return type of a gcc2
2988 builtin and then its argument prototype would still apply. */
2990 /* The GNU C library defines this for functions which it implements
2991 to always fail with ENOSYS. Some functions are actually named
2992 something starting with __ and the normal name is an alias. */
2993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2996 char (*f) () = $ac_func;
3005 return f != $ac_func;
3010 rm -f conftest.$ac_objext conftest$ac_exeext
3011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3012 (eval $ac_link) 2>conftest.er1
3014 grep -v '^ *+' conftest.er1 >conftest.err
3016 cat conftest.err >&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
3019 { ac_try='test -z "$ac_c_werror_flag"
3020 || test ! -s conftest.err'
3021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025 (exit $ac_status); }; } &&
3026 { ac_try='test -s conftest$ac_exeext'
3027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; }; then
3032 eval "$as_ac_var=yes"
3034 echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3037 eval "$as_ac_var=no"
3039 rm -f conftest.err conftest.$ac_objext \
3040 conftest$ac_exeext conftest.$ac_ext
3042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3044 if test `eval echo '${'$as_ac_var'}'` = yes; then
3045 cat >>confdefs.h <<_ACEOF
3046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3053 for ac_func in difftime
3055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3056 echo "$as_me:$LINENO: checking for $ac_func" >&5
3057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3058 if eval "test \"\${$as_ac_var+set}\" = set"; then
3059 echo $ECHO_N "(cached) $ECHO_C" >&6
3061 cat >conftest.$ac_ext <<_ACEOF
3064 cat confdefs.h >>conftest.$ac_ext
3065 cat >>conftest.$ac_ext <<_ACEOF
3066 /* end confdefs.h. */
3067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3069 #define $ac_func innocuous_$ac_func
3071 /* System header to define __stub macros and hopefully few prototypes,
3072 which can conflict with char $ac_func (); below.
3073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 <limits.h> exists even on freestanding compilers. */
3077 # include <limits.h>
3079 # include <assert.h>
3084 /* Override any gcc2 internal prototype to avoid an error. */
3089 /* We use char because int might match the return type of a gcc2
3090 builtin and then its argument prototype would still apply. */
3092 /* The GNU C library defines this for functions which it implements
3093 to always fail with ENOSYS. Some functions are actually named
3094 something starting with __ and the normal name is an alias. */
3095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3098 char (*f) () = $ac_func;
3107 return f != $ac_func;
3112 rm -f conftest.$ac_objext conftest$ac_exeext
3113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3114 (eval $ac_link) 2>conftest.er1
3116 grep -v '^ *+' conftest.er1 >conftest.err
3118 cat conftest.err >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); } &&
3121 { ac_try='test -z "$ac_c_werror_flag"
3122 || test ! -s conftest.err'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; } &&
3128 { ac_try='test -s conftest$ac_exeext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 eval "$as_ac_var=yes"
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.$ac_ext >&5
3139 eval "$as_ac_var=no"
3141 rm -f conftest.err conftest.$ac_objext \
3142 conftest$ac_exeext conftest.$ac_ext
3144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3146 if test `eval echo '${'$as_ac_var'}'` = yes; then
3147 cat >>confdefs.h <<_ACEOF
3148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3153 echo "$as_me:$LINENO: checking for difftime in -lm" >&5
3154 echo $ECHO_N "checking for difftime in -lm... $ECHO_C" >&6
3155 if test "${ac_cv_lib_m_difftime+set}" = set; then
3156 echo $ECHO_N "(cached) $ECHO_C" >&6
3158 ac_check_lib_save_LIBS=$LIBS
3160 cat >conftest.$ac_ext <<_ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3167 /* Override any gcc2 internal prototype to avoid an error. */
3171 /* We use char because int might match the return type of a gcc2
3172 builtin and then its argument prototype would still apply. */
3182 rm -f conftest.$ac_objext conftest$ac_exeext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3184 (eval $ac_link) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1 >conftest.err
3188 cat conftest.err >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } &&
3191 { ac_try='test -z "$ac_c_werror_flag"
3192 || test ! -s conftest.err'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; } &&
3198 { ac_try='test -s conftest$ac_exeext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3204 ac_cv_lib_m_difftime=yes
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 ac_cv_lib_m_difftime=no
3211 rm -f conftest.err conftest.$ac_objext \
3212 conftest$ac_exeext conftest.$ac_ext
3213 LIBS=$ac_check_lib_save_LIBS
3215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_difftime" >&5
3216 echo "${ECHO_T}$ac_cv_lib_m_difftime" >&6
3217 if test $ac_cv_lib_m_difftime = yes; then
3218 cat >>confdefs.h <<_ACEOF
3232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3233 echo "$as_me:$LINENO: checking for $ac_func" >&5
3234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3235 if eval "test \"\${$as_ac_var+set}\" = set"; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 cat >conftest.$ac_ext <<_ACEOF
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3246 #define $ac_func innocuous_$ac_func
3248 /* System header to define __stub macros and hopefully few prototypes,
3249 which can conflict with char $ac_func (); below.
3250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3251 <limits.h> exists even on freestanding compilers. */
3254 # include <limits.h>
3256 # include <assert.h>
3261 /* Override any gcc2 internal prototype to avoid an error. */
3266 /* We use char because int might match the return type of a gcc2
3267 builtin and then its argument prototype would still apply. */
3269 /* The GNU C library defines this for functions which it implements
3270 to always fail with ENOSYS. Some functions are actually named
3271 something starting with __ and the normal name is an alias. */
3272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3275 char (*f) () = $ac_func;
3284 return f != $ac_func;
3289 rm -f conftest.$ac_objext conftest$ac_exeext
3290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3291 (eval $ac_link) 2>conftest.er1
3293 grep -v '^ *+' conftest.er1 >conftest.err
3295 cat conftest.err >&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); } &&
3298 { ac_try='test -z "$ac_c_werror_flag"
3299 || test ! -s conftest.err'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; } &&
3305 { ac_try='test -s conftest$ac_exeext'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; }; then
3311 eval "$as_ac_var=yes"
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 eval "$as_ac_var=no"
3318 rm -f conftest.err conftest.$ac_objext \
3319 conftest$ac_exeext conftest.$ac_ext
3321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3323 if test `eval echo '${'$as_ac_var'}'` = yes; then
3324 cat >>confdefs.h <<_ACEOF
3325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3330 echo "$as_me:$LINENO: checking for fcvt in -lm" >&5
3331 echo $ECHO_N "checking for fcvt in -lm... $ECHO_C" >&6
3332 if test "${ac_cv_lib_m_fcvt+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 ac_check_lib_save_LIBS=$LIBS
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3344 /* Override any gcc2 internal prototype to avoid an error. */
3348 /* We use char because int might match the return type of a gcc2
3349 builtin and then its argument prototype would still apply. */
3359 rm -f conftest.$ac_objext conftest$ac_exeext
3360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3361 (eval $ac_link) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } &&
3368 { ac_try='test -z "$ac_c_werror_flag"
3369 || test ! -s conftest.err'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; } &&
3375 { ac_try='test -s conftest$ac_exeext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 ac_cv_lib_m_fcvt=yes
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3388 rm -f conftest.err conftest.$ac_objext \
3389 conftest$ac_exeext conftest.$ac_ext
3390 LIBS=$ac_check_lib_save_LIBS
3392 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fcvt" >&5
3393 echo "${ECHO_T}$ac_cv_lib_m_fcvt" >&6
3394 if test $ac_cv_lib_m_fcvt = yes; then
3395 cat >>confdefs.h <<_ACEOF
3409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3410 echo "$as_me:$LINENO: checking for $ac_func" >&5
3411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3412 if eval "test \"\${$as_ac_var+set}\" = set"; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3423 #define $ac_func innocuous_$ac_func
3425 /* System header to define __stub macros and hopefully few prototypes,
3426 which can conflict with char $ac_func (); below.
3427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 <limits.h> exists even on freestanding compilers. */
3431 # include <limits.h>
3433 # include <assert.h>
3438 /* Override any gcc2 internal prototype to avoid an error. */
3443 /* We use char because int might match the return type of a gcc2
3444 builtin and then its argument prototype would still apply. */
3446 /* The GNU C library defines this for functions which it implements
3447 to always fail with ENOSYS. Some functions are actually named
3448 something starting with __ and the normal name is an alias. */
3449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3452 char (*f) () = $ac_func;
3461 return f != $ac_func;
3466 rm -f conftest.$ac_objext conftest$ac_exeext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3468 (eval $ac_link) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try='test -z "$ac_c_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try='test -s conftest$ac_exeext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 eval "$as_ac_var=yes"
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 eval "$as_ac_var=no"
3495 rm -f conftest.err conftest.$ac_objext \
3496 conftest$ac_exeext conftest.$ac_ext
3498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3500 if test `eval echo '${'$as_ac_var'}'` = yes; then
3501 cat >>confdefs.h <<_ACEOF
3502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3507 echo "$as_me:$LINENO: checking for ecvt in -lm" >&5
3508 echo $ECHO_N "checking for ecvt in -lm... $ECHO_C" >&6
3509 if test "${ac_cv_lib_m_ecvt+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 ac_check_lib_save_LIBS=$LIBS
3514 cat >conftest.$ac_ext <<_ACEOF
3517 cat confdefs.h >>conftest.$ac_ext
3518 cat >>conftest.$ac_ext <<_ACEOF
3519 /* end confdefs.h. */
3521 /* Override any gcc2 internal prototype to avoid an error. */
3525 /* We use char because int might match the return type of a gcc2
3526 builtin and then its argument prototype would still apply. */
3536 rm -f conftest.$ac_objext conftest$ac_exeext
3537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3538 (eval $ac_link) 2>conftest.er1
3540 grep -v '^ *+' conftest.er1 >conftest.err
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } &&
3545 { ac_try='test -z "$ac_c_werror_flag"
3546 || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try='test -s conftest$ac_exeext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3558 ac_cv_lib_m_ecvt=yes
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.$ac_ext >&5
3565 rm -f conftest.err conftest.$ac_objext \
3566 conftest$ac_exeext conftest.$ac_ext
3567 LIBS=$ac_check_lib_save_LIBS
3569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ecvt" >&5
3570 echo "${ECHO_T}$ac_cv_lib_m_ecvt" >&6
3571 if test $ac_cv_lib_m_ecvt = yes; then
3572 cat >>confdefs.h <<_ACEOF
3586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3587 echo "$as_me:$LINENO: checking for $ac_func" >&5
3588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3589 if eval "test \"\${$as_ac_var+set}\" = set"; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 cat >conftest.$ac_ext <<_ACEOF
3595 cat confdefs.h >>conftest.$ac_ext
3596 cat >>conftest.$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3600 #define $ac_func innocuous_$ac_func
3602 /* System header to define __stub macros and hopefully few prototypes,
3603 which can conflict with char $ac_func (); below.
3604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3605 <limits.h> exists even on freestanding compilers. */
3608 # include <limits.h>
3610 # include <assert.h>
3615 /* Override any gcc2 internal prototype to avoid an error. */
3620 /* We use char because int might match the return type of a gcc2
3621 builtin and then its argument prototype would still apply. */
3623 /* The GNU C library defines this for functions which it implements
3624 to always fail with ENOSYS. Some functions are actually named
3625 something starting with __ and the normal name is an alias. */
3626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3629 char (*f) () = $ac_func;
3638 return f != $ac_func;
3643 rm -f conftest.$ac_objext conftest$ac_exeext
3644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3645 (eval $ac_link) 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } &&
3652 { ac_try='test -z "$ac_c_werror_flag"
3653 || test ! -s conftest.err'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; } &&
3659 { ac_try='test -s conftest$ac_exeext'
3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); }; }; then
3665 eval "$as_ac_var=yes"
3667 echo "$as_me: failed program was:" >&5
3668 sed 's/^/| /' conftest.$ac_ext >&5
3670 eval "$as_ac_var=no"
3672 rm -f conftest.err conftest.$ac_objext \
3673 conftest$ac_exeext conftest.$ac_ext
3675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3677 if test `eval echo '${'$as_ac_var'}'` = yes; then
3678 cat >>confdefs.h <<_ACEOF
3679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3684 echo "$as_me:$LINENO: checking for gcvt in -lm" >&5
3685 echo $ECHO_N "checking for gcvt in -lm... $ECHO_C" >&6
3686 if test "${ac_cv_lib_m_gcvt+set}" = set; then
3687 echo $ECHO_N "(cached) $ECHO_C" >&6
3689 ac_check_lib_save_LIBS=$LIBS
3691 cat >conftest.$ac_ext <<_ACEOF
3694 cat confdefs.h >>conftest.$ac_ext
3695 cat >>conftest.$ac_ext <<_ACEOF
3696 /* end confdefs.h. */
3698 /* Override any gcc2 internal prototype to avoid an error. */
3702 /* We use char because int might match the return type of a gcc2
3703 builtin and then its argument prototype would still apply. */
3713 rm -f conftest.$ac_objext conftest$ac_exeext
3714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3715 (eval $ac_link) 2>conftest.er1
3717 grep -v '^ *+' conftest.er1 >conftest.err
3719 cat conftest.err >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); } &&
3722 { ac_try='test -z "$ac_c_werror_flag"
3723 || test ! -s conftest.err'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; } &&
3729 { ac_try='test -s conftest$ac_exeext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 ac_cv_lib_m_gcvt=yes
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3742 rm -f conftest.err conftest.$ac_objext \
3743 conftest$ac_exeext conftest.$ac_ext
3744 LIBS=$ac_check_lib_save_LIBS
3746 echo "$as_me:$LINENO: result: $ac_cv_lib_m_gcvt" >&5
3747 echo "${ECHO_T}$ac_cv_lib_m_gcvt" >&6
3748 if test $ac_cv_lib_m_gcvt = yes; then
3749 cat >>confdefs.h <<_ACEOF
3761 echo "$as_me:$LINENO: checking for strerror" >&5
3762 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3763 if test "${ac_cv_func_strerror+set}" = set; then
3764 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 cat >conftest.$ac_ext <<_ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
3773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3774 #define strerror innocuous_strerror
3776 /* System header to define __stub macros and hopefully few prototypes,
3777 which can conflict with char strerror (); below.
3778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3779 <limits.h> exists even on freestanding compilers. */
3782 # include <limits.h>
3784 # include <assert.h>
3789 /* Override any gcc2 internal prototype to avoid an error. */
3794 /* We use char because int might match the return type of a gcc2
3795 builtin and then its argument prototype would still apply. */
3797 /* The GNU C library defines this for functions which it implements
3798 to always fail with ENOSYS. Some functions are actually named
3799 something starting with __ and the normal name is an alias. */
3800 #if defined (__stub_strerror) || defined (__stub___strerror)
3803 char (*f) () = strerror;
3812 return f != strerror;
3817 rm -f conftest.$ac_objext conftest$ac_exeext
3818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3819 (eval $ac_link) 2>conftest.er1
3821 grep -v '^ *+' conftest.er1 >conftest.err
3823 cat conftest.err >&5
3824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825 (exit $ac_status); } &&
3826 { ac_try='test -z "$ac_c_werror_flag"
3827 || test ! -s conftest.err'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; } &&
3833 { ac_try='test -s conftest$ac_exeext'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; }; then
3839 ac_cv_func_strerror=yes
3841 echo "$as_me: failed program was:" >&5
3842 sed 's/^/| /' conftest.$ac_ext >&5
3844 ac_cv_func_strerror=no
3846 rm -f conftest.err conftest.$ac_objext \
3847 conftest$ac_exeext conftest.$ac_ext
3849 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3850 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3851 if test $ac_cv_func_strerror = yes; then
3852 cat >>confdefs.h <<\_ACEOF
3853 #define HAVE_STRERROR 1
3858 echo "$as_me:$LINENO: checking for strcasecmp" >&5
3859 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
3860 if test "${ac_cv_func_strcasecmp+set}" = set; then
3861 echo $ECHO_N "(cached) $ECHO_C" >&6
3863 cat >conftest.$ac_ext <<_ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
3870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3871 #define strcasecmp innocuous_strcasecmp
3873 /* System header to define __stub macros and hopefully few prototypes,
3874 which can conflict with char strcasecmp (); below.
3875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3876 <limits.h> exists even on freestanding compilers. */
3879 # include <limits.h>
3881 # include <assert.h>
3886 /* Override any gcc2 internal prototype to avoid an error. */
3891 /* We use char because int might match the return type of a gcc2
3892 builtin and then its argument prototype would still apply. */
3894 /* The GNU C library defines this for functions which it implements
3895 to always fail with ENOSYS. Some functions are actually named
3896 something starting with __ and the normal name is an alias. */
3897 #if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
3900 char (*f) () = strcasecmp;
3909 return f != strcasecmp;
3914 rm -f conftest.$ac_objext conftest$ac_exeext
3915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3916 (eval $ac_link) 2>conftest.er1
3918 grep -v '^ *+' conftest.er1 >conftest.err
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } &&
3923 { ac_try='test -z "$ac_c_werror_flag"
3924 || test ! -s conftest.err'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; } &&
3930 { ac_try='test -s conftest$ac_exeext'
3931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 (exit $ac_status); }; }; then
3936 ac_cv_func_strcasecmp=yes
3938 echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3941 ac_cv_func_strcasecmp=no
3943 rm -f conftest.err conftest.$ac_objext \
3944 conftest$ac_exeext conftest.$ac_ext
3946 echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
3947 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
3948 if test $ac_cv_func_strcasecmp = yes; then
3949 cat >>confdefs.h <<\_ACEOF
3950 #define HAVE_STRCASECMP 1
3955 echo "$as_me:$LINENO: checking for socket" >&5
3956 echo $ECHO_N "checking for socket... $ECHO_C" >&6
3957 if test "${ac_cv_func_socket+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 cat >conftest.$ac_ext <<_ACEOF
3963 cat confdefs.h >>conftest.$ac_ext
3964 cat >>conftest.$ac_ext <<_ACEOF
3965 /* end confdefs.h. */
3966 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
3967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3968 #define socket innocuous_socket
3970 /* System header to define __stub macros and hopefully few prototypes,
3971 which can conflict with char socket (); below.
3972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3973 <limits.h> exists even on freestanding compilers. */
3976 # include <limits.h>
3978 # include <assert.h>
3983 /* Override any gcc2 internal prototype to avoid an error. */
3988 /* We use char because int might match the return type of a gcc2
3989 builtin and then its argument prototype would still apply. */
3991 /* The GNU C library defines this for functions which it implements
3992 to always fail with ENOSYS. Some functions are actually named
3993 something starting with __ and the normal name is an alias. */
3994 #if defined (__stub_socket) || defined (__stub___socket)
3997 char (*f) () = socket;
4011 rm -f conftest.$ac_objext conftest$ac_exeext
4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4013 (eval $ac_link) 2>conftest.er1
4015 grep -v '^ *+' conftest.er1 >conftest.err
4017 cat conftest.err >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try='test -z "$ac_c_werror_flag"
4021 || test ! -s conftest.err'
4022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); }; } &&
4027 { ac_try='test -s conftest$ac_exeext'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; }; then
4033 ac_cv_func_socket=yes
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4038 ac_cv_func_socket=no
4040 rm -f conftest.err conftest.$ac_objext \
4041 conftest$ac_exeext conftest.$ac_ext
4043 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
4044 echo "${ECHO_T}$ac_cv_func_socket" >&6
4045 if test $ac_cv_func_socket = yes; then
4049 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4050 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4051 if test "${ac_cv_lib_socket_socket+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 ac_check_lib_save_LIBS=$LIBS
4055 LIBS="-lsocket $LIBS"
4056 cat >conftest.$ac_ext <<_ACEOF
4059 cat confdefs.h >>conftest.$ac_ext
4060 cat >>conftest.$ac_ext <<_ACEOF
4061 /* end confdefs.h. */
4063 /* Override any gcc2 internal prototype to avoid an error. */
4067 /* We use char because int might match the return type of a gcc2
4068 builtin and then its argument prototype would still apply. */
4078 rm -f conftest.$ac_objext conftest$ac_exeext
4079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4080 (eval $ac_link) 2>conftest.er1
4082 grep -v '^ *+' conftest.er1 >conftest.err
4084 cat conftest.err >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } &&
4087 { ac_try='test -z "$ac_c_werror_flag"
4088 || test ! -s conftest.err'
4089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); }; } &&
4094 { ac_try='test -s conftest$ac_exeext'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; }; then
4100 ac_cv_lib_socket_socket=yes
4102 echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4105 ac_cv_lib_socket_socket=no
4107 rm -f conftest.err conftest.$ac_objext \
4108 conftest$ac_exeext conftest.$ac_ext
4109 LIBS=$ac_check_lib_save_LIBS
4111 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4112 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4113 if test $ac_cv_lib_socket_socket = yes; then
4114 cat >>confdefs.h <<_ACEOF
4115 #define HAVE_LIBSOCKET 1
4118 LIBS="-lsocket $LIBS"
4122 echo "$as_me:$LINENO: checking for socket in -lnsl" >&5
4123 echo $ECHO_N "checking for socket in -lnsl... $ECHO_C" >&6
4124 if test "${ac_cv_lib_nsl_socket+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 ac_check_lib_save_LIBS=$LIBS
4129 cat >conftest.$ac_ext <<_ACEOF
4132 cat confdefs.h >>conftest.$ac_ext
4133 cat >>conftest.$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4136 /* Override any gcc2 internal prototype to avoid an error. */
4140 /* We use char because int might match the return type of a gcc2
4141 builtin and then its argument prototype would still apply. */
4151 rm -f conftest.$ac_objext conftest$ac_exeext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4153 (eval $ac_link) 2>conftest.er1
4155 grep -v '^ *+' conftest.er1 >conftest.err
4157 cat conftest.err >&5
4158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4159 (exit $ac_status); } &&
4160 { ac_try='test -z "$ac_c_werror_flag"
4161 || test ! -s conftest.err'
4162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166 (exit $ac_status); }; } &&
4167 { ac_try='test -s conftest$ac_exeext'
4168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); }; }; then
4173 ac_cv_lib_nsl_socket=yes
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.$ac_ext >&5
4178 ac_cv_lib_nsl_socket=no
4180 rm -f conftest.err conftest.$ac_objext \
4181 conftest$ac_exeext conftest.$ac_ext
4182 LIBS=$ac_check_lib_save_LIBS
4184 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_socket" >&5
4185 echo "${ECHO_T}$ac_cv_lib_nsl_socket" >&6
4186 if test $ac_cv_lib_nsl_socket = yes; then
4187 cat >>confdefs.h <<_ACEOF
4188 #define HAVE_LIBNSL 1
4199 echo "$as_me:$LINENO: checking for inet_aton" >&5
4200 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6
4201 if test "${ac_cv_func_inet_aton+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 cat >conftest.$ac_ext <<_ACEOF
4207 cat confdefs.h >>conftest.$ac_ext
4208 cat >>conftest.$ac_ext <<_ACEOF
4209 /* end confdefs.h. */
4210 /* Define inet_aton to an innocuous variant, in case <limits.h> declares inet_aton.
4211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4212 #define inet_aton innocuous_inet_aton
4214 /* System header to define __stub macros and hopefully few prototypes,
4215 which can conflict with char inet_aton (); below.
4216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4217 <limits.h> exists even on freestanding compilers. */
4220 # include <limits.h>
4222 # include <assert.h>
4227 /* Override any gcc2 internal prototype to avoid an error. */
4232 /* We use char because int might match the return type of a gcc2
4233 builtin and then its argument prototype would still apply. */
4235 /* The GNU C library defines this for functions which it implements
4236 to always fail with ENOSYS. Some functions are actually named
4237 something starting with __ and the normal name is an alias. */
4238 #if defined (__stub_inet_aton) || defined (__stub___inet_aton)
4241 char (*f) () = inet_aton;
4250 return f != inet_aton;
4255 rm -f conftest.$ac_objext conftest$ac_exeext
4256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4257 (eval $ac_link) 2>conftest.er1
4259 grep -v '^ *+' conftest.er1 >conftest.err
4261 cat conftest.err >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); } &&
4264 { ac_try='test -z "$ac_c_werror_flag"
4265 || test ! -s conftest.err'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; } &&
4271 { ac_try='test -s conftest$ac_exeext'
4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); }; }; then
4277 ac_cv_func_inet_aton=yes
4279 echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.$ac_ext >&5
4282 ac_cv_func_inet_aton=no
4284 rm -f conftest.err conftest.$ac_objext \
4285 conftest$ac_exeext conftest.$ac_ext
4287 echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
4288 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6
4289 if test $ac_cv_func_inet_aton = yes; then
4293 echo "$as_me:$LINENO: checking for inet_aton in -lnsl" >&5
4294 echo $ECHO_N "checking for inet_aton in -lnsl... $ECHO_C" >&6
4295 if test "${ac_cv_lib_nsl_inet_aton+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4298 ac_check_lib_save_LIBS=$LIBS
4300 cat >conftest.$ac_ext <<_ACEOF
4303 cat confdefs.h >>conftest.$ac_ext
4304 cat >>conftest.$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4307 /* Override any gcc2 internal prototype to avoid an error. */
4311 /* We use char because int might match the return type of a gcc2
4312 builtin and then its argument prototype would still apply. */
4322 rm -f conftest.$ac_objext conftest$ac_exeext
4323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4324 (eval $ac_link) 2>conftest.er1
4326 grep -v '^ *+' conftest.er1 >conftest.err
4328 cat conftest.err >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } &&
4331 { ac_try='test -z "$ac_c_werror_flag"
4332 || test ! -s conftest.err'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; } &&
4338 { ac_try='test -s conftest$ac_exeext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_cv_lib_nsl_inet_aton=yes
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4349 ac_cv_lib_nsl_inet_aton=no
4351 rm -f conftest.err conftest.$ac_objext \
4352 conftest$ac_exeext conftest.$ac_ext
4353 LIBS=$ac_check_lib_save_LIBS
4355 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_aton" >&5
4356 echo "${ECHO_T}$ac_cv_lib_nsl_inet_aton" >&6
4357 if test $ac_cv_lib_nsl_inet_aton = yes; then
4358 cat >>confdefs.h <<_ACEOF
4359 #define HAVE_LIBNSL 1
4366 echo "$as_me:$LINENO: checking for inet_aton in -lsocket" >&5
4367 echo $ECHO_N "checking for inet_aton in -lsocket... $ECHO_C" >&6
4368 if test "${ac_cv_lib_socket_inet_aton+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 ac_check_lib_save_LIBS=$LIBS
4372 LIBS="-lsocket $LIBS"
4373 cat >conftest.$ac_ext <<_ACEOF
4376 cat confdefs.h >>conftest.$ac_ext
4377 cat >>conftest.$ac_ext <<_ACEOF
4378 /* end confdefs.h. */
4380 /* Override any gcc2 internal prototype to avoid an error. */
4384 /* We use char because int might match the return type of a gcc2
4385 builtin and then its argument prototype would still apply. */
4395 rm -f conftest.$ac_objext conftest$ac_exeext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4397 (eval $ac_link) 2>conftest.er1
4399 grep -v '^ *+' conftest.er1 >conftest.err
4401 cat conftest.err >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); } &&
4404 { ac_try='test -z "$ac_c_werror_flag"
4405 || test ! -s conftest.err'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; } &&
4411 { ac_try='test -s conftest$ac_exeext'
4412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); }; }; then
4417 ac_cv_lib_socket_inet_aton=yes
4419 echo "$as_me: failed program was:" >&5
4420 sed 's/^/| /' conftest.$ac_ext >&5
4422 ac_cv_lib_socket_inet_aton=no
4424 rm -f conftest.err conftest.$ac_objext \
4425 conftest$ac_exeext conftest.$ac_ext
4426 LIBS=$ac_check_lib_save_LIBS
4428 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_aton" >&5
4429 echo "${ECHO_T}$ac_cv_lib_socket_inet_aton" >&6
4430 if test $ac_cv_lib_socket_inet_aton = yes; then
4431 cat >>confdefs.h <<_ACEOF
4432 #define HAVE_LIBSOCKET 1
4435 LIBS="-lsocket $LIBS"
4439 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
4440 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
4441 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 ac_check_lib_save_LIBS=$LIBS
4445 LIBS="-lresolv $LIBS"
4446 cat >conftest.$ac_ext <<_ACEOF
4449 cat confdefs.h >>conftest.$ac_ext
4450 cat >>conftest.$ac_ext <<_ACEOF
4451 /* end confdefs.h. */
4453 /* Override any gcc2 internal prototype to avoid an error. */
4457 /* We use char because int might match the return type of a gcc2
4458 builtin and then its argument prototype would still apply. */
4468 rm -f conftest.$ac_objext conftest$ac_exeext
4469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4470 (eval $ac_link) 2>conftest.er1
4472 grep -v '^ *+' conftest.er1 >conftest.err
4474 cat conftest.err >&5
4475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4476 (exit $ac_status); } &&
4477 { ac_try='test -z "$ac_c_werror_flag"
4478 || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_resolv_inet_aton=yes
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4495 ac_cv_lib_resolv_inet_aton=no
4497 rm -f conftest.err conftest.$ac_objext \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS=$ac_check_lib_save_LIBS
4501 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
4502 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
4503 if test $ac_cv_lib_resolv_inet_aton = yes; then
4504 cat >>confdefs.h <<_ACEOF
4505 #define HAVE_LIBRESOLV 1
4508 LIBS="-lresolv $LIBS"
4511 cat >>confdefs.h <<\_ACEOF
4512 #define NO_INET_ATON 1
4523 echo "$as_me:$LINENO: checking for setenv" >&5
4524 echo $ECHO_N "checking for setenv... $ECHO_C" >&6
4525 if test "${ac_cv_func_setenv+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 cat >conftest.$ac_ext <<_ACEOF
4531 cat confdefs.h >>conftest.$ac_ext
4532 cat >>conftest.$ac_ext <<_ACEOF
4533 /* end confdefs.h. */
4534 /* Define setenv to an innocuous variant, in case <limits.h> declares setenv.
4535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4536 #define setenv innocuous_setenv
4538 /* System header to define __stub macros and hopefully few prototypes,
4539 which can conflict with char setenv (); below.
4540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4541 <limits.h> exists even on freestanding compilers. */
4544 # include <limits.h>
4546 # include <assert.h>
4551 /* Override any gcc2 internal prototype to avoid an error. */
4556 /* We use char because int might match the return type of a gcc2
4557 builtin and then its argument prototype would still apply. */
4559 /* The GNU C library defines this for functions which it implements
4560 to always fail with ENOSYS. Some functions are actually named
4561 something starting with __ and the normal name is an alias. */
4562 #if defined (__stub_setenv) || defined (__stub___setenv)
4565 char (*f) () = setenv;
4579 rm -f conftest.$ac_objext conftest$ac_exeext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4581 (eval $ac_link) 2>conftest.er1
4583 grep -v '^ *+' conftest.er1 >conftest.err
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } &&
4588 { ac_try='test -z "$ac_c_werror_flag"
4589 || test ! -s conftest.err'
4590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); }; } &&
4595 { ac_try='test -s conftest$ac_exeext'
4596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); }; }; then
4601 ac_cv_func_setenv=yes
4603 echo "$as_me: failed program was:" >&5
4604 sed 's/^/| /' conftest.$ac_ext >&5
4606 ac_cv_func_setenv=no
4608 rm -f conftest.err conftest.$ac_objext \
4609 conftest$ac_exeext conftest.$ac_ext
4611 echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
4612 echo "${ECHO_T}$ac_cv_func_setenv" >&6
4613 if test $ac_cv_func_setenv = yes; then
4614 cat >>confdefs.h <<\_ACEOF
4615 #define HAVE_SETENV 1
4620 echo "$as_me:$LINENO: checking for strsignal" >&5
4621 echo $ECHO_N "checking for strsignal... $ECHO_C" >&6
4622 if test "${ac_cv_func_strsignal+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 /* Define strsignal to an innocuous variant, in case <limits.h> declares strsignal.
4632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4633 #define strsignal innocuous_strsignal
4635 /* System header to define __stub macros and hopefully few prototypes,
4636 which can conflict with char strsignal (); below.
4637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 <limits.h> exists even on freestanding compilers. */
4641 # include <limits.h>
4643 # include <assert.h>
4648 /* Override any gcc2 internal prototype to avoid an error. */
4653 /* We use char because int might match the return type of a gcc2
4654 builtin and then its argument prototype would still apply. */
4656 /* The GNU C library defines this for functions which it implements
4657 to always fail with ENOSYS. Some functions are actually named
4658 something starting with __ and the normal name is an alias. */
4659 #if defined (__stub_strsignal) || defined (__stub___strsignal)
4662 char (*f) () = strsignal;
4671 return f != strsignal;
4676 rm -f conftest.$ac_objext conftest$ac_exeext
4677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4678 (eval $ac_link) 2>conftest.er1
4680 grep -v '^ *+' conftest.er1 >conftest.err
4682 cat conftest.err >&5
4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4684 (exit $ac_status); } &&
4685 { ac_try='test -z "$ac_c_werror_flag"
4686 || test ! -s conftest.err'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; } &&
4692 { ac_try='test -s conftest$ac_exeext'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; }; then
4698 ac_cv_func_strsignal=yes
4700 echo "$as_me: failed program was:" >&5
4701 sed 's/^/| /' conftest.$ac_ext >&5
4703 ac_cv_func_strsignal=no
4705 rm -f conftest.err conftest.$ac_objext \
4706 conftest$ac_exeext conftest.$ac_ext
4708 echo "$as_me:$LINENO: result: $ac_cv_func_strsignal" >&5
4709 echo "${ECHO_T}$ac_cv_func_strsignal" >&6
4710 if test $ac_cv_func_strsignal = yes; then
4711 cat >>confdefs.h <<\_ACEOF
4712 #define HAVE_STRSIGNAL 1
4717 echo "$as_me:$LINENO: checking for sys_siglist in -lc" >&5
4718 echo $ECHO_N "checking for sys_siglist in -lc... $ECHO_C" >&6
4719 if test "${ac_cv_lib_c_sys_siglist+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 ac_check_lib_save_LIBS=$LIBS
4724 cat >conftest.$ac_ext <<_ACEOF
4727 cat confdefs.h >>conftest.$ac_ext
4728 cat >>conftest.$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4731 /* Override any gcc2 internal prototype to avoid an error. */
4735 /* We use char because int might match the return type of a gcc2
4736 builtin and then its argument prototype would still apply. */
4737 char sys_siglist ();
4746 rm -f conftest.$ac_objext conftest$ac_exeext
4747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4748 (eval $ac_link) 2>conftest.er1
4750 grep -v '^ *+' conftest.er1 >conftest.err
4752 cat conftest.err >&5
4753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754 (exit $ac_status); } &&
4755 { ac_try='test -z "$ac_c_werror_flag"
4756 || test ! -s conftest.err'
4757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4761 (exit $ac_status); }; } &&
4762 { ac_try='test -s conftest$ac_exeext'
4763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); }; }; then
4768 ac_cv_lib_c_sys_siglist=yes
4770 echo "$as_me: failed program was:" >&5
4771 sed 's/^/| /' conftest.$ac_ext >&5
4773 ac_cv_lib_c_sys_siglist=no
4775 rm -f conftest.err conftest.$ac_objext \
4776 conftest$ac_exeext conftest.$ac_ext
4777 LIBS=$ac_check_lib_save_LIBS
4779 echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_siglist" >&5
4780 echo "${ECHO_T}$ac_cv_lib_c_sys_siglist" >&6
4781 if test $ac_cv_lib_c_sys_siglist = yes; then
4782 cat >>confdefs.h <<\_ACEOF
4783 #define HAVE_SYS_SIGLIST 1
4788 echo "$as_me:$LINENO: checking for gai_strerror" >&5
4789 echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6
4790 if test "${ac_cv_func_gai_strerror+set}" = set; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 cat >conftest.$ac_ext <<_ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 /* Define gai_strerror to an innocuous variant, in case <limits.h> declares gai_strerror.
4800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4801 #define gai_strerror innocuous_gai_strerror
4803 /* System header to define __stub macros and hopefully few prototypes,
4804 which can conflict with char gai_strerror (); below.
4805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4806 <limits.h> exists even on freestanding compilers. */
4809 # include <limits.h>
4811 # include <assert.h>
4816 /* Override any gcc2 internal prototype to avoid an error. */
4821 /* We use char because int might match the return type of a gcc2
4822 builtin and then its argument prototype would still apply. */
4823 char gai_strerror ();
4824 /* The GNU C library defines this for functions which it implements
4825 to always fail with ENOSYS. Some functions are actually named
4826 something starting with __ and the normal name is an alias. */
4827 #if defined (__stub_gai_strerror) || defined (__stub___gai_strerror)
4830 char (*f) () = gai_strerror;
4839 return f != gai_strerror;
4844 rm -f conftest.$ac_objext conftest$ac_exeext
4845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4846 (eval $ac_link) 2>conftest.er1
4848 grep -v '^ *+' conftest.er1 >conftest.err
4850 cat conftest.err >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); } &&
4853 { ac_try='test -z "$ac_c_werror_flag"
4854 || test ! -s conftest.err'
4855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); }; } &&
4860 { ac_try='test -s conftest$ac_exeext'
4861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865 (exit $ac_status); }; }; then
4866 ac_cv_func_gai_strerror=yes
4868 echo "$as_me: failed program was:" >&5
4869 sed 's/^/| /' conftest.$ac_ext >&5
4871 ac_cv_func_gai_strerror=no
4873 rm -f conftest.err conftest.$ac_objext \
4874 conftest$ac_exeext conftest.$ac_ext
4876 echo "$as_me:$LINENO: result: $ac_cv_func_gai_strerror" >&5
4877 echo "${ECHO_T}$ac_cv_func_gai_strerror" >&6
4878 if test $ac_cv_func_gai_strerror = yes; then
4879 cat >>confdefs.h <<\_ACEOF
4880 #define HAVE_GAI_STRERROR 1
4885 echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
4886 echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6
4887 if test "${ac_cv_func_freeaddrinfo+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 cat >conftest.$ac_ext <<_ACEOF
4893 cat confdefs.h >>conftest.$ac_ext
4894 cat >>conftest.$ac_ext <<_ACEOF
4895 /* end confdefs.h. */
4896 /* Define freeaddrinfo to an innocuous variant, in case <limits.h> declares freeaddrinfo.
4897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4898 #define freeaddrinfo innocuous_freeaddrinfo
4900 /* System header to define __stub macros and hopefully few prototypes,
4901 which can conflict with char freeaddrinfo (); below.
4902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4903 <limits.h> exists even on freestanding compilers. */
4906 # include <limits.h>
4908 # include <assert.h>
4913 /* Override any gcc2 internal prototype to avoid an error. */
4918 /* We use char because int might match the return type of a gcc2
4919 builtin and then its argument prototype would still apply. */
4920 char freeaddrinfo ();
4921 /* The GNU C library defines this for functions which it implements
4922 to always fail with ENOSYS. Some functions are actually named
4923 something starting with __ and the normal name is an alias. */
4924 #if defined (__stub_freeaddrinfo) || defined (__stub___freeaddrinfo)
4927 char (*f) () = freeaddrinfo;
4936 return f != freeaddrinfo;
4941 rm -f conftest.$ac_objext conftest$ac_exeext
4942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 (eval $ac_link) 2>conftest.er1
4945 grep -v '^ *+' conftest.er1 >conftest.err
4947 cat conftest.err >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } &&
4950 { ac_try='test -z "$ac_c_werror_flag"
4951 || test ! -s conftest.err'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; } &&
4957 { ac_try='test -s conftest$ac_exeext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 ac_cv_func_freeaddrinfo=yes
4965 echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.$ac_ext >&5
4968 ac_cv_func_freeaddrinfo=no
4970 rm -f conftest.err conftest.$ac_objext \
4971 conftest$ac_exeext conftest.$ac_ext
4973 echo "$as_me:$LINENO: result: $ac_cv_func_freeaddrinfo" >&5
4974 echo "${ECHO_T}$ac_cv_func_freeaddrinfo" >&6
4975 if test $ac_cv_func_freeaddrinfo = yes; then
4976 cat >>confdefs.h <<\_ACEOF
4977 #define HAVE_FREEADDRINFO 1
4982 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
4983 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
4984 if test "${ac_cv_func_getaddrinfo+set}" = set; then
4985 echo $ECHO_N "(cached) $ECHO_C" >&6
4987 cat >conftest.$ac_ext <<_ACEOF
4990 cat confdefs.h >>conftest.$ac_ext
4991 cat >>conftest.$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4993 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
4994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4995 #define getaddrinfo innocuous_getaddrinfo
4997 /* System header to define __stub macros and hopefully few prototypes,
4998 which can conflict with char getaddrinfo (); below.
4999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5000 <limits.h> exists even on freestanding compilers. */
5003 # include <limits.h>
5005 # include <assert.h>
5010 /* Override any gcc2 internal prototype to avoid an error. */
5015 /* We use char because int might match the return type of a gcc2
5016 builtin and then its argument prototype would still apply. */
5017 char getaddrinfo ();
5018 /* The GNU C library defines this for functions which it implements
5019 to always fail with ENOSYS. Some functions are actually named
5020 something starting with __ and the normal name is an alias. */
5021 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
5024 char (*f) () = getaddrinfo;
5033 return f != getaddrinfo;
5038 rm -f conftest.$ac_objext conftest$ac_exeext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5040 (eval $ac_link) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1 >conftest.err
5044 cat conftest.err >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try='test -z "$ac_c_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try='test -s conftest$ac_exeext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 ac_cv_func_getaddrinfo=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.$ac_ext >&5
5065 ac_cv_func_getaddrinfo=no
5067 rm -f conftest.err conftest.$ac_objext \
5068 conftest$ac_exeext conftest.$ac_ext
5070 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
5071 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
5072 if test $ac_cv_func_getaddrinfo = yes; then
5073 cat >>confdefs.h <<\_ACEOF
5074 #define HAVE_GETADDRINFO 1
5081 ac_cpp='$CPP $CPPFLAGS'
5082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5085 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5086 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5087 # On Suns, sometimes $CPP names a directory.
5088 if test -n "$CPP" && test -d "$CPP"; then
5091 if test -z "$CPP"; then
5092 if test "${ac_cv_prog_CPP+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 # Double quotes because CPP needs to be expanded
5096 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5099 for ac_c_preproc_warn_flag in '' yes
5101 # Use a header file that comes with gcc, so configuring glibc
5102 # with a fresh cross-compiler works.
5103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5104 # <limits.h> exists even on freestanding compilers.
5105 # On the NeXT, cc -E runs the code through the compiler's parser,
5106 # not just through cpp. "Syntax error" is here to catch this case.
5107 cat >conftest.$ac_ext <<_ACEOF
5110 cat confdefs.h >>conftest.$ac_ext
5111 cat >>conftest.$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5114 # include <limits.h>
5116 # include <assert.h>
5120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5123 grep -v '^ *+' conftest.er1 >conftest.err
5125 cat conftest.err >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } >/dev/null; then
5128 if test -s conftest.err; then
5129 ac_cpp_err=$ac_c_preproc_warn_flag
5130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5137 if test -z "$ac_cpp_err"; then
5140 echo "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.$ac_ext >&5
5143 # Broken: fails on valid input.
5146 rm -f conftest.err conftest.$ac_ext
5148 # OK, works on sane cases. Now check whether non-existent headers
5149 # can be detected and how.
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 #include <ac_nonexistent.h>
5158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5161 grep -v '^ *+' conftest.er1 >conftest.err
5163 cat conftest.err >&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); } >/dev/null; then
5166 if test -s conftest.err; then
5167 ac_cpp_err=$ac_c_preproc_warn_flag
5168 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5175 if test -z "$ac_cpp_err"; then
5176 # Broken: success on invalid input.
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 # Passes both tests.
5186 rm -f conftest.err conftest.$ac_ext
5189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5190 rm -f conftest.err conftest.$ac_ext
5191 if $ac_preproc_ok; then
5203 echo "$as_me:$LINENO: result: $CPP" >&5
5204 echo "${ECHO_T}$CPP" >&6
5206 for ac_c_preproc_warn_flag in '' yes
5208 # Use a header file that comes with gcc, so configuring glibc
5209 # with a fresh cross-compiler works.
5210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5211 # <limits.h> exists even on freestanding compilers.
5212 # On the NeXT, cc -E runs the code through the compiler's parser,
5213 # not just through cpp. "Syntax error" is here to catch this case.
5214 cat >conftest.$ac_ext <<_ACEOF
5217 cat confdefs.h >>conftest.$ac_ext
5218 cat >>conftest.$ac_ext <<_ACEOF
5219 /* end confdefs.h. */
5221 # include <limits.h>
5223 # include <assert.h>
5227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230 grep -v '^ *+' conftest.er1 >conftest.err
5232 cat conftest.err >&5
5233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234 (exit $ac_status); } >/dev/null; then
5235 if test -s conftest.err; then
5236 ac_cpp_err=$ac_c_preproc_warn_flag
5237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5244 if test -z "$ac_cpp_err"; then
5247 echo "$as_me: failed program was:" >&5
5248 sed 's/^/| /' conftest.$ac_ext >&5
5250 # Broken: fails on valid input.
5253 rm -f conftest.err conftest.$ac_ext
5255 # OK, works on sane cases. Now check whether non-existent headers
5256 # can be detected and how.
5257 cat >conftest.$ac_ext <<_ACEOF
5260 cat confdefs.h >>conftest.$ac_ext
5261 cat >>conftest.$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5263 #include <ac_nonexistent.h>
5265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5268 grep -v '^ *+' conftest.er1 >conftest.err
5270 cat conftest.err >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } >/dev/null; then
5273 if test -s conftest.err; then
5274 ac_cpp_err=$ac_c_preproc_warn_flag
5275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5282 if test -z "$ac_cpp_err"; then
5283 # Broken: success on invalid input.
5286 echo "$as_me: failed program was:" >&5
5287 sed 's/^/| /' conftest.$ac_ext >&5
5289 # Passes both tests.
5293 rm -f conftest.err conftest.$ac_ext
5296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5297 rm -f conftest.err conftest.$ac_ext
5298 if $ac_preproc_ok; then
5301 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5302 See \`config.log' for more details." >&5
5303 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5304 See \`config.log' for more details." >&2;}
5305 { (exit 1); exit 1; }; }
5309 ac_cpp='$CPP $CPPFLAGS'
5310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5315 echo "$as_me:$LINENO: checking for egrep" >&5
5316 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5317 if test "${ac_cv_prog_egrep+set}" = set; then
5318 echo $ECHO_N "(cached) $ECHO_C" >&6
5320 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5321 then ac_cv_prog_egrep='grep -E'
5322 else ac_cv_prog_egrep='egrep'
5325 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5326 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5327 EGREP=$ac_cv_prog_egrep
5330 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5331 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5332 if test "${ac_cv_header_stdc+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5335 cat >conftest.$ac_ext <<_ACEOF
5338 cat confdefs.h >>conftest.$ac_ext
5339 cat >>conftest.$ac_ext <<_ACEOF
5340 /* end confdefs.h. */
5354 rm -f conftest.$ac_objext
5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356 (eval $ac_compile) 2>conftest.er1
5358 grep -v '^ *+' conftest.er1 >conftest.err
5360 cat conftest.err >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } &&
5363 { ac_try='test -z "$ac_c_werror_flag"
5364 || test ! -s conftest.err'
5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; } &&
5370 { ac_try='test -s conftest.$ac_objext'
5371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }; }; then
5376 ac_cv_header_stdc=yes
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5381 ac_cv_header_stdc=no
5383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5385 if test $ac_cv_header_stdc = yes; then
5386 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5397 $EGREP "memchr" >/dev/null 2>&1; then
5400 ac_cv_header_stdc=no
5406 if test $ac_cv_header_stdc = yes; then
5407 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5408 cat >conftest.$ac_ext <<_ACEOF
5411 cat confdefs.h >>conftest.$ac_ext
5412 cat >>conftest.$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5418 $EGREP "free" >/dev/null 2>&1; then
5421 ac_cv_header_stdc=no
5427 if test $ac_cv_header_stdc = yes; then
5428 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5429 if test "$cross_compiling" = yes; then
5432 cat >conftest.$ac_ext <<_ACEOF
5435 cat confdefs.h >>conftest.$ac_ext
5436 cat >>conftest.$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5439 #if ((' ' & 0x0FF) == 0x020)
5440 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5441 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5443 # define ISLOWER(c) \
5444 (('a' <= (c) && (c) <= 'i') \
5445 || ('j' <= (c) && (c) <= 'r') \
5446 || ('s' <= (c) && (c) <= 'z'))
5447 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5450 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5455 for (i = 0; i < 256; i++)
5456 if (XOR (islower (i), ISLOWER (i))
5457 || toupper (i) != TOUPPER (i))
5462 rm -f conftest$ac_exeext
5463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5464 (eval $ac_link) 2>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472 (exit $ac_status); }; }; then
5475 echo "$as_me: program exited with status $ac_status" >&5
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.$ac_ext >&5
5480 ac_cv_header_stdc=no
5482 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5486 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5487 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5488 if test $ac_cv_header_stdc = yes; then
5490 cat >>confdefs.h <<\_ACEOF
5491 #define STDC_HEADERS 1
5496 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5506 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5507 inttypes.h stdint.h unistd.h
5509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5510 echo "$as_me:$LINENO: checking for $ac_header" >&5
5511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 $ac_includes_default
5523 #include <$ac_header>
5525 rm -f conftest.$ac_objext
5526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5527 (eval $ac_compile) 2>conftest.er1
5529 grep -v '^ *+' conftest.er1 >conftest.err
5531 cat conftest.err >&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); } &&
5534 { ac_try='test -z "$ac_c_werror_flag"
5535 || test ! -s conftest.err'
5536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); }; } &&
5541 { ac_try='test -s conftest.$ac_objext'
5542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); }; }; then
5547 eval "$as_ac_Header=yes"
5549 echo "$as_me: failed program was:" >&5
5550 sed 's/^/| /' conftest.$ac_ext >&5
5552 eval "$as_ac_Header=no"
5554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5559 cat >>confdefs.h <<_ACEOF
5560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5579 for ac_header in sys/types.h sys/termios.h termios.h sys/ioctl.h sys/select.h rpc/rpc.h rpc/rpcent.h sys/file.h ftw.h machine/reg.h netdb.h
5581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5583 echo "$as_me:$LINENO: checking for $ac_header" >&5
5584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5591 # Is the header compilable?
5592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5594 cat >conftest.$ac_ext <<_ACEOF
5597 cat confdefs.h >>conftest.$ac_ext
5598 cat >>conftest.$ac_ext <<_ACEOF
5599 /* end confdefs.h. */
5600 $ac_includes_default
5601 #include <$ac_header>
5603 rm -f conftest.$ac_objext
5604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5605 (eval $ac_compile) 2>conftest.er1
5607 grep -v '^ *+' conftest.er1 >conftest.err
5609 cat conftest.err >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } &&
5612 { ac_try='test -z "$ac_c_werror_flag"
5613 || test ! -s conftest.err'
5614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); }; } &&
5619 { ac_try='test -s conftest.$ac_objext'
5620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; }; then
5625 ac_header_compiler=yes
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5630 ac_header_compiler=no
5632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5634 echo "${ECHO_T}$ac_header_compiler" >&6
5636 # Is the header present?
5637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5639 cat >conftest.$ac_ext <<_ACEOF
5642 cat confdefs.h >>conftest.$ac_ext
5643 cat >>conftest.$ac_ext <<_ACEOF
5644 /* end confdefs.h. */
5645 #include <$ac_header>
5647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5650 grep -v '^ *+' conftest.er1 >conftest.err
5652 cat conftest.err >&5
5653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5654 (exit $ac_status); } >/dev/null; then
5655 if test -s conftest.err; then
5656 ac_cpp_err=$ac_c_preproc_warn_flag
5657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5664 if test -z "$ac_cpp_err"; then
5665 ac_header_preproc=yes
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 ac_header_preproc=no
5672 rm -f conftest.err conftest.$ac_ext
5673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5674 echo "${ECHO_T}$ac_header_preproc" >&6
5676 # So? What about this header?
5677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5683 ac_header_preproc=yes
5686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5700 ## ------------------------------------------ ##
5701 ## Report this to the AC_PACKAGE_NAME lists. ##
5702 ## ------------------------------------------ ##
5705 sed "s/^/$as_me: WARNING: /" >&2
5708 echo "$as_me:$LINENO: checking for $ac_header" >&5
5709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 eval "$as_ac_Header=\$ac_header_preproc"
5715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5720 cat >>confdefs.h <<_ACEOF
5721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 if test "${ac_cv_header_sys_resource_h+set}" = set; then
5729 echo "$as_me:$LINENO: checking for sys/resource.h" >&5
5730 echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6
5731 if test "${ac_cv_header_sys_resource_h+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
5735 echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6
5737 # Is the header compilable?
5738 echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
5739 echo $ECHO_N "checking sys/resource.h usability... $ECHO_C" >&6
5740 cat >conftest.$ac_ext <<_ACEOF
5743 cat confdefs.h >>conftest.$ac_ext
5744 cat >>conftest.$ac_ext <<_ACEOF
5745 /* end confdefs.h. */
5746 $ac_includes_default
5747 #include <sys/resource.h>
5749 rm -f conftest.$ac_objext
5750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5751 (eval $ac_compile) 2>conftest.er1
5753 grep -v '^ *+' conftest.er1 >conftest.err
5755 cat conftest.err >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); } &&
5758 { ac_try='test -z "$ac_c_werror_flag"
5759 || test ! -s conftest.err'
5760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; } &&
5765 { ac_try='test -s conftest.$ac_objext'
5766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); }; }; then
5771 ac_header_compiler=yes
5773 echo "$as_me: failed program was:" >&5
5774 sed 's/^/| /' conftest.$ac_ext >&5
5776 ac_header_compiler=no
5778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5780 echo "${ECHO_T}$ac_header_compiler" >&6
5782 # Is the header present?
5783 echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
5784 echo $ECHO_N "checking sys/resource.h presence... $ECHO_C" >&6
5785 cat >conftest.$ac_ext <<_ACEOF
5788 cat confdefs.h >>conftest.$ac_ext
5789 cat >>conftest.$ac_ext <<_ACEOF
5790 /* end confdefs.h. */
5791 #include <sys/resource.h>
5793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5796 grep -v '^ *+' conftest.er1 >conftest.err
5798 cat conftest.err >&5
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); } >/dev/null; then
5801 if test -s conftest.err; then
5802 ac_cpp_err=$ac_c_preproc_warn_flag
5803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5810 if test -z "$ac_cpp_err"; then
5811 ac_header_preproc=yes
5813 echo "$as_me: failed program was:" >&5
5814 sed 's/^/| /' conftest.$ac_ext >&5
5816 ac_header_preproc=no
5818 rm -f conftest.err conftest.$ac_ext
5819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5820 echo "${ECHO_T}$ac_header_preproc" >&6
5822 # So? What about this header?
5823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5825 { echo "$as_me:$LINENO: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&5
5826 echo "$as_me: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5827 { echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the compiler's result" >&5
5828 echo "$as_me: WARNING: sys/resource.h: proceeding with the compiler's result" >&2;}
5829 ac_header_preproc=yes
5832 { echo "$as_me:$LINENO: WARNING: sys/resource.h: present but cannot be compiled" >&5
5833 echo "$as_me: WARNING: sys/resource.h: present but cannot be compiled" >&2;}
5834 { echo "$as_me:$LINENO: WARNING: sys/resource.h: check for missing prerequisite headers?" >&5
5835 echo "$as_me: WARNING: sys/resource.h: check for missing prerequisite headers?" >&2;}
5836 { echo "$as_me:$LINENO: WARNING: sys/resource.h: see the Autoconf documentation" >&5
5837 echo "$as_me: WARNING: sys/resource.h: see the Autoconf documentation" >&2;}
5838 { echo "$as_me:$LINENO: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&5
5839 echo "$as_me: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&2;}
5840 { echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&5
5841 echo "$as_me: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&2;}
5842 { echo "$as_me:$LINENO: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&5
5843 echo "$as_me: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&2;}
5846 ## ------------------------------------------ ##
5847 ## Report this to the AC_PACKAGE_NAME lists. ##
5848 ## ------------------------------------------ ##
5851 sed "s/^/$as_me: WARNING: /" >&2
5854 echo "$as_me:$LINENO: checking for sys/resource.h" >&5
5855 echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6
5856 if test "${ac_cv_header_sys_resource_h+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 ac_cv_header_sys_resource_h=$ac_header_preproc
5861 echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
5862 echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6
5865 if test $ac_cv_header_sys_resource_h = yes; then
5866 cat >>confdefs.h <<\_ACEOF
5867 #define HAVE_SYS_RESOURCE_H 1
5873 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
5874 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
5875 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
5876 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
5880 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
5882 # Is the header compilable?
5883 echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
5884 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6
5885 cat >conftest.$ac_ext <<_ACEOF
5888 cat confdefs.h >>conftest.$ac_ext
5889 cat >>conftest.$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5891 $ac_includes_default
5892 #include <arpa/inet.h>
5894 rm -f conftest.$ac_objext
5895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5896 (eval $ac_compile) 2>conftest.er1
5898 grep -v '^ *+' conftest.er1 >conftest.err
5900 cat conftest.err >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); } &&
5903 { ac_try='test -z "$ac_c_werror_flag"
5904 || test ! -s conftest.err'
5905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); }; } &&
5910 { ac_try='test -s conftest.$ac_objext'
5911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); }; }; then
5916 ac_header_compiler=yes
5918 echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.$ac_ext >&5
5921 ac_header_compiler=no
5923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5925 echo "${ECHO_T}$ac_header_compiler" >&6
5927 # Is the header present?
5928 echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
5929 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6
5930 cat >conftest.$ac_ext <<_ACEOF
5933 cat confdefs.h >>conftest.$ac_ext
5934 cat >>conftest.$ac_ext <<_ACEOF
5935 /* end confdefs.h. */
5936 #include <arpa/inet.h>
5938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5941 grep -v '^ *+' conftest.er1 >conftest.err
5943 cat conftest.err >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); } >/dev/null; then
5946 if test -s conftest.err; then
5947 ac_cpp_err=$ac_c_preproc_warn_flag
5948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5955 if test -z "$ac_cpp_err"; then
5956 ac_header_preproc=yes
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.$ac_ext >&5
5961 ac_header_preproc=no
5963 rm -f conftest.err conftest.$ac_ext
5964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5965 echo "${ECHO_T}$ac_header_preproc" >&6
5967 # So? What about this header?
5968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5970 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
5971 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5972 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
5973 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
5974 ac_header_preproc=yes
5977 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
5978 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
5979 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
5980 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
5981 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
5982 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
5984 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
5985 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
5986 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
5987 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
5988 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
5991 ## ------------------------------------------ ##
5992 ## Report this to the AC_PACKAGE_NAME lists. ##
5993 ## ------------------------------------------ ##
5996 sed "s/^/$as_me: WARNING: /" >&2
5999 echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
6000 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
6001 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 ac_cv_header_arpa_inet_h=$ac_header_preproc
6006 echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
6007 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
6010 if test $ac_cv_header_arpa_inet_h = yes; then
6011 cat >>confdefs.h <<\_ACEOF
6012 #define HAVE_ARPA_INET_H 1
6018 if test "${ac_cv_header_grp_h+set}" = set; then
6019 echo "$as_me:$LINENO: checking for grp.h" >&5
6020 echo $ECHO_N "checking for grp.h... $ECHO_C" >&6
6021 if test "${ac_cv_header_grp_h+set}" = set; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
6025 echo "${ECHO_T}$ac_cv_header_grp_h" >&6
6027 # Is the header compilable?
6028 echo "$as_me:$LINENO: checking grp.h usability" >&5
6029 echo $ECHO_N "checking grp.h usability... $ECHO_C" >&6
6030 cat >conftest.$ac_ext <<_ACEOF
6033 cat confdefs.h >>conftest.$ac_ext
6034 cat >>conftest.$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6036 $ac_includes_default
6039 rm -f conftest.$ac_objext
6040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6041 (eval $ac_compile) 2>conftest.er1
6043 grep -v '^ *+' conftest.er1 >conftest.err
6045 cat conftest.err >&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } &&
6048 { ac_try='test -z "$ac_c_werror_flag"
6049 || test ! -s conftest.err'
6050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; } &&
6055 { ac_try='test -s conftest.$ac_objext'
6056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6060 (exit $ac_status); }; }; then
6061 ac_header_compiler=yes
6063 echo "$as_me: failed program was:" >&5
6064 sed 's/^/| /' conftest.$ac_ext >&5
6066 ac_header_compiler=no
6068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6070 echo "${ECHO_T}$ac_header_compiler" >&6
6072 # Is the header present?
6073 echo "$as_me:$LINENO: checking grp.h presence" >&5
6074 echo $ECHO_N "checking grp.h presence... $ECHO_C" >&6
6075 cat >conftest.$ac_ext <<_ACEOF
6078 cat confdefs.h >>conftest.$ac_ext
6079 cat >>conftest.$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6086 grep -v '^ *+' conftest.er1 >conftest.err
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } >/dev/null; then
6091 if test -s conftest.err; then
6092 ac_cpp_err=$ac_c_preproc_warn_flag
6093 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6100 if test -z "$ac_cpp_err"; then
6101 ac_header_preproc=yes
6103 echo "$as_me: failed program was:" >&5
6104 sed 's/^/| /' conftest.$ac_ext >&5
6106 ac_header_preproc=no
6108 rm -f conftest.err conftest.$ac_ext
6109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6110 echo "${ECHO_T}$ac_header_preproc" >&6
6112 # So? What about this header?
6113 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6115 { echo "$as_me:$LINENO: WARNING: grp.h: accepted by the compiler, rejected by the preprocessor!" >&5
6116 echo "$as_me: WARNING: grp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: grp.h: proceeding with the compiler's result" >&5
6118 echo "$as_me: WARNING: grp.h: proceeding with the compiler's result" >&2;}
6119 ac_header_preproc=yes
6122 { echo "$as_me:$LINENO: WARNING: grp.h: present but cannot be compiled" >&5
6123 echo "$as_me: WARNING: grp.h: present but cannot be compiled" >&2;}
6124 { echo "$as_me:$LINENO: WARNING: grp.h: check for missing prerequisite headers?" >&5
6125 echo "$as_me: WARNING: grp.h: check for missing prerequisite headers?" >&2;}
6126 { echo "$as_me:$LINENO: WARNING: grp.h: see the Autoconf documentation" >&5
6127 echo "$as_me: WARNING: grp.h: see the Autoconf documentation" >&2;}
6128 { echo "$as_me:$LINENO: WARNING: grp.h: section \"Present But Cannot Be Compiled\"" >&5
6129 echo "$as_me: WARNING: grp.h: section \"Present But Cannot Be Compiled\"" >&2;}
6130 { echo "$as_me:$LINENO: WARNING: grp.h: proceeding with the preprocessor's result" >&5
6131 echo "$as_me: WARNING: grp.h: proceeding with the preprocessor's result" >&2;}
6132 { echo "$as_me:$LINENO: WARNING: grp.h: in the future, the compiler will take precedence" >&5
6133 echo "$as_me: WARNING: grp.h: in the future, the compiler will take precedence" >&2;}
6136 ## ------------------------------------------ ##
6137 ## Report this to the AC_PACKAGE_NAME lists. ##
6138 ## ------------------------------------------ ##
6141 sed "s/^/$as_me: WARNING: /" >&2
6144 echo "$as_me:$LINENO: checking for grp.h" >&5
6145 echo $ECHO_N "checking for grp.h... $ECHO_C" >&6
6146 if test "${ac_cv_header_grp_h+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 ac_cv_header_grp_h=$ac_header_preproc
6151 echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
6152 echo "${ECHO_T}$ac_cv_header_grp_h" >&6
6155 if test $ac_cv_header_grp_h = yes; then
6156 cat >>confdefs.h <<\_ACEOF
6157 #define HAVE_GRP_H 1
6163 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6164 echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
6165 echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6
6166 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6167 echo $ECHO_N "(cached) $ECHO_C" >&6
6169 echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
6170 echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6
6172 # Is the header compilable?
6173 echo "$as_me:$LINENO: checking rpc/pmap_clnt.h usability" >&5
6174 echo $ECHO_N "checking rpc/pmap_clnt.h usability... $ECHO_C" >&6
6175 cat >conftest.$ac_ext <<_ACEOF
6178 cat confdefs.h >>conftest.$ac_ext
6179 cat >>conftest.$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6181 $ac_includes_default
6182 #include <rpc/pmap_clnt.h>
6184 rm -f conftest.$ac_objext
6185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6186 (eval $ac_compile) 2>conftest.er1
6188 grep -v '^ *+' conftest.er1 >conftest.err
6190 cat conftest.err >&5
6191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6192 (exit $ac_status); } &&
6193 { ac_try='test -z "$ac_c_werror_flag"
6194 || test ! -s conftest.err'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; } &&
6200 { ac_try='test -s conftest.$ac_objext'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then
6206 ac_header_compiler=yes
6208 echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.$ac_ext >&5
6211 ac_header_compiler=no
6213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6215 echo "${ECHO_T}$ac_header_compiler" >&6
6217 # Is the header present?
6218 echo "$as_me:$LINENO: checking rpc/pmap_clnt.h presence" >&5
6219 echo $ECHO_N "checking rpc/pmap_clnt.h presence... $ECHO_C" >&6
6220 cat >conftest.$ac_ext <<_ACEOF
6223 cat confdefs.h >>conftest.$ac_ext
6224 cat >>conftest.$ac_ext <<_ACEOF
6225 /* end confdefs.h. */
6226 #include <rpc/pmap_clnt.h>
6228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6231 grep -v '^ *+' conftest.er1 >conftest.err
6233 cat conftest.err >&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } >/dev/null; then
6236 if test -s conftest.err; then
6237 ac_cpp_err=$ac_c_preproc_warn_flag
6238 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6245 if test -z "$ac_cpp_err"; then
6246 ac_header_preproc=yes
6248 echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.$ac_ext >&5
6251 ac_header_preproc=no
6253 rm -f conftest.err conftest.$ac_ext
6254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6255 echo "${ECHO_T}$ac_header_preproc" >&6
6257 # So? What about this header?
6258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6260 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&5
6261 echo "$as_me: WARNING: rpc/pmap_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6262 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: proceeding with the compiler's result" >&5
6263 echo "$as_me: WARNING: rpc/pmap_clnt.h: proceeding with the compiler's result" >&2;}
6264 ac_header_preproc=yes
6267 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: present but cannot be compiled" >&5
6268 echo "$as_me: WARNING: rpc/pmap_clnt.h: present but cannot be compiled" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: check for missing prerequisite headers?" >&5
6270 echo "$as_me: WARNING: rpc/pmap_clnt.h: check for missing prerequisite headers?" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: see the Autoconf documentation" >&5
6272 echo "$as_me: WARNING: rpc/pmap_clnt.h: see the Autoconf documentation" >&2;}
6273 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: section \"Present But Cannot Be Compiled\"" >&5
6274 echo "$as_me: WARNING: rpc/pmap_clnt.h: section \"Present But Cannot Be Compiled\"" >&2;}
6275 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result" >&5
6276 echo "$as_me: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result" >&2;}
6277 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&5
6278 echo "$as_me: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&2;}
6281 ## ------------------------------------------ ##
6282 ## Report this to the AC_PACKAGE_NAME lists. ##
6283 ## ------------------------------------------ ##
6286 sed "s/^/$as_me: WARNING: /" >&2
6289 echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
6290 echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6
6291 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 ac_cv_header_rpc_pmap_clnt_h=$ac_header_preproc
6296 echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
6297 echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6
6300 if test $ac_cv_header_rpc_pmap_clnt_h = yes; then
6301 cat >>confdefs.h <<\_ACEOF
6302 #define HAVE_RPC_PMAP_CLNT_H 1
6308 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6309 echo "$as_me:$LINENO: checking for sys/socket.h" >&5
6310 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
6311 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6312 echo $ECHO_N "(cached) $ECHO_C" >&6
6314 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
6315 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
6317 # Is the header compilable?
6318 echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
6319 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6
6320 cat >conftest.$ac_ext <<_ACEOF
6323 cat confdefs.h >>conftest.$ac_ext
6324 cat >>conftest.$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6326 $ac_includes_default
6327 #include <sys/socket.h>
6329 rm -f conftest.$ac_objext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6331 (eval $ac_compile) 2>conftest.er1
6333 grep -v '^ *+' conftest.er1 >conftest.err
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try='test -z "$ac_c_werror_flag"
6339 || test ! -s conftest.err'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; } &&
6345 { ac_try='test -s conftest.$ac_objext'
6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; }; then
6351 ac_header_compiler=yes
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.$ac_ext >&5
6356 ac_header_compiler=no
6358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6359 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6360 echo "${ECHO_T}$ac_header_compiler" >&6
6362 # Is the header present?
6363 echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
6364 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6
6365 cat >conftest.$ac_ext <<_ACEOF
6368 cat confdefs.h >>conftest.$ac_ext
6369 cat >>conftest.$ac_ext <<_ACEOF
6370 /* end confdefs.h. */
6371 #include <sys/socket.h>
6373 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6374 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6376 grep -v '^ *+' conftest.er1 >conftest.err
6378 cat conftest.err >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); } >/dev/null; then
6381 if test -s conftest.err; then
6382 ac_cpp_err=$ac_c_preproc_warn_flag
6383 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6390 if test -z "$ac_cpp_err"; then
6391 ac_header_preproc=yes
6393 echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.$ac_ext >&5
6396 ac_header_preproc=no
6398 rm -f conftest.err conftest.$ac_ext
6399 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6400 echo "${ECHO_T}$ac_header_preproc" >&6
6402 # So? What about this header?
6403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6405 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
6406 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6407 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5
6408 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;}
6409 ac_header_preproc=yes
6412 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
6413 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
6415 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
6417 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
6419 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5
6421 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;}
6422 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
6423 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
6426 ## ------------------------------------------ ##
6427 ## Report this to the AC_PACKAGE_NAME lists. ##
6428 ## ------------------------------------------ ##
6431 sed "s/^/$as_me: WARNING: /" >&2
6434 echo "$as_me:$LINENO: checking for sys/socket.h" >&5
6435 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6
6436 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6437 echo $ECHO_N "(cached) $ECHO_C" >&6
6439 ac_cv_header_sys_socket_h=$ac_header_preproc
6441 echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
6442 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6
6445 if test $ac_cv_header_sys_socket_h = yes; then
6446 cat >>confdefs.h <<\_ACEOF
6447 #define HAVE_SYS_SOCKET_H 1
6453 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6454 echo "$as_me:$LINENO: checking for sys/signal.h" >&5
6455 echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6
6456 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6459 echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
6460 echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6
6462 # Is the header compilable?
6463 echo "$as_me:$LINENO: checking sys/signal.h usability" >&5
6464 echo $ECHO_N "checking sys/signal.h usability... $ECHO_C" >&6
6465 cat >conftest.$ac_ext <<_ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 $ac_includes_default
6472 #include <sys/signal.h>
6474 rm -f conftest.$ac_objext
6475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6476 (eval $ac_compile) 2>conftest.er1
6478 grep -v '^ *+' conftest.er1 >conftest.err
6480 cat conftest.err >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } &&
6483 { ac_try='test -z "$ac_c_werror_flag"
6484 || test ! -s conftest.err'
6485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); }; } &&
6490 { ac_try='test -s conftest.$ac_objext'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; }; then
6496 ac_header_compiler=yes
6498 echo "$as_me: failed program was:" >&5
6499 sed 's/^/| /' conftest.$ac_ext >&5
6501 ac_header_compiler=no
6503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6505 echo "${ECHO_T}$ac_header_compiler" >&6
6507 # Is the header present?
6508 echo "$as_me:$LINENO: checking sys/signal.h presence" >&5
6509 echo $ECHO_N "checking sys/signal.h presence... $ECHO_C" >&6
6510 cat >conftest.$ac_ext <<_ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 #include <sys/signal.h>
6518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6521 grep -v '^ *+' conftest.er1 >conftest.err
6523 cat conftest.err >&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } >/dev/null; then
6526 if test -s conftest.err; then
6527 ac_cpp_err=$ac_c_preproc_warn_flag
6528 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6535 if test -z "$ac_cpp_err"; then
6536 ac_header_preproc=yes
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6541 ac_header_preproc=no
6543 rm -f conftest.err conftest.$ac_ext
6544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6545 echo "${ECHO_T}$ac_header_preproc" >&6
6547 # So? What about this header?
6548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6550 { echo "$as_me:$LINENO: WARNING: sys/signal.h: accepted by the compiler, rejected by the preprocessor!" >&5
6551 echo "$as_me: WARNING: sys/signal.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6552 { echo "$as_me:$LINENO: WARNING: sys/signal.h: proceeding with the compiler's result" >&5
6553 echo "$as_me: WARNING: sys/signal.h: proceeding with the compiler's result" >&2;}
6554 ac_header_preproc=yes
6557 { echo "$as_me:$LINENO: WARNING: sys/signal.h: present but cannot be compiled" >&5
6558 echo "$as_me: WARNING: sys/signal.h: present but cannot be compiled" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: sys/signal.h: check for missing prerequisite headers?" >&5
6560 echo "$as_me: WARNING: sys/signal.h: check for missing prerequisite headers?" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: sys/signal.h: see the Autoconf documentation" >&5
6562 echo "$as_me: WARNING: sys/signal.h: see the Autoconf documentation" >&2;}
6563 { echo "$as_me:$LINENO: WARNING: sys/signal.h: section \"Present But Cannot Be Compiled\"" >&5
6564 echo "$as_me: WARNING: sys/signal.h: section \"Present But Cannot Be Compiled\"" >&2;}
6565 { echo "$as_me:$LINENO: WARNING: sys/signal.h: proceeding with the preprocessor's result" >&5
6566 echo "$as_me: WARNING: sys/signal.h: proceeding with the preprocessor's result" >&2;}
6567 { echo "$as_me:$LINENO: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&5
6568 echo "$as_me: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&2;}
6571 ## ------------------------------------------ ##
6572 ## Report this to the AC_PACKAGE_NAME lists. ##
6573 ## ------------------------------------------ ##
6576 sed "s/^/$as_me: WARNING: /" >&2
6579 echo "$as_me:$LINENO: checking for sys/signal.h" >&5
6580 echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6
6581 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6584 ac_cv_header_sys_signal_h=$ac_header_preproc
6586 echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
6587 echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6
6590 if test $ac_cv_header_sys_signal_h = yes; then
6591 cat >>confdefs.h <<\_ACEOF
6592 #define HAVE_SYS_SIGNAL_H 1
6598 if test "${ac_cv_header_crypt_h+set}" = set; then
6599 echo "$as_me:$LINENO: checking for crypt.h" >&5
6600 echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6
6601 if test "${ac_cv_header_crypt_h+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
6605 echo "${ECHO_T}$ac_cv_header_crypt_h" >&6
6607 # Is the header compilable?
6608 echo "$as_me:$LINENO: checking crypt.h usability" >&5
6609 echo $ECHO_N "checking crypt.h usability... $ECHO_C" >&6
6610 cat >conftest.$ac_ext <<_ACEOF
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6616 $ac_includes_default
6619 rm -f conftest.$ac_objext
6620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6621 (eval $ac_compile) 2>conftest.er1
6623 grep -v '^ *+' conftest.er1 >conftest.err
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } &&
6628 { ac_try='test -z "$ac_c_werror_flag"
6629 || test ! -s conftest.err'
6630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); }; } &&
6635 { ac_try='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6641 ac_header_compiler=yes
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6646 ac_header_compiler=no
6648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6650 echo "${ECHO_T}$ac_header_compiler" >&6
6652 # Is the header present?
6653 echo "$as_me:$LINENO: checking crypt.h presence" >&5
6654 echo $ECHO_N "checking crypt.h presence... $ECHO_C" >&6
6655 cat >conftest.$ac_ext <<_ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6666 grep -v '^ *+' conftest.er1 >conftest.err
6668 cat conftest.err >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } >/dev/null; then
6671 if test -s conftest.err; then
6672 ac_cpp_err=$ac_c_preproc_warn_flag
6673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6680 if test -z "$ac_cpp_err"; then
6681 ac_header_preproc=yes
6683 echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.$ac_ext >&5
6686 ac_header_preproc=no
6688 rm -f conftest.err conftest.$ac_ext
6689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6690 echo "${ECHO_T}$ac_header_preproc" >&6
6692 # So? What about this header?
6693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6695 { echo "$as_me:$LINENO: WARNING: crypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
6696 echo "$as_me: WARNING: crypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6697 { echo "$as_me:$LINENO: WARNING: crypt.h: proceeding with the compiler's result" >&5
6698 echo "$as_me: WARNING: crypt.h: proceeding with the compiler's result" >&2;}
6699 ac_header_preproc=yes
6702 { echo "$as_me:$LINENO: WARNING: crypt.h: present but cannot be compiled" >&5
6703 echo "$as_me: WARNING: crypt.h: present but cannot be compiled" >&2;}
6704 { echo "$as_me:$LINENO: WARNING: crypt.h: check for missing prerequisite headers?" >&5
6705 echo "$as_me: WARNING: crypt.h: check for missing prerequisite headers?" >&2;}
6706 { echo "$as_me:$LINENO: WARNING: crypt.h: see the Autoconf documentation" >&5
6707 echo "$as_me: WARNING: crypt.h: see the Autoconf documentation" >&2;}
6708 { echo "$as_me:$LINENO: WARNING: crypt.h: section \"Present But Cannot Be Compiled\"" >&5
6709 echo "$as_me: WARNING: crypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
6710 { echo "$as_me:$LINENO: WARNING: crypt.h: proceeding with the preprocessor's result" >&5
6711 echo "$as_me: WARNING: crypt.h: proceeding with the preprocessor's result" >&2;}
6712 { echo "$as_me:$LINENO: WARNING: crypt.h: in the future, the compiler will take precedence" >&5
6713 echo "$as_me: WARNING: crypt.h: in the future, the compiler will take precedence" >&2;}
6716 ## ------------------------------------------ ##
6717 ## Report this to the AC_PACKAGE_NAME lists. ##
6718 ## ------------------------------------------ ##
6721 sed "s/^/$as_me: WARNING: /" >&2
6724 echo "$as_me:$LINENO: checking for crypt.h" >&5
6725 echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6
6726 if test "${ac_cv_header_crypt_h+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 ac_cv_header_crypt_h=$ac_header_preproc
6731 echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
6732 echo "${ECHO_T}$ac_cv_header_crypt_h" >&6
6735 if test $ac_cv_header_crypt_h = yes; then
6736 cat >>confdefs.h <<\_ACEOF
6737 #define HAVE_CRYPT_H 1
6743 if test "${ac_cv_header_stdint_h+set}" = set; then
6744 echo "$as_me:$LINENO: checking for stdint.h" >&5
6745 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6746 if test "${ac_cv_header_stdint_h+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6749 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6750 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6752 # Is the header compilable?
6753 echo "$as_me:$LINENO: checking stdint.h usability" >&5
6754 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6
6755 cat >conftest.$ac_ext <<_ACEOF
6758 cat confdefs.h >>conftest.$ac_ext
6759 cat >>conftest.$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6761 $ac_includes_default
6764 rm -f conftest.$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1 >conftest.err
6770 cat conftest.err >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try='test -z "$ac_c_werror_flag"
6774 || test ! -s conftest.err'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; } &&
6780 { ac_try='test -s conftest.$ac_objext'
6781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); }; }; then
6786 ac_header_compiler=yes
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.$ac_ext >&5
6791 ac_header_compiler=no
6793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6795 echo "${ECHO_T}$ac_header_compiler" >&6
6797 # Is the header present?
6798 echo "$as_me:$LINENO: checking stdint.h presence" >&5
6799 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6
6800 cat >conftest.$ac_ext <<_ACEOF
6803 cat confdefs.h >>conftest.$ac_ext
6804 cat >>conftest.$ac_ext <<_ACEOF
6805 /* end confdefs.h. */
6808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6811 grep -v '^ *+' conftest.er1 >conftest.err
6813 cat conftest.err >&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); } >/dev/null; then
6816 if test -s conftest.err; then
6817 ac_cpp_err=$ac_c_preproc_warn_flag
6818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6825 if test -z "$ac_cpp_err"; then
6826 ac_header_preproc=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_header_preproc=no
6833 rm -f conftest.err conftest.$ac_ext
6834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6835 echo "${ECHO_T}$ac_header_preproc" >&6
6837 # So? What about this header?
6838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6840 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
6841 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6842 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
6843 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
6844 ac_header_preproc=yes
6847 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
6848 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
6849 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
6850 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
6852 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
6854 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
6856 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
6858 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
6861 ## ------------------------------------------ ##
6862 ## Report this to the AC_PACKAGE_NAME lists. ##
6863 ## ------------------------------------------ ##
6866 sed "s/^/$as_me: WARNING: /" >&2
6869 echo "$as_me:$LINENO: checking for stdint.h" >&5
6870 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
6871 if test "${ac_cv_header_stdint_h+set}" = set; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_cv_header_stdint_h=$ac_header_preproc
6876 echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6877 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6
6880 if test $ac_cv_header_stdint_h = yes; then
6881 cat >>confdefs.h <<\_ACEOF
6882 #define HAVE_STDINT_H 1
6888 if test "${ac_cv_header_stdbool_h+set}" = set; then
6889 echo "$as_me:$LINENO: checking for stdbool.h" >&5
6890 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6
6891 if test "${ac_cv_header_stdbool_h+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
6895 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
6897 # Is the header compilable?
6898 echo "$as_me:$LINENO: checking stdbool.h usability" >&5
6899 echo $ECHO_N "checking stdbool.h usability... $ECHO_C" >&6
6900 cat >conftest.$ac_ext <<_ACEOF
6903 cat confdefs.h >>conftest.$ac_ext
6904 cat >>conftest.$ac_ext <<_ACEOF
6905 /* end confdefs.h. */
6906 $ac_includes_default
6907 #include <stdbool.h>
6909 rm -f conftest.$ac_objext
6910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6911 (eval $ac_compile) 2>conftest.er1
6913 grep -v '^ *+' conftest.er1 >conftest.err
6915 cat conftest.err >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } &&
6918 { ac_try='test -z "$ac_c_werror_flag"
6919 || test ! -s conftest.err'
6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; } &&
6925 { ac_try='test -s conftest.$ac_objext'
6926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); }; }; then
6931 ac_header_compiler=yes
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6936 ac_header_compiler=no
6938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6940 echo "${ECHO_T}$ac_header_compiler" >&6
6942 # Is the header present?
6943 echo "$as_me:$LINENO: checking stdbool.h presence" >&5
6944 echo $ECHO_N "checking stdbool.h presence... $ECHO_C" >&6
6945 cat >conftest.$ac_ext <<_ACEOF
6948 cat confdefs.h >>conftest.$ac_ext
6949 cat >>conftest.$ac_ext <<_ACEOF
6950 /* end confdefs.h. */
6951 #include <stdbool.h>
6953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6956 grep -v '^ *+' conftest.er1 >conftest.err
6958 cat conftest.err >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); } >/dev/null; then
6961 if test -s conftest.err; then
6962 ac_cpp_err=$ac_c_preproc_warn_flag
6963 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6970 if test -z "$ac_cpp_err"; then
6971 ac_header_preproc=yes
6973 echo "$as_me: failed program was:" >&5
6974 sed 's/^/| /' conftest.$ac_ext >&5
6976 ac_header_preproc=no
6978 rm -f conftest.err conftest.$ac_ext
6979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6980 echo "${ECHO_T}$ac_header_preproc" >&6
6982 # So? What about this header?
6983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6985 { echo "$as_me:$LINENO: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&5
6986 echo "$as_me: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6987 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the compiler's result" >&5
6988 echo "$as_me: WARNING: stdbool.h: proceeding with the compiler's result" >&2;}
6989 ac_header_preproc=yes
6992 { echo "$as_me:$LINENO: WARNING: stdbool.h: present but cannot be compiled" >&5
6993 echo "$as_me: WARNING: stdbool.h: present but cannot be compiled" >&2;}
6994 { echo "$as_me:$LINENO: WARNING: stdbool.h: check for missing prerequisite headers?" >&5
6995 echo "$as_me: WARNING: stdbool.h: check for missing prerequisite headers?" >&2;}
6996 { echo "$as_me:$LINENO: WARNING: stdbool.h: see the Autoconf documentation" >&5
6997 echo "$as_me: WARNING: stdbool.h: see the Autoconf documentation" >&2;}
6998 { echo "$as_me:$LINENO: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&5
6999 echo "$as_me: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&2;}
7000 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the preprocessor's result" >&5
7001 echo "$as_me: WARNING: stdbool.h: proceeding with the preprocessor's result" >&2;}
7002 { echo "$as_me:$LINENO: WARNING: stdbool.h: in the future, the compiler will take precedence" >&5
7003 echo "$as_me: WARNING: stdbool.h: in the future, the compiler will take precedence" >&2;}
7006 ## ------------------------------------------ ##
7007 ## Report this to the AC_PACKAGE_NAME lists. ##
7008 ## ------------------------------------------ ##
7011 sed "s/^/$as_me: WARNING: /" >&2
7014 echo "$as_me:$LINENO: checking for stdbool.h" >&5
7015 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6
7016 if test "${ac_cv_header_stdbool_h+set}" = set; then
7017 echo $ECHO_N "(cached) $ECHO_C" >&6
7019 ac_cv_header_stdbool_h=$ac_header_preproc
7021 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
7022 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
7025 if test $ac_cv_header_stdbool_h = yes; then
7026 cat >>confdefs.h <<\_ACEOF
7027 #define HAVE_STDBOOL_H 1
7033 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7034 echo "$as_me:$LINENO: checking for sys/filio.h" >&5
7035 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6
7036 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7037 echo $ECHO_N "(cached) $ECHO_C" >&6
7039 echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
7040 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6
7042 # Is the header compilable?
7043 echo "$as_me:$LINENO: checking sys/filio.h usability" >&5
7044 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6
7045 cat >conftest.$ac_ext <<_ACEOF
7048 cat confdefs.h >>conftest.$ac_ext
7049 cat >>conftest.$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 $ac_includes_default
7052 #include <sys/filio.h>
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7058 grep -v '^ *+' conftest.er1 >conftest.err
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_c_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7076 ac_header_compiler=yes
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 ac_header_compiler=no
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7085 echo "${ECHO_T}$ac_header_compiler" >&6
7087 # Is the header present?
7088 echo "$as_me:$LINENO: checking sys/filio.h presence" >&5
7089 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6
7090 cat >conftest.$ac_ext <<_ACEOF
7093 cat confdefs.h >>conftest.$ac_ext
7094 cat >>conftest.$ac_ext <<_ACEOF
7095 /* end confdefs.h. */
7096 #include <sys/filio.h>
7098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7101 grep -v '^ *+' conftest.er1 >conftest.err
7103 cat conftest.err >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); } >/dev/null; then
7106 if test -s conftest.err; then
7107 ac_cpp_err=$ac_c_preproc_warn_flag
7108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7115 if test -z "$ac_cpp_err"; then
7116 ac_header_preproc=yes
7118 echo "$as_me: failed program was:" >&5
7119 sed 's/^/| /' conftest.$ac_ext >&5
7121 ac_header_preproc=no
7123 rm -f conftest.err conftest.$ac_ext
7124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7125 echo "${ECHO_T}$ac_header_preproc" >&6
7127 # So? What about this header?
7128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7130 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5
7131 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7132 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5
7133 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;}
7134 ac_header_preproc=yes
7137 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5
7138 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;}
7139 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5
7140 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;}
7141 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5
7142 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;}
7143 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5
7144 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;}
7145 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5
7146 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;}
7147 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5
7148 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;}
7151 ## ------------------------------------------ ##
7152 ## Report this to the AC_PACKAGE_NAME lists. ##
7153 ## ------------------------------------------ ##
7156 sed "s/^/$as_me: WARNING: /" >&2
7159 echo "$as_me:$LINENO: checking for sys/filio.h" >&5
7160 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6
7161 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7162 echo $ECHO_N "(cached) $ECHO_C" >&6
7164 ac_cv_header_sys_filio_h=$ac_header_preproc
7166 echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
7167 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6
7170 if test $ac_cv_header_sys_filio_h = yes; then
7171 cat >>confdefs.h <<\_ACEOF
7172 #define HAVE_SYS_FILIO_H 1
7178 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7179 echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
7180 echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6
7181 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
7185 echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6
7187 # Is the header compilable?
7188 echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h usability" >&5
7189 echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h usability... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 $ac_includes_default
7197 #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
7199 rm -f conftest.$ac_objext
7200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7201 (eval $ac_compile) 2>conftest.er1
7203 grep -v '^ *+' conftest.er1 >conftest.err
7205 cat conftest.err >&5
7206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7207 (exit $ac_status); } &&
7208 { ac_try='test -z "$ac_c_werror_flag"
7209 || test ! -s conftest.err'
7210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7214 (exit $ac_status); }; } &&
7215 { ac_try='test -s conftest.$ac_objext'
7216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); }; }; then
7221 ac_header_compiler=yes
7223 echo "$as_me: failed program was:" >&5
7224 sed 's/^/| /' conftest.$ac_ext >&5
7226 ac_header_compiler=no
7228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7230 echo "${ECHO_T}$ac_header_compiler" >&6
7232 # Is the header present?
7233 echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence" >&5
7234 echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h presence... $ECHO_C" >&6
7235 cat >conftest.$ac_ext <<_ACEOF
7238 cat confdefs.h >>conftest.$ac_ext
7239 cat >>conftest.$ac_ext <<_ACEOF
7240 /* end confdefs.h. */
7241 #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
7243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7246 grep -v '^ *+' conftest.er1 >conftest.err
7248 cat conftest.err >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } >/dev/null; then
7251 if test -s conftest.err; then
7252 ac_cpp_err=$ac_c_preproc_warn_flag
7253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7260 if test -z "$ac_cpp_err"; then
7261 ac_header_preproc=yes
7263 echo "$as_me: failed program was:" >&5
7264 sed 's/^/| /' conftest.$ac_ext >&5
7266 ac_header_preproc=no
7268 rm -f conftest.err conftest.$ac_ext
7269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7270 echo "${ECHO_T}$ac_header_preproc" >&6
7272 # So? What about this header?
7273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7275 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: accepted by the compiler, rejected by the preprocessor!" >&5
7276 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7277 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the compiler's result" >&5
7278 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the compiler's result" >&2;}
7279 ac_header_preproc=yes
7282 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: present but cannot be compiled" >&5
7283 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: present but cannot be compiled" >&2;}
7284 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: check for missing prerequisite headers?" >&5
7285 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: check for missing prerequisite headers?" >&2;}
7286 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: see the Autoconf documentation" >&5
7287 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: see the Autoconf documentation" >&2;}
7288 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: section \"Present But Cannot Be Compiled\"" >&5
7289 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: section \"Present But Cannot Be Compiled\"" >&2;}
7290 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the preprocessor's result" >&5
7291 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the preprocessor's result" >&2;}
7292 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&5
7293 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&2;}
7296 ## ------------------------------------------ ##
7297 ## Report this to the AC_PACKAGE_NAME lists. ##
7298 ## ------------------------------------------ ##
7301 sed "s/^/$as_me: WARNING: /" >&2
7304 echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
7305 echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6
7306 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7307 echo $ECHO_N "(cached) $ECHO_C" >&6
7309 ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h=$ac_header_preproc
7311 echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
7312 echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6
7315 if test $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h = yes; then
7316 cat >>confdefs.h <<\_ACEOF
7317 #define HAVE_DNSREGISTRATION 1
7319 cat >>confdefs.h <<\_ACEOF
7328 # Check whether --with-howl or --without-howl was given.
7329 if test "${with_howl+set}" = set; then
7330 withval="$with_howl"
7331 OLDCFLAGS=$CFLAGS; CFLAGS="-I$withval/include/howl/ $CFLAGS";
7332 OLDLDFLAGS=$LDFLAGS; LDFLAGS="-L$withval/lib/ $LDFLAGS";
7333 OLDCPPFLAGS=$CPPFLAGS; CPPFLAGS="-I$withval/include/howl/ $CPPFLAGS";
7334 as_ac_Header=`echo "ac_cv_header_$withval/include/howl/howl.h" | $as_tr_sh`
7335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7336 echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
7337 echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6
7338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
7341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7344 # Is the header compilable?
7345 echo "$as_me:$LINENO: checking $withval/include/howl/howl.h usability" >&5
7346 echo $ECHO_N "checking $withval/include/howl/howl.h usability... $ECHO_C" >&6
7347 cat >conftest.$ac_ext <<_ACEOF
7350 cat confdefs.h >>conftest.$ac_ext
7351 cat >>conftest.$ac_ext <<_ACEOF
7352 /* end confdefs.h. */
7353 $ac_includes_default
7354 #include <$withval/include/howl/howl.h>
7356 rm -f conftest.$ac_objext
7357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7358 (eval $ac_compile) 2>conftest.er1
7360 grep -v '^ *+' conftest.er1 >conftest.err
7362 cat conftest.err >&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } &&
7365 { ac_try='test -z "$ac_c_werror_flag"
7366 || test ! -s conftest.err'
7367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); }; } &&
7372 { ac_try='test -s conftest.$ac_objext'
7373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7377 (exit $ac_status); }; }; then
7378 ac_header_compiler=yes
7380 echo "$as_me: failed program was:" >&5
7381 sed 's/^/| /' conftest.$ac_ext >&5
7383 ac_header_compiler=no
7385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7387 echo "${ECHO_T}$ac_header_compiler" >&6
7389 # Is the header present?
7390 echo "$as_me:$LINENO: checking $withval/include/howl/howl.h presence" >&5
7391 echo $ECHO_N "checking $withval/include/howl/howl.h presence... $ECHO_C" >&6
7392 cat >conftest.$ac_ext <<_ACEOF
7395 cat confdefs.h >>conftest.$ac_ext
7396 cat >>conftest.$ac_ext <<_ACEOF
7397 /* end confdefs.h. */
7398 #include <$withval/include/howl/howl.h>
7400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7403 grep -v '^ *+' conftest.er1 >conftest.err
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } >/dev/null; then
7408 if test -s conftest.err; then
7409 ac_cpp_err=$ac_c_preproc_warn_flag
7410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7417 if test -z "$ac_cpp_err"; then
7418 ac_header_preproc=yes
7420 echo "$as_me: failed program was:" >&5
7421 sed 's/^/| /' conftest.$ac_ext >&5
7423 ac_header_preproc=no
7425 rm -f conftest.err conftest.$ac_ext
7426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7427 echo "${ECHO_T}$ac_header_preproc" >&6
7429 # So? What about this header?
7430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7432 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7433 echo "$as_me: WARNING: $withval/include/howl/howl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7434 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: proceeding with the compiler's result" >&5
7435 echo "$as_me: WARNING: $withval/include/howl/howl.h: proceeding with the compiler's result" >&2;}
7436 ac_header_preproc=yes
7439 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: present but cannot be compiled" >&5
7440 echo "$as_me: WARNING: $withval/include/howl/howl.h: present but cannot be compiled" >&2;}
7441 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: check for missing prerequisite headers?" >&5
7442 echo "$as_me: WARNING: $withval/include/howl/howl.h: check for missing prerequisite headers?" >&2;}
7443 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: see the Autoconf documentation" >&5
7444 echo "$as_me: WARNING: $withval/include/howl/howl.h: see the Autoconf documentation" >&2;}
7445 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: section \"Present But Cannot Be Compiled\"" >&5
7446 echo "$as_me: WARNING: $withval/include/howl/howl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7447 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: proceeding with the preprocessor's result" >&5
7448 echo "$as_me: WARNING: $withval/include/howl/howl.h: proceeding with the preprocessor's result" >&2;}
7449 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&5
7450 echo "$as_me: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&2;}
7453 ## ------------------------------------------ ##
7454 ## Report this to the AC_PACKAGE_NAME lists. ##
7455 ## ------------------------------------------ ##
7458 sed "s/^/$as_me: WARNING: /" >&2
7461 echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
7462 echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6
7463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 eval "$as_ac_Header=\$ac_header_preproc"
7468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7473 cat >>confdefs.h <<\_ACEOF
7476 cat >>confdefs.h <<\_ACEOF
7481 CFLAGS=$OLDCFLAGS; LDFLAGS=$OLDLDFLAGS; CPPFLAGS=$OLDCPPFLAGS;
7485 echo "$as_me:$LINENO: checking for sw_discovery_publish in -lhowl" >&5
7486 echo $ECHO_N "checking for sw_discovery_publish in -lhowl... $ECHO_C" >&6
7487 if test "${ac_cv_lib_howl_sw_discovery_publish+set}" = set; then
7488 echo $ECHO_N "(cached) $ECHO_C" >&6
7490 ac_check_lib_save_LIBS=$LIBS
7492 cat >conftest.$ac_ext <<_ACEOF
7495 cat confdefs.h >>conftest.$ac_ext
7496 cat >>conftest.$ac_ext <<_ACEOF
7497 /* end confdefs.h. */
7499 /* Override any gcc2 internal prototype to avoid an error. */
7503 /* We use char because int might match the return type of a gcc2
7504 builtin and then its argument prototype would still apply. */
7505 char sw_discovery_publish ();
7509 sw_discovery_publish ();
7514 rm -f conftest.$ac_objext conftest$ac_exeext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7516 (eval $ac_link) 2>conftest.er1
7518 grep -v '^ *+' conftest.er1 >conftest.err
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_c_werror_flag"
7524 || test ! -s conftest.err'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest$ac_exeext'
7531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536 ac_cv_lib_howl_sw_discovery_publish=yes
7538 echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7541 ac_cv_lib_howl_sw_discovery_publish=no
7543 rm -f conftest.err conftest.$ac_objext \
7544 conftest$ac_exeext conftest.$ac_ext
7545 LIBS=$ac_check_lib_save_LIBS
7547 echo "$as_me:$LINENO: result: $ac_cv_lib_howl_sw_discovery_publish" >&5
7548 echo "${ECHO_T}$ac_cv_lib_howl_sw_discovery_publish" >&6
7549 if test $ac_cv_lib_howl_sw_discovery_publish = yes; then
7553 OLDLIBS=$LIBS; LIBS="-lpthread $LIBS";
7554 echo "$as_me:$LINENO: checking for main in -lhowl" >&5
7555 echo $ECHO_N "checking for main in -lhowl... $ECHO_C" >&6
7556 if test "${ac_cv_lib_howl_main+set}" = set; then
7557 echo $ECHO_N "(cached) $ECHO_C" >&6
7559 ac_check_lib_save_LIBS=$LIBS
7561 cat >conftest.$ac_ext <<_ACEOF
7564 cat confdefs.h >>conftest.$ac_ext
7565 cat >>conftest.$ac_ext <<_ACEOF
7566 /* end confdefs.h. */
7577 rm -f conftest.$ac_objext conftest$ac_exeext
7578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7579 (eval $ac_link) 2>conftest.er1
7581 grep -v '^ *+' conftest.er1 >conftest.err
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } &&
7586 { ac_try='test -z "$ac_c_werror_flag"
7587 || test ! -s conftest.err'
7588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 (exit $ac_status); }; } &&
7593 { ac_try='test -s conftest$ac_exeext'
7594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); }; }; then
7599 ac_cv_lib_howl_main=yes
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.$ac_ext >&5
7604 ac_cv_lib_howl_main=no
7606 rm -f conftest.err conftest.$ac_objext \
7607 conftest$ac_exeext conftest.$ac_ext
7608 LIBS=$ac_check_lib_save_LIBS
7610 echo "$as_me:$LINENO: result: $ac_cv_lib_howl_main" >&5
7611 echo "${ECHO_T}$ac_cv_lib_howl_main" >&6
7612 if test $ac_cv_lib_howl_main = yes; then
7624 echo "$as_me:$LINENO: checking for uint16_t" >&5
7625 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6
7626 if test "${xinetd_cv_type_uint16_t+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 cat >conftest.$ac_ext <<_ACEOF
7632 cat confdefs.h >>conftest.$ac_ext
7633 cat >>conftest.$ac_ext <<_ACEOF
7634 /* end confdefs.h. */
7635 #include <sys/types.h>
7643 #include <sys/resource.h>
7652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7653 $EGREP "uint16_t" >/dev/null 2>&1; then
7654 xinetd_cv_type_uint16_t=yes
7656 xinetd_cv_type_uint16_t=no
7661 echo "$as_me:$LINENO: result: $xinetd_cv_type_uint16_t" >&5
7662 echo "${ECHO_T}$xinetd_cv_type_uint16_t" >&6
7663 if test $xinetd_cv_type_uint16_t = no; then
7664 cat >>confdefs.h <<\_ACEOF
7665 #define uint16_t unsigned short
7670 echo "$as_me:$LINENO: checking for uint32_t" >&5
7671 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
7672 if test "${xinetd_cv_type_uint32_t+set}" = set; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7675 cat >conftest.$ac_ext <<_ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 #include <sys/types.h>
7689 #include <sys/resource.h>
7698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7699 $EGREP "uint32_t" >/dev/null 2>&1; then
7700 xinetd_cv_type_uint32_t=yes
7702 xinetd_cv_type_uint32_t=no
7707 echo "$as_me:$LINENO: result: $xinetd_cv_type_uint32_t" >&5
7708 echo "${ECHO_T}$xinetd_cv_type_uint32_t" >&6
7709 if test $xinetd_cv_type_uint32_t = no; then
7710 cat >>confdefs.h <<\_ACEOF
7711 #define uint32_t unsigned int
7716 echo "$as_me:$LINENO: checking for uint64_t" >&5
7717 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
7718 if test "${xinetd_cv_type_uint64_t+set}" = set; then
7719 echo $ECHO_N "(cached) $ECHO_C" >&6
7721 cat >conftest.$ac_ext <<_ACEOF
7724 cat confdefs.h >>conftest.$ac_ext
7725 cat >>conftest.$ac_ext <<_ACEOF
7726 /* end confdefs.h. */
7727 #include <sys/types.h>
7735 #include <sys/resource.h>
7744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7745 $EGREP "uint64_t" >/dev/null 2>&1; then
7746 xinetd_cv_type_uint64_t=yes
7748 xinetd_cv_type_uint64_t=no
7753 echo "$as_me:$LINENO: result: $xinetd_cv_type_uint64_t" >&5
7754 echo "${ECHO_T}$xinetd_cv_type_uint64_t" >&6
7755 if test $xinetd_cv_type_uint64_t = no; then
7756 cat >>confdefs.h <<\_ACEOF
7757 #define uint64_t unsigned long long
7762 echo "$as_me:$LINENO: checking for uid_t" >&5
7763 echo $ECHO_N "checking for uid_t... $ECHO_C" >&6
7764 if test "${xinetd_cv_type_uid_t+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 cat >conftest.$ac_ext <<_ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #include <sys/types.h>
7781 #include <sys/resource.h>
7790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7791 $EGREP "uid_t" >/dev/null 2>&1; then
7792 xinetd_cv_type_uid_t=yes
7794 xinetd_cv_type_uid_t=no
7799 echo "$as_me:$LINENO: result: $xinetd_cv_type_uid_t" >&5
7800 echo "${ECHO_T}$xinetd_cv_type_uid_t" >&6
7801 if test $xinetd_cv_type_uid_t = no; then
7802 cat >>confdefs.h <<\_ACEOF
7803 #define uid_t unsigned int
7808 echo "$as_me:$LINENO: checking for gid_t" >&5
7809 echo $ECHO_N "checking for gid_t... $ECHO_C" >&6
7810 if test "${xinetd_cv_type_gid_t+set}" = set; then
7811 echo $ECHO_N "(cached) $ECHO_C" >&6
7813 cat >conftest.$ac_ext <<_ACEOF
7816 cat confdefs.h >>conftest.$ac_ext
7817 cat >>conftest.$ac_ext <<_ACEOF
7818 /* end confdefs.h. */
7819 #include <sys/types.h>
7827 #include <sys/resource.h>
7836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7837 $EGREP "gid_t" >/dev/null 2>&1; then
7838 xinetd_cv_type_gid_t=yes
7840 xinetd_cv_type_gid_t=no
7845 echo "$as_me:$LINENO: result: $xinetd_cv_type_gid_t" >&5
7846 echo "${ECHO_T}$xinetd_cv_type_gid_t" >&6
7847 if test $xinetd_cv_type_gid_t = no; then
7848 cat >>confdefs.h <<\_ACEOF
7849 #define gid_t unsigned int
7854 echo "$as_me:$LINENO: checking for socklen_t" >&5
7855 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7856 if test "${xinetd_cv_type_socklen_t+set}" = set; then
7857 echo $ECHO_N "(cached) $ECHO_C" >&6
7859 cat >conftest.$ac_ext <<_ACEOF
7862 cat confdefs.h >>conftest.$ac_ext
7863 cat >>conftest.$ac_ext <<_ACEOF
7864 /* end confdefs.h. */
7865 #include <sys/types.h>
7873 #include <sys/resource.h>
7882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7883 $EGREP "socklen_t" >/dev/null 2>&1; then
7884 xinetd_cv_type_socklen_t=yes
7886 xinetd_cv_type_socklen_t=no
7891 echo "$as_me:$LINENO: result: $xinetd_cv_type_socklen_t" >&5
7892 echo "${ECHO_T}$xinetd_cv_type_socklen_t" >&6
7893 if test $xinetd_cv_type_socklen_t = no; then
7894 cat >>confdefs.h <<\_ACEOF
7895 #define socklen_t unsigned int
7900 echo "$as_me:$LINENO: checking for rlim_t" >&5
7901 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
7902 if test "${xinetd_cv_type_rlim_t+set}" = set; then
7903 echo $ECHO_N "(cached) $ECHO_C" >&6
7905 cat >conftest.$ac_ext <<_ACEOF
7908 cat confdefs.h >>conftest.$ac_ext
7909 cat >>conftest.$ac_ext <<_ACEOF
7910 /* end confdefs.h. */
7911 #include <sys/types.h>
7919 #include <sys/resource.h>
7928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7929 $EGREP "rlim_t" >/dev/null 2>&1; then
7930 xinetd_cv_type_rlim_t=yes
7932 xinetd_cv_type_rlim_t=no
7937 echo "$as_me:$LINENO: result: $xinetd_cv_type_rlim_t" >&5
7938 echo "${ECHO_T}$xinetd_cv_type_rlim_t" >&6
7939 if test $xinetd_cv_type_rlim_t = no; then
7940 cat >>confdefs.h <<\_ACEOF
7941 #define rlim_t long long
7947 echo "$as_me:$LINENO: checking for struct addrinfo" >&5
7948 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
7949 if test "${ac_cv_have_struct_addrinfo+set}" = set; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7953 cat >conftest.$ac_ext <<_ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7960 #include <sys/types.h>
7961 #include <sys/socket.h>
7969 struct addrinfo s; s.ai_flags = AI_PASSIVE;
7974 rm -f conftest.$ac_objext
7975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7976 (eval $ac_compile) 2>conftest.er1
7978 grep -v '^ *+' conftest.er1 >conftest.err
7980 cat conftest.err >&5
7981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7982 (exit $ac_status); } &&
7983 { ac_try='test -z "$ac_c_werror_flag"
7984 || test ! -s conftest.err'
7985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 (exit $ac_status); }; } &&
7990 { ac_try='test -s conftest.$ac_objext'
7991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7995 (exit $ac_status); }; }; then
7996 ac_cv_have_struct_addrinfo="yes"
7998 echo "$as_me: failed program was:" >&5
7999 sed 's/^/| /' conftest.$ac_ext >&5
8001 ac_cv_have_struct_addrinfo="no"
8004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8007 echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
8008 echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
8009 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
8010 cat >>confdefs.h <<\_ACEOF
8011 #define HAVE_STRUCT_ADDRINFO 1
8016 echo "$as_me:$LINENO: checking for struct in6_addr" >&5
8017 echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
8018 if test "${ac_cv_have_struct_in6_addr+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8022 cat >conftest.$ac_ext <<_ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8029 #include <sys/types.h>
8030 #include <netinet/in.h>
8035 struct in6_addr s; s.s6_addr[0] = 0;
8040 rm -f conftest.$ac_objext
8041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8042 (eval $ac_compile) 2>conftest.er1
8044 grep -v '^ *+' conftest.er1 >conftest.err
8046 cat conftest.err >&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } &&
8049 { ac_try='test -z "$ac_c_werror_flag"
8050 || test ! -s conftest.err'
8051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); }; } &&
8056 { ac_try='test -s conftest.$ac_objext'
8057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 (exit $ac_status); }; }; then
8062 ac_cv_have_struct_in6_addr="yes"
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 ac_cv_have_struct_in6_addr="no"
8070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8073 echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
8074 echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
8075 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
8076 cat >>confdefs.h <<\_ACEOF
8077 #define HAVE_STRUCT_IN6_ADDR 1
8082 echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
8083 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
8084 if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
8085 echo $ECHO_N "(cached) $ECHO_C" >&6
8088 cat >conftest.$ac_ext <<_ACEOF
8091 cat confdefs.h >>conftest.$ac_ext
8092 cat >>conftest.$ac_ext <<_ACEOF
8093 /* end confdefs.h. */
8095 #include <sys/types.h>
8096 #include <netinet/in.h>
8101 struct sockaddr_in6 s; s.sin6_family = 0;
8106 rm -f conftest.$ac_objext
8107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8108 (eval $ac_compile) 2>conftest.er1
8110 grep -v '^ *+' conftest.er1 >conftest.err
8112 cat conftest.err >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); } &&
8115 { ac_try='test -z "$ac_c_werror_flag"
8116 || test ! -s conftest.err'
8117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); }; } &&
8122 { ac_try='test -s conftest.$ac_objext'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8128 ac_cv_have_struct_sockaddr_in6="yes"
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8133 ac_cv_have_struct_sockaddr_in6="no"
8136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8139 echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
8140 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
8141 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
8142 cat >>confdefs.h <<\_ACEOF
8143 #define HAVE_STRUCT_SOCKADDR_IN6 1
8148 echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
8149 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
8150 if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
8151 echo $ECHO_N "(cached) $ECHO_C" >&6
8154 cat >conftest.$ac_ext <<_ACEOF
8157 cat confdefs.h >>conftest.$ac_ext
8158 cat >>conftest.$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8161 #include <sys/types.h>
8162 #include <sys/socket.h>
8167 struct sockaddr_storage s;
8172 rm -f conftest.$ac_objext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8174 (eval $ac_compile) 2>conftest.er1
8176 grep -v '^ *+' conftest.er1 >conftest.err
8178 cat conftest.err >&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try='test -z "$ac_c_werror_flag"
8182 || test ! -s conftest.err'
8183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); }; } &&
8188 { ac_try='test -s conftest.$ac_objext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_cv_have_struct_sockaddr_storage="yes"
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.$ac_ext >&5
8199 ac_cv_have_struct_sockaddr_storage="no"
8202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8205 echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
8206 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
8207 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
8208 cat >>confdefs.h <<\_ACEOF
8209 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
8215 case "$target_os" in
8218 cat >>confdefs.h <<\_ACEOF
8219 #define N0_SIGLIST 1
8222 cat >>confdefs.h <<\_ACEOF
8227 echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8228 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
8230 # Check whether --with-loadavg or --without-loadavg was given.
8231 if test "${with_loadavg+set}" = set; then
8232 withval="$with_loadavg"
8235 echo "$as_me:$LINENO: result: no" >&5
8236 echo "${ECHO_T}no" >&6
8239 echo "$as_me:$LINENO: result: yes" >&5
8240 echo "${ECHO_T}yes" >&6
8242 echo "$as_me:$LINENO: checking for main in -lkstat" >&5
8243 echo $ECHO_N "checking for main in -lkstat... $ECHO_C" >&6
8244 if test "${ac_cv_lib_kstat_main+set}" = set; then
8245 echo $ECHO_N "(cached) $ECHO_C" >&6
8247 ac_check_lib_save_LIBS=$LIBS
8248 LIBS="-lkstat $LIBS"
8249 cat >conftest.$ac_ext <<_ACEOF
8252 cat confdefs.h >>conftest.$ac_ext
8253 cat >>conftest.$ac_ext <<_ACEOF
8254 /* end confdefs.h. */
8265 rm -f conftest.$ac_objext conftest$ac_exeext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8267 (eval $ac_link) 2>conftest.er1
8269 grep -v '^ *+' conftest.er1 >conftest.err
8271 cat conftest.err >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); } &&
8274 { ac_try='test -z "$ac_c_werror_flag"
8275 || test ! -s conftest.err'
8276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); }; } &&
8281 { ac_try='test -s conftest$ac_exeext'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; }; then
8287 ac_cv_lib_kstat_main=yes
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8292 ac_cv_lib_kstat_main=no
8294 rm -f conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 LIBS=$ac_check_lib_save_LIBS
8298 echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_main" >&5
8299 echo "${ECHO_T}$ac_cv_lib_kstat_main" >&6
8300 if test $ac_cv_lib_kstat_main = yes; then
8301 cat >>confdefs.h <<_ACEOF
8302 #define HAVE_LIBKSTAT 1
8305 LIBS="-lkstat $LIBS"
8309 if test "${ac_cv_header_kstat_h+set}" = set; then
8310 echo "$as_me:$LINENO: checking for kstat.h" >&5
8311 echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6
8312 if test "${ac_cv_header_kstat_h+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8315 echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
8316 echo "${ECHO_T}$ac_cv_header_kstat_h" >&6
8318 # Is the header compilable?
8319 echo "$as_me:$LINENO: checking kstat.h usability" >&5
8320 echo $ECHO_N "checking kstat.h usability... $ECHO_C" >&6
8321 cat >conftest.$ac_ext <<_ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8327 $ac_includes_default
8330 rm -f conftest.$ac_objext
8331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8332 (eval $ac_compile) 2>conftest.er1
8334 grep -v '^ *+' conftest.er1 >conftest.err
8336 cat conftest.err >&5
8337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } &&
8339 { ac_try='test -z "$ac_c_werror_flag"
8340 || test ! -s conftest.err'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; } &&
8346 { ac_try='test -s conftest.$ac_objext'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; }; then
8352 ac_header_compiler=yes
8354 echo "$as_me: failed program was:" >&5
8355 sed 's/^/| /' conftest.$ac_ext >&5
8357 ac_header_compiler=no
8359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8361 echo "${ECHO_T}$ac_header_compiler" >&6
8363 # Is the header present?
8364 echo "$as_me:$LINENO: checking kstat.h presence" >&5
8365 echo $ECHO_N "checking kstat.h presence... $ECHO_C" >&6
8366 cat >conftest.$ac_ext <<_ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8377 grep -v '^ *+' conftest.er1 >conftest.err
8379 cat conftest.err >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); } >/dev/null; then
8382 if test -s conftest.err; then
8383 ac_cpp_err=$ac_c_preproc_warn_flag
8384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8391 if test -z "$ac_cpp_err"; then
8392 ac_header_preproc=yes
8394 echo "$as_me: failed program was:" >&5
8395 sed 's/^/| /' conftest.$ac_ext >&5
8397 ac_header_preproc=no
8399 rm -f conftest.err conftest.$ac_ext
8400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8401 echo "${ECHO_T}$ac_header_preproc" >&6
8403 # So? What about this header?
8404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8406 { echo "$as_me:$LINENO: WARNING: kstat.h: accepted by the compiler, rejected by the preprocessor!" >&5
8407 echo "$as_me: WARNING: kstat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8408 { echo "$as_me:$LINENO: WARNING: kstat.h: proceeding with the compiler's result" >&5
8409 echo "$as_me: WARNING: kstat.h: proceeding with the compiler's result" >&2;}
8410 ac_header_preproc=yes
8413 { echo "$as_me:$LINENO: WARNING: kstat.h: present but cannot be compiled" >&5
8414 echo "$as_me: WARNING: kstat.h: present but cannot be compiled" >&2;}
8415 { echo "$as_me:$LINENO: WARNING: kstat.h: check for missing prerequisite headers?" >&5
8416 echo "$as_me: WARNING: kstat.h: check for missing prerequisite headers?" >&2;}
8417 { echo "$as_me:$LINENO: WARNING: kstat.h: see the Autoconf documentation" >&5
8418 echo "$as_me: WARNING: kstat.h: see the Autoconf documentation" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: kstat.h: section \"Present But Cannot Be Compiled\"" >&5
8420 echo "$as_me: WARNING: kstat.h: section \"Present But Cannot Be Compiled\"" >&2;}
8421 { echo "$as_me:$LINENO: WARNING: kstat.h: proceeding with the preprocessor's result" >&5
8422 echo "$as_me: WARNING: kstat.h: proceeding with the preprocessor's result" >&2;}
8423 { echo "$as_me:$LINENO: WARNING: kstat.h: in the future, the compiler will take precedence" >&5
8424 echo "$as_me: WARNING: kstat.h: in the future, the compiler will take precedence" >&2;}
8427 ## ------------------------------------------ ##
8428 ## Report this to the AC_PACKAGE_NAME lists. ##
8429 ## ------------------------------------------ ##
8432 sed "s/^/$as_me: WARNING: /" >&2
8435 echo "$as_me:$LINENO: checking for kstat.h" >&5
8436 echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6
8437 if test "${ac_cv_header_kstat_h+set}" = set; then
8438 echo $ECHO_N "(cached) $ECHO_C" >&6
8440 ac_cv_header_kstat_h=$ac_header_preproc
8442 echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
8443 echo "${ECHO_T}$ac_cv_header_kstat_h" >&6
8446 if test $ac_cv_header_kstat_h = yes; then
8447 cat >>confdefs.h <<\_ACEOF
8448 #define HAVE_KSTAT_H 1
8454 cat >>confdefs.h <<\_ACEOF
8455 #define HAVE_LOADAVG 1
8460 echo "$as_me:$LINENO: result: yes" >&5
8461 echo "${ECHO_T}yes" >&6
8462 cat >>confdefs.h <<\_ACEOF
8463 #define HAVE_LOADAVG 1
8469 echo "$as_me:$LINENO: result: no" >&5
8470 echo "${ECHO_T}no" >&6
8474 LDFLAGS=-oldstyle_liblookup
8475 echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8476 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
8478 # Check whether --with-loadavg or --without-loadavg was given.
8479 if test "${with_loadavg+set}" = set; then
8480 withval="$with_loadavg"
8483 echo "$as_me:$LINENO: result: no" >&5
8484 echo "${ECHO_T}no" >&6
8487 echo "$as_me:$LINENO: result: yes" >&5
8488 echo "${ECHO_T}yes" >&6
8489 cat >>confdefs.h <<\_ACEOF
8490 #define HAVE_LOADAVG 1
8495 echo "$as_me:$LINENO: result: yes" >&5
8496 echo "${ECHO_T}yes" >&6
8497 cat >>confdefs.h <<\_ACEOF
8498 #define HAVE_LOADAVG 1
8504 echo "$as_me:$LINENO: result: no" >&5
8505 echo "${ECHO_T}no" >&6
8510 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
8511 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
8512 if test "${ac_cv_lib_crypt_main+set}" = set; then
8513 echo $ECHO_N "(cached) $ECHO_C" >&6
8515 ac_check_lib_save_LIBS=$LIBS
8516 LIBS="-lcrypt $LIBS"
8517 cat >conftest.$ac_ext <<_ACEOF
8520 cat confdefs.h >>conftest.$ac_ext
8521 cat >>conftest.$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8533 rm -f conftest.$ac_objext conftest$ac_exeext
8534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8535 (eval $ac_link) 2>conftest.er1
8537 grep -v '^ *+' conftest.er1 >conftest.err
8539 cat conftest.err >&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try='test -z "$ac_c_werror_flag"
8543 || test ! -s conftest.err'
8544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8548 (exit $ac_status); }; } &&
8549 { ac_try='test -s conftest$ac_exeext'
8550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); }; }; then
8555 ac_cv_lib_crypt_main=yes
8557 echo "$as_me: failed program was:" >&5
8558 sed 's/^/| /' conftest.$ac_ext >&5
8560 ac_cv_lib_crypt_main=no
8562 rm -f conftest.err conftest.$ac_objext \
8563 conftest$ac_exeext conftest.$ac_ext
8564 LIBS=$ac_check_lib_save_LIBS
8566 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
8567 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
8568 if test $ac_cv_lib_crypt_main = yes; then
8569 cat >>confdefs.h <<_ACEOF
8570 #define HAVE_LIBCRYPT 1
8573 LIBS="-lcrypt $LIBS"
8578 echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8579 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
8581 # Check whether --with-loadavg or --without-loadavg was given.
8582 if test "${with_loadavg+set}" = set; then
8583 withval="$with_loadavg"
8586 echo "$as_me:$LINENO: result: no" >&5
8587 echo "${ECHO_T}no" >&6
8590 echo "$as_me:$LINENO: result: yes" >&5
8591 echo "${ECHO_T}yes" >&6
8592 cat >>confdefs.h <<\_ACEOF
8593 #define HAVE_LOADAVG 1
8598 echo "$as_me:$LINENO: result: yes" >&5
8599 echo "${ECHO_T}yes" >&6
8600 cat >>confdefs.h <<\_ACEOF
8601 #define HAVE_LOADAVG 1
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8611 darwin* | "Mac OS"*)
8612 ac_cv_prog_RANLIB="ranlib"
8613 # AC_CHECK_FUNCS doesn't look in the proper header file...
8614 cat >>confdefs.h <<\_ACEOF
8615 #define HAVE_ISATTY 1
8618 CFLAGS="$CFLAGS -no-cpp-precomp"
8619 echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8620 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
8622 # Check whether --with-loadavg or --without-loadavg was given.
8623 if test "${with_loadavg+set}" = set; then
8624 withval="$with_loadavg"
8627 echo "$as_me:$LINENO: result: no" >&5
8628 echo "${ECHO_T}no" >&6
8631 echo "$as_me:$LINENO: result: yes" >&5
8632 echo "${ECHO_T}yes" >&6
8633 cat >>confdefs.h <<\_ACEOF
8634 #define HAVE_LOADAVG 1
8639 echo "$as_me:$LINENO: result: yes" >&5
8640 echo "${ECHO_T}yes" >&6
8641 cat >>confdefs.h <<\_ACEOF
8642 #define HAVE_LOADAVG 1
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8653 echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8654 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6
8656 # Check whether --with-loadavg or --without-loadavg was given.
8657 if test "${with_loadavg+set}" = set; then
8658 withval="$with_loadavg"
8661 echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6
8665 echo "$as_me:$LINENO: result: yes" >&5
8666 echo "${ECHO_T}yes" >&6
8667 cat >>confdefs.h <<\_ACEOF
8671 cat >>confdefs.h <<\_ACEOF
8672 #define HAVE_LOADAVG 1
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 cat >>confdefs.h <<\_ACEOF
8683 cat >>confdefs.h <<\_ACEOF
8684 #define HAVE_LOADAVG 1
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8697 echo "$as_me:$LINENO: checking for crypt in -lc" >&5
8698 echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6
8699 if test "${ac_cv_lib_c_crypt+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_check_lib_save_LIBS=$LIBS
8704 cat >conftest.$ac_ext <<_ACEOF
8707 cat confdefs.h >>conftest.$ac_ext
8708 cat >>conftest.$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8711 /* Override any gcc2 internal prototype to avoid an error. */
8715 /* We use char because int might match the return type of a gcc2
8716 builtin and then its argument prototype would still apply. */
8726 rm -f conftest.$ac_objext conftest$ac_exeext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>conftest.er1
8730 grep -v '^ *+' conftest.er1 >conftest.err
8732 cat conftest.err >&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } &&
8735 { ac_try='test -z "$ac_c_werror_flag"
8736 || test ! -s conftest.err'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; } &&
8742 { ac_try='test -s conftest$ac_exeext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 ac_cv_lib_c_crypt=yes
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_cv_lib_c_crypt=no
8755 rm -f conftest.err conftest.$ac_objext \
8756 conftest$ac_exeext conftest.$ac_ext
8757 LIBS=$ac_check_lib_save_LIBS
8759 echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
8760 echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6
8761 if test $ac_cv_lib_c_crypt = yes; then
8765 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8766 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8767 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 ac_check_lib_save_LIBS=$LIBS
8771 LIBS="-lcrypt $LIBS"
8772 cat >conftest.$ac_ext <<_ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any gcc2 internal prototype to avoid an error. */
8783 /* We use char because int might match the return type of a gcc2
8784 builtin and then its argument prototype would still apply. */
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8796 (eval $ac_link) 2>conftest.er1
8798 grep -v '^ *+' conftest.er1 >conftest.err
8800 cat conftest.err >&5
8801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8802 (exit $ac_status); } &&
8803 { ac_try='test -z "$ac_c_werror_flag"
8804 || test ! -s conftest.err'
8805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809 (exit $ac_status); }; } &&
8810 { ac_try='test -s conftest$ac_exeext'
8811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 (exit $ac_status); }; }; then
8816 ac_cv_lib_crypt_crypt=yes
8818 echo "$as_me: failed program was:" >&5
8819 sed 's/^/| /' conftest.$ac_ext >&5
8821 ac_cv_lib_crypt_crypt=no
8823 rm -f conftest.err conftest.$ac_objext \
8824 conftest$ac_exeext conftest.$ac_ext
8825 LIBS=$ac_check_lib_save_LIBS
8827 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8828 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8829 if test $ac_cv_lib_crypt_crypt = yes; then
8831 LIBS="-lcrypt $LIBS"
8832 cat >>confdefs.h <<\_ACEOF
8833 #define HAVE_LIBCRYPT 1
8841 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
8842 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
8843 if test "${ac_cv_lib_m_log10+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 ac_check_lib_save_LIBS=$LIBS
8848 cat >conftest.$ac_ext <<_ACEOF
8851 cat confdefs.h >>conftest.$ac_ext
8852 cat >>conftest.$ac_ext <<_ACEOF
8853 /* end confdefs.h. */
8855 /* Override any gcc2 internal prototype to avoid an error. */
8859 /* We use char because int might match the return type of a gcc2
8860 builtin and then its argument prototype would still apply. */
8870 rm -f conftest.$ac_objext conftest$ac_exeext
8871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8872 (eval $ac_link) 2>conftest.er1
8874 grep -v '^ *+' conftest.er1 >conftest.err
8876 cat conftest.err >&5
8877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878 (exit $ac_status); } &&
8879 { ac_try='test -z "$ac_c_werror_flag"
8880 || test ! -s conftest.err'
8881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); }; } &&
8886 { ac_try='test -s conftest$ac_exeext'
8887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); }; }; then
8892 ac_cv_lib_m_log10=yes
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 ac_cv_lib_m_log10=no
8899 rm -f conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 LIBS=$ac_check_lib_save_LIBS
8903 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
8904 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
8905 if test $ac_cv_lib_m_log10 = yes; then
8910 echo "$as_me:$LINENO: checking whether to default to ipv6" >&5
8911 echo $ECHO_N "checking whether to default to ipv6... $ECHO_C" >&6
8913 # Check whether --with-inet6 or --without-inet6 was given.
8914 if test "${with_inet6+set}" = set; then
8915 withval="$with_inet6"
8916 echo "$as_me:$LINENO: result: ignored" >&5
8917 echo "${ECHO_T}ignored" >&6
8919 echo "$as_me:$LINENO: result: ignored" >&5
8920 echo "${ECHO_T}ignored" >&6
8923 echo "$as_me:$LINENO: checking whether to use libwrap" >&5
8924 echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6
8926 # Check whether --with-libwrap or --without-libwrap was given.
8927 if test "${with_libwrap+set}" = set; then
8928 withval="$with_libwrap"
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 echo "$as_me:$LINENO: checking for request_init in -lwrap" >&5
8938 echo $ECHO_N "checking for request_init in -lwrap... $ECHO_C" >&6
8939 if test "${ac_cv_lib_wrap_request_init+set}" = set; then
8940 echo $ECHO_N "(cached) $ECHO_C" >&6
8942 ac_check_lib_save_LIBS=$LIBS
8944 cat >conftest.$ac_ext <<_ACEOF
8947 cat confdefs.h >>conftest.$ac_ext
8948 cat >>conftest.$ac_ext <<_ACEOF
8949 /* end confdefs.h. */
8951 /* Override any gcc2 internal prototype to avoid an error. */
8955 /* We use char because int might match the return type of a gcc2
8956 builtin and then its argument prototype would still apply. */
8957 char request_init ();
8966 rm -f conftest.$ac_objext conftest$ac_exeext
8967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8968 (eval $ac_link) 2>conftest.er1
8970 grep -v '^ *+' conftest.er1 >conftest.err
8972 cat conftest.err >&5
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); } &&
8975 { ac_try='test -z "$ac_c_werror_flag"
8976 || test ! -s conftest.err'
8977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest$ac_exeext'
8983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987 (exit $ac_status); }; }; then
8988 ac_cv_lib_wrap_request_init=yes
8990 echo "$as_me: failed program was:" >&5
8991 sed 's/^/| /' conftest.$ac_ext >&5
8993 ac_cv_lib_wrap_request_init=no
8995 rm -f conftest.err conftest.$ac_objext \
8996 conftest$ac_exeext conftest.$ac_ext
8997 LIBS=$ac_check_lib_save_LIBS
8999 echo "$as_me:$LINENO: result: $ac_cv_lib_wrap_request_init" >&5
9000 echo "${ECHO_T}$ac_cv_lib_wrap_request_init" >&6
9001 if test $ac_cv_lib_wrap_request_init = yes; then
9003 cat >>confdefs.h <<\_ACEOF
9008 cat >>confdefs.h <<\_ACEOF
9009 #define HAVE_LIBWRAP 1
9014 echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
9015 echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
9016 if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 ac_check_lib_save_LIBS=$LIBS
9021 cat >conftest.$ac_ext <<_ACEOF
9024 cat confdefs.h >>conftest.$ac_ext
9025 cat >>conftest.$ac_ext <<_ACEOF
9026 /* end confdefs.h. */
9028 /* Override any gcc2 internal prototype to avoid an error. */
9032 /* We use char because int might match the return type of a gcc2
9033 builtin and then its argument prototype would still apply. */
9034 char yp_get_default_domain ();
9038 yp_get_default_domain ();
9043 rm -f conftest.$ac_objext conftest$ac_exeext
9044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9045 (eval $ac_link) 2>conftest.er1
9047 grep -v '^ *+' conftest.er1 >conftest.err
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } &&
9052 { ac_try='test -z "$ac_c_werror_flag"
9053 || test ! -s conftest.err'
9054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9058 (exit $ac_status); }; } &&
9059 { ac_try='test -s conftest$ac_exeext'
9060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9064 (exit $ac_status); }; }; then
9065 ac_cv_lib_nsl_yp_get_default_domain=yes
9067 echo "$as_me: failed program was:" >&5
9068 sed 's/^/| /' conftest.$ac_ext >&5
9070 ac_cv_lib_nsl_yp_get_default_domain=no
9072 rm -f conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 LIBS=$ac_check_lib_save_LIBS
9076 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
9077 echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
9078 if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
9080 WRAPLIBS="$WRAPLIBS -lnsl"
9083 LIBS="$WRAPLIBS $LIBS"
9086 echo "$as_me:$LINENO: result: yes" >&5
9087 echo "${ECHO_T}yes" >&6
9088 cat >>confdefs.h <<\_ACEOF
9092 if test -d "$withval"; then
9093 WRAPLIBS="-L$withval -lwrap"
9097 echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
9098 echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6
9099 if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9102 ac_check_lib_save_LIBS=$LIBS
9104 cat >conftest.$ac_ext <<_ACEOF
9107 cat confdefs.h >>conftest.$ac_ext
9108 cat >>conftest.$ac_ext <<_ACEOF
9109 /* end confdefs.h. */
9111 /* Override any gcc2 internal prototype to avoid an error. */
9115 /* We use char because int might match the return type of a gcc2
9116 builtin and then its argument prototype would still apply. */
9117 char yp_get_default_domain ();
9121 yp_get_default_domain ();
9126 rm -f conftest.$ac_objext conftest$ac_exeext
9127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9128 (eval $ac_link) 2>conftest.er1
9130 grep -v '^ *+' conftest.er1 >conftest.err
9132 cat conftest.err >&5
9133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9134 (exit $ac_status); } &&
9135 { ac_try='test -z "$ac_c_werror_flag"
9136 || test ! -s conftest.err'
9137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try='test -s conftest$ac_exeext'
9143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); }; }; then
9148 ac_cv_lib_nsl_yp_get_default_domain=yes
9150 echo "$as_me: failed program was:" >&5
9151 sed 's/^/| /' conftest.$ac_ext >&5
9153 ac_cv_lib_nsl_yp_get_default_domain=no
9155 rm -f conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
9160 echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6
9161 if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
9163 WRAPLIBS="$WRAPLIBS -lnsl"
9167 LIBS="$WRAPLIBS $LIBS"
9168 cat >conftest.$ac_ext <<_ACEOF
9171 cat confdefs.h >>conftest.$ac_ext
9172 cat >>conftest.$ac_ext <<_ACEOF
9173 /* end confdefs.h. */
9174 int allow_severity; int deny_severity;
9183 rm -f conftest.$ac_objext conftest$ac_exeext
9184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9185 (eval $ac_link) 2>conftest.er1
9187 grep -v '^ *+' conftest.er1 >conftest.err
9189 cat conftest.err >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); } &&
9192 { ac_try='test -z "$ac_c_werror_flag"
9193 || test ! -s conftest.err'
9194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198 (exit $ac_status); }; } &&
9199 { ac_try='test -s conftest$ac_exeext'
9200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); }; }; then
9207 echo "$as_me: failed program was:" >&5
9208 sed 's/^/| /' conftest.$ac_ext >&5
9210 { { echo "$as_me:$LINENO: error: Could not find the $withval library. You must first install tcp_wrappers." >&5
9211 echo "$as_me: error: Could not find the $withval library. You must first install tcp_wrappers." >&2;}
9212 { (exit 1); exit 1; }; }
9214 rm -f conftest.err conftest.$ac_objext \
9215 conftest$ac_exeext conftest.$ac_ext
9219 echo "$as_me:$LINENO: result: no" >&5
9220 echo "${ECHO_T}no" >&6
9226 for ac_header in stdlib.h unistd.h
9228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9230 echo "$as_me:$LINENO: checking for $ac_header" >&5
9231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9238 # Is the header compilable?
9239 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9241 cat >conftest.$ac_ext <<_ACEOF
9244 cat confdefs.h >>conftest.$ac_ext
9245 cat >>conftest.$ac_ext <<_ACEOF
9246 /* end confdefs.h. */
9247 $ac_includes_default
9248 #include <$ac_header>
9250 rm -f conftest.$ac_objext
9251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9252 (eval $ac_compile) 2>conftest.er1
9254 grep -v '^ *+' conftest.er1 >conftest.err
9256 cat conftest.err >&5
9257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258 (exit $ac_status); } &&
9259 { ac_try='test -z "$ac_c_werror_flag"
9260 || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try='test -s conftest.$ac_objext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9272 ac_header_compiler=yes
9274 echo "$as_me: failed program was:" >&5
9275 sed 's/^/| /' conftest.$ac_ext >&5
9277 ac_header_compiler=no
9279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9281 echo "${ECHO_T}$ac_header_compiler" >&6
9283 # Is the header present?
9284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9286 cat >conftest.$ac_ext <<_ACEOF
9289 cat confdefs.h >>conftest.$ac_ext
9290 cat >>conftest.$ac_ext <<_ACEOF
9291 /* end confdefs.h. */
9292 #include <$ac_header>
9294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9295 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9297 grep -v '^ *+' conftest.er1 >conftest.err
9299 cat conftest.err >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } >/dev/null; then
9302 if test -s conftest.err; then
9303 ac_cpp_err=$ac_c_preproc_warn_flag
9304 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9311 if test -z "$ac_cpp_err"; then
9312 ac_header_preproc=yes
9314 echo "$as_me: failed program was:" >&5
9315 sed 's/^/| /' conftest.$ac_ext >&5
9317 ac_header_preproc=no
9319 rm -f conftest.err conftest.$ac_ext
9320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9321 echo "${ECHO_T}$ac_header_preproc" >&6
9323 # So? What about this header?
9324 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9329 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9330 ac_header_preproc=yes
9333 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9334 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9335 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9336 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9337 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9338 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9339 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9340 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9341 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9342 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9343 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9344 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9347 ## ------------------------------------------ ##
9348 ## Report this to the AC_PACKAGE_NAME lists. ##
9349 ## ------------------------------------------ ##
9352 sed "s/^/$as_me: WARNING: /" >&2
9355 echo "$as_me:$LINENO: checking for $ac_header" >&5
9356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 eval "$as_ac_Header=\$ac_header_preproc"
9362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9367 cat >>confdefs.h <<_ACEOF
9368 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9376 for ac_func in getpagesize
9378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9379 echo "$as_me:$LINENO: checking for $ac_func" >&5
9380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9381 if eval "test \"\${$as_ac_var+set}\" = set"; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9384 cat >conftest.$ac_ext <<_ACEOF
9387 cat confdefs.h >>conftest.$ac_ext
9388 cat >>conftest.$ac_ext <<_ACEOF
9389 /* end confdefs.h. */
9390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9392 #define $ac_func innocuous_$ac_func
9394 /* System header to define __stub macros and hopefully few prototypes,
9395 which can conflict with char $ac_func (); below.
9396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9397 <limits.h> exists even on freestanding compilers. */
9400 # include <limits.h>
9402 # include <assert.h>
9407 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */
9415 /* The GNU C library defines this for functions which it implements
9416 to always fail with ENOSYS. Some functions are actually named
9417 something starting with __ and the normal name is an alias. */
9418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9421 char (*f) () = $ac_func;
9430 return f != $ac_func;
9435 rm -f conftest.$ac_objext conftest$ac_exeext
9436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9437 (eval $ac_link) 2>conftest.er1
9439 grep -v '^ *+' conftest.er1 >conftest.err
9441 cat conftest.err >&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); } &&
9444 { ac_try='test -z "$ac_c_werror_flag"
9445 || test ! -s conftest.err'
9446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9450 (exit $ac_status); }; } &&
9451 { ac_try='test -s conftest$ac_exeext'
9452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9456 (exit $ac_status); }; }; then
9457 eval "$as_ac_var=yes"
9459 echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.$ac_ext >&5
9462 eval "$as_ac_var=no"
9464 rm -f conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9469 if test `eval echo '${'$as_ac_var'}'` = yes; then
9470 cat >>confdefs.h <<_ACEOF
9471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9477 echo "$as_me:$LINENO: checking for working mmap" >&5
9478 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9479 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9480 echo $ECHO_N "(cached) $ECHO_C" >&6
9482 if test "$cross_compiling" = yes; then
9483 ac_cv_func_mmap_fixed_mapped=no
9485 cat >conftest.$ac_ext <<_ACEOF
9488 cat confdefs.h >>conftest.$ac_ext
9489 cat >>conftest.$ac_ext <<_ACEOF
9490 /* end confdefs.h. */
9491 $ac_includes_default
9492 /* malloc might have been renamed as rpl_malloc. */
9495 /* Thanks to Mike Haertel and Jim Avera for this test.
9496 Here is a matrix of mmap possibilities:
9497 mmap private not fixed
9498 mmap private fixed at somewhere currently unmapped
9499 mmap private fixed at somewhere already mapped
9500 mmap shared not fixed
9501 mmap shared fixed at somewhere currently unmapped
9502 mmap shared fixed at somewhere already mapped
9503 For private mappings, we should verify that changes cannot be read()
9504 back from the file, nor mmap's back from the file at a different
9505 address. (There have been systems where private was not correctly
9506 implemented like the infamous i386 svr4.0, and systems where the
9507 VM page cache was not coherent with the file system buffer cache
9508 like early versions of FreeBSD and possibly contemporary NetBSD.)
9509 For shared mappings, we should conversely verify that changes get
9510 propagated back to all the places they're supposed to be.
9512 Grep wants private fixed already mapped.
9513 The main things grep needs to know about mmap are:
9514 * does it exist and is it safe to write into the mmap'd area
9515 * how to use it (BSD variants) */
9518 #include <sys/mman.h>
9520 #if !STDC_HEADERS && !HAVE_STDLIB_H
9524 /* This mess was copied from the GNU getpagesize.h. */
9525 #if !HAVE_GETPAGESIZE
9526 /* Assume that all systems that can run configure have sys/param.h. */
9527 # if !HAVE_SYS_PARAM_H
9528 # define HAVE_SYS_PARAM_H 1
9531 # ifdef _SC_PAGESIZE
9532 # define getpagesize() sysconf(_SC_PAGESIZE)
9533 # else /* no _SC_PAGESIZE */
9534 # if HAVE_SYS_PARAM_H
9535 # include <sys/param.h>
9536 # ifdef EXEC_PAGESIZE
9537 # define getpagesize() EXEC_PAGESIZE
9538 # else /* no EXEC_PAGESIZE */
9540 # define getpagesize() NBPG * CLSIZE
9543 # endif /* no CLSIZE */
9544 # else /* no NBPG */
9546 # define getpagesize() NBPC
9547 # else /* no NBPC */
9549 # define getpagesize() PAGESIZE
9550 # endif /* PAGESIZE */
9551 # endif /* no NBPC */
9552 # endif /* no NBPG */
9553 # endif /* no EXEC_PAGESIZE */
9554 # else /* no HAVE_SYS_PARAM_H */
9555 # define getpagesize() 8192 /* punt totally */
9556 # endif /* no HAVE_SYS_PARAM_H */
9557 # endif /* no _SC_PAGESIZE */
9559 #endif /* no HAVE_GETPAGESIZE */
9564 char *data, *data2, *data3;
9568 pagesize = getpagesize ();
9570 /* First, make a file with some known garbage in it. */
9571 data = (char *) malloc (pagesize);
9574 for (i = 0; i < pagesize; ++i)
9575 *(data + i) = rand ();
9577 fd = creat ("conftest.mmap", 0600);
9580 if (write (fd, data, pagesize) != pagesize)
9584 /* Next, try to mmap the file at a fixed address which already has
9585 something else allocated at it. If we can, also make sure that
9586 we see the same garbage. */
9587 fd = open ("conftest.mmap", O_RDWR);
9590 data2 = (char *) malloc (2 * pagesize);
9593 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9594 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9595 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9597 for (i = 0; i < pagesize; ++i)
9598 if (*(data + i) != *(data2 + i))
9601 /* Finally, make sure that changes to the mapped area do not
9602 percolate back to the file as seen by read(). (This is a bug on
9603 some variants of i386 svr4.0.) */
9604 for (i = 0; i < pagesize; ++i)
9605 *(data2 + i) = *(data2 + i) + 1;
9606 data3 = (char *) malloc (pagesize);
9609 if (read (fd, data3, pagesize) != pagesize)
9611 for (i = 0; i < pagesize; ++i)
9612 if (*(data + i) != *(data3 + i))
9618 rm -f conftest$ac_exeext
9619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9620 (eval $ac_link) 2>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); }; }; then
9629 ac_cv_func_mmap_fixed_mapped=yes
9631 echo "$as_me: program exited with status $ac_status" >&5
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9636 ac_cv_func_mmap_fixed_mapped=no
9638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9641 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9642 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9643 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9645 cat >>confdefs.h <<\_ACEOF
9654 for ac_func in isatty
9656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9657 echo "$as_me:$LINENO: checking for $ac_func" >&5
9658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9659 if eval "test \"\${$as_ac_var+set}\" = set"; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 cat >conftest.$ac_ext <<_ACEOF
9665 cat confdefs.h >>conftest.$ac_ext
9666 cat >>conftest.$ac_ext <<_ACEOF
9667 /* end confdefs.h. */
9668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9670 #define $ac_func innocuous_$ac_func
9672 /* System header to define __stub macros and hopefully few prototypes,
9673 which can conflict with char $ac_func (); below.
9674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9675 <limits.h> exists even on freestanding compilers. */
9678 # include <limits.h>
9680 # include <assert.h>
9685 /* Override any gcc2 internal prototype to avoid an error. */
9690 /* We use char because int might match the return type of a gcc2
9691 builtin and then its argument prototype would still apply. */
9693 /* The GNU C library defines this for functions which it implements
9694 to always fail with ENOSYS. Some functions are actually named
9695 something starting with __ and the normal name is an alias. */
9696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9699 char (*f) () = $ac_func;
9708 return f != $ac_func;
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9715 (eval $ac_link) 2>conftest.er1
9717 grep -v '^ *+' conftest.er1 >conftest.err
9719 cat conftest.err >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); } &&
9722 { ac_try='test -z "$ac_c_werror_flag"
9723 || test ! -s conftest.err'
9724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; } &&
9729 { ac_try='test -s conftest$ac_exeext'
9730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9734 (exit $ac_status); }; }; then
9735 eval "$as_ac_var=yes"
9737 echo "$as_me: failed program was:" >&5
9738 sed 's/^/| /' conftest.$ac_ext >&5
9740 eval "$as_ac_var=no"
9742 rm -f conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9747 if test `eval echo '${'$as_ac_var'}'` = yes; then
9748 cat >>confdefs.h <<_ACEOF
9749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9756 for ac_func in memcpy
9758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9759 echo "$as_me:$LINENO: checking for $ac_func" >&5
9760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9761 if eval "test \"\${$as_ac_var+set}\" = set"; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 cat >conftest.$ac_ext <<_ACEOF
9767 cat confdefs.h >>conftest.$ac_ext
9768 cat >>conftest.$ac_ext <<_ACEOF
9769 /* end confdefs.h. */
9770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9772 #define $ac_func innocuous_$ac_func
9774 /* System header to define __stub macros and hopefully few prototypes,
9775 which can conflict with char $ac_func (); below.
9776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9777 <limits.h> exists even on freestanding compilers. */
9780 # include <limits.h>
9782 # include <assert.h>
9787 /* Override any gcc2 internal prototype to avoid an error. */
9792 /* We use char because int might match the return type of a gcc2
9793 builtin and then its argument prototype would still apply. */
9795 /* The GNU C library defines this for functions which it implements
9796 to always fail with ENOSYS. Some functions are actually named
9797 something starting with __ and the normal name is an alias. */
9798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9801 char (*f) () = $ac_func;
9810 return f != $ac_func;
9815 rm -f conftest.$ac_objext conftest$ac_exeext
9816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9817 (eval $ac_link) 2>conftest.er1
9819 grep -v '^ *+' conftest.er1 >conftest.err
9821 cat conftest.err >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } &&
9824 { ac_try='test -z "$ac_c_werror_flag"
9825 || test ! -s conftest.err'
9826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9830 (exit $ac_status); }; } &&
9831 { ac_try='test -s conftest$ac_exeext'
9832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); }; }; then
9837 eval "$as_ac_var=yes"
9839 echo "$as_me: failed program was:" >&5
9840 sed 's/^/| /' conftest.$ac_ext >&5
9842 eval "$as_ac_var=no"
9844 rm -f conftest.err conftest.$ac_objext \
9845 conftest$ac_exeext conftest.$ac_ext
9847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9849 if test `eval echo '${'$as_ac_var'}'` = yes; then
9850 cat >>confdefs.h <<_ACEOF
9851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9858 for ac_func in waitpid
9860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9861 echo "$as_me:$LINENO: checking for $ac_func" >&5
9862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9863 if eval "test \"\${$as_ac_var+set}\" = set"; then
9864 echo $ECHO_N "(cached) $ECHO_C" >&6
9866 cat >conftest.$ac_ext <<_ACEOF
9869 cat confdefs.h >>conftest.$ac_ext
9870 cat >>conftest.$ac_ext <<_ACEOF
9871 /* end confdefs.h. */
9872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9874 #define $ac_func innocuous_$ac_func
9876 /* System header to define __stub macros and hopefully few prototypes,
9877 which can conflict with char $ac_func (); below.
9878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9879 <limits.h> exists even on freestanding compilers. */
9882 # include <limits.h>
9884 # include <assert.h>
9889 /* Override any gcc2 internal prototype to avoid an error. */
9894 /* We use char because int might match the return type of a gcc2
9895 builtin and then its argument prototype would still apply. */
9897 /* The GNU C library defines this for functions which it implements
9898 to always fail with ENOSYS. Some functions are actually named
9899 something starting with __ and the normal name is an alias. */
9900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9903 char (*f) () = $ac_func;
9912 return f != $ac_func;
9917 rm -f conftest.$ac_objext conftest$ac_exeext
9918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9919 (eval $ac_link) 2>conftest.er1
9921 grep -v '^ *+' conftest.er1 >conftest.err
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } &&
9926 { ac_try='test -z "$ac_c_werror_flag"
9927 || test ! -s conftest.err'
9928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9932 (exit $ac_status); }; } &&
9933 { ac_try='test -s conftest$ac_exeext'
9934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); }; }; then
9939 eval "$as_ac_var=yes"
9941 echo "$as_me: failed program was:" >&5
9942 sed 's/^/| /' conftest.$ac_ext >&5
9944 eval "$as_ac_var=no"
9946 rm -f conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9951 if test `eval echo '${'$as_ac_var'}'` = yes; then
9952 cat >>confdefs.h <<_ACEOF
9953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9960 for ac_func in sigvec
9962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9963 echo "$as_me:$LINENO: checking for $ac_func" >&5
9964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9965 if eval "test \"\${$as_ac_var+set}\" = set"; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 cat >conftest.$ac_ext <<_ACEOF
9971 cat confdefs.h >>conftest.$ac_ext
9972 cat >>conftest.$ac_ext <<_ACEOF
9973 /* end confdefs.h. */
9974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9976 #define $ac_func innocuous_$ac_func
9978 /* System header to define __stub macros and hopefully few prototypes,
9979 which can conflict with char $ac_func (); below.
9980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9981 <limits.h> exists even on freestanding compilers. */
9984 # include <limits.h>
9986 # include <assert.h>
9991 /* Override any gcc2 internal prototype to avoid an error. */
9996 /* We use char because int might match the return type of a gcc2
9997 builtin and then its argument prototype would still apply. */
9999 /* The GNU C library defines this for functions which it implements
10000 to always fail with ENOSYS. Some functions are actually named
10001 something starting with __ and the normal name is an alias. */
10002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10005 char (*f) () = $ac_func;
10014 return f != $ac_func;
10019 rm -f conftest.$ac_objext conftest$ac_exeext
10020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10021 (eval $ac_link) 2>conftest.er1
10023 grep -v '^ *+' conftest.er1 >conftest.err
10025 cat conftest.err >&5
10026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10027 (exit $ac_status); } &&
10028 { ac_try='test -z "$ac_c_werror_flag"
10029 || test ! -s conftest.err'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; } &&
10035 { ac_try='test -s conftest$ac_exeext'
10036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10037 (eval $ac_try) 2>&5
10039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10040 (exit $ac_status); }; }; then
10041 eval "$as_ac_var=yes"
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.$ac_ext >&5
10046 eval "$as_ac_var=no"
10048 rm -f conftest.err conftest.$ac_objext \
10049 conftest$ac_exeext conftest.$ac_ext
10051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10053 if test `eval echo '${'$as_ac_var'}'` = yes; then
10054 cat >>confdefs.h <<_ACEOF
10055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10062 for ac_func in setsid
10064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10065 echo "$as_me:$LINENO: checking for $ac_func" >&5
10066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10067 if eval "test \"\${$as_ac_var+set}\" = set"; then
10068 echo $ECHO_N "(cached) $ECHO_C" >&6
10070 cat >conftest.$ac_ext <<_ACEOF
10073 cat confdefs.h >>conftest.$ac_ext
10074 cat >>conftest.$ac_ext <<_ACEOF
10075 /* end confdefs.h. */
10076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10078 #define $ac_func innocuous_$ac_func
10080 /* System header to define __stub macros and hopefully few prototypes,
10081 which can conflict with char $ac_func (); below.
10082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10083 <limits.h> exists even on freestanding compilers. */
10086 # include <limits.h>
10088 # include <assert.h>
10093 /* Override any gcc2 internal prototype to avoid an error. */
10098 /* We use char because int might match the return type of a gcc2
10099 builtin and then its argument prototype would still apply. */
10101 /* The GNU C library defines this for functions which it implements
10102 to always fail with ENOSYS. Some functions are actually named
10103 something starting with __ and the normal name is an alias. */
10104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10107 char (*f) () = $ac_func;
10116 return f != $ac_func;
10121 rm -f conftest.$ac_objext conftest$ac_exeext
10122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10123 (eval $ac_link) 2>conftest.er1
10125 grep -v '^ *+' conftest.er1 >conftest.err
10127 cat conftest.err >&5
10128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129 (exit $ac_status); } &&
10130 { ac_try='test -z "$ac_c_werror_flag"
10131 || test ! -s conftest.err'
10132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10133 (eval $ac_try) 2>&5
10135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10136 (exit $ac_status); }; } &&
10137 { ac_try='test -s conftest$ac_exeext'
10138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10139 (eval $ac_try) 2>&5
10141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10142 (exit $ac_status); }; }; then
10143 eval "$as_ac_var=yes"
10145 echo "$as_me: failed program was:" >&5
10146 sed 's/^/| /' conftest.$ac_ext >&5
10148 eval "$as_ac_var=no"
10150 rm -f conftest.err conftest.$ac_objext \
10151 conftest$ac_exeext conftest.$ac_ext
10153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10155 if test `eval echo '${'$as_ac_var'}'` = yes; then
10156 cat >>confdefs.h <<_ACEOF
10157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10164 for ac_func in strftime
10166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10167 echo "$as_me:$LINENO: checking for $ac_func" >&5
10168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10169 if eval "test \"\${$as_ac_var+set}\" = set"; then
10170 echo $ECHO_N "(cached) $ECHO_C" >&6
10172 cat >conftest.$ac_ext <<_ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10180 #define $ac_func innocuous_$ac_func
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char $ac_func (); below.
10184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10185 <limits.h> exists even on freestanding compilers. */
10188 # include <limits.h>
10190 # include <assert.h>
10195 /* Override any gcc2 internal prototype to avoid an error. */
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10203 /* The GNU C library defines this for functions which it implements
10204 to always fail with ENOSYS. Some functions are actually named
10205 something starting with __ and the normal name is an alias. */
10206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10209 char (*f) () = $ac_func;
10218 return f != $ac_func;
10223 rm -f conftest.$ac_objext conftest$ac_exeext
10224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10225 (eval $ac_link) 2>conftest.er1
10227 grep -v '^ *+' conftest.er1 >conftest.err
10229 cat conftest.err >&5
10230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10231 (exit $ac_status); } &&
10232 { ac_try='test -z "$ac_c_werror_flag"
10233 || test ! -s conftest.err'
10234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235 (eval $ac_try) 2>&5
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; } &&
10239 { ac_try='test -s conftest$ac_exeext'
10240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10241 (eval $ac_try) 2>&5
10243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10244 (exit $ac_status); }; }; then
10245 eval "$as_ac_var=yes"
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.$ac_ext >&5
10250 eval "$as_ac_var=no"
10252 rm -f conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10257 if test `eval echo '${'$as_ac_var'}'` = yes; then
10258 cat >>confdefs.h <<_ACEOF
10259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10266 # AC_CHECK_TYPE(R_OK,4)
10269 mkdir -p libs/src/misc
10270 mkdir -p libs/src/pset
10271 mkdir -p libs/src/sio
10272 mkdir -p libs/src/str
10273 mkdir -p libs/src/xlog
10274 mkdir -p libs/include
10278 ac_config_headers="$ac_config_headers config.h"
10280 ac_config_files="$ac_config_files Makefile libs/src/misc/Makefile libs/src/pset/Makefile libs/src/sio/Makefile libs/src/str/Makefile libs/src/xlog/Makefile libs/src/portable/Makefile xinetd/Makefile"
10281 cat >confcache <<\_ACEOF
10282 # This file is a shell script that caches the results of configure
10283 # tests run on this system so they can be shared between configure
10284 # scripts and configure runs, see configure's option --config-cache.
10285 # It is not useful on other systems. If it contains results you don't
10286 # want to keep, you may remove or edit it.
10288 # config.status only pays attention to the cache file if you give it
10289 # the --recheck option to rerun configure.
10291 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10292 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10293 # following values.
10297 # The following way of writing the cache mishandles newlines in values,
10298 # but we know of no workaround that is simple, portable, and efficient.
10299 # So, don't put newlines in cache variables' values.
10300 # Ultrix sh set writes to stderr and can't be redirected directly,
10301 # and sets the high bit in the cache file unless we assign to the vars.
10304 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10306 # `set' does not quote correctly, so add quotes (double-quote
10307 # substitution turns \\\\ into \\, and sed turns \\ into \).
10310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10313 # `set' quotes correctly as required by POSIX, so do not add quotes.
10315 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10322 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10324 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10326 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10327 if test -w $cache_file; then
10328 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10329 cat confcache >$cache_file
10331 echo "not updating unwritable cache $cache_file"
10336 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10337 # Let make expand exec_prefix.
10338 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10340 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10341 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10342 # trailing colons and then remove the whole line if VPATH becomes empty
10343 # (actually we leave an empty line to preserve line numbers).
10344 if test "x$srcdir" = x.; then
10345 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10346 s/:*\$(srcdir):*/:/;
10347 s/:*\${srcdir}:*/:/;
10349 s/^\([^=]*=[ ]*\):*/\1/;
10355 DEFS=-DHAVE_CONFIG_H
10359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10360 # 1. Remove the extension, and $U if already installed.
10361 ac_i=`echo "$ac_i" |
10362 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10364 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10365 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10367 LIBOBJS=$ac_libobjs
10369 LTLIBOBJS=$ac_ltlibobjs
10373 : ${CONFIG_STATUS=./config.status}
10374 ac_clean_files_save=$ac_clean_files
10375 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10376 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10377 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10378 cat >$CONFIG_STATUS <<_ACEOF
10380 # Generated by $as_me.
10381 # Run this file to recreate the current configuration.
10382 # Compiler output produced by configure, useful for debugging
10383 # configure, is in config.log if it exists.
10386 ac_cs_recheck=false
10388 SHELL=\${CONFIG_SHELL-$SHELL}
10391 cat >>$CONFIG_STATUS <<\_ACEOF
10392 ## --------------------- ##
10393 ## M4sh Initialization. ##
10394 ## --------------------- ##
10396 # Be Bourne compatible
10397 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10400 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10401 # is contrary to our usage. Disable this feature.
10402 alias -g '${1+"$@"}'='"$@"'
10403 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10406 DUALCASE=1; export DUALCASE # for MKS sh
10408 # Support unset when possible.
10409 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10416 # Work around bugs in pre-3.0 UWIN ksh.
10417 $as_unset ENV MAIL MAILPATH
10424 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10425 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10426 LC_TELEPHONE LC_TIME
10428 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10429 eval $as_var=C; export $as_var
10435 # Required to use basename.
10436 if expr a : '\(a\)' >/dev/null 2>&1; then
10442 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10443 as_basename=basename
10449 # Name of the executable.
10450 as_me=`$as_basename "$0" ||
10451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10452 X"$0" : 'X\(//\)$' \| \
10453 X"$0" : 'X\(/\)$' \| \
10454 . : '\(.\)' 2>/dev/null ||
10456 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10457 /^X\/\(\/\/\)$/{ s//\1/; q; }
10458 /^X\/\(\/\).*/{ s//\1/; q; }
10462 # PATH needs CR, and LINENO needs CR and PATH.
10463 # Avoid depending upon Character Ranges.
10464 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10465 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10466 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10467 as_cr_digits='0123456789'
10468 as_cr_alnum=$as_cr_Letters$as_cr_digits
10470 # The user is always right.
10471 if test "${PATH_SEPARATOR+set}" != set; then
10472 echo "#! /bin/sh" >conf$$.sh
10473 echo "exit 0" >>conf$$.sh
10475 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10484 as_lineno_1=$LINENO
10485 as_lineno_2=$LINENO
10486 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10487 test "x$as_lineno_1" != "x$as_lineno_2" &&
10488 test "x$as_lineno_3" = "x$as_lineno_2" || {
10489 # Find who we are. Look in the path if we contain no path at all
10492 *[\\/]* ) as_myself=$0 ;;
10493 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10494 for as_dir in $PATH
10497 test -z "$as_dir" && as_dir=.
10498 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10503 # We did not find ourselves, most probably we were run as `sh COMMAND'
10504 # in which case we are not to be found in the path.
10505 if test "x$as_myself" = x; then
10508 if test ! -f "$as_myself"; then
10509 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10510 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10511 { (exit 1); exit 1; }; }
10513 case $CONFIG_SHELL in
10515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10516 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10519 test -z "$as_dir" && as_dir=.
10520 for as_base in sh bash ksh sh5; do
10523 if ("$as_dir/$as_base" -c '
10524 as_lineno_1=$LINENO
10525 as_lineno_2=$LINENO
10526 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10527 test "x$as_lineno_1" != "x$as_lineno_2" &&
10528 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
10529 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10530 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10531 CONFIG_SHELL=$as_dir/$as_base
10532 export CONFIG_SHELL
10533 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10541 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10542 # uniformly replaced by the line number. The first 'sed' inserts a
10543 # line-number line before each line; the second 'sed' does the real
10544 # work. The second script uses 'N' to pair each line-number line
10545 # with the numbered line, and appends trailing '-' during
10546 # substitution so that $LINENO is not a special case at line end.
10547 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10548 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10549 sed '=' <$as_myself |
10554 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10557 s,^['$as_cr_digits']*\n,,
10558 ' >$as_me.lineno &&
10559 chmod +x $as_me.lineno ||
10560 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10561 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10562 { (exit 1); exit 1; }; }
10564 # Don't try to exec as it changes $[0], causing all sort of problems
10565 # (the dirname of $[0] is not the place where we might find the
10566 # original and so on. Autoconf is especially sensible to this).
10568 # Exit status is that of the last command.
10573 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10574 *c*,-n*) ECHO_N= ECHO_C='
10576 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10577 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
10580 if expr a : '\(a\)' >/dev/null 2>&1; then
10586 rm -f conf$$ conf$$.exe conf$$.file
10588 if ln -s conf$$.file conf$$ 2>/dev/null; then
10589 # We could just check for DJGPP; but this test a) works b) is more generic
10590 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10591 if test -f conf$$.exe; then
10592 # Don't use ln at all; we don't have any links
10597 elif ln conf$$.file conf$$ 2>/dev/null; then
10602 rm -f conf$$ conf$$.exe conf$$.file
10604 if mkdir -p . 2>/dev/null; then
10607 test -d ./-p && rmdir ./-p
10611 as_executable_p="test -f"
10613 # Sed expression to map a string onto a valid CPP name.
10614 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10616 # Sed expression to map a string onto a valid variable name.
10617 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10621 # We need space, tab and new line, in precisely that order.
10631 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10632 # report actual input values of CONFIG_FILES etc. instead of their
10633 # values after options handling. Logging --version etc. is OK.
10637 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10638 ## Running $as_me. ##
10643 This file was extended by $as_me, which was
10644 generated by GNU Autoconf 2.59. Invocation command line was
10646 CONFIG_FILES = $CONFIG_FILES
10647 CONFIG_HEADERS = $CONFIG_HEADERS
10648 CONFIG_LINKS = $CONFIG_LINKS
10649 CONFIG_COMMANDS = $CONFIG_COMMANDS
10653 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10657 # Files that config.status was made for.
10658 if test -n "$ac_config_files"; then
10659 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10662 if test -n "$ac_config_headers"; then
10663 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10666 if test -n "$ac_config_links"; then
10667 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10670 if test -n "$ac_config_commands"; then
10671 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10674 cat >>$CONFIG_STATUS <<\_ACEOF
10677 \`$as_me' instantiates files from templates according to the
10678 current configuration.
10680 Usage: $0 [OPTIONS] [FILE]...
10682 -h, --help print this help, then exit
10683 -V, --version print version number, then exit
10684 -q, --quiet do not print progress messages
10685 -d, --debug don't remove temporary files
10686 --recheck update $as_me by reconfiguring in the same conditions
10687 --file=FILE[:TEMPLATE]
10688 instantiate the configuration file FILE
10689 --header=FILE[:TEMPLATE]
10690 instantiate the configuration header FILE
10692 Configuration files:
10695 Configuration headers:
10698 Report bugs to <bug-autoconf@gnu.org>."
10701 cat >>$CONFIG_STATUS <<_ACEOF
10704 configured by $0, generated by GNU Autoconf 2.59,
10705 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10707 Copyright (C) 2003 Free Software Foundation, Inc.
10708 This config.status script is free software; the Free Software Foundation
10709 gives unlimited permission to copy, distribute and modify it."
10714 cat >>$CONFIG_STATUS <<\_ACEOF
10715 # If no file are specified by the user, then we need to provide default
10716 # value. By we need to know if files were specified by the user.
10722 ac_option=`expr "x$1" : 'x\([^=]*\)='`
10723 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10731 *) # This is not an option, so the user has probably given explicit
10734 ac_need_defaults=false;;
10738 # Handling of the options.
10740 cat >>$CONFIG_STATUS <<\_ACEOF
10741 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10743 --version | --vers* | -V )
10744 echo "$ac_cs_version"; exit 0 ;;
10746 # Conflict between --help and --header
10747 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10748 Try \`$0 --help' for more information." >&5
10749 echo "$as_me: error: ambiguous option: $1
10750 Try \`$0 --help' for more information." >&2;}
10751 { (exit 1); exit 1; }; };;
10752 --help | --hel | -h )
10753 echo "$ac_cs_usage"; exit 0 ;;
10754 --debug | --d* | -d )
10756 --file | --fil | --fi | --f )
10758 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10759 ac_need_defaults=false;;
10760 --header | --heade | --head | --hea )
10762 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10763 ac_need_defaults=false;;
10764 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10765 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10768 # This is an error.
10769 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10770 Try \`$0 --help' for more information." >&5
10771 echo "$as_me: error: unrecognized option: $1
10772 Try \`$0 --help' for more information." >&2;}
10773 { (exit 1); exit 1; }; } ;;
10775 *) ac_config_targets="$ac_config_targets $1" ;;
10781 ac_configure_extra_args=
10783 if $ac_cs_silent; then
10785 ac_configure_extra_args="$ac_configure_extra_args --silent"
10789 cat >>$CONFIG_STATUS <<_ACEOF
10790 if \$ac_cs_recheck; then
10791 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10792 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10801 cat >>$CONFIG_STATUS <<\_ACEOF
10802 for ac_config_target in $ac_config_targets
10804 case "$ac_config_target" in
10805 # Handling of arguments.
10806 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10807 "libs/src/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/misc/Makefile" ;;
10808 "libs/src/pset/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/pset/Makefile" ;;
10809 "libs/src/sio/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/sio/Makefile" ;;
10810 "libs/src/str/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/str/Makefile" ;;
10811 "libs/src/xlog/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/xlog/Makefile" ;;
10812 "libs/src/portable/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/src/portable/Makefile" ;;
10813 "xinetd/Makefile" ) CONFIG_FILES="$CONFIG_FILES xinetd/Makefile" ;;
10814 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10815 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10816 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10817 { (exit 1); exit 1; }; };;
10821 # If the user did not use the arguments to specify the items to instantiate,
10822 # then the envvar interface is used. Set only those that are not.
10823 # We use the long form for the default assignment because of an extremely
10824 # bizarre bug on SunOS 4.1.3.
10825 if $ac_need_defaults; then
10826 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10827 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10830 # Have a temporary directory for convenience. Make it in the build tree
10831 # simply because there is no reason to put it here, and in addition,
10832 # creating and moving files from /tmp can sometimes cause problems.
10833 # Create a temporary directory, and hook for its removal unless debugging.
10836 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10837 trap '{ (exit 1); exit 1; }' 1 2 13 15
10840 # Create a (secure) tmp directory for tmp files.
10843 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10844 test -n "$tmp" && test -d "$tmp"
10847 tmp=./confstat$$-$RANDOM
10848 (umask 077 && mkdir $tmp)
10851 echo "$me: cannot create a temporary directory in ." >&2
10852 { (exit 1); exit 1; }
10857 cat >>$CONFIG_STATUS <<_ACEOF
10860 # CONFIG_FILES section.
10863 # No need to generate the scripts if there are no CONFIG_FILES.
10864 # This happens for instance when ./config.status config.h
10865 if test -n "\$CONFIG_FILES"; then
10866 # Protect against being on the right side of a sed subst in config.status.
10867 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10868 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10869 s,@SHELL@,$SHELL,;t t
10870 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10871 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10872 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10873 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10874 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10875 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10876 s,@exec_prefix@,$exec_prefix,;t t
10877 s,@prefix@,$prefix,;t t
10878 s,@program_transform_name@,$program_transform_name,;t t
10879 s,@bindir@,$bindir,;t t
10880 s,@sbindir@,$sbindir,;t t
10881 s,@libexecdir@,$libexecdir,;t t
10882 s,@datadir@,$datadir,;t t
10883 s,@sysconfdir@,$sysconfdir,;t t
10884 s,@sharedstatedir@,$sharedstatedir,;t t
10885 s,@localstatedir@,$localstatedir,;t t
10886 s,@libdir@,$libdir,;t t
10887 s,@includedir@,$includedir,;t t
10888 s,@oldincludedir@,$oldincludedir,;t t
10889 s,@infodir@,$infodir,;t t
10890 s,@mandir@,$mandir,;t t
10891 s,@build_alias@,$build_alias,;t t
10892 s,@host_alias@,$host_alias,;t t
10893 s,@target_alias@,$target_alias,;t t
10894 s,@DEFS@,$DEFS,;t t
10895 s,@ECHO_C@,$ECHO_C,;t t
10896 s,@ECHO_N@,$ECHO_N,;t t
10897 s,@ECHO_T@,$ECHO_T,;t t
10898 s,@LIBS@,$LIBS,;t t
10899 s,@build@,$build,;t t
10900 s,@build_cpu@,$build_cpu,;t t
10901 s,@build_vendor@,$build_vendor,;t t
10902 s,@build_os@,$build_os,;t t
10903 s,@host@,$host,;t t
10904 s,@host_cpu@,$host_cpu,;t t
10905 s,@host_vendor@,$host_vendor,;t t
10906 s,@host_os@,$host_os,;t t
10907 s,@target@,$target,;t t
10908 s,@target_cpu@,$target_cpu,;t t
10909 s,@target_vendor@,$target_vendor,;t t
10910 s,@target_os@,$target_os,;t t
10912 s,@CFLAGS@,$CFLAGS,;t t
10913 s,@LDFLAGS@,$LDFLAGS,;t t
10914 s,@CPPFLAGS@,$CPPFLAGS,;t t
10915 s,@ac_ct_CC@,$ac_ct_CC,;t t
10916 s,@EXEEXT@,$EXEEXT,;t t
10917 s,@OBJEXT@,$OBJEXT,;t t
10918 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10919 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10920 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10921 s,@RANLIB@,$RANLIB,;t t
10922 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
10924 s,@EGREP@,$EGREP,;t t
10925 s,@LIBOBJS@,$LIBOBJS,;t t
10926 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10931 cat >>$CONFIG_STATUS <<\_ACEOF
10932 # Split the substitutions into bite-sized pieces for seds with
10933 # small command number limits, like on Digital OSF/1 and HP-UX.
10934 ac_max_sed_lines=48
10935 ac_sed_frag=1 # Number of current file.
10936 ac_beg=1 # First line for current file.
10937 ac_end=$ac_max_sed_lines # Line after last line for current file.
10940 while $ac_more_lines; do
10941 if test $ac_beg -gt 1; then
10942 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10944 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10946 if test ! -s $tmp/subs.frag; then
10947 ac_more_lines=false
10949 # The purpose of the label and of the branching condition is to
10950 # speed up the sed processing (if there are no `@' at all, there
10951 # is no need to browse any of the substitutions).
10952 # These are the two extra sed commands mentioned above.
10954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10955 if test -z "$ac_sed_cmds"; then
10956 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10958 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10960 ac_sed_frag=`expr $ac_sed_frag + 1`
10962 ac_end=`expr $ac_end + $ac_max_sed_lines`
10965 if test -z "$ac_sed_cmds"; then
10968 fi # test -n "$CONFIG_FILES"
10971 cat >>$CONFIG_STATUS <<\_ACEOF
10972 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10973 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10975 - | *:- | *:-:* ) # input from stdin
10977 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10978 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10979 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10980 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10981 * ) ac_file_in=$ac_file.in ;;
10984 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10985 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10986 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10987 X"$ac_file" : 'X\(//\)[^/]' \| \
10988 X"$ac_file" : 'X\(//\)$' \| \
10989 X"$ac_file" : 'X\(/\)' \| \
10990 . : '\(.\)' 2>/dev/null ||
10992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10994 /^X\(\/\/\)$/{ s//\1/; q; }
10995 /^X\(\/\).*/{ s//\1/; q; }
10997 { if $as_mkdir_p; then
11002 while test ! -d "$as_dir"; do
11003 as_dirs="$as_dir $as_dirs"
11004 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11006 X"$as_dir" : 'X\(//\)[^/]' \| \
11007 X"$as_dir" : 'X\(//\)$' \| \
11008 X"$as_dir" : 'X\(/\)' \| \
11009 . : '\(.\)' 2>/dev/null ||
11011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11013 /^X\(\/\/\)$/{ s//\1/; q; }
11014 /^X\(\/\).*/{ s//\1/; q; }
11017 test ! -n "$as_dirs" || mkdir $as_dirs
11018 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11019 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11020 { (exit 1); exit 1; }; }; }
11024 if test "$ac_dir" != .; then
11025 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11026 # A "../" for each directory in $ac_dir_suffix.
11027 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11029 ac_dir_suffix= ac_top_builddir=
11033 .) # No --srcdir option. We are building in place.
11035 if test -z "$ac_top_builddir"; then
11038 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11040 [\\/]* | ?:[\\/]* ) # Absolute path.
11041 ac_srcdir=$srcdir$ac_dir_suffix;
11042 ac_top_srcdir=$srcdir ;;
11043 *) # Relative path.
11044 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11045 ac_top_srcdir=$ac_top_builddir$srcdir ;;
11048 # Do not use `cd foo && pwd` to compute absolute paths, because
11049 # the directories may not exist.
11051 .) ac_abs_builddir="$ac_dir";;
11054 .) ac_abs_builddir=`pwd`;;
11055 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11056 *) ac_abs_builddir=`pwd`/"$ac_dir";;
11059 case $ac_abs_builddir in
11060 .) ac_abs_top_builddir=${ac_top_builddir}.;;
11062 case ${ac_top_builddir}. in
11063 .) ac_abs_top_builddir=$ac_abs_builddir;;
11064 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11065 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11068 case $ac_abs_builddir in
11069 .) ac_abs_srcdir=$ac_srcdir;;
11072 .) ac_abs_srcdir=$ac_abs_builddir;;
11073 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11074 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11077 case $ac_abs_builddir in
11078 .) ac_abs_top_srcdir=$ac_top_srcdir;;
11080 case $ac_top_srcdir in
11081 .) ac_abs_top_srcdir=$ac_abs_builddir;;
11082 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11083 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11089 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11090 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11093 if test x"$ac_file" != x-; then
11094 { echo "$as_me:$LINENO: creating $ac_file" >&5
11095 echo "$as_me: creating $ac_file" >&6;}
11098 # Let's still pretend it is `configure' which instantiates (i.e., don't
11099 # use $as_me), people would be surprised to read:
11100 # /* config.h. Generated by config.status. */
11101 if test x"$ac_file" = x-; then
11104 configure_input="$ac_file. "
11106 configure_input=$configure_input"Generated from `echo $ac_file_in |
11107 sed 's,.*/,,'` by configure."
11109 # First look for the input files in the build tree, otherwise in the
11111 ac_file_inputs=`IFS=:
11112 for f in $ac_file_in; do
11114 -) echo $tmp/stdin ;;
11116 # Absolute (can't be DOS-style, as IFS=:)
11117 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11118 echo "$as_me: error: cannot find input file: $f" >&2;}
11119 { (exit 1); exit 1; }; }
11122 if test -f "$f"; then
11125 elif test -f "$srcdir/$f"; then
11130 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11131 echo "$as_me: error: cannot find input file: $f" >&2;}
11132 { (exit 1); exit 1; }; }
11135 done` || { (exit 1); exit 1; }
11137 cat >>$CONFIG_STATUS <<_ACEOF
11141 cat >>$CONFIG_STATUS <<\_ACEOF
11143 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11144 s,@configure_input@,$configure_input,;t t
11145 s,@srcdir@,$ac_srcdir,;t t
11146 s,@abs_srcdir@,$ac_abs_srcdir,;t t
11147 s,@top_srcdir@,$ac_top_srcdir,;t t
11148 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11149 s,@builddir@,$ac_builddir,;t t
11150 s,@abs_builddir@,$ac_abs_builddir,;t t
11151 s,@top_builddir@,$ac_top_builddir,;t t
11152 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11153 s,@INSTALL@,$ac_INSTALL,;t t
11154 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11156 if test x"$ac_file" != x-; then
11157 mv $tmp/out $ac_file
11165 cat >>$CONFIG_STATUS <<\_ACEOF
11168 # CONFIG_HEADER section.
11171 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11172 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11174 # ac_d sets the value in "#define NAME VALUE" lines.
11175 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11176 ac_dB='[ ].*$,\1#\2'
11179 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11180 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11181 ac_uB='$,\1#\2define\3'
11185 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
11186 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11188 - | *:- | *:-:* ) # input from stdin
11190 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11191 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11192 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11193 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11194 * ) ac_file_in=$ac_file.in ;;
11197 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11198 echo "$as_me: creating $ac_file" >&6;}
11200 # First look for the input files in the build tree, otherwise in the
11202 ac_file_inputs=`IFS=:
11203 for f in $ac_file_in; do
11205 -) echo $tmp/stdin ;;
11207 # Absolute (can't be DOS-style, as IFS=:)
11208 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11209 echo "$as_me: error: cannot find input file: $f" >&2;}
11210 { (exit 1); exit 1; }; }
11211 # Do quote $f, to prevent DOS paths from being IFS'd.
11214 if test -f "$f"; then
11217 elif test -f "$srcdir/$f"; then
11222 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11223 echo "$as_me: error: cannot find input file: $f" >&2;}
11224 { (exit 1); exit 1; }; }
11227 done` || { (exit 1); exit 1; }
11228 # Remove the trailing spaces.
11229 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11233 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11234 # `conftest.undefs', that substitutes the proper values into
11235 # config.h.in to produce config.h. The first handles `#define'
11236 # templates, and the second `#undef' templates.
11237 # And first: Protect against being on the right side of a sed subst in
11238 # config.status. Protect against being in an unquoted here document
11239 # in config.status.
11240 rm -f conftest.defines conftest.undefs
11241 # Using a here document instead of a string reduces the quoting nightmare.
11242 # Putting comments in sed scripts is not portable.
11244 # `end' is used to avoid that the second main sed command (meant for
11245 # 0-ary CPP macros) applies to n-ary macro definitions.
11246 # See the Autoconf documentation for `clear'.
11247 cat >confdef2sed.sed <<\_ACEOF
11252 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11254 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11257 # If some macros were called several times there might be several times
11258 # the same #defines, which is useless. Nevertheless, we may not want to
11259 # sort them, since we want the *last* AC-DEFINE to be honored.
11260 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11261 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11262 rm -f confdef2sed.sed
11264 # This sed command replaces #undef with comments. This is necessary, for
11265 # example, in the case of _POSIX_SOURCE, which is predefined and required
11266 # on some systems where configure will not decide to define it.
11267 cat >>conftest.undefs <<\_ACEOF
11268 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11271 # Break up conftest.defines because some shells have a limit on the size
11272 # of here documents, and old seds have small limits too (100 cmds).
11273 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11274 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11275 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11276 echo ' :' >>$CONFIG_STATUS
11277 rm -f conftest.tail
11278 while grep . conftest.defines >/dev/null
11280 # Write a limited-size here document to $tmp/defines.sed.
11281 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11282 # Speed up: don't consider the non `#define' lines.
11283 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11284 # Work around the forget-to-reset-the-flag bug.
11285 echo 't clr' >>$CONFIG_STATUS
11286 echo ': clr' >>$CONFIG_STATUS
11287 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
11289 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11291 mv $tmp/out $tmp/in
11293 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
11294 rm -f conftest.defines
11295 mv conftest.tail conftest.defines
11297 rm -f conftest.defines
11298 echo ' fi # grep' >>$CONFIG_STATUS
11299 echo >>$CONFIG_STATUS
11301 # Break up conftest.undefs because some shells have a limit on the size
11302 # of here documents, and old seds have small limits too (100 cmds).
11303 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11304 rm -f conftest.tail
11305 while grep . conftest.undefs >/dev/null
11307 # Write a limited-size here document to $tmp/undefs.sed.
11308 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11309 # Speed up: don't consider the non `#undef'
11310 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11311 # Work around the forget-to-reset-the-flag bug.
11312 echo 't clr' >>$CONFIG_STATUS
11313 echo ': clr' >>$CONFIG_STATUS
11314 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11316 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11318 mv $tmp/out $tmp/in
11320 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11321 rm -f conftest.undefs
11322 mv conftest.tail conftest.undefs
11324 rm -f conftest.undefs
11326 cat >>$CONFIG_STATUS <<\_ACEOF
11327 # Let's still pretend it is `configure' which instantiates (i.e., don't
11328 # use $as_me), people would be surprised to read:
11329 # /* config.h. Generated by config.status. */
11330 if test x"$ac_file" = x-; then
11331 echo "/* Generated by configure. */" >$tmp/config.h
11333 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11335 cat $tmp/in >>$tmp/config.h
11337 if test x"$ac_file" != x-; then
11338 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11339 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11340 echo "$as_me: $ac_file is unchanged" >&6;}
11342 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11344 X"$ac_file" : 'X\(//\)[^/]' \| \
11345 X"$ac_file" : 'X\(//\)$' \| \
11346 X"$ac_file" : 'X\(/\)' \| \
11347 . : '\(.\)' 2>/dev/null ||
11349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11351 /^X\(\/\/\)$/{ s//\1/; q; }
11352 /^X\(\/\).*/{ s//\1/; q; }
11354 { if $as_mkdir_p; then
11359 while test ! -d "$as_dir"; do
11360 as_dirs="$as_dir $as_dirs"
11361 as_dir=`(dirname "$as_dir") 2>/dev/null ||
11362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11363 X"$as_dir" : 'X\(//\)[^/]' \| \
11364 X"$as_dir" : 'X\(//\)$' \| \
11365 X"$as_dir" : 'X\(/\)' \| \
11366 . : '\(.\)' 2>/dev/null ||
11368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11370 /^X\(\/\/\)$/{ s//\1/; q; }
11371 /^X\(\/\).*/{ s//\1/; q; }
11374 test ! -n "$as_dirs" || mkdir $as_dirs
11375 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11376 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11377 { (exit 1); exit 1; }; }; }
11380 mv $tmp/config.h $ac_file
11384 rm -f $tmp/config.h
11389 cat >>$CONFIG_STATUS <<\_ACEOF
11391 { (exit 0); exit 0; }
11393 chmod +x $CONFIG_STATUS
11394 ac_clean_files=$ac_clean_files_save
11397 # configure is writing to config.log, and then calls config.status.
11398 # config.status does its own redirection, appending to config.log.
11399 # Unfortunately, on DOS this fails, as config.log is still kept open
11400 # by configure, so config.status won't be able to write to it; its
11401 # output is simply discarded. So we exec the FD to /dev/null,
11402 # effectively closing config.log, so it can be properly (re)opened and
11403 # appended to by config.status. When coming back to configure, we
11404 # need to make the FD available again.
11405 if test "$no_create" != yes; then
11407 ac_config_status_args=
11408 test "$silent" = yes &&
11409 ac_config_status_args="$ac_config_status_args --quiet"
11411 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11413 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11414 # would make configure fail if this is the last instruction.
11415 $ac_cs_success || { (exit 1); exit 1; }
11419 cp config.h libs/include