2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file="xinetd/main.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
682 ac_precious_vars='build_alias
693 # Initialize some variables set by options.
695 ac_init_version=false
696 # The variables have the same names as the options, with
697 # dashes changed to underlines.
705 program_transform_name=s,x,x,
713 # Installation directory options.
714 # These are left unexpanded so users can "make install exec_prefix=/foo"
715 # and all the variables that are supposed to be based on exec_prefix
716 # by default will actually change.
717 # Use braces instead of parens because sh, perl, etc. also accept them.
718 # (The list follows the same order as the GNU Coding Standards.)
719 bindir='${exec_prefix}/bin'
720 sbindir='${exec_prefix}/sbin'
721 libexecdir='${exec_prefix}/libexec'
722 datarootdir='${prefix}/share'
723 datadir='${datarootdir}'
724 sysconfdir='${prefix}/etc'
725 sharedstatedir='${prefix}/com'
726 localstatedir='${prefix}/var'
727 includedir='${prefix}/include'
728 oldincludedir='/usr/include'
729 docdir='${datarootdir}/doc/${PACKAGE}'
730 infodir='${datarootdir}/info'
735 libdir='${exec_prefix}/lib'
736 localedir='${datarootdir}/locale'
737 mandir='${datarootdir}/man'
743 # If the previous option needs an argument, assign it.
744 if test -n "$ac_prev"; then
745 eval $ac_prev=\$ac_option
751 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir | --bindir | --bindi | --bind | --bin | --bi)
763 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
766 -build | --build | --buil | --bui | --bu)
767 ac_prev=build_alias ;;
768 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
769 build_alias=$ac_optarg ;;
771 -cache-file | --cache-file | --cache-fil | --cache-fi \
772 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
773 ac_prev=cache_file ;;
774 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
775 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
776 cache_file=$ac_optarg ;;
779 cache_file=config.cache ;;
781 -datadir | --datadir | --datadi | --datad)
783 -datadir=* | --datadir=* | --datadi=* | --datad=*)
784 datadir=$ac_optarg ;;
786 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
787 | --dataroo | --dataro | --datar)
788 ac_prev=datarootdir ;;
789 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
790 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
791 datarootdir=$ac_optarg ;;
793 -disable-* | --disable-*)
794 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
797 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
798 { (exit 1); exit 1; }; }
799 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
800 eval enable_$ac_feature=no ;;
802 -docdir | --docdir | --docdi | --doc | --do)
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
812 -enable-* | --enable-*)
813 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
816 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
817 { (exit 1); exit 1; }; }
818 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
819 eval enable_$ac_feature=\$ac_optarg ;;
821 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
822 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
823 | --exec | --exe | --ex)
824 ac_prev=exec_prefix ;;
825 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
826 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
827 | --exec=* | --exe=* | --ex=*)
828 exec_prefix=$ac_optarg ;;
830 -gas | --gas | --ga | --g)
831 # Obsolete; use --with-gas.
834 -help | --help | --hel | --he | -h)
836 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
837 ac_init_help=recursive ;;
838 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
839 ac_init_help=short ;;
841 -host | --host | --hos | --ho)
842 ac_prev=host_alias ;;
843 -host=* | --host=* | --hos=* | --ho=*)
844 host_alias=$ac_optarg ;;
846 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
848 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
850 htmldir=$ac_optarg ;;
852 -includedir | --includedir | --includedi | --included | --include \
853 | --includ | --inclu | --incl | --inc)
854 ac_prev=includedir ;;
855 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
856 | --includ=* | --inclu=* | --incl=* | --inc=*)
857 includedir=$ac_optarg ;;
859 -infodir | --infodir | --infodi | --infod | --info | --inf)
861 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
862 infodir=$ac_optarg ;;
864 -libdir | --libdir | --libdi | --libd)
866 -libdir=* | --libdir=* | --libdi=* | --libd=*)
869 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
870 | --libexe | --libex | --libe)
871 ac_prev=libexecdir ;;
872 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
873 | --libexe=* | --libex=* | --libe=*)
874 libexecdir=$ac_optarg ;;
876 -localedir | --localedir | --localedi | --localed | --locale)
878 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
879 localedir=$ac_optarg ;;
881 -localstatedir | --localstatedir | --localstatedi | --localstated \
882 | --localstate | --localstat | --localsta | --localst | --locals)
883 ac_prev=localstatedir ;;
884 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
885 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
886 localstatedir=$ac_optarg ;;
888 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
890 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
894 # Obsolete; use --without-fp.
897 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
898 | --no-cr | --no-c | -n)
901 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
902 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
905 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
906 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
907 | --oldin | --oldi | --old | --ol | --o)
908 ac_prev=oldincludedir ;;
909 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
910 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
911 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
912 oldincludedir=$ac_optarg ;;
914 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
916 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
919 -program-prefix | --program-prefix | --program-prefi | --program-pref \
920 | --program-pre | --program-pr | --program-p)
921 ac_prev=program_prefix ;;
922 -program-prefix=* | --program-prefix=* | --program-prefi=* \
923 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
924 program_prefix=$ac_optarg ;;
926 -program-suffix | --program-suffix | --program-suffi | --program-suff \
927 | --program-suf | --program-su | --program-s)
928 ac_prev=program_suffix ;;
929 -program-suffix=* | --program-suffix=* | --program-suffi=* \
930 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
931 program_suffix=$ac_optarg ;;
933 -program-transform-name | --program-transform-name \
934 | --program-transform-nam | --program-transform-na \
935 | --program-transform-n | --program-transform- \
936 | --program-transform | --program-transfor \
937 | --program-transfo | --program-transf \
938 | --program-trans | --program-tran \
939 | --progr-tra | --program-tr | --program-t)
940 ac_prev=program_transform_name ;;
941 -program-transform-name=* | --program-transform-name=* \
942 | --program-transform-nam=* | --program-transform-na=* \
943 | --program-transform-n=* | --program-transform-=* \
944 | --program-transform=* | --program-transfor=* \
945 | --program-transfo=* | --program-transf=* \
946 | --program-trans=* | --program-tran=* \
947 | --progr-tra=* | --program-tr=* | --program-t=*)
948 program_transform_name=$ac_optarg ;;
950 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
952 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
955 -psdir | --psdir | --psdi | --psd | --ps)
957 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
960 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
961 | -silent | --silent | --silen | --sile | --sil)
964 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
966 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
968 sbindir=$ac_optarg ;;
970 -sharedstatedir | --sharedstatedir | --sharedstatedi \
971 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
972 | --sharedst | --shareds | --shared | --share | --shar \
974 ac_prev=sharedstatedir ;;
975 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
976 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
977 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
979 sharedstatedir=$ac_optarg ;;
981 -site | --site | --sit)
983 -site=* | --site=* | --sit=*)
986 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
988 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
991 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
992 | --syscon | --sysco | --sysc | --sys | --sy)
993 ac_prev=sysconfdir ;;
994 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
995 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
996 sysconfdir=$ac_optarg ;;
998 -target | --target | --targe | --targ | --tar | --ta | --t)
999 ac_prev=target_alias ;;
1000 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1001 target_alias=$ac_optarg ;;
1003 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1006 -version | --version | --versio | --versi | --vers | -V)
1007 ac_init_version=: ;;
1010 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1011 # Reject names that are not valid shell variable names.
1012 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 { echo "$as_me: error: invalid package name: $ac_package" >&2
1014 { (exit 1); exit 1; }; }
1015 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1016 eval with_$ac_package=\$ac_optarg ;;
1018 -without-* | --without-*)
1019 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1022 { echo "$as_me: error: invalid package name: $ac_package" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1025 eval with_$ac_package=no ;;
1028 # Obsolete; use --with-x.
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) { echo "$as_me: error: unrecognized option: $ac_option
1046 Try \`$0 --help' for more information." >&2
1047 { (exit 1); exit 1; }; }
1051 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1052 # Reject names that are not valid shell variable names.
1053 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1054 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1055 { (exit 1); exit 1; }; }
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 { echo "$as_me: error: missing argument to $ac_option" >&2
1073 { (exit 1); exit 1; }; }
1076 # Be sure to have absolute directory names.
1077 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078 datadir sysconfdir sharedstatedir localstatedir includedir \
1079 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080 libdir localedir mandir
1082 eval ac_val=\$$ac_var
1084 [\\/$]* | ?:[\\/]* ) continue;;
1085 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1087 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1088 { (exit 1); exit 1; }; }
1091 # There might be people who depend on the old broken behavior: `$host'
1092 # used to hold the argument of --host etc.
1093 # FIXME: To remove some day.
1096 target=$target_alias
1098 # FIXME: To remove some day.
1099 if test "x$host_alias" != x; then
1100 if test "x$build_alias" = x; then
1101 cross_compiling=maybe
1102 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1103 If a cross compiler is detected then cross compile mode will be used." >&2
1104 elif test "x$build_alias" != "x$host_alias"; then
1110 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112 test "$silent" = yes && exec 6>/dev/null
1115 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116 ac_ls_di=`ls -di .` &&
1117 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118 { echo "$as_me: error: Working directory cannot be determined" >&2
1119 { (exit 1); exit 1; }; }
1120 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1121 { echo "$as_me: error: pwd does not report name of working directory" >&2
1122 { (exit 1); exit 1; }; }
1125 # Find the source files, if location was not specified.
1126 if test -z "$srcdir"; then
1127 ac_srcdir_defaulted=yes
1128 # Try the directory containing this script, then the parent directory.
1129 ac_confdir=`$as_dirname -- "$0" ||
1130 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1131 X"$0" : 'X\(//\)[^/]' \| \
1132 X"$0" : 'X\(//\)$' \| \
1133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1153 if test ! -r "$srcdir/$ac_unique_file"; then
1157 ac_srcdir_defaulted=no
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1161 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1162 { (exit 1); exit 1; }; }
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1167 { (exit 1); exit 1; }; }
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1193 \`configure' configures this package to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1251 --build=BUILD configure for building on BUILD [guessed]
1252 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1253 --target=TARGET configure for building compilers for TARGET [HOST]
1257 if test -n "$ac_init_help"; then
1262 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1263 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1264 --with-howl=PATH Compile in howl support.
1265 PATH is the prefix where howl is installed,
1266 and is not optional.
1267 --with-loadavg=PATH Compile in loadavg support.
1269 --with-inet6 Compile in ipv6 support. (obsolete)
1270 --with-libwrap=PATH Compile in libwrap (tcp_wrappers) support.
1272 Some influential environment variables:
1273 CC C compiler command
1274 CFLAGS C compiler flags
1275 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1276 nonstandard directory <lib dir>
1277 LIBS libraries to pass to the linker, e.g. -l<library>
1278 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1279 you have headers in a nonstandard directory <include dir>
1282 Use these variables to override the choices made by `configure' or to help
1283 it to find libraries and programs with nonstandard names/locations.
1289 if test "$ac_init_help" = "recursive"; then
1290 # If there are subdirs, report their specific --help.
1291 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1292 test -d "$ac_dir" || continue
1296 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1298 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1299 # A ".." for each directory in $ac_dir_suffix.
1300 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1301 case $ac_top_builddir_sub in
1302 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1303 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1306 ac_abs_top_builddir=$ac_pwd
1307 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1308 # for backward compatibility:
1309 ac_top_builddir=$ac_top_build_prefix
1312 .) # We are building in place.
1314 ac_top_srcdir=$ac_top_builddir_sub
1315 ac_abs_top_srcdir=$ac_pwd ;;
1316 [\\/]* | ?:[\\/]* ) # Absolute name.
1317 ac_srcdir=$srcdir$ac_dir_suffix;
1318 ac_top_srcdir=$srcdir
1319 ac_abs_top_srcdir=$srcdir ;;
1321 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1322 ac_top_srcdir=$ac_top_build_prefix$srcdir
1323 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1325 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1327 cd "$ac_dir" || { ac_status=$?; continue; }
1328 # Check for guested configure.
1329 if test -f "$ac_srcdir/configure.gnu"; then
1331 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1332 elif test -f "$ac_srcdir/configure"; then
1334 $SHELL "$ac_srcdir/configure" --help=recursive
1336 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1338 cd "$ac_pwd" || { ac_status=$?; break; }
1342 test -n "$ac_init_help" && exit $ac_status
1343 if $ac_init_version; then
1346 generated by GNU Autoconf 2.61
1348 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1349 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1350 This configure script is free software; the Free Software Foundation
1351 gives unlimited permission to copy, distribute and modify it.
1355 cat >config.log <<_ACEOF
1356 This file contains any messages produced by compilers while
1357 running configure, to aid debugging if configure makes a mistake.
1359 It was created by $as_me, which was
1360 generated by GNU Autoconf 2.61. Invocation command line was
1372 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1373 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1374 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1375 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1376 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1378 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1379 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1381 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1382 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1383 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1384 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1385 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1386 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1387 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395 test -z "$as_dir" && as_dir=.
1396 echo "PATH: $as_dir"
1412 # Keep a trace of the command line.
1413 # Strip out --no-create and --no-recursion so they do not pile up.
1414 # Strip out --silent because we don't want to record it for future runs.
1415 # Also quote any args containing shell meta-characters.
1416 # Make two passes to allow for proper duplicate-argument suppression.
1420 ac_must_keep_next=false
1426 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1427 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1428 | -silent | --silent | --silen | --sile | --sil)
1431 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1434 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1436 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1437 if test $ac_must_keep_next = true; then
1438 ac_must_keep_next=false # Got value, back to normal.
1441 *=* | --config-cache | -C | -disable-* | --disable-* \
1442 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1443 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1444 | -with-* | --with-* | -without-* | --without-* | --x)
1445 case "$ac_configure_args0 " in
1446 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1449 -* ) ac_must_keep_next=true ;;
1452 ac_configure_args="$ac_configure_args '$ac_arg'"
1457 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1458 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1460 # When interrupted or exit'd, cleanup temporary files, and complete
1461 # config.log. We remove comments because anyway the quotes in there
1462 # would cause problems or look ugly.
1463 # WARNING: Use '\'' to represent an apostrophe within the trap.
1464 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1465 trap 'exit_status=$?
1466 # Save into config.log some information that might help in debugging.
1471 ## ---------------- ##
1472 ## Cache variables. ##
1473 ## ---------------- ##
1476 # The following way of writing the cache mishandles newlines in values,
1478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1479 eval ac_val=\$$ac_var
1483 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1484 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1487 _ | IFS | as_nl) ;; #(
1488 *) $as_unset $ac_var ;;
1493 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1494 *${as_nl}ac_space=\ *)
1496 "s/'\''/'\''\\\\'\'''\''/g;
1497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1500 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1508 ## ----------------- ##
1509 ## Output variables. ##
1510 ## ----------------- ##
1513 for ac_var in $ac_subst_vars
1515 eval ac_val=\$$ac_var
1517 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1519 echo "$ac_var='\''$ac_val'\''"
1523 if test -n "$ac_subst_files"; then
1525 ## ------------------- ##
1526 ## File substitutions. ##
1527 ## ------------------- ##
1530 for ac_var in $ac_subst_files
1532 eval ac_val=\$$ac_var
1534 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1536 echo "$ac_var='\''$ac_val'\''"
1541 if test -s confdefs.h; then
1551 test "$ac_signal" != 0 &&
1552 echo "$as_me: caught signal $ac_signal"
1553 echo "$as_me: exit $exit_status"
1555 rm -f core *.core core.conftest.* &&
1556 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1559 for ac_signal in 1 2 13 15; do
1560 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1564 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1565 rm -f -r conftest* confdefs.h
1567 # Predefined preprocessor variables.
1569 cat >>confdefs.h <<_ACEOF
1570 #define PACKAGE_NAME "$PACKAGE_NAME"
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1584 cat >>confdefs.h <<_ACEOF
1585 #define PACKAGE_STRING "$PACKAGE_STRING"
1589 cat >>confdefs.h <<_ACEOF
1590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1594 # Let the site file select an alternate cache file if it wants to.
1595 # Prefer explicitly selected file to automatically selected ones.
1596 if test -n "$CONFIG_SITE"; then
1597 set x "$CONFIG_SITE"
1598 elif test "x$prefix" != xNONE; then
1599 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1601 set x "$ac_default_prefix/share/config.site" \
1602 "$ac_default_prefix/etc/config.site"
1607 if test -r "$ac_site_file"; then
1608 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1609 echo "$as_me: loading site script $ac_site_file" >&6;}
1610 sed 's/^/| /' "$ac_site_file" >&5
1615 if test -r "$cache_file"; then
1616 # Some versions of bash will fail to source /dev/null (special
1617 # files actually), so we avoid doing that.
1618 if test -f "$cache_file"; then
1619 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1620 echo "$as_me: loading cache $cache_file" >&6;}
1622 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1623 *) . "./$cache_file";;
1627 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1628 echo "$as_me: creating cache $cache_file" >&6;}
1632 # Check that the precious variables saved in the cache have kept the same
1634 ac_cache_corrupted=false
1635 for ac_var in $ac_precious_vars; do
1636 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1637 eval ac_new_set=\$ac_env_${ac_var}_set
1638 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1639 eval ac_new_val=\$ac_env_${ac_var}_value
1640 case $ac_old_set,$ac_new_set in
1642 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1643 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1644 ac_cache_corrupted=: ;;
1646 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1647 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1648 ac_cache_corrupted=: ;;
1651 if test "x$ac_old_val" != "x$ac_new_val"; then
1652 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1653 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1654 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1655 echo "$as_me: former value: $ac_old_val" >&2;}
1656 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1657 echo "$as_me: current value: $ac_new_val" >&2;}
1658 ac_cache_corrupted=:
1661 # Pass precious variables to config.status.
1662 if test "$ac_new_set" = set; then
1664 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1665 *) ac_arg=$ac_var=$ac_new_val ;;
1667 case " $ac_configure_args " in
1668 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1669 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1673 if $ac_cache_corrupted; then
1674 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1675 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1676 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1677 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1678 { (exit 1); exit 1; }; }
1698 ac_cpp='$CPP $CPPFLAGS'
1699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1706 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1707 if test -f "$ac_dir/install-sh"; then
1709 ac_install_sh="$ac_aux_dir/install-sh -c"
1711 elif test -f "$ac_dir/install.sh"; then
1713 ac_install_sh="$ac_aux_dir/install.sh -c"
1715 elif test -f "$ac_dir/shtool"; then
1717 ac_install_sh="$ac_aux_dir/shtool install -c"
1721 if test -z "$ac_aux_dir"; then
1722 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1723 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1724 { (exit 1); exit 1; }; }
1727 # These three variables are undocumented and unsupported,
1728 # and are intended to be withdrawn in a future Autoconf release.
1729 # They can cause serious problems if a builder's source tree is in a directory
1730 # whose full name contains unusual characters.
1731 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1732 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1733 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1736 # Make sure we can run config.sub.
1737 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1738 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1739 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1740 { (exit 1); exit 1; }; }
1742 { echo "$as_me:$LINENO: checking build system type" >&5
1743 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1744 if test "${ac_cv_build+set}" = set; then
1745 echo $ECHO_N "(cached) $ECHO_C" >&6
1747 ac_build_alias=$build_alias
1748 test "x$ac_build_alias" = x &&
1749 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1750 test "x$ac_build_alias" = x &&
1751 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1752 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1753 { (exit 1); exit 1; }; }
1754 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1755 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1756 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1757 { (exit 1); exit 1; }; }
1760 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1761 echo "${ECHO_T}$ac_cv_build" >&6; }
1762 case $ac_cv_build in
1764 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1765 echo "$as_me: error: invalid value of canonical build" >&2;}
1766 { (exit 1); exit 1; }; };;
1769 ac_save_IFS=$IFS; IFS='-'
1775 # Remember, the first character of IFS is used to create $*,
1776 # except with old shells:
1779 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1782 { echo "$as_me:$LINENO: checking host system type" >&5
1783 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1784 if test "${ac_cv_host+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 if test "x$host_alias" = x; then
1788 ac_cv_host=$ac_cv_build
1790 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1791 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1792 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1793 { (exit 1); exit 1; }; }
1797 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1798 echo "${ECHO_T}$ac_cv_host" >&6; }
1801 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1802 echo "$as_me: error: invalid value of canonical host" >&2;}
1803 { (exit 1); exit 1; }; };;
1806 ac_save_IFS=$IFS; IFS='-'
1812 # Remember, the first character of IFS is used to create $*,
1813 # except with old shells:
1816 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1819 { echo "$as_me:$LINENO: checking target system type" >&5
1820 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1821 if test "${ac_cv_target+set}" = set; then
1822 echo $ECHO_N "(cached) $ECHO_C" >&6
1824 if test "x$target_alias" = x; then
1825 ac_cv_target=$ac_cv_host
1827 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1828 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1829 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1830 { (exit 1); exit 1; }; }
1834 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1835 echo "${ECHO_T}$ac_cv_target" >&6; }
1836 case $ac_cv_target in
1838 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1839 echo "$as_me: error: invalid value of canonical target" >&2;}
1840 { (exit 1); exit 1; }; };;
1842 target=$ac_cv_target
1843 ac_save_IFS=$IFS; IFS='-'
1849 # Remember, the first character of IFS is used to create $*,
1850 # except with old shells:
1853 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1856 # The aliases save the names the user supplied, while $host etc.
1857 # will get canonicalized.
1858 test -n "$target_alias" &&
1859 test "$program_prefix$program_suffix$program_transform_name" = \
1861 program_prefix=${target_alias}-
1864 ac_cpp='$CPP $CPPFLAGS'
1865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 if test -n "$ac_tool_prefix"; then
1869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1870 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1873 if test "${ac_cv_prog_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 if test -n "$CC"; then
1877 ac_cv_prog_CC="$CC" # Let the user override the test.
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1886 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 if test -n "$CC"; then
1898 { echo "$as_me:$LINENO: result: $CC" >&5
1899 echo "${ECHO_T}$CC" >&6; }
1901 { echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6; }
1907 if test -z "$ac_cv_prog_CC"; then
1909 # Extract the first word of "gcc", so it can be a program name with args.
1910 set dummy gcc; ac_word=$2
1911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1913 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 if test -n "$ac_ct_CC"; then
1917 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1923 test -z "$as_dir" && as_dir=.
1924 for ac_exec_ext in '' $ac_executable_extensions; do
1925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1926 ac_cv_prog_ac_ct_CC="gcc"
1927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1936 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1937 if test -n "$ac_ct_CC"; then
1938 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1939 echo "${ECHO_T}$ac_ct_CC" >&6; }
1941 { echo "$as_me:$LINENO: result: no" >&5
1942 echo "${ECHO_T}no" >&6; }
1945 if test "x$ac_ct_CC" = x; then
1948 case $cross_compiling:$ac_tool_warned in
1950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1951 whose name does not start with the host triplet. If you think this
1952 configuration is useful to you, please write to autoconf@gnu.org." >&5
1953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1954 whose name does not start with the host triplet. If you think this
1955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1956 ac_tool_warned=yes ;;
1964 if test -z "$CC"; then
1965 if test -n "$ac_tool_prefix"; then
1966 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1967 set dummy ${ac_tool_prefix}cc; ac_word=$2
1968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1970 if test "${ac_cv_prog_CC+set}" = set; then
1971 echo $ECHO_N "(cached) $ECHO_C" >&6
1973 if test -n "$CC"; then
1974 ac_cv_prog_CC="$CC" # Let the user override the test.
1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_prog_CC="${ac_tool_prefix}cc"
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 if test -n "$CC"; then
1995 { echo "$as_me:$LINENO: result: $CC" >&5
1996 echo "${ECHO_T}$CC" >&6; }
1998 { echo "$as_me:$LINENO: result: no" >&5
1999 echo "${ECHO_T}no" >&6; }
2005 if test -z "$CC"; then
2006 # Extract the first word of "cc", so it can be a program name with args.
2007 set dummy cc; ac_word=$2
2008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021 test -z "$as_dir" && as_dir=.
2022 for ac_exec_ext in '' $ac_executable_extensions; do
2023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2024 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2025 ac_prog_rejected=yes
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 if test $ac_prog_rejected = yes; then
2037 # We found a bogon in the path, so make sure we never use it.
2038 set dummy $ac_cv_prog_CC
2040 if test $# != 0; then
2041 # We chose a different compiler from the bogus one.
2042 # However, it has the same basename, so the bogon will be chosen
2043 # first if we set CC to just the basename; use the full file name.
2045 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2051 if test -n "$CC"; then
2052 { echo "$as_me:$LINENO: result: $CC" >&5
2053 echo "${ECHO_T}$CC" >&6; }
2055 { echo "$as_me:$LINENO: result: no" >&5
2056 echo "${ECHO_T}no" >&6; }
2061 if test -z "$CC"; then
2062 if test -n "$ac_tool_prefix"; then
2063 for ac_prog in cl.exe
2065 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2066 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2069 if test "${ac_cv_prog_CC+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 if test -n "$CC"; then
2073 ac_cv_prog_CC="$CC" # Let the user override the test.
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 if test -n "$CC"; then
2094 { echo "$as_me:$LINENO: result: $CC" >&5
2095 echo "${ECHO_T}$CC" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2102 test -n "$CC" && break
2105 if test -z "$CC"; then
2107 for ac_prog in cl.exe
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy $ac_prog; ac_word=$2
2111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2114 echo $ECHO_N "(cached) $ECHO_C" >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_CC="$ac_prog"
2127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2137 if test -n "$ac_ct_CC"; then
2138 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2139 echo "${ECHO_T}$ac_ct_CC" >&6; }
2141 { echo "$as_me:$LINENO: result: no" >&5
2142 echo "${ECHO_T}no" >&6; }
2146 test -n "$ac_ct_CC" && break
2149 if test "x$ac_ct_CC" = x; then
2152 case $cross_compiling:$ac_tool_warned in
2154 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2155 whose name does not start with the host triplet. If you think this
2156 configuration is useful to you, please write to autoconf@gnu.org." >&5
2157 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2158 whose name does not start with the host triplet. If you think this
2159 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2160 ac_tool_warned=yes ;;
2169 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2170 See \`config.log' for more details." >&5
2171 echo "$as_me: error: no acceptable C compiler found in \$PATH
2172 See \`config.log' for more details." >&2;}
2173 { (exit 1); exit 1; }; }
2175 # Provide some information about the compiler.
2176 echo "$as_me:$LINENO: checking for C compiler version" >&5
2177 ac_compiler=`set X $ac_compile; echo $2`
2178 { (ac_try="$ac_compiler --version >&5"
2180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2181 *) ac_try_echo=$ac_try;;
2183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2184 (eval "$ac_compiler --version >&5") 2>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); }
2188 { (ac_try="$ac_compiler -v >&5"
2190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2191 *) ac_try_echo=$ac_try;;
2193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2194 (eval "$ac_compiler -v >&5") 2>&5
2196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2197 (exit $ac_status); }
2198 { (ac_try="$ac_compiler -V >&5"
2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2201 *) ac_try_echo=$ac_try;;
2203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2204 (eval "$ac_compiler -V >&5") 2>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); }
2209 cat >conftest.$ac_ext <<_ACEOF
2212 cat confdefs.h >>conftest.$ac_ext
2213 cat >>conftest.$ac_ext <<_ACEOF
2214 /* end confdefs.h. */
2224 ac_clean_files_save=$ac_clean_files
2225 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2226 # Try to create an executable without -o first, disregard a.out.
2227 # It will help us diagnose broken compilers, and finding out an intuition
2229 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2230 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2231 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2233 # List of possible output files, starting from the most likely.
2234 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2235 # only as a last resort. b.out is created by i960 compilers.
2236 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2238 # The IRIX 6 linker writes into existing files which may not be
2239 # executable, retaining their permissions. Remove them first so a
2240 # subsequent execution test works.
2242 for ac_file in $ac_files
2245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2251 if { (ac_try="$ac_link_default"
2253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2254 *) ac_try_echo=$ac_try;;
2256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2257 (eval "$ac_link_default") 2>&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; then
2261 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2262 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2263 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2264 # so that the user can short-circuit this test for compilers unknown to
2266 for ac_file in $ac_files ''
2268 test -f "$ac_file" || continue
2270 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2273 # We found the default executable, but exeext='' is most
2277 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2279 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2281 # We set ac_cv_exeext here because the later test for it is not
2282 # safe: cross compilers may not add the suffix if given an `-o'
2283 # argument, so we may need to know it at that point already.
2284 # Even if this section looks crufty: it has the advantage of
2291 test "$ac_cv_exeext" = no && ac_cv_exeext=
2297 { echo "$as_me:$LINENO: result: $ac_file" >&5
2298 echo "${ECHO_T}$ac_file" >&6; }
2299 if test -z "$ac_file"; then
2300 echo "$as_me: failed program was:" >&5
2301 sed 's/^/| /' conftest.$ac_ext >&5
2303 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2304 See \`config.log' for more details." >&5
2305 echo "$as_me: error: C compiler cannot create executables
2306 See \`config.log' for more details." >&2;}
2307 { (exit 77); exit 77; }; }
2310 ac_exeext=$ac_cv_exeext
2312 # Check that the compiler produces executables we can run. If not, either
2313 # the compiler is broken, or we cross compile.
2314 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2315 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2316 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2317 # If not cross compiling, check that we can run a simple program.
2318 if test "$cross_compiling" != yes; then
2319 if { ac_try='./$ac_file'
2320 { (case "(($ac_try" in
2321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2322 *) ac_try_echo=$ac_try;;
2324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2325 (eval "$ac_try") 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }; }; then
2331 if test "$cross_compiling" = maybe; then
2334 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2335 If you meant to cross compile, use \`--host'.
2336 See \`config.log' for more details." >&5
2337 echo "$as_me: error: cannot run C compiled programs.
2338 If you meant to cross compile, use \`--host'.
2339 See \`config.log' for more details." >&2;}
2340 { (exit 1); exit 1; }; }
2344 { echo "$as_me:$LINENO: result: yes" >&5
2345 echo "${ECHO_T}yes" >&6; }
2347 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2348 ac_clean_files=$ac_clean_files_save
2349 # Check that the compiler produces executables we can run. If not, either
2350 # the compiler is broken, or we cross compile.
2351 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2352 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2353 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2354 echo "${ECHO_T}$cross_compiling" >&6; }
2356 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2357 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2358 if { (ac_try="$ac_link"
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_link") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then
2368 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2369 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2370 # work properly (i.e., refer to `conftest.exe'), while it won't with
2372 for ac_file in conftest.exe conftest conftest.*; do
2373 test -f "$ac_file" || continue
2375 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2376 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2382 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2383 See \`config.log' for more details." >&5
2384 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2385 See \`config.log' for more details." >&2;}
2386 { (exit 1); exit 1; }; }
2389 rm -f conftest$ac_cv_exeext
2390 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2391 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2393 rm -f conftest.$ac_ext
2394 EXEEXT=$ac_cv_exeext
2396 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2397 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2398 if test "${ac_cv_objext+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 cat >conftest.$ac_ext <<_ACEOF
2404 cat confdefs.h >>conftest.$ac_ext
2405 cat >>conftest.$ac_ext <<_ACEOF
2406 /* end confdefs.h. */
2416 rm -f conftest.o conftest.obj
2417 if { (ac_try="$ac_compile"
2419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 *) ac_try_echo=$ac_try;;
2422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423 (eval "$ac_compile") 2>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; then
2427 for ac_file in conftest.o conftest.obj conftest.*; do
2428 test -f "$ac_file" || continue;
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2431 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2436 echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2439 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2440 See \`config.log' for more details." >&5
2441 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2442 See \`config.log' for more details." >&2;}
2443 { (exit 1); exit 1; }; }
2446 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2448 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2449 echo "${ECHO_T}$ac_cv_objext" >&6; }
2450 OBJEXT=$ac_cv_objext
2452 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2453 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2454 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 cat >conftest.$ac_ext <<_ACEOF
2460 cat confdefs.h >>conftest.$ac_ext
2461 cat >>conftest.$ac_ext <<_ACEOF
2462 /* end confdefs.h. */
2475 rm -f conftest.$ac_objext
2476 if { (ac_try="$ac_compile"
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_compile") 2>conftest.er1
2484 grep -v '^ *+' conftest.er1 >conftest.err
2486 cat conftest.err >&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } && {
2489 test -z "$ac_c_werror_flag" ||
2490 test ! -s conftest.err
2491 } && test -s conftest.$ac_objext; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2504 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2505 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2506 GCC=`test $ac_compiler_gnu = yes && echo yes`
2507 ac_test_CFLAGS=${CFLAGS+set}
2508 ac_save_CFLAGS=$CFLAGS
2509 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2510 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2511 if test "${ac_cv_prog_cc_g+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 ac_save_c_werror_flag=$ac_c_werror_flag
2515 ac_c_werror_flag=yes
2518 cat >conftest.$ac_ext <<_ACEOF
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2533 rm -f conftest.$ac_objext
2534 if { (ac_try="$ac_compile"
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_compile") 2>conftest.er1
2542 grep -v '^ *+' conftest.er1 >conftest.err
2544 cat conftest.err >&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } && {
2547 test -z "$ac_c_werror_flag" ||
2548 test ! -s conftest.err
2549 } && test -s conftest.$ac_objext; then
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2556 cat >conftest.$ac_ext <<_ACEOF
2559 cat confdefs.h >>conftest.$ac_ext
2560 cat >>conftest.$ac_ext <<_ACEOF
2561 /* end confdefs.h. */
2571 rm -f conftest.$ac_objext
2572 if { (ac_try="$ac_compile"
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_compile") 2>conftest.er1
2580 grep -v '^ *+' conftest.er1 >conftest.err
2582 cat conftest.err >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); } && {
2585 test -z "$ac_c_werror_flag" ||
2586 test ! -s conftest.err
2587 } && test -s conftest.$ac_objext; then
2590 echo "$as_me: failed program was:" >&5
2591 sed 's/^/| /' conftest.$ac_ext >&5
2593 ac_c_werror_flag=$ac_save_c_werror_flag
2595 cat >conftest.$ac_ext <<_ACEOF
2598 cat confdefs.h >>conftest.$ac_ext
2599 cat >>conftest.$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2610 rm -f conftest.$ac_objext
2611 if { (ac_try="$ac_compile"
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2617 (eval "$ac_compile") 2>conftest.er1
2619 grep -v '^ *+' conftest.er1 >conftest.err
2621 cat conftest.err >&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); } && {
2624 test -z "$ac_c_werror_flag" ||
2625 test ! -s conftest.err
2626 } && test -s conftest.$ac_objext; then
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.$ac_ext >&5
2635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642 ac_c_werror_flag=$ac_save_c_werror_flag
2644 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2645 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2646 if test "$ac_test_CFLAGS" = set; then
2647 CFLAGS=$ac_save_CFLAGS
2648 elif test $ac_cv_prog_cc_g = yes; then
2649 if test "$GCC" = yes; then
2655 if test "$GCC" = yes; then
2661 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2662 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2663 if test "${ac_cv_prog_cc_c89+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 ac_cv_prog_cc_c89=no
2668 cat >conftest.$ac_ext <<_ACEOF
2671 cat confdefs.h >>conftest.$ac_ext
2672 cat >>conftest.$ac_ext <<_ACEOF
2673 /* end confdefs.h. */
2676 #include <sys/types.h>
2677 #include <sys/stat.h>
2678 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2679 struct buf { int x; };
2680 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2681 static char *e (p, i)
2687 static char *f (char * (*g) (char **, int), char **p, ...)
2692 s = g (p, va_arg (v,int));
2697 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2698 function prototypes and stuff, but not '\xHH' hex character constants.
2699 These don't provoke an error unfortunately, instead are silently treated
2700 as 'x'. The following induces an error, until -std is added to get
2701 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2702 array size at least. It's necessary to write '\x00'==0 to get something
2703 that's true only with -std. */
2704 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2706 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2707 inside strings and character constants. */
2709 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2711 int test (int i, double x);
2712 struct s1 {int (*f) (int a);};
2713 struct s2 {int (*f) (double a);};
2714 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2720 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2725 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2726 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2728 CC="$ac_save_CC $ac_arg"
2729 rm -f conftest.$ac_objext
2730 if { (ac_try="$ac_compile"
2732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2736 (eval "$ac_compile") 2>conftest.er1
2738 grep -v '^ *+' conftest.er1 >conftest.err
2740 cat conftest.err >&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } && {
2743 test -z "$ac_c_werror_flag" ||
2744 test ! -s conftest.err
2745 } && test -s conftest.$ac_objext; then
2746 ac_cv_prog_cc_c89=$ac_arg
2748 echo "$as_me: failed program was:" >&5
2749 sed 's/^/| /' conftest.$ac_ext >&5
2754 rm -f core conftest.err conftest.$ac_objext
2755 test "x$ac_cv_prog_cc_c89" != "xno" && break
2757 rm -f conftest.$ac_ext
2762 case "x$ac_cv_prog_cc_c89" in
2764 { echo "$as_me:$LINENO: result: none needed" >&5
2765 echo "${ECHO_T}none needed" >&6; } ;;
2767 { echo "$as_me:$LINENO: result: unsupported" >&5
2768 echo "${ECHO_T}unsupported" >&6; } ;;
2770 CC="$CC $ac_cv_prog_cc_c89"
2771 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2772 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2777 ac_cpp='$CPP $CPPFLAGS'
2778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2782 # Find a good install program. We prefer a C program (faster),
2783 # so one script is as good as another. But avoid the broken or
2784 # incompatible versions:
2785 # SysV /etc/install, /usr/sbin/install
2786 # SunOS /usr/etc/install
2787 # IRIX /sbin/install
2789 # AmigaOS /C/install, which installs bootblocks on floppy discs
2790 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2791 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2792 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2793 # OS/2's system install, which has a completely different semantic
2794 # ./install, which can be erroneously created by make from ./install.sh.
2795 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2796 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2797 if test -z "$INSTALL"; then
2798 if test "${ac_cv_path_install+set}" = set; then
2799 echo $ECHO_N "(cached) $ECHO_C" >&6
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2805 test -z "$as_dir" && as_dir=.
2806 # Account for people who put trailing slashes in PATH elements.
2808 ./ | .// | /cC/* | \
2809 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2810 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2813 # OSF1 and SCO ODT 3.0 have their own names for install.
2814 # Don't use installbsd from OSF since it installs stuff as root
2816 for ac_prog in ginstall scoinst install; do
2817 for ac_exec_ext in '' $ac_executable_extensions; do
2818 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2819 if test $ac_prog = install &&
2820 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2821 # AIX install. It has an incompatible calling convention.
2823 elif test $ac_prog = install &&
2824 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2825 # program-specific install script used by HP pwplus--don't use.
2828 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2841 if test "${ac_cv_path_install+set}" = set; then
2842 INSTALL=$ac_cv_path_install
2844 # As a last resort, use the slow shell script. Don't cache a
2845 # value for INSTALL within a source directory, because that will
2846 # break other packages using the cache if that directory is
2847 # removed, or if the value is a relative name.
2848 INSTALL=$ac_install_sh
2851 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2852 echo "${ECHO_T}$INSTALL" >&6; }
2854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2855 # It thinks the first close brace ends the variable substitution.
2856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2862 if test -n "$ac_tool_prefix"; then
2863 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2864 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2867 if test "${ac_cv_prog_RANLIB+set}" = set; then
2868 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 if test -n "$RANLIB"; then
2871 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir=.
2878 for ac_exec_ext in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 RANLIB=$ac_cv_prog_RANLIB
2891 if test -n "$RANLIB"; then
2892 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2893 echo "${ECHO_T}$RANLIB" >&6; }
2895 { echo "$as_me:$LINENO: result: no" >&5
2896 echo "${ECHO_T}no" >&6; }
2901 if test -z "$ac_cv_prog_RANLIB"; then
2902 ac_ct_RANLIB=$RANLIB
2903 # Extract the first word of "ranlib", so it can be a program name with args.
2904 set dummy ranlib; ac_word=$2
2905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2907 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 if test -n "$ac_ct_RANLIB"; then
2911 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir=.
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_ac_ct_RANLIB="ranlib"
2921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2931 if test -n "$ac_ct_RANLIB"; then
2932 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2933 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2935 { echo "$as_me:$LINENO: result: no" >&5
2936 echo "${ECHO_T}no" >&6; }
2939 if test "x$ac_ct_RANLIB" = x; then
2942 case $cross_compiling:$ac_tool_warned in
2944 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2945 whose name does not start with the host triplet. If you think this
2946 configuration is useful to you, please write to autoconf@gnu.org." >&5
2947 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2948 whose name does not start with the host triplet. If you think this
2949 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2950 ac_tool_warned=yes ;;
2952 RANLIB=$ac_ct_RANLIB
2955 RANLIB="$ac_cv_prog_RANLIB"
2961 { echo "$as_me:$LINENO: checking for main in -lcompat" >&5
2962 echo $ECHO_N "checking for main in -lcompat... $ECHO_C" >&6; }
2963 if test "${ac_cv_lib_compat_main+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 ac_check_lib_save_LIBS=$LIBS
2967 LIBS="-lcompat $LIBS"
2968 cat >conftest.$ac_ext <<_ACEOF
2971 cat confdefs.h >>conftest.$ac_ext
2972 cat >>conftest.$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2984 rm -f conftest.$ac_objext conftest$ac_exeext
2985 if { (ac_try="$ac_link"
2987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2988 *) ac_try_echo=$ac_try;;
2990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2991 (eval "$ac_link") 2>conftest.er1
2993 grep -v '^ *+' conftest.er1 >conftest.err
2995 cat conftest.err >&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } && {
2998 test -z "$ac_c_werror_flag" ||
2999 test ! -s conftest.err
3000 } && test -s conftest$ac_exeext &&
3001 $as_test_x conftest$ac_exeext; then
3002 ac_cv_lib_compat_main=yes
3004 echo "$as_me: failed program was:" >&5
3005 sed 's/^/| /' conftest.$ac_ext >&5
3007 ac_cv_lib_compat_main=no
3010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3011 conftest$ac_exeext conftest.$ac_ext
3012 LIBS=$ac_check_lib_save_LIBS
3014 { echo "$as_me:$LINENO: result: $ac_cv_lib_compat_main" >&5
3015 echo "${ECHO_T}$ac_cv_lib_compat_main" >&6; }
3016 if test $ac_cv_lib_compat_main = yes; then
3017 cat >>confdefs.h <<_ACEOF
3018 #define HAVE_LIBCOMPAT 1
3021 LIBS="-lcompat $LIBS"
3025 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3026 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
3027 if test "${ac_cv_search_gethostbyname+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3030 ac_func_search_save_LIBS=$LIBS
3031 cat >conftest.$ac_ext <<_ACEOF
3034 cat confdefs.h >>conftest.$ac_ext
3035 cat >>conftest.$ac_ext <<_ACEOF
3036 /* end confdefs.h. */
3038 /* Override any GCC internal prototype to avoid an error.
3039 Use char because int might match the return type of a GCC
3040 builtin and then its argument prototype would still apply. */
3044 char gethostbyname ();
3048 return gethostbyname ();
3053 for ac_lib in '' nsl socket resolv; do
3054 if test -z "$ac_lib"; then
3055 ac_res="none required"
3058 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3060 rm -f conftest.$ac_objext conftest$ac_exeext
3061 if { (ac_try="$ac_link"
3063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3064 *) ac_try_echo=$ac_try;;
3066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3067 (eval "$ac_link") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } && {
3074 test -z "$ac_c_werror_flag" ||
3075 test ! -s conftest.err
3076 } && test -s conftest$ac_exeext &&
3077 $as_test_x conftest$ac_exeext; then
3078 ac_cv_search_gethostbyname=$ac_res
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3088 if test "${ac_cv_search_gethostbyname+set}" = set; then
3092 if test "${ac_cv_search_gethostbyname+set}" = set; then
3095 ac_cv_search_gethostbyname=no
3098 LIBS=$ac_func_search_save_LIBS
3100 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3101 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
3102 ac_res=$ac_cv_search_gethostbyname
3103 if test "$ac_res" != no; then
3104 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3108 { echo "$as_me:$LINENO: checking for library containing getnameinfo" >&5
3109 echo $ECHO_N "checking for library containing getnameinfo... $ECHO_C" >&6; }
3110 if test "${ac_cv_search_getnameinfo+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 ac_func_search_save_LIBS=$LIBS
3114 cat >conftest.$ac_ext <<_ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3121 /* Override any GCC internal prototype to avoid an error.
3122 Use char because int might match the return type of a GCC
3123 builtin and then its argument prototype would still apply. */
3127 char getnameinfo ();
3131 return getnameinfo ();
3136 for ac_lib in '' nsl socket resolv; do
3137 if test -z "$ac_lib"; then
3138 ac_res="none required"
3141 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3143 rm -f conftest.$ac_objext conftest$ac_exeext
3144 if { (ac_try="$ac_link"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150 (eval "$ac_link") 2>conftest.er1
3152 grep -v '^ *+' conftest.er1 >conftest.err
3154 cat conftest.err >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } && {
3157 test -z "$ac_c_werror_flag" ||
3158 test ! -s conftest.err
3159 } && test -s conftest$ac_exeext &&
3160 $as_test_x conftest$ac_exeext; then
3161 ac_cv_search_getnameinfo=$ac_res
3163 echo "$as_me: failed program was:" >&5
3164 sed 's/^/| /' conftest.$ac_ext >&5
3169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3171 if test "${ac_cv_search_getnameinfo+set}" = set; then
3175 if test "${ac_cv_search_getnameinfo+set}" = set; then
3178 ac_cv_search_getnameinfo=no
3181 LIBS=$ac_func_search_save_LIBS
3183 { echo "$as_me:$LINENO: result: $ac_cv_search_getnameinfo" >&5
3184 echo "${ECHO_T}$ac_cv_search_getnameinfo" >&6; }
3185 ac_res=$ac_cv_search_getnameinfo
3186 if test "$ac_res" != no; then
3187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3191 { echo "$as_me:$LINENO: checking for library containing inet_ntop" >&5
3192 echo $ECHO_N "checking for library containing inet_ntop... $ECHO_C" >&6; }
3193 if test "${ac_cv_search_inet_ntop+set}" = set; then
3194 echo $ECHO_N "(cached) $ECHO_C" >&6
3196 ac_func_search_save_LIBS=$LIBS
3197 cat >conftest.$ac_ext <<_ACEOF
3200 cat confdefs.h >>conftest.$ac_ext
3201 cat >>conftest.$ac_ext <<_ACEOF
3202 /* end confdefs.h. */
3204 /* Override any GCC internal prototype to avoid an error.
3205 Use char because int might match the return type of a GCC
3206 builtin and then its argument prototype would still apply. */
3214 return inet_ntop ();
3219 for ac_lib in '' nsl socket resolv; do
3220 if test -z "$ac_lib"; then
3221 ac_res="none required"
3224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3226 rm -f conftest.$ac_objext conftest$ac_exeext
3227 if { (ac_try="$ac_link"
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_link") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_c_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest$ac_exeext &&
3243 $as_test_x conftest$ac_exeext; then
3244 ac_cv_search_inet_ntop=$ac_res
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.$ac_ext >&5
3252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3254 if test "${ac_cv_search_inet_ntop+set}" = set; then
3258 if test "${ac_cv_search_inet_ntop+set}" = set; then
3261 ac_cv_search_inet_ntop=no
3264 LIBS=$ac_func_search_save_LIBS
3266 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntop" >&5
3267 echo "${ECHO_T}$ac_cv_search_inet_ntop" >&6; }
3268 ac_res=$ac_cv_search_inet_ntop
3269 if test "$ac_res" != no; then
3270 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3276 for ac_func in getnameinfo inet_ntop
3278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3282 echo $ECHO_N "(cached) $ECHO_C" >&6
3284 cat >conftest.$ac_ext <<_ACEOF
3287 cat confdefs.h >>conftest.$ac_ext
3288 cat >>conftest.$ac_ext <<_ACEOF
3289 /* end confdefs.h. */
3290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3292 #define $ac_func innocuous_$ac_func
3294 /* System header to define __stub macros and hopefully few prototypes,
3295 which can conflict with char $ac_func (); below.
3296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3297 <limits.h> exists even on freestanding compilers. */
3300 # include <limits.h>
3302 # include <assert.h>
3307 /* Override any GCC internal prototype to avoid an error.
3308 Use char because int might match the return type of a GCC
3309 builtin and then its argument prototype would still apply. */
3314 /* The GNU C library defines this for functions which it implements
3315 to always fail with ENOSYS. Some functions are actually named
3316 something starting with __ and the normal name is an alias. */
3317 #if defined __stub_$ac_func || defined __stub___$ac_func
3329 rm -f conftest.$ac_objext conftest$ac_exeext
3330 if { (ac_try="$ac_link"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_link") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1 >conftest.err
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } && {
3343 test -z "$ac_c_werror_flag" ||
3344 test ! -s conftest.err
3345 } && test -s conftest$ac_exeext &&
3346 $as_test_x conftest$ac_exeext; then
3347 eval "$as_ac_var=yes"
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.$ac_ext >&5
3352 eval "$as_ac_var=no"
3355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3356 conftest$ac_exeext conftest.$ac_ext
3358 ac_res=`eval echo '${'$as_ac_var'}'`
3359 { echo "$as_me:$LINENO: result: $ac_res" >&5
3360 echo "${ECHO_T}$ac_res" >&6; }
3361 if test `eval echo '${'$as_ac_var'}'` = yes; then
3362 cat >>confdefs.h <<_ACEOF
3363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3370 for ac_func in difftime
3372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3373 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3375 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 cat >conftest.$ac_ext <<_ACEOF
3381 cat confdefs.h >>conftest.$ac_ext
3382 cat >>conftest.$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3386 #define $ac_func innocuous_$ac_func
3388 /* System header to define __stub macros and hopefully few prototypes,
3389 which can conflict with char $ac_func (); below.
3390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3391 <limits.h> exists even on freestanding compilers. */
3394 # include <limits.h>
3396 # include <assert.h>
3401 /* Override any GCC internal prototype to avoid an error.
3402 Use char because int might match the return type of a GCC
3403 builtin and then its argument prototype would still apply. */
3408 /* The GNU C library defines this for functions which it implements
3409 to always fail with ENOSYS. Some functions are actually named
3410 something starting with __ and the normal name is an alias. */
3411 #if defined __stub_$ac_func || defined __stub___$ac_func
3423 rm -f conftest.$ac_objext conftest$ac_exeext
3424 if { (ac_try="$ac_link"
3426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3427 *) ac_try_echo=$ac_try;;
3429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3430 (eval "$ac_link") 2>conftest.er1
3432 grep -v '^ *+' conftest.er1 >conftest.err
3434 cat conftest.err >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } && {
3437 test -z "$ac_c_werror_flag" ||
3438 test ! -s conftest.err
3439 } && test -s conftest$ac_exeext &&
3440 $as_test_x conftest$ac_exeext; then
3441 eval "$as_ac_var=yes"
3443 echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 eval "$as_ac_var=no"
3449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3450 conftest$ac_exeext conftest.$ac_ext
3452 ac_res=`eval echo '${'$as_ac_var'}'`
3453 { echo "$as_me:$LINENO: result: $ac_res" >&5
3454 echo "${ECHO_T}$ac_res" >&6; }
3455 if test `eval echo '${'$as_ac_var'}'` = yes; then
3456 cat >>confdefs.h <<_ACEOF
3457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3462 { echo "$as_me:$LINENO: checking for difftime in -lm" >&5
3463 echo $ECHO_N "checking for difftime in -lm... $ECHO_C" >&6; }
3464 if test "${ac_cv_lib_m_difftime+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 ac_check_lib_save_LIBS=$LIBS
3469 cat >conftest.$ac_ext <<_ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3476 /* Override any GCC internal prototype to avoid an error.
3477 Use char because int might match the return type of a GCC
3478 builtin and then its argument prototype would still apply. */
3491 rm -f conftest.$ac_objext conftest$ac_exeext
3492 if { (ac_try="$ac_link"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_link") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } && {
3505 test -z "$ac_c_werror_flag" ||
3506 test ! -s conftest.err
3507 } && test -s conftest$ac_exeext &&
3508 $as_test_x conftest$ac_exeext; then
3509 ac_cv_lib_m_difftime=yes
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 ac_cv_lib_m_difftime=no
3517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3518 conftest$ac_exeext conftest.$ac_ext
3519 LIBS=$ac_check_lib_save_LIBS
3521 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_difftime" >&5
3522 echo "${ECHO_T}$ac_cv_lib_m_difftime" >&6; }
3523 if test $ac_cv_lib_m_difftime = yes; then
3524 cat >>confdefs.h <<_ACEOF
3538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3539 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3541 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 cat >conftest.$ac_ext <<_ACEOF
3547 cat confdefs.h >>conftest.$ac_ext
3548 cat >>conftest.$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3552 #define $ac_func innocuous_$ac_func
3554 /* System header to define __stub macros and hopefully few prototypes,
3555 which can conflict with char $ac_func (); below.
3556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3557 <limits.h> exists even on freestanding compilers. */
3560 # include <limits.h>
3562 # include <assert.h>
3567 /* Override any GCC internal prototype to avoid an error.
3568 Use char because int might match the return type of a GCC
3569 builtin and then its argument prototype would still apply. */
3574 /* The GNU C library defines this for functions which it implements
3575 to always fail with ENOSYS. Some functions are actually named
3576 something starting with __ and the normal name is an alias. */
3577 #if defined __stub_$ac_func || defined __stub___$ac_func
3589 rm -f conftest.$ac_objext conftest$ac_exeext
3590 if { (ac_try="$ac_link"
3592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3593 *) ac_try_echo=$ac_try;;
3595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3596 (eval "$ac_link") 2>conftest.er1
3598 grep -v '^ *+' conftest.er1 >conftest.err
3600 cat conftest.err >&5
3601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3602 (exit $ac_status); } && {
3603 test -z "$ac_c_werror_flag" ||
3604 test ! -s conftest.err
3605 } && test -s conftest$ac_exeext &&
3606 $as_test_x conftest$ac_exeext; then
3607 eval "$as_ac_var=yes"
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 eval "$as_ac_var=no"
3615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3616 conftest$ac_exeext conftest.$ac_ext
3618 ac_res=`eval echo '${'$as_ac_var'}'`
3619 { echo "$as_me:$LINENO: result: $ac_res" >&5
3620 echo "${ECHO_T}$ac_res" >&6; }
3621 if test `eval echo '${'$as_ac_var'}'` = yes; then
3622 cat >>confdefs.h <<_ACEOF
3623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3628 { echo "$as_me:$LINENO: checking for fcvt in -lm" >&5
3629 echo $ECHO_N "checking for fcvt in -lm... $ECHO_C" >&6; }
3630 if test "${ac_cv_lib_m_fcvt+set}" = set; then
3631 echo $ECHO_N "(cached) $ECHO_C" >&6
3633 ac_check_lib_save_LIBS=$LIBS
3635 cat >conftest.$ac_ext <<_ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3642 /* Override any GCC internal prototype to avoid an error.
3643 Use char because int might match the return type of a GCC
3644 builtin and then its argument prototype would still apply. */
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (ac_try="$ac_link"
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3664 (eval "$ac_link") 2>conftest.er1
3666 grep -v '^ *+' conftest.er1 >conftest.err
3668 cat conftest.err >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } && {
3671 test -z "$ac_c_werror_flag" ||
3672 test ! -s conftest.err
3673 } && test -s conftest$ac_exeext &&
3674 $as_test_x conftest$ac_exeext; then
3675 ac_cv_lib_m_fcvt=yes
3677 echo "$as_me: failed program was:" >&5
3678 sed 's/^/| /' conftest.$ac_ext >&5
3683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3684 conftest$ac_exeext conftest.$ac_ext
3685 LIBS=$ac_check_lib_save_LIBS
3687 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_fcvt" >&5
3688 echo "${ECHO_T}$ac_cv_lib_m_fcvt" >&6; }
3689 if test $ac_cv_lib_m_fcvt = yes; then
3690 cat >>confdefs.h <<_ACEOF
3704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3705 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3707 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3718 #define $ac_func innocuous_$ac_func
3720 /* System header to define __stub macros and hopefully few prototypes,
3721 which can conflict with char $ac_func (); below.
3722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3723 <limits.h> exists even on freestanding compilers. */
3726 # include <limits.h>
3728 # include <assert.h>
3733 /* Override any GCC internal prototype to avoid an error.
3734 Use char because int might match the return type of a GCC
3735 builtin and then its argument prototype would still apply. */
3740 /* The GNU C library defines this for functions which it implements
3741 to always fail with ENOSYS. Some functions are actually named
3742 something starting with __ and the normal name is an alias. */
3743 #if defined __stub_$ac_func || defined __stub___$ac_func
3755 rm -f conftest.$ac_objext conftest$ac_exeext
3756 if { (ac_try="$ac_link"
3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3759 *) ac_try_echo=$ac_try;;
3761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3762 (eval "$ac_link") 2>conftest.er1
3764 grep -v '^ *+' conftest.er1 >conftest.err
3766 cat conftest.err >&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } && {
3769 test -z "$ac_c_werror_flag" ||
3770 test ! -s conftest.err
3771 } && test -s conftest$ac_exeext &&
3772 $as_test_x conftest$ac_exeext; then
3773 eval "$as_ac_var=yes"
3775 echo "$as_me: failed program was:" >&5
3776 sed 's/^/| /' conftest.$ac_ext >&5
3778 eval "$as_ac_var=no"
3781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3782 conftest$ac_exeext conftest.$ac_ext
3784 ac_res=`eval echo '${'$as_ac_var'}'`
3785 { echo "$as_me:$LINENO: result: $ac_res" >&5
3786 echo "${ECHO_T}$ac_res" >&6; }
3787 if test `eval echo '${'$as_ac_var'}'` = yes; then
3788 cat >>confdefs.h <<_ACEOF
3789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3794 { echo "$as_me:$LINENO: checking for ecvt in -lm" >&5
3795 echo $ECHO_N "checking for ecvt in -lm... $ECHO_C" >&6; }
3796 if test "${ac_cv_lib_m_ecvt+set}" = set; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 ac_check_lib_save_LIBS=$LIBS
3801 cat >conftest.$ac_ext <<_ACEOF
3804 cat confdefs.h >>conftest.$ac_ext
3805 cat >>conftest.$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3808 /* Override any GCC internal prototype to avoid an error.
3809 Use char because int might match the return type of a GCC
3810 builtin and then its argument prototype would still apply. */
3823 rm -f conftest.$ac_objext conftest$ac_exeext
3824 if { (ac_try="$ac_link"
3826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827 *) ac_try_echo=$ac_try;;
3829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3830 (eval "$ac_link") 2>conftest.er1
3832 grep -v '^ *+' conftest.er1 >conftest.err
3834 cat conftest.err >&5
3835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836 (exit $ac_status); } && {
3837 test -z "$ac_c_werror_flag" ||
3838 test ! -s conftest.err
3839 } && test -s conftest$ac_exeext &&
3840 $as_test_x conftest$ac_exeext; then
3841 ac_cv_lib_m_ecvt=yes
3843 echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3850 conftest$ac_exeext conftest.$ac_ext
3851 LIBS=$ac_check_lib_save_LIBS
3853 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ecvt" >&5
3854 echo "${ECHO_T}$ac_cv_lib_m_ecvt" >&6; }
3855 if test $ac_cv_lib_m_ecvt = yes; then
3856 cat >>confdefs.h <<_ACEOF
3870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3871 { echo "$as_me:$LINENO: checking for $ac_func" >&5
3872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3873 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 cat >conftest.$ac_ext <<_ACEOF
3879 cat confdefs.h >>conftest.$ac_ext
3880 cat >>conftest.$ac_ext <<_ACEOF
3881 /* end confdefs.h. */
3882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3884 #define $ac_func innocuous_$ac_func
3886 /* System header to define __stub macros and hopefully few prototypes,
3887 which can conflict with char $ac_func (); below.
3888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3889 <limits.h> exists even on freestanding compilers. */
3892 # include <limits.h>
3894 # include <assert.h>
3899 /* Override any GCC internal prototype to avoid an error.
3900 Use char because int might match the return type of a GCC
3901 builtin and then its argument prototype would still apply. */
3906 /* The GNU C library defines this for functions which it implements
3907 to always fail with ENOSYS. Some functions are actually named
3908 something starting with __ and the normal name is an alias. */
3909 #if defined __stub_$ac_func || defined __stub___$ac_func
3921 rm -f conftest.$ac_objext conftest$ac_exeext
3922 if { (ac_try="$ac_link"
3924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 *) ac_try_echo=$ac_try;;
3927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3928 (eval "$ac_link") 2>conftest.er1
3930 grep -v '^ *+' conftest.er1 >conftest.err
3932 cat conftest.err >&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } && {
3935 test -z "$ac_c_werror_flag" ||
3936 test ! -s conftest.err
3937 } && test -s conftest$ac_exeext &&
3938 $as_test_x conftest$ac_exeext; then
3939 eval "$as_ac_var=yes"
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.$ac_ext >&5
3944 eval "$as_ac_var=no"
3947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3948 conftest$ac_exeext conftest.$ac_ext
3950 ac_res=`eval echo '${'$as_ac_var'}'`
3951 { echo "$as_me:$LINENO: result: $ac_res" >&5
3952 echo "${ECHO_T}$ac_res" >&6; }
3953 if test `eval echo '${'$as_ac_var'}'` = yes; then
3954 cat >>confdefs.h <<_ACEOF
3955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3960 { echo "$as_me:$LINENO: checking for gcvt in -lm" >&5
3961 echo $ECHO_N "checking for gcvt in -lm... $ECHO_C" >&6; }
3962 if test "${ac_cv_lib_m_gcvt+set}" = set; then
3963 echo $ECHO_N "(cached) $ECHO_C" >&6
3965 ac_check_lib_save_LIBS=$LIBS
3967 cat >conftest.$ac_ext <<_ACEOF
3970 cat confdefs.h >>conftest.$ac_ext
3971 cat >>conftest.$ac_ext <<_ACEOF
3972 /* end confdefs.h. */
3974 /* Override any GCC internal prototype to avoid an error.
3975 Use char because int might match the return type of a GCC
3976 builtin and then its argument prototype would still apply. */
3989 rm -f conftest.$ac_objext conftest$ac_exeext
3990 if { (ac_try="$ac_link"
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3996 (eval "$ac_link") 2>conftest.er1
3998 grep -v '^ *+' conftest.er1 >conftest.err
4000 cat conftest.err >&5
4001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4002 (exit $ac_status); } && {
4003 test -z "$ac_c_werror_flag" ||
4004 test ! -s conftest.err
4005 } && test -s conftest$ac_exeext &&
4006 $as_test_x conftest$ac_exeext; then
4007 ac_cv_lib_m_gcvt=yes
4009 echo "$as_me: failed program was:" >&5
4010 sed 's/^/| /' conftest.$ac_ext >&5
4015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4016 conftest$ac_exeext conftest.$ac_ext
4017 LIBS=$ac_check_lib_save_LIBS
4019 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_gcvt" >&5
4020 echo "${ECHO_T}$ac_cv_lib_m_gcvt" >&6; }
4021 if test $ac_cv_lib_m_gcvt = yes; then
4022 cat >>confdefs.h <<_ACEOF
4034 { echo "$as_me:$LINENO: checking for strerror" >&5
4035 echo $ECHO_N "checking for strerror... $ECHO_C" >&6; }
4036 if test "${ac_cv_func_strerror+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 cat >conftest.$ac_ext <<_ACEOF
4042 cat confdefs.h >>conftest.$ac_ext
4043 cat >>conftest.$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4045 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
4046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4047 #define strerror innocuous_strerror
4049 /* System header to define __stub macros and hopefully few prototypes,
4050 which can conflict with char strerror (); below.
4051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4052 <limits.h> exists even on freestanding compilers. */
4055 # include <limits.h>
4057 # include <assert.h>
4062 /* Override any GCC internal prototype to avoid an error.
4063 Use char because int might match the return type of a GCC
4064 builtin and then its argument prototype would still apply. */
4069 /* The GNU C library defines this for functions which it implements
4070 to always fail with ENOSYS. Some functions are actually named
4071 something starting with __ and the normal name is an alias. */
4072 #if defined __stub_strerror || defined __stub___strerror
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088 *) ac_try_echo=$ac_try;;
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091 (eval "$ac_link") 2>conftest.er1
4093 grep -v '^ *+' conftest.er1 >conftest.err
4095 cat conftest.err >&5
4096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097 (exit $ac_status); } && {
4098 test -z "$ac_c_werror_flag" ||
4099 test ! -s conftest.err
4100 } && test -s conftest$ac_exeext &&
4101 $as_test_x conftest$ac_exeext; then
4102 ac_cv_func_strerror=yes
4104 echo "$as_me: failed program was:" >&5
4105 sed 's/^/| /' conftest.$ac_ext >&5
4107 ac_cv_func_strerror=no
4110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4111 conftest$ac_exeext conftest.$ac_ext
4113 { echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4114 echo "${ECHO_T}$ac_cv_func_strerror" >&6; }
4115 if test $ac_cv_func_strerror = yes; then
4116 cat >>confdefs.h <<\_ACEOF
4117 #define HAVE_STRERROR 1
4122 { echo "$as_me:$LINENO: checking for strcasecmp" >&5
4123 echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; }
4124 if test "${ac_cv_func_strcasecmp+set}" = set; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 cat >conftest.$ac_ext <<_ACEOF
4130 cat confdefs.h >>conftest.$ac_ext
4131 cat >>conftest.$ac_ext <<_ACEOF
4132 /* end confdefs.h. */
4133 /* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
4134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4135 #define strcasecmp innocuous_strcasecmp
4137 /* System header to define __stub macros and hopefully few prototypes,
4138 which can conflict with char strcasecmp (); below.
4139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4140 <limits.h> exists even on freestanding compilers. */
4143 # include <limits.h>
4145 # include <assert.h>
4150 /* Override any GCC internal prototype to avoid an error.
4151 Use char because int might match the return type of a GCC
4152 builtin and then its argument prototype would still apply. */
4157 /* The GNU C library defines this for functions which it implements
4158 to always fail with ENOSYS. Some functions are actually named
4159 something starting with __ and the normal name is an alias. */
4160 #if defined __stub_strcasecmp || defined __stub___strcasecmp
4167 return strcasecmp ();
4172 rm -f conftest.$ac_objext conftest$ac_exeext
4173 if { (ac_try="$ac_link"
4175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4176 *) ac_try_echo=$ac_try;;
4178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4179 (eval "$ac_link") 2>conftest.er1
4181 grep -v '^ *+' conftest.er1 >conftest.err
4183 cat conftest.err >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } && {
4186 test -z "$ac_c_werror_flag" ||
4187 test ! -s conftest.err
4188 } && test -s conftest$ac_exeext &&
4189 $as_test_x conftest$ac_exeext; then
4190 ac_cv_func_strcasecmp=yes
4192 echo "$as_me: failed program was:" >&5
4193 sed 's/^/| /' conftest.$ac_ext >&5
4195 ac_cv_func_strcasecmp=no
4198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4199 conftest$ac_exeext conftest.$ac_ext
4201 { echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
4202 echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; }
4203 if test $ac_cv_func_strcasecmp = yes; then
4204 cat >>confdefs.h <<\_ACEOF
4205 #define HAVE_STRCASECMP 1
4210 { echo "$as_me:$LINENO: checking for socket" >&5
4211 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
4212 if test "${ac_cv_func_socket+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 cat >conftest.$ac_ext <<_ACEOF
4218 cat confdefs.h >>conftest.$ac_ext
4219 cat >>conftest.$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4221 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
4222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4223 #define socket innocuous_socket
4225 /* System header to define __stub macros and hopefully few prototypes,
4226 which can conflict with char socket (); below.
4227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4228 <limits.h> exists even on freestanding compilers. */
4231 # include <limits.h>
4233 # include <assert.h>
4238 /* Override any GCC internal prototype to avoid an error.
4239 Use char because int might match the return type of a GCC
4240 builtin and then its argument prototype would still apply. */
4245 /* The GNU C library defines this for functions which it implements
4246 to always fail with ENOSYS. Some functions are actually named
4247 something starting with __ and the normal name is an alias. */
4248 #if defined __stub_socket || defined __stub___socket
4260 rm -f conftest.$ac_objext conftest$ac_exeext
4261 if { (ac_try="$ac_link"
4263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4264 *) ac_try_echo=$ac_try;;
4266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4267 (eval "$ac_link") 2>conftest.er1
4269 grep -v '^ *+' conftest.er1 >conftest.err
4271 cat conftest.err >&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); } && {
4274 test -z "$ac_c_werror_flag" ||
4275 test ! -s conftest.err
4276 } && test -s conftest$ac_exeext &&
4277 $as_test_x conftest$ac_exeext; then
4278 ac_cv_func_socket=yes
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4283 ac_cv_func_socket=no
4286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4287 conftest$ac_exeext conftest.$ac_ext
4289 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
4290 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
4291 if test $ac_cv_func_socket = yes; then
4295 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4296 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
4297 if test "${ac_cv_lib_socket_socket+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 ac_check_lib_save_LIBS=$LIBS
4301 LIBS="-lsocket $LIBS"
4302 cat >conftest.$ac_ext <<_ACEOF
4305 cat confdefs.h >>conftest.$ac_ext
4306 cat >>conftest.$ac_ext <<_ACEOF
4307 /* end confdefs.h. */
4309 /* Override any GCC internal prototype to avoid an error.
4310 Use char because int might match the return type of a GCC
4311 builtin and then its argument prototype would still apply. */
4324 rm -f conftest.$ac_objext conftest$ac_exeext
4325 if { (ac_try="$ac_link"
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4331 (eval "$ac_link") 2>conftest.er1
4333 grep -v '^ *+' conftest.er1 >conftest.err
4335 cat conftest.err >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); } && {
4338 test -z "$ac_c_werror_flag" ||
4339 test ! -s conftest.err
4340 } && test -s conftest$ac_exeext &&
4341 $as_test_x conftest$ac_exeext; then
4342 ac_cv_lib_socket_socket=yes
4344 echo "$as_me: failed program was:" >&5
4345 sed 's/^/| /' conftest.$ac_ext >&5
4347 ac_cv_lib_socket_socket=no
4350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4351 conftest$ac_exeext conftest.$ac_ext
4352 LIBS=$ac_check_lib_save_LIBS
4354 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4355 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
4356 if test $ac_cv_lib_socket_socket = yes; then
4357 cat >>confdefs.h <<_ACEOF
4358 #define HAVE_LIBSOCKET 1
4361 LIBS="-lsocket $LIBS"
4365 { echo "$as_me:$LINENO: checking for socket in -lnsl" >&5
4366 echo $ECHO_N "checking for socket in -lnsl... $ECHO_C" >&6; }
4367 if test "${ac_cv_lib_nsl_socket+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 ac_check_lib_save_LIBS=$LIBS
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4379 /* Override any GCC internal prototype to avoid an error.
4380 Use char because int might match the return type of a GCC
4381 builtin and then its argument prototype would still apply. */
4394 rm -f conftest.$ac_objext conftest$ac_exeext
4395 if { (ac_try="$ac_link"
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4401 (eval "$ac_link") 2>conftest.er1
4403 grep -v '^ *+' conftest.er1 >conftest.err
4405 cat conftest.err >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); } && {
4408 test -z "$ac_c_werror_flag" ||
4409 test ! -s conftest.err
4410 } && test -s conftest$ac_exeext &&
4411 $as_test_x conftest$ac_exeext; then
4412 ac_cv_lib_nsl_socket=yes
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4417 ac_cv_lib_nsl_socket=no
4420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4421 conftest$ac_exeext conftest.$ac_ext
4422 LIBS=$ac_check_lib_save_LIBS
4424 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_socket" >&5
4425 echo "${ECHO_T}$ac_cv_lib_nsl_socket" >&6; }
4426 if test $ac_cv_lib_nsl_socket = yes; then
4427 cat >>confdefs.h <<_ACEOF
4428 #define HAVE_LIBNSL 1
4439 { echo "$as_me:$LINENO: checking for inet_aton" >&5
4440 echo $ECHO_N "checking for inet_aton... $ECHO_C" >&6; }
4441 if test "${ac_cv_func_inet_aton+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 cat >conftest.$ac_ext <<_ACEOF
4447 cat confdefs.h >>conftest.$ac_ext
4448 cat >>conftest.$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4450 /* Define inet_aton to an innocuous variant, in case <limits.h> declares inet_aton.
4451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4452 #define inet_aton innocuous_inet_aton
4454 /* System header to define __stub macros and hopefully few prototypes,
4455 which can conflict with char inet_aton (); below.
4456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4457 <limits.h> exists even on freestanding compilers. */
4460 # include <limits.h>
4462 # include <assert.h>
4467 /* Override any GCC internal prototype to avoid an error.
4468 Use char because int might match the return type of a GCC
4469 builtin and then its argument prototype would still apply. */
4474 /* The GNU C library defines this for functions which it implements
4475 to always fail with ENOSYS. Some functions are actually named
4476 something starting with __ and the normal name is an alias. */
4477 #if defined __stub_inet_aton || defined __stub___inet_aton
4484 return inet_aton ();
4489 rm -f conftest.$ac_objext conftest$ac_exeext
4490 if { (ac_try="$ac_link"
4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493 *) ac_try_echo=$ac_try;;
4495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4496 (eval "$ac_link") 2>conftest.er1
4498 grep -v '^ *+' conftest.er1 >conftest.err
4500 cat conftest.err >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); } && {
4503 test -z "$ac_c_werror_flag" ||
4504 test ! -s conftest.err
4505 } && test -s conftest$ac_exeext &&
4506 $as_test_x conftest$ac_exeext; then
4507 ac_cv_func_inet_aton=yes
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.$ac_ext >&5
4512 ac_cv_func_inet_aton=no
4515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4516 conftest$ac_exeext conftest.$ac_ext
4518 { echo "$as_me:$LINENO: result: $ac_cv_func_inet_aton" >&5
4519 echo "${ECHO_T}$ac_cv_func_inet_aton" >&6; }
4520 if test $ac_cv_func_inet_aton = yes; then
4524 { echo "$as_me:$LINENO: checking for inet_aton in -lnsl" >&5
4525 echo $ECHO_N "checking for inet_aton in -lnsl... $ECHO_C" >&6; }
4526 if test "${ac_cv_lib_nsl_inet_aton+set}" = set; then
4527 echo $ECHO_N "(cached) $ECHO_C" >&6
4529 ac_check_lib_save_LIBS=$LIBS
4531 cat >conftest.$ac_ext <<_ACEOF
4534 cat confdefs.h >>conftest.$ac_ext
4535 cat >>conftest.$ac_ext <<_ACEOF
4536 /* end confdefs.h. */
4538 /* Override any GCC internal prototype to avoid an error.
4539 Use char because int might match the return type of a GCC
4540 builtin and then its argument prototype would still apply. */
4548 return inet_aton ();
4553 rm -f conftest.$ac_objext conftest$ac_exeext
4554 if { (ac_try="$ac_link"
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4560 (eval "$ac_link") 2>conftest.er1
4562 grep -v '^ *+' conftest.er1 >conftest.err
4564 cat conftest.err >&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } && {
4567 test -z "$ac_c_werror_flag" ||
4568 test ! -s conftest.err
4569 } && test -s conftest$ac_exeext &&
4570 $as_test_x conftest$ac_exeext; then
4571 ac_cv_lib_nsl_inet_aton=yes
4573 echo "$as_me: failed program was:" >&5
4574 sed 's/^/| /' conftest.$ac_ext >&5
4576 ac_cv_lib_nsl_inet_aton=no
4579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4580 conftest$ac_exeext conftest.$ac_ext
4581 LIBS=$ac_check_lib_save_LIBS
4583 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_aton" >&5
4584 echo "${ECHO_T}$ac_cv_lib_nsl_inet_aton" >&6; }
4585 if test $ac_cv_lib_nsl_inet_aton = yes; then
4586 cat >>confdefs.h <<_ACEOF
4587 #define HAVE_LIBNSL 1
4594 { echo "$as_me:$LINENO: checking for inet_aton in -lsocket" >&5
4595 echo $ECHO_N "checking for inet_aton in -lsocket... $ECHO_C" >&6; }
4596 if test "${ac_cv_lib_socket_inet_aton+set}" = set; then
4597 echo $ECHO_N "(cached) $ECHO_C" >&6
4599 ac_check_lib_save_LIBS=$LIBS
4600 LIBS="-lsocket $LIBS"
4601 cat >conftest.$ac_ext <<_ACEOF
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4608 /* Override any GCC internal prototype to avoid an error.
4609 Use char because int might match the return type of a GCC
4610 builtin and then its argument prototype would still apply. */
4618 return inet_aton ();
4623 rm -f conftest.$ac_objext conftest$ac_exeext
4624 if { (ac_try="$ac_link"
4626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4627 *) ac_try_echo=$ac_try;;
4629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4630 (eval "$ac_link") 2>conftest.er1
4632 grep -v '^ *+' conftest.er1 >conftest.err
4634 cat conftest.err >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } && {
4637 test -z "$ac_c_werror_flag" ||
4638 test ! -s conftest.err
4639 } && test -s conftest$ac_exeext &&
4640 $as_test_x conftest$ac_exeext; then
4641 ac_cv_lib_socket_inet_aton=yes
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 ac_cv_lib_socket_inet_aton=no
4649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4650 conftest$ac_exeext conftest.$ac_ext
4651 LIBS=$ac_check_lib_save_LIBS
4653 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_aton" >&5
4654 echo "${ECHO_T}$ac_cv_lib_socket_inet_aton" >&6; }
4655 if test $ac_cv_lib_socket_inet_aton = yes; then
4656 cat >>confdefs.h <<_ACEOF
4657 #define HAVE_LIBSOCKET 1
4660 LIBS="-lsocket $LIBS"
4664 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
4665 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
4666 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4669 ac_check_lib_save_LIBS=$LIBS
4670 LIBS="-lresolv $LIBS"
4671 cat >conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4678 /* Override any GCC internal prototype to avoid an error.
4679 Use char because int might match the return type of a GCC
4680 builtin and then its argument prototype would still apply. */
4688 return inet_aton ();
4693 rm -f conftest.$ac_objext conftest$ac_exeext
4694 if { (ac_try="$ac_link"
4696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4697 *) ac_try_echo=$ac_try;;
4699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4700 (eval "$ac_link") 2>conftest.er1
4702 grep -v '^ *+' conftest.er1 >conftest.err
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } && {
4707 test -z "$ac_c_werror_flag" ||
4708 test ! -s conftest.err
4709 } && test -s conftest$ac_exeext &&
4710 $as_test_x conftest$ac_exeext; then
4711 ac_cv_lib_resolv_inet_aton=yes
4713 echo "$as_me: failed program was:" >&5
4714 sed 's/^/| /' conftest.$ac_ext >&5
4716 ac_cv_lib_resolv_inet_aton=no
4719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4720 conftest$ac_exeext conftest.$ac_ext
4721 LIBS=$ac_check_lib_save_LIBS
4723 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
4724 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
4725 if test $ac_cv_lib_resolv_inet_aton = yes; then
4726 cat >>confdefs.h <<_ACEOF
4727 #define HAVE_LIBRESOLV 1
4730 LIBS="-lresolv $LIBS"
4733 cat >>confdefs.h <<\_ACEOF
4734 #define NO_INET_ATON 1
4745 { echo "$as_me:$LINENO: checking for setenv" >&5
4746 echo $ECHO_N "checking for setenv... $ECHO_C" >&6; }
4747 if test "${ac_cv_func_setenv+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 cat >conftest.$ac_ext <<_ACEOF
4753 cat confdefs.h >>conftest.$ac_ext
4754 cat >>conftest.$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4756 /* Define setenv to an innocuous variant, in case <limits.h> declares setenv.
4757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4758 #define setenv innocuous_setenv
4760 /* System header to define __stub macros and hopefully few prototypes,
4761 which can conflict with char setenv (); below.
4762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4763 <limits.h> exists even on freestanding compilers. */
4766 # include <limits.h>
4768 # include <assert.h>
4773 /* Override any GCC internal prototype to avoid an error.
4774 Use char because int might match the return type of a GCC
4775 builtin and then its argument prototype would still apply. */
4780 /* The GNU C library defines this for functions which it implements
4781 to always fail with ENOSYS. Some functions are actually named
4782 something starting with __ and the normal name is an alias. */
4783 #if defined __stub_setenv || defined __stub___setenv
4795 rm -f conftest.$ac_objext conftest$ac_exeext
4796 if { (ac_try="$ac_link"
4798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4799 *) ac_try_echo=$ac_try;;
4801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4802 (eval "$ac_link") 2>conftest.er1
4804 grep -v '^ *+' conftest.er1 >conftest.err
4806 cat conftest.err >&5
4807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808 (exit $ac_status); } && {
4809 test -z "$ac_c_werror_flag" ||
4810 test ! -s conftest.err
4811 } && test -s conftest$ac_exeext &&
4812 $as_test_x conftest$ac_exeext; then
4813 ac_cv_func_setenv=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_cv_func_setenv=no
4821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4822 conftest$ac_exeext conftest.$ac_ext
4824 { echo "$as_me:$LINENO: result: $ac_cv_func_setenv" >&5
4825 echo "${ECHO_T}$ac_cv_func_setenv" >&6; }
4826 if test $ac_cv_func_setenv = yes; then
4827 cat >>confdefs.h <<\_ACEOF
4828 #define HAVE_SETENV 1
4833 { echo "$as_me:$LINENO: checking for strsignal" >&5
4834 echo $ECHO_N "checking for strsignal... $ECHO_C" >&6; }
4835 if test "${ac_cv_func_strsignal+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 cat >conftest.$ac_ext <<_ACEOF
4841 cat confdefs.h >>conftest.$ac_ext
4842 cat >>conftest.$ac_ext <<_ACEOF
4843 /* end confdefs.h. */
4844 /* Define strsignal to an innocuous variant, in case <limits.h> declares strsignal.
4845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4846 #define strsignal innocuous_strsignal
4848 /* System header to define __stub macros and hopefully few prototypes,
4849 which can conflict with char strsignal (); below.
4850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4851 <limits.h> exists even on freestanding compilers. */
4854 # include <limits.h>
4856 # include <assert.h>
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4868 /* The GNU C library defines this for functions which it implements
4869 to always fail with ENOSYS. Some functions are actually named
4870 something starting with __ and the normal name is an alias. */
4871 #if defined __stub_strsignal || defined __stub___strsignal
4878 return strsignal ();
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (ac_try="$ac_link"
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_link") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest$ac_exeext &&
4900 $as_test_x conftest$ac_exeext; then
4901 ac_cv_func_strsignal=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 ac_cv_func_strsignal=no
4909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4910 conftest$ac_exeext conftest.$ac_ext
4912 { echo "$as_me:$LINENO: result: $ac_cv_func_strsignal" >&5
4913 echo "${ECHO_T}$ac_cv_func_strsignal" >&6; }
4914 if test $ac_cv_func_strsignal = yes; then
4915 cat >>confdefs.h <<\_ACEOF
4916 #define HAVE_STRSIGNAL 1
4921 { echo "$as_me:$LINENO: checking for sys_siglist in -lc" >&5
4922 echo $ECHO_N "checking for sys_siglist in -lc... $ECHO_C" >&6; }
4923 if test "${ac_cv_lib_c_sys_siglist+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 ac_check_lib_save_LIBS=$LIBS
4928 cat >conftest.$ac_ext <<_ACEOF
4931 cat confdefs.h >>conftest.$ac_ext
4932 cat >>conftest.$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4935 /* Override any GCC internal prototype to avoid an error.
4936 Use char because int might match the return type of a GCC
4937 builtin and then its argument prototype would still apply. */
4941 char sys_siglist ();
4945 return sys_siglist ();
4950 rm -f conftest.$ac_objext conftest$ac_exeext
4951 if { (ac_try="$ac_link"
4953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954 *) ac_try_echo=$ac_try;;
4956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957 (eval "$ac_link") 2>conftest.er1
4959 grep -v '^ *+' conftest.er1 >conftest.err
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } && {
4964 test -z "$ac_c_werror_flag" ||
4965 test ! -s conftest.err
4966 } && test -s conftest$ac_exeext &&
4967 $as_test_x conftest$ac_exeext; then
4968 ac_cv_lib_c_sys_siglist=yes
4970 echo "$as_me: failed program was:" >&5
4971 sed 's/^/| /' conftest.$ac_ext >&5
4973 ac_cv_lib_c_sys_siglist=no
4976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4977 conftest$ac_exeext conftest.$ac_ext
4978 LIBS=$ac_check_lib_save_LIBS
4980 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_sys_siglist" >&5
4981 echo "${ECHO_T}$ac_cv_lib_c_sys_siglist" >&6; }
4982 if test $ac_cv_lib_c_sys_siglist = yes; then
4983 cat >>confdefs.h <<\_ACEOF
4984 #define HAVE_SYS_SIGLIST 1
4989 { echo "$as_me:$LINENO: checking for gai_strerror" >&5
4990 echo $ECHO_N "checking for gai_strerror... $ECHO_C" >&6; }
4991 if test "${ac_cv_func_gai_strerror+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 cat >conftest.$ac_ext <<_ACEOF
4997 cat confdefs.h >>conftest.$ac_ext
4998 cat >>conftest.$ac_ext <<_ACEOF
4999 /* end confdefs.h. */
5000 /* Define gai_strerror to an innocuous variant, in case <limits.h> declares gai_strerror.
5001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5002 #define gai_strerror innocuous_gai_strerror
5004 /* System header to define __stub macros and hopefully few prototypes,
5005 which can conflict with char gai_strerror (); below.
5006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5007 <limits.h> exists even on freestanding compilers. */
5010 # include <limits.h>
5012 # include <assert.h>
5017 /* Override any GCC internal prototype to avoid an error.
5018 Use char because int might match the return type of a GCC
5019 builtin and then its argument prototype would still apply. */
5023 char gai_strerror ();
5024 /* The GNU C library defines this for functions which it implements
5025 to always fail with ENOSYS. Some functions are actually named
5026 something starting with __ and the normal name is an alias. */
5027 #if defined __stub_gai_strerror || defined __stub___gai_strerror
5034 return gai_strerror ();
5039 rm -f conftest.$ac_objext conftest$ac_exeext
5040 if { (ac_try="$ac_link"
5042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5043 *) ac_try_echo=$ac_try;;
5045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5046 (eval "$ac_link") 2>conftest.er1
5048 grep -v '^ *+' conftest.er1 >conftest.err
5050 cat conftest.err >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); } && {
5053 test -z "$ac_c_werror_flag" ||
5054 test ! -s conftest.err
5055 } && test -s conftest$ac_exeext &&
5056 $as_test_x conftest$ac_exeext; then
5057 ac_cv_func_gai_strerror=yes
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.$ac_ext >&5
5062 ac_cv_func_gai_strerror=no
5065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5066 conftest$ac_exeext conftest.$ac_ext
5068 { echo "$as_me:$LINENO: result: $ac_cv_func_gai_strerror" >&5
5069 echo "${ECHO_T}$ac_cv_func_gai_strerror" >&6; }
5070 if test $ac_cv_func_gai_strerror = yes; then
5071 cat >>confdefs.h <<\_ACEOF
5072 #define HAVE_GAI_STRERROR 1
5077 { echo "$as_me:$LINENO: checking for freeaddrinfo" >&5
5078 echo $ECHO_N "checking for freeaddrinfo... $ECHO_C" >&6; }
5079 if test "${ac_cv_func_freeaddrinfo+set}" = set; then
5080 echo $ECHO_N "(cached) $ECHO_C" >&6
5082 cat >conftest.$ac_ext <<_ACEOF
5085 cat confdefs.h >>conftest.$ac_ext
5086 cat >>conftest.$ac_ext <<_ACEOF
5087 /* end confdefs.h. */
5088 /* Define freeaddrinfo to an innocuous variant, in case <limits.h> declares freeaddrinfo.
5089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5090 #define freeaddrinfo innocuous_freeaddrinfo
5092 /* System header to define __stub macros and hopefully few prototypes,
5093 which can conflict with char freeaddrinfo (); below.
5094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5095 <limits.h> exists even on freestanding compilers. */
5098 # include <limits.h>
5100 # include <assert.h>
5105 /* Override any GCC internal prototype to avoid an error.
5106 Use char because int might match the return type of a GCC
5107 builtin and then its argument prototype would still apply. */
5111 char freeaddrinfo ();
5112 /* The GNU C library defines this for functions which it implements
5113 to always fail with ENOSYS. Some functions are actually named
5114 something starting with __ and the normal name is an alias. */
5115 #if defined __stub_freeaddrinfo || defined __stub___freeaddrinfo
5122 return freeaddrinfo ();
5127 rm -f conftest.$ac_objext conftest$ac_exeext
5128 if { (ac_try="$ac_link"
5130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5131 *) ac_try_echo=$ac_try;;
5133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5134 (eval "$ac_link") 2>conftest.er1
5136 grep -v '^ *+' conftest.er1 >conftest.err
5138 cat conftest.err >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); } && {
5141 test -z "$ac_c_werror_flag" ||
5142 test ! -s conftest.err
5143 } && test -s conftest$ac_exeext &&
5144 $as_test_x conftest$ac_exeext; then
5145 ac_cv_func_freeaddrinfo=yes
5147 echo "$as_me: failed program was:" >&5
5148 sed 's/^/| /' conftest.$ac_ext >&5
5150 ac_cv_func_freeaddrinfo=no
5153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5154 conftest$ac_exeext conftest.$ac_ext
5156 { echo "$as_me:$LINENO: result: $ac_cv_func_freeaddrinfo" >&5
5157 echo "${ECHO_T}$ac_cv_func_freeaddrinfo" >&6; }
5158 if test $ac_cv_func_freeaddrinfo = yes; then
5159 cat >>confdefs.h <<\_ACEOF
5160 #define HAVE_FREEADDRINFO 1
5165 { echo "$as_me:$LINENO: checking for getaddrinfo" >&5
5166 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
5167 if test "${ac_cv_func_getaddrinfo+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 cat >conftest.$ac_ext <<_ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5175 /* end confdefs.h. */
5176 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
5177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5178 #define getaddrinfo innocuous_getaddrinfo
5180 /* System header to define __stub macros and hopefully few prototypes,
5181 which can conflict with char getaddrinfo (); below.
5182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5183 <limits.h> exists even on freestanding compilers. */
5186 # include <limits.h>
5188 # include <assert.h>
5193 /* Override any GCC internal prototype to avoid an error.
5194 Use char because int might match the return type of a GCC
5195 builtin and then its argument prototype would still apply. */
5199 char getaddrinfo ();
5200 /* The GNU C library defines this for functions which it implements
5201 to always fail with ENOSYS. Some functions are actually named
5202 something starting with __ and the normal name is an alias. */
5203 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
5210 return getaddrinfo ();
5215 rm -f conftest.$ac_objext conftest$ac_exeext
5216 if { (ac_try="$ac_link"
5218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5219 *) ac_try_echo=$ac_try;;
5221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5222 (eval "$ac_link") 2>conftest.er1
5224 grep -v '^ *+' conftest.er1 >conftest.err
5226 cat conftest.err >&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); } && {
5229 test -z "$ac_c_werror_flag" ||
5230 test ! -s conftest.err
5231 } && test -s conftest$ac_exeext &&
5232 $as_test_x conftest$ac_exeext; then
5233 ac_cv_func_getaddrinfo=yes
5235 echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5238 ac_cv_func_getaddrinfo=no
5241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5242 conftest$ac_exeext conftest.$ac_ext
5244 { echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
5245 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
5246 if test $ac_cv_func_getaddrinfo = yes; then
5247 cat >>confdefs.h <<\_ACEOF
5248 #define HAVE_GETADDRINFO 1
5255 ac_cpp='$CPP $CPPFLAGS'
5256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5259 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5260 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
5261 # On Suns, sometimes $CPP names a directory.
5262 if test -n "$CPP" && test -d "$CPP"; then
5265 if test -z "$CPP"; then
5266 if test "${ac_cv_prog_CPP+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 # Double quotes because CPP needs to be expanded
5270 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5273 for ac_c_preproc_warn_flag in '' yes
5275 # Use a header file that comes with gcc, so configuring glibc
5276 # with a fresh cross-compiler works.
5277 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5278 # <limits.h> exists even on freestanding compilers.
5279 # On the NeXT, cc -E runs the code through the compiler's parser,
5280 # not just through cpp. "Syntax error" is here to catch this case.
5281 cat >conftest.$ac_ext <<_ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h. */
5288 # include <limits.h>
5290 # include <assert.h>
5294 if { (ac_try="$ac_cpp conftest.$ac_ext"
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5300 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5302 grep -v '^ *+' conftest.er1 >conftest.err
5304 cat conftest.err >&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } >/dev/null && {
5307 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5308 test ! -s conftest.err
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.$ac_ext >&5
5315 # Broken: fails on valid input.
5319 rm -f conftest.err conftest.$ac_ext
5321 # OK, works on sane cases. Now check whether nonexistent headers
5322 # can be detected and how.
5323 cat >conftest.$ac_ext <<_ACEOF
5326 cat confdefs.h >>conftest.$ac_ext
5327 cat >>conftest.$ac_ext <<_ACEOF
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5331 if { (ac_try="$ac_cpp conftest.$ac_ext"
5333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5339 grep -v '^ *+' conftest.er1 >conftest.err
5341 cat conftest.err >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } >/dev/null && {
5344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5345 test ! -s conftest.err
5347 # Broken: success on invalid input.
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 # Passes both tests.
5358 rm -f conftest.err conftest.$ac_ext
5361 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5362 rm -f conftest.err conftest.$ac_ext
5363 if $ac_preproc_ok; then
5375 { echo "$as_me:$LINENO: result: $CPP" >&5
5376 echo "${ECHO_T}$CPP" >&6; }
5378 for ac_c_preproc_warn_flag in '' yes
5380 # Use a header file that comes with gcc, so configuring glibc
5381 # with a fresh cross-compiler works.
5382 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5383 # <limits.h> exists even on freestanding compilers.
5384 # On the NeXT, cc -E runs the code through the compiler's parser,
5385 # not just through cpp. "Syntax error" is here to catch this case.
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5393 # include <limits.h>
5395 # include <assert.h>
5399 if { (ac_try="$ac_cpp conftest.$ac_ext"
5401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5402 *) ac_try_echo=$ac_try;;
5404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5407 grep -v '^ *+' conftest.er1 >conftest.err
5409 cat conftest.err >&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } >/dev/null && {
5412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5413 test ! -s conftest.err
5417 echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.$ac_ext >&5
5420 # Broken: fails on valid input.
5424 rm -f conftest.err conftest.$ac_ext
5426 # OK, works on sane cases. Now check whether nonexistent headers
5427 # can be detected and how.
5428 cat >conftest.$ac_ext <<_ACEOF
5431 cat confdefs.h >>conftest.$ac_ext
5432 cat >>conftest.$ac_ext <<_ACEOF
5433 /* end confdefs.h. */
5434 #include <ac_nonexistent.h>
5436 if { (ac_try="$ac_cpp conftest.$ac_ext"
5438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5439 *) ac_try_echo=$ac_try;;
5441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5442 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5444 grep -v '^ *+' conftest.er1 >conftest.err
5446 cat conftest.err >&5
5447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448 (exit $ac_status); } >/dev/null && {
5449 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5450 test ! -s conftest.err
5452 # Broken: success on invalid input.
5455 echo "$as_me: failed program was:" >&5
5456 sed 's/^/| /' conftest.$ac_ext >&5
5458 # Passes both tests.
5463 rm -f conftest.err conftest.$ac_ext
5466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5467 rm -f conftest.err conftest.$ac_ext
5468 if $ac_preproc_ok; then
5471 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5472 See \`config.log' for more details." >&5
5473 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5474 See \`config.log' for more details." >&2;}
5475 { (exit 1); exit 1; }; }
5479 ac_cpp='$CPP $CPPFLAGS'
5480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5485 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5486 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5487 if test "${ac_cv_path_GREP+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 # Extract the first word of "grep ggrep" to use in msg output
5491 if test -z "$GREP"; then
5492 set dummy grep ggrep; ac_prog_name=$2
5493 if test "${ac_cv_path_GREP+set}" = set; then
5494 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 ac_path_GREP_found=false
5497 # Loop through the user's path and test for each of PROGNAME-LIST
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5502 test -z "$as_dir" && as_dir=.
5503 for ac_prog in grep ggrep; do
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5506 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5507 # Check for GNU ac_path_GREP and select it if it is found.
5508 # Check for GNU $ac_path_GREP
5509 case `"$ac_path_GREP" --version 2>&1` in
5511 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5514 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5517 cat "conftest.in" "conftest.in" >"conftest.tmp"
5518 mv "conftest.tmp" "conftest.in"
5519 cp "conftest.in" "conftest.nl"
5520 echo 'GREP' >> "conftest.nl"
5521 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5522 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5523 ac_count=`expr $ac_count + 1`
5524 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5525 # Best one so far, save it but keep looking for a better one
5526 ac_cv_path_GREP="$ac_path_GREP"
5527 ac_path_GREP_max=$ac_count
5529 # 10*(2^10) chars as input seems more than enough
5530 test $ac_count -gt 10 && break
5532 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5536 $ac_path_GREP_found && break 3
5546 GREP="$ac_cv_path_GREP"
5547 if test -z "$GREP"; then
5548 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5549 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5550 { (exit 1); exit 1; }; }
5554 ac_cv_path_GREP=$GREP
5559 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5560 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5561 GREP="$ac_cv_path_GREP"
5564 { echo "$as_me:$LINENO: checking for egrep" >&5
5565 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5566 if test "${ac_cv_path_EGREP+set}" = set; then
5567 echo $ECHO_N "(cached) $ECHO_C" >&6
5569 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5570 then ac_cv_path_EGREP="$GREP -E"
5572 # Extract the first word of "egrep" to use in msg output
5573 if test -z "$EGREP"; then
5574 set dummy egrep; ac_prog_name=$2
5575 if test "${ac_cv_path_EGREP+set}" = set; then
5576 echo $ECHO_N "(cached) $ECHO_C" >&6
5578 ac_path_EGREP_found=false
5579 # Loop through the user's path and test for each of PROGNAME-LIST
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5584 test -z "$as_dir" && as_dir=.
5585 for ac_prog in egrep; do
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5588 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5589 # Check for GNU ac_path_EGREP and select it if it is found.
5590 # Check for GNU $ac_path_EGREP
5591 case `"$ac_path_EGREP" --version 2>&1` in
5593 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5596 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5599 cat "conftest.in" "conftest.in" >"conftest.tmp"
5600 mv "conftest.tmp" "conftest.in"
5601 cp "conftest.in" "conftest.nl"
5602 echo 'EGREP' >> "conftest.nl"
5603 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5604 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5605 ac_count=`expr $ac_count + 1`
5606 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5607 # Best one so far, save it but keep looking for a better one
5608 ac_cv_path_EGREP="$ac_path_EGREP"
5609 ac_path_EGREP_max=$ac_count
5611 # 10*(2^10) chars as input seems more than enough
5612 test $ac_count -gt 10 && break
5614 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5618 $ac_path_EGREP_found && break 3
5628 EGREP="$ac_cv_path_EGREP"
5629 if test -z "$EGREP"; then
5630 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5631 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5632 { (exit 1); exit 1; }; }
5636 ac_cv_path_EGREP=$EGREP
5642 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5643 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5644 EGREP="$ac_cv_path_EGREP"
5647 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5648 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5649 if test "${ac_cv_header_stdc+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5671 rm -f conftest.$ac_objext
5672 if { (ac_try="$ac_compile"
5674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5675 *) ac_try_echo=$ac_try;;
5677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5678 (eval "$ac_compile") 2>conftest.er1
5680 grep -v '^ *+' conftest.er1 >conftest.err
5682 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } && {
5685 test -z "$ac_c_werror_flag" ||
5686 test ! -s conftest.err
5687 } && test -s conftest.$ac_objext; then
5688 ac_cv_header_stdc=yes
5690 echo "$as_me: failed program was:" >&5
5691 sed 's/^/| /' conftest.$ac_ext >&5
5693 ac_cv_header_stdc=no
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5698 if test $ac_cv_header_stdc = yes; then
5699 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5700 cat >conftest.$ac_ext <<_ACEOF
5703 cat confdefs.h >>conftest.$ac_ext
5704 cat >>conftest.$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5710 $EGREP "memchr" >/dev/null 2>&1; then
5713 ac_cv_header_stdc=no
5719 if test $ac_cv_header_stdc = yes; then
5720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5721 cat >conftest.$ac_ext <<_ACEOF
5724 cat confdefs.h >>conftest.$ac_ext
5725 cat >>conftest.$ac_ext <<_ACEOF
5726 /* end confdefs.h. */
5730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5731 $EGREP "free" >/dev/null 2>&1; then
5734 ac_cv_header_stdc=no
5740 if test $ac_cv_header_stdc = yes; then
5741 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5742 if test "$cross_compiling" = yes; then
5745 cat >conftest.$ac_ext <<_ACEOF
5748 cat confdefs.h >>conftest.$ac_ext
5749 cat >>conftest.$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5753 #if ((' ' & 0x0FF) == 0x020)
5754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5757 # define ISLOWER(c) \
5758 (('a' <= (c) && (c) <= 'i') \
5759 || ('j' <= (c) && (c) <= 'r') \
5760 || ('s' <= (c) && (c) <= 'z'))
5761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5769 for (i = 0; i < 256; i++)
5770 if (XOR (islower (i), ISLOWER (i))
5771 || toupper (i) != TOUPPER (i))
5776 rm -f conftest$ac_exeext
5777 if { (ac_try="$ac_link"
5779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5780 *) ac_try_echo=$ac_try;;
5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783 (eval "$ac_link") 2>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5787 { (case "(($ac_try" in
5788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_try") 2>&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); }; }; then
5798 echo "$as_me: program exited with status $ac_status" >&5
5799 echo "$as_me: failed program was:" >&5
5800 sed 's/^/| /' conftest.$ac_ext >&5
5803 ac_cv_header_stdc=no
5805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5811 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5812 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5813 if test $ac_cv_header_stdc = yes; then
5815 cat >>confdefs.h <<\_ACEOF
5816 #define STDC_HEADERS 1
5821 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5832 inttypes.h stdint.h unistd.h
5834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5838 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 cat >conftest.$ac_ext <<_ACEOF
5843 cat confdefs.h >>conftest.$ac_ext
5844 cat >>conftest.$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5846 $ac_includes_default
5848 #include <$ac_header>
5850 rm -f conftest.$ac_objext
5851 if { (ac_try="$ac_compile"
5853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5854 *) ac_try_echo=$ac_try;;
5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5857 (eval "$ac_compile") 2>conftest.er1
5859 grep -v '^ *+' conftest.er1 >conftest.err
5861 cat conftest.err >&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } && {
5864 test -z "$ac_c_werror_flag" ||
5865 test ! -s conftest.err
5866 } && test -s conftest.$ac_objext; then
5867 eval "$as_ac_Header=yes"
5869 echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.$ac_ext >&5
5872 eval "$as_ac_Header=no"
5875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5877 ac_res=`eval echo '${'$as_ac_Header'}'`
5878 { echo "$as_me:$LINENO: result: $ac_res" >&5
5879 echo "${ECHO_T}$ac_res" >&6; }
5880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5881 cat >>confdefs.h <<_ACEOF
5882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5901 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
5903 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5908 echo $ECHO_N "(cached) $ECHO_C" >&6
5910 ac_res=`eval echo '${'$as_ac_Header'}'`
5911 { echo "$as_me:$LINENO: result: $ac_res" >&5
5912 echo "${ECHO_T}$ac_res" >&6; }
5914 # Is the header compilable?
5915 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5924 #include <$ac_header>
5926 rm -f conftest.$ac_objext
5927 if { (ac_try="$ac_compile"
5929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;;
5932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5933 (eval "$ac_compile") 2>conftest.er1
5935 grep -v '^ *+' conftest.er1 >conftest.err
5937 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } && {
5940 test -z "$ac_c_werror_flag" ||
5941 test ! -s conftest.err
5942 } && test -s conftest.$ac_objext; then
5943 ac_header_compiler=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.$ac_ext >&5
5948 ac_header_compiler=no
5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5952 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5953 echo "${ECHO_T}$ac_header_compiler" >&6; }
5955 # Is the header present?
5956 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5958 cat >conftest.$ac_ext <<_ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <$ac_header>
5966 if { (ac_try="$ac_cpp conftest.$ac_ext"
5968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5969 *) ac_try_echo=$ac_try;;
5971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5974 grep -v '^ *+' conftest.er1 >conftest.err
5976 cat conftest.err >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); } >/dev/null && {
5979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5980 test ! -s conftest.err
5982 ac_header_preproc=yes
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5987 ac_header_preproc=no
5990 rm -f conftest.err conftest.$ac_ext
5991 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5992 echo "${ECHO_T}$ac_header_preproc" >&6; }
5994 # So? What about this header?
5995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5997 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6001 ac_header_preproc=yes
6004 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6006 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6007 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6008 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6010 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6011 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6019 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6022 echo $ECHO_N "(cached) $ECHO_C" >&6
6024 eval "$as_ac_Header=\$ac_header_preproc"
6026 ac_res=`eval echo '${'$as_ac_Header'}'`
6027 { echo "$as_me:$LINENO: result: $ac_res" >&5
6028 echo "${ECHO_T}$ac_res" >&6; }
6031 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6032 cat >>confdefs.h <<_ACEOF
6033 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6040 if test "${ac_cv_header_sys_resource_h+set}" = set; then
6041 { echo "$as_me:$LINENO: checking for sys/resource.h" >&5
6042 echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6; }
6043 if test "${ac_cv_header_sys_resource_h+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
6047 echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6; }
6049 # Is the header compilable?
6050 { echo "$as_me:$LINENO: checking sys/resource.h usability" >&5
6051 echo $ECHO_N "checking sys/resource.h usability... $ECHO_C" >&6; }
6052 cat >conftest.$ac_ext <<_ACEOF
6055 cat confdefs.h >>conftest.$ac_ext
6056 cat >>conftest.$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6058 $ac_includes_default
6059 #include <sys/resource.h>
6061 rm -f conftest.$ac_objext
6062 if { (ac_try="$ac_compile"
6064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6065 *) ac_try_echo=$ac_try;;
6067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6068 (eval "$ac_compile") 2>conftest.er1
6070 grep -v '^ *+' conftest.er1 >conftest.err
6072 cat conftest.err >&5
6073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } && {
6075 test -z "$ac_c_werror_flag" ||
6076 test ! -s conftest.err
6077 } && test -s conftest.$ac_objext; then
6078 ac_header_compiler=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.$ac_ext >&5
6083 ac_header_compiler=no
6086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6087 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6088 echo "${ECHO_T}$ac_header_compiler" >&6; }
6090 # Is the header present?
6091 { echo "$as_me:$LINENO: checking sys/resource.h presence" >&5
6092 echo $ECHO_N "checking sys/resource.h presence... $ECHO_C" >&6; }
6093 cat >conftest.$ac_ext <<_ACEOF
6096 cat confdefs.h >>conftest.$ac_ext
6097 cat >>conftest.$ac_ext <<_ACEOF
6098 /* end confdefs.h. */
6099 #include <sys/resource.h>
6101 if { (ac_try="$ac_cpp conftest.$ac_ext"
6103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6104 *) ac_try_echo=$ac_try;;
6106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6107 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6109 grep -v '^ *+' conftest.er1 >conftest.err
6111 cat conftest.err >&5
6112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6113 (exit $ac_status); } >/dev/null && {
6114 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6115 test ! -s conftest.err
6117 ac_header_preproc=yes
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.$ac_ext >&5
6122 ac_header_preproc=no
6125 rm -f conftest.err conftest.$ac_ext
6126 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6127 echo "${ECHO_T}$ac_header_preproc" >&6; }
6129 # So? What about this header?
6130 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6132 { echo "$as_me:$LINENO: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&5
6133 echo "$as_me: WARNING: sys/resource.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134 { echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the compiler's result" >&5
6135 echo "$as_me: WARNING: sys/resource.h: proceeding with the compiler's result" >&2;}
6136 ac_header_preproc=yes
6139 { echo "$as_me:$LINENO: WARNING: sys/resource.h: present but cannot be compiled" >&5
6140 echo "$as_me: WARNING: sys/resource.h: present but cannot be compiled" >&2;}
6141 { echo "$as_me:$LINENO: WARNING: sys/resource.h: check for missing prerequisite headers?" >&5
6142 echo "$as_me: WARNING: sys/resource.h: check for missing prerequisite headers?" >&2;}
6143 { echo "$as_me:$LINENO: WARNING: sys/resource.h: see the Autoconf documentation" >&5
6144 echo "$as_me: WARNING: sys/resource.h: see the Autoconf documentation" >&2;}
6145 { echo "$as_me:$LINENO: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&5
6146 echo "$as_me: WARNING: sys/resource.h: section \"Present But Cannot Be Compiled\"" >&2;}
6147 { echo "$as_me:$LINENO: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&5
6148 echo "$as_me: WARNING: sys/resource.h: proceeding with the preprocessor's result" >&2;}
6149 { echo "$as_me:$LINENO: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&5
6150 echo "$as_me: WARNING: sys/resource.h: in the future, the compiler will take precedence" >&2;}
6154 { echo "$as_me:$LINENO: checking for sys/resource.h" >&5
6155 echo $ECHO_N "checking for sys/resource.h... $ECHO_C" >&6; }
6156 if test "${ac_cv_header_sys_resource_h+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 ac_cv_header_sys_resource_h=$ac_header_preproc
6161 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_resource_h" >&5
6162 echo "${ECHO_T}$ac_cv_header_sys_resource_h" >&6; }
6165 if test $ac_cv_header_sys_resource_h = yes; then
6166 cat >>confdefs.h <<\_ACEOF
6167 #define HAVE_SYS_RESOURCE_H 1
6173 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
6174 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
6175 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
6176 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6179 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
6180 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
6182 # Is the header compilable?
6183 { echo "$as_me:$LINENO: checking arpa/inet.h usability" >&5
6184 echo $ECHO_N "checking arpa/inet.h usability... $ECHO_C" >&6; }
6185 cat >conftest.$ac_ext <<_ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6191 $ac_includes_default
6192 #include <arpa/inet.h>
6194 rm -f conftest.$ac_objext
6195 if { (ac_try="$ac_compile"
6197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6198 *) ac_try_echo=$ac_try;;
6200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6201 (eval "$ac_compile") 2>conftest.er1
6203 grep -v '^ *+' conftest.er1 >conftest.err
6205 cat conftest.err >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } && {
6208 test -z "$ac_c_werror_flag" ||
6209 test ! -s conftest.err
6210 } && test -s conftest.$ac_objext; then
6211 ac_header_compiler=yes
6213 echo "$as_me: failed program was:" >&5
6214 sed 's/^/| /' conftest.$ac_ext >&5
6216 ac_header_compiler=no
6219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6220 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6221 echo "${ECHO_T}$ac_header_compiler" >&6; }
6223 # Is the header present?
6224 { echo "$as_me:$LINENO: checking arpa/inet.h presence" >&5
6225 echo $ECHO_N "checking arpa/inet.h presence... $ECHO_C" >&6; }
6226 cat >conftest.$ac_ext <<_ACEOF
6229 cat confdefs.h >>conftest.$ac_ext
6230 cat >>conftest.$ac_ext <<_ACEOF
6231 /* end confdefs.h. */
6232 #include <arpa/inet.h>
6234 if { (ac_try="$ac_cpp conftest.$ac_ext"
6236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6237 *) ac_try_echo=$ac_try;;
6239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6242 grep -v '^ *+' conftest.er1 >conftest.err
6244 cat conftest.err >&5
6245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6246 (exit $ac_status); } >/dev/null && {
6247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6248 test ! -s conftest.err
6250 ac_header_preproc=yes
6252 echo "$as_me: failed program was:" >&5
6253 sed 's/^/| /' conftest.$ac_ext >&5
6255 ac_header_preproc=no
6258 rm -f conftest.err conftest.$ac_ext
6259 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6260 echo "${ECHO_T}$ac_header_preproc" >&6; }
6262 # So? What about this header?
6263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6265 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&5
6266 echo "$as_me: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the compiler's result" >&5
6268 echo "$as_me: WARNING: arpa/inet.h: proceeding with the compiler's result" >&2;}
6269 ac_header_preproc=yes
6272 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: present but cannot be compiled" >&5
6273 echo "$as_me: WARNING: arpa/inet.h: present but cannot be compiled" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&5
6275 echo "$as_me: WARNING: arpa/inet.h: check for missing prerequisite headers?" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: see the Autoconf documentation" >&5
6277 echo "$as_me: WARNING: arpa/inet.h: see the Autoconf documentation" >&2;}
6278 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&5
6279 echo "$as_me: WARNING: arpa/inet.h: section \"Present But Cannot Be Compiled\"" >&2;}
6280 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&5
6281 echo "$as_me: WARNING: arpa/inet.h: proceeding with the preprocessor's result" >&2;}
6282 { echo "$as_me:$LINENO: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&5
6283 echo "$as_me: WARNING: arpa/inet.h: in the future, the compiler will take precedence" >&2;}
6287 { echo "$as_me:$LINENO: checking for arpa/inet.h" >&5
6288 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6; }
6289 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6292 ac_cv_header_arpa_inet_h=$ac_header_preproc
6294 { echo "$as_me:$LINENO: result: $ac_cv_header_arpa_inet_h" >&5
6295 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6; }
6298 if test $ac_cv_header_arpa_inet_h = yes; then
6299 cat >>confdefs.h <<\_ACEOF
6300 #define HAVE_ARPA_INET_H 1
6306 if test "${ac_cv_header_grp_h+set}" = set; then
6307 { echo "$as_me:$LINENO: checking for grp.h" >&5
6308 echo $ECHO_N "checking for grp.h... $ECHO_C" >&6; }
6309 if test "${ac_cv_header_grp_h+set}" = set; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 { echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
6313 echo "${ECHO_T}$ac_cv_header_grp_h" >&6; }
6315 # Is the header compilable?
6316 { echo "$as_me:$LINENO: checking grp.h usability" >&5
6317 echo $ECHO_N "checking grp.h usability... $ECHO_C" >&6; }
6318 cat >conftest.$ac_ext <<_ACEOF
6321 cat confdefs.h >>conftest.$ac_ext
6322 cat >>conftest.$ac_ext <<_ACEOF
6323 /* end confdefs.h. */
6324 $ac_includes_default
6327 rm -f conftest.$ac_objext
6328 if { (ac_try="$ac_compile"
6330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6331 *) ac_try_echo=$ac_try;;
6333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6334 (eval "$ac_compile") 2>conftest.er1
6336 grep -v '^ *+' conftest.er1 >conftest.err
6338 cat conftest.err >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } && {
6341 test -z "$ac_c_werror_flag" ||
6342 test ! -s conftest.err
6343 } && test -s conftest.$ac_objext; then
6344 ac_header_compiler=yes
6346 echo "$as_me: failed program was:" >&5
6347 sed 's/^/| /' conftest.$ac_ext >&5
6349 ac_header_compiler=no
6352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6353 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6354 echo "${ECHO_T}$ac_header_compiler" >&6; }
6356 # Is the header present?
6357 { echo "$as_me:$LINENO: checking grp.h presence" >&5
6358 echo $ECHO_N "checking grp.h presence... $ECHO_C" >&6; }
6359 cat >conftest.$ac_ext <<_ACEOF
6362 cat confdefs.h >>conftest.$ac_ext
6363 cat >>conftest.$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6367 if { (ac_try="$ac_cpp conftest.$ac_ext"
6369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6370 *) ac_try_echo=$ac_try;;
6372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6375 grep -v '^ *+' conftest.er1 >conftest.err
6377 cat conftest.err >&5
6378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6379 (exit $ac_status); } >/dev/null && {
6380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6381 test ! -s conftest.err
6383 ac_header_preproc=yes
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6388 ac_header_preproc=no
6391 rm -f conftest.err conftest.$ac_ext
6392 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6393 echo "${ECHO_T}$ac_header_preproc" >&6; }
6395 # So? What about this header?
6396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6398 { echo "$as_me:$LINENO: WARNING: grp.h: accepted by the compiler, rejected by the preprocessor!" >&5
6399 echo "$as_me: WARNING: grp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6400 { echo "$as_me:$LINENO: WARNING: grp.h: proceeding with the compiler's result" >&5
6401 echo "$as_me: WARNING: grp.h: proceeding with the compiler's result" >&2;}
6402 ac_header_preproc=yes
6405 { echo "$as_me:$LINENO: WARNING: grp.h: present but cannot be compiled" >&5
6406 echo "$as_me: WARNING: grp.h: present but cannot be compiled" >&2;}
6407 { echo "$as_me:$LINENO: WARNING: grp.h: check for missing prerequisite headers?" >&5
6408 echo "$as_me: WARNING: grp.h: check for missing prerequisite headers?" >&2;}
6409 { echo "$as_me:$LINENO: WARNING: grp.h: see the Autoconf documentation" >&5
6410 echo "$as_me: WARNING: grp.h: see the Autoconf documentation" >&2;}
6411 { echo "$as_me:$LINENO: WARNING: grp.h: section \"Present But Cannot Be Compiled\"" >&5
6412 echo "$as_me: WARNING: grp.h: section \"Present But Cannot Be Compiled\"" >&2;}
6413 { echo "$as_me:$LINENO: WARNING: grp.h: proceeding with the preprocessor's result" >&5
6414 echo "$as_me: WARNING: grp.h: proceeding with the preprocessor's result" >&2;}
6415 { echo "$as_me:$LINENO: WARNING: grp.h: in the future, the compiler will take precedence" >&5
6416 echo "$as_me: WARNING: grp.h: in the future, the compiler will take precedence" >&2;}
6420 { echo "$as_me:$LINENO: checking for grp.h" >&5
6421 echo $ECHO_N "checking for grp.h... $ECHO_C" >&6; }
6422 if test "${ac_cv_header_grp_h+set}" = set; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6
6425 ac_cv_header_grp_h=$ac_header_preproc
6427 { echo "$as_me:$LINENO: result: $ac_cv_header_grp_h" >&5
6428 echo "${ECHO_T}$ac_cv_header_grp_h" >&6; }
6431 if test $ac_cv_header_grp_h = yes; then
6432 cat >>confdefs.h <<\_ACEOF
6433 #define HAVE_GRP_H 1
6439 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6440 { echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
6441 echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6; }
6442 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6443 echo $ECHO_N "(cached) $ECHO_C" >&6
6445 { echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
6446 echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6; }
6448 # Is the header compilable?
6449 { echo "$as_me:$LINENO: checking rpc/pmap_clnt.h usability" >&5
6450 echo $ECHO_N "checking rpc/pmap_clnt.h usability... $ECHO_C" >&6; }
6451 cat >conftest.$ac_ext <<_ACEOF
6454 cat confdefs.h >>conftest.$ac_ext
6455 cat >>conftest.$ac_ext <<_ACEOF
6456 /* end confdefs.h. */
6457 $ac_includes_default
6458 #include <rpc/pmap_clnt.h>
6460 rm -f conftest.$ac_objext
6461 if { (ac_try="$ac_compile"
6463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6464 *) ac_try_echo=$ac_try;;
6466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6467 (eval "$ac_compile") 2>conftest.er1
6469 grep -v '^ *+' conftest.er1 >conftest.err
6471 cat conftest.err >&5
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } && {
6474 test -z "$ac_c_werror_flag" ||
6475 test ! -s conftest.err
6476 } && test -s conftest.$ac_objext; then
6477 ac_header_compiler=yes
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 ac_header_compiler=no
6485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6486 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6487 echo "${ECHO_T}$ac_header_compiler" >&6; }
6489 # Is the header present?
6490 { echo "$as_me:$LINENO: checking rpc/pmap_clnt.h presence" >&5
6491 echo $ECHO_N "checking rpc/pmap_clnt.h presence... $ECHO_C" >&6; }
6492 cat >conftest.$ac_ext <<_ACEOF
6495 cat confdefs.h >>conftest.$ac_ext
6496 cat >>conftest.$ac_ext <<_ACEOF
6497 /* end confdefs.h. */
6498 #include <rpc/pmap_clnt.h>
6500 if { (ac_try="$ac_cpp conftest.$ac_ext"
6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6503 *) ac_try_echo=$ac_try;;
6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6508 grep -v '^ *+' conftest.er1 >conftest.err
6510 cat conftest.err >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); } >/dev/null && {
6513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6514 test ! -s conftest.err
6516 ac_header_preproc=yes
6518 echo "$as_me: failed program was:" >&5
6519 sed 's/^/| /' conftest.$ac_ext >&5
6521 ac_header_preproc=no
6524 rm -f conftest.err conftest.$ac_ext
6525 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6526 echo "${ECHO_T}$ac_header_preproc" >&6; }
6528 # So? What about this header?
6529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6531 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&5
6532 echo "$as_me: WARNING: rpc/pmap_clnt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6533 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: proceeding with the compiler's result" >&5
6534 echo "$as_me: WARNING: rpc/pmap_clnt.h: proceeding with the compiler's result" >&2;}
6535 ac_header_preproc=yes
6538 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: present but cannot be compiled" >&5
6539 echo "$as_me: WARNING: rpc/pmap_clnt.h: present but cannot be compiled" >&2;}
6540 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: check for missing prerequisite headers?" >&5
6541 echo "$as_me: WARNING: rpc/pmap_clnt.h: check for missing prerequisite headers?" >&2;}
6542 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: see the Autoconf documentation" >&5
6543 echo "$as_me: WARNING: rpc/pmap_clnt.h: see the Autoconf documentation" >&2;}
6544 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: section \"Present But Cannot Be Compiled\"" >&5
6545 echo "$as_me: WARNING: rpc/pmap_clnt.h: section \"Present But Cannot Be Compiled\"" >&2;}
6546 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result" >&5
6547 echo "$as_me: WARNING: rpc/pmap_clnt.h: proceeding with the preprocessor's result" >&2;}
6548 { echo "$as_me:$LINENO: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&5
6549 echo "$as_me: WARNING: rpc/pmap_clnt.h: in the future, the compiler will take precedence" >&2;}
6553 { echo "$as_me:$LINENO: checking for rpc/pmap_clnt.h" >&5
6554 echo $ECHO_N "checking for rpc/pmap_clnt.h... $ECHO_C" >&6; }
6555 if test "${ac_cv_header_rpc_pmap_clnt_h+set}" = set; then
6556 echo $ECHO_N "(cached) $ECHO_C" >&6
6558 ac_cv_header_rpc_pmap_clnt_h=$ac_header_preproc
6560 { echo "$as_me:$LINENO: result: $ac_cv_header_rpc_pmap_clnt_h" >&5
6561 echo "${ECHO_T}$ac_cv_header_rpc_pmap_clnt_h" >&6; }
6564 if test $ac_cv_header_rpc_pmap_clnt_h = yes; then
6565 cat >>confdefs.h <<\_ACEOF
6566 #define HAVE_RPC_PMAP_CLNT_H 1
6572 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6573 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
6574 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
6575 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6576 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
6579 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
6581 # Is the header compilable?
6582 { echo "$as_me:$LINENO: checking sys/socket.h usability" >&5
6583 echo $ECHO_N "checking sys/socket.h usability... $ECHO_C" >&6; }
6584 cat >conftest.$ac_ext <<_ACEOF
6587 cat confdefs.h >>conftest.$ac_ext
6588 cat >>conftest.$ac_ext <<_ACEOF
6589 /* end confdefs.h. */
6590 $ac_includes_default
6591 #include <sys/socket.h>
6593 rm -f conftest.$ac_objext
6594 if { (ac_try="$ac_compile"
6596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6597 *) ac_try_echo=$ac_try;;
6599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6600 (eval "$ac_compile") 2>conftest.er1
6602 grep -v '^ *+' conftest.er1 >conftest.err
6604 cat conftest.err >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } && {
6607 test -z "$ac_c_werror_flag" ||
6608 test ! -s conftest.err
6609 } && test -s conftest.$ac_objext; then
6610 ac_header_compiler=yes
6612 echo "$as_me: failed program was:" >&5
6613 sed 's/^/| /' conftest.$ac_ext >&5
6615 ac_header_compiler=no
6618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6619 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6620 echo "${ECHO_T}$ac_header_compiler" >&6; }
6622 # Is the header present?
6623 { echo "$as_me:$LINENO: checking sys/socket.h presence" >&5
6624 echo $ECHO_N "checking sys/socket.h presence... $ECHO_C" >&6; }
6625 cat >conftest.$ac_ext <<_ACEOF
6628 cat confdefs.h >>conftest.$ac_ext
6629 cat >>conftest.$ac_ext <<_ACEOF
6630 /* end confdefs.h. */
6631 #include <sys/socket.h>
6633 if { (ac_try="$ac_cpp conftest.$ac_ext"
6635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6636 *) ac_try_echo=$ac_try;;
6638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6641 grep -v '^ *+' conftest.er1 >conftest.err
6643 cat conftest.err >&5
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); } >/dev/null && {
6646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6647 test ! -s conftest.err
6649 ac_header_preproc=yes
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_header_preproc=no
6657 rm -f conftest.err conftest.$ac_ext
6658 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6659 echo "${ECHO_T}$ac_header_preproc" >&6; }
6661 # So? What about this header?
6662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6664 { echo "$as_me:$LINENO: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&5
6665 echo "$as_me: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6666 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the compiler's result" >&5
6667 echo "$as_me: WARNING: sys/socket.h: proceeding with the compiler's result" >&2;}
6668 ac_header_preproc=yes
6671 { echo "$as_me:$LINENO: WARNING: sys/socket.h: present but cannot be compiled" >&5
6672 echo "$as_me: WARNING: sys/socket.h: present but cannot be compiled" >&2;}
6673 { echo "$as_me:$LINENO: WARNING: sys/socket.h: check for missing prerequisite headers?" >&5
6674 echo "$as_me: WARNING: sys/socket.h: check for missing prerequisite headers?" >&2;}
6675 { echo "$as_me:$LINENO: WARNING: sys/socket.h: see the Autoconf documentation" >&5
6676 echo "$as_me: WARNING: sys/socket.h: see the Autoconf documentation" >&2;}
6677 { echo "$as_me:$LINENO: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&5
6678 echo "$as_me: WARNING: sys/socket.h: section \"Present But Cannot Be Compiled\"" >&2;}
6679 { echo "$as_me:$LINENO: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&5
6680 echo "$as_me: WARNING: sys/socket.h: proceeding with the preprocessor's result" >&2;}
6681 { echo "$as_me:$LINENO: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&5
6682 echo "$as_me: WARNING: sys/socket.h: in the future, the compiler will take precedence" >&2;}
6686 { echo "$as_me:$LINENO: checking for sys/socket.h" >&5
6687 echo $ECHO_N "checking for sys/socket.h... $ECHO_C" >&6; }
6688 if test "${ac_cv_header_sys_socket_h+set}" = set; then
6689 echo $ECHO_N "(cached) $ECHO_C" >&6
6691 ac_cv_header_sys_socket_h=$ac_header_preproc
6693 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_socket_h" >&5
6694 echo "${ECHO_T}$ac_cv_header_sys_socket_h" >&6; }
6697 if test $ac_cv_header_sys_socket_h = yes; then
6698 cat >>confdefs.h <<\_ACEOF
6699 #define HAVE_SYS_SOCKET_H 1
6705 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6706 { echo "$as_me:$LINENO: checking for sys/signal.h" >&5
6707 echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6; }
6708 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
6712 echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6; }
6714 # Is the header compilable?
6715 { echo "$as_me:$LINENO: checking sys/signal.h usability" >&5
6716 echo $ECHO_N "checking sys/signal.h usability... $ECHO_C" >&6; }
6717 cat >conftest.$ac_ext <<_ACEOF
6720 cat confdefs.h >>conftest.$ac_ext
6721 cat >>conftest.$ac_ext <<_ACEOF
6722 /* end confdefs.h. */
6723 $ac_includes_default
6724 #include <sys/signal.h>
6726 rm -f conftest.$ac_objext
6727 if { (ac_try="$ac_compile"
6729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6730 *) ac_try_echo=$ac_try;;
6732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6733 (eval "$ac_compile") 2>conftest.er1
6735 grep -v '^ *+' conftest.er1 >conftest.err
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } && {
6740 test -z "$ac_c_werror_flag" ||
6741 test ! -s conftest.err
6742 } && test -s conftest.$ac_objext; then
6743 ac_header_compiler=yes
6745 echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.$ac_ext >&5
6748 ac_header_compiler=no
6751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6752 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6753 echo "${ECHO_T}$ac_header_compiler" >&6; }
6755 # Is the header present?
6756 { echo "$as_me:$LINENO: checking sys/signal.h presence" >&5
6757 echo $ECHO_N "checking sys/signal.h presence... $ECHO_C" >&6; }
6758 cat >conftest.$ac_ext <<_ACEOF
6761 cat confdefs.h >>conftest.$ac_ext
6762 cat >>conftest.$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 #include <sys/signal.h>
6766 if { (ac_try="$ac_cpp conftest.$ac_ext"
6768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6769 *) ac_try_echo=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1 >conftest.err
6776 cat conftest.err >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } >/dev/null && {
6779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6782 ac_header_preproc=yes
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.$ac_ext >&5
6787 ac_header_preproc=no
6790 rm -f conftest.err conftest.$ac_ext
6791 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6792 echo "${ECHO_T}$ac_header_preproc" >&6; }
6794 # So? What about this header?
6795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6797 { echo "$as_me:$LINENO: WARNING: sys/signal.h: accepted by the compiler, rejected by the preprocessor!" >&5
6798 echo "$as_me: WARNING: sys/signal.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: sys/signal.h: proceeding with the compiler's result" >&5
6800 echo "$as_me: WARNING: sys/signal.h: proceeding with the compiler's result" >&2;}
6801 ac_header_preproc=yes
6804 { echo "$as_me:$LINENO: WARNING: sys/signal.h: present but cannot be compiled" >&5
6805 echo "$as_me: WARNING: sys/signal.h: present but cannot be compiled" >&2;}
6806 { echo "$as_me:$LINENO: WARNING: sys/signal.h: check for missing prerequisite headers?" >&5
6807 echo "$as_me: WARNING: sys/signal.h: check for missing prerequisite headers?" >&2;}
6808 { echo "$as_me:$LINENO: WARNING: sys/signal.h: see the Autoconf documentation" >&5
6809 echo "$as_me: WARNING: sys/signal.h: see the Autoconf documentation" >&2;}
6810 { echo "$as_me:$LINENO: WARNING: sys/signal.h: section \"Present But Cannot Be Compiled\"" >&5
6811 echo "$as_me: WARNING: sys/signal.h: section \"Present But Cannot Be Compiled\"" >&2;}
6812 { echo "$as_me:$LINENO: WARNING: sys/signal.h: proceeding with the preprocessor's result" >&5
6813 echo "$as_me: WARNING: sys/signal.h: proceeding with the preprocessor's result" >&2;}
6814 { echo "$as_me:$LINENO: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&5
6815 echo "$as_me: WARNING: sys/signal.h: in the future, the compiler will take precedence" >&2;}
6819 { echo "$as_me:$LINENO: checking for sys/signal.h" >&5
6820 echo $ECHO_N "checking for sys/signal.h... $ECHO_C" >&6; }
6821 if test "${ac_cv_header_sys_signal_h+set}" = set; then
6822 echo $ECHO_N "(cached) $ECHO_C" >&6
6824 ac_cv_header_sys_signal_h=$ac_header_preproc
6826 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_signal_h" >&5
6827 echo "${ECHO_T}$ac_cv_header_sys_signal_h" >&6; }
6830 if test $ac_cv_header_sys_signal_h = yes; then
6831 cat >>confdefs.h <<\_ACEOF
6832 #define HAVE_SYS_SIGNAL_H 1
6838 if test "${ac_cv_header_crypt_h+set}" = set; then
6839 { echo "$as_me:$LINENO: checking for crypt.h" >&5
6840 echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6; }
6841 if test "${ac_cv_header_crypt_h+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6844 { echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
6845 echo "${ECHO_T}$ac_cv_header_crypt_h" >&6; }
6847 # Is the header compilable?
6848 { echo "$as_me:$LINENO: checking crypt.h usability" >&5
6849 echo $ECHO_N "checking crypt.h usability... $ECHO_C" >&6; }
6850 cat >conftest.$ac_ext <<_ACEOF
6853 cat confdefs.h >>conftest.$ac_ext
6854 cat >>conftest.$ac_ext <<_ACEOF
6855 /* end confdefs.h. */
6856 $ac_includes_default
6859 rm -f conftest.$ac_objext
6860 if { (ac_try="$ac_compile"
6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863 *) ac_try_echo=$ac_try;;
6865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6866 (eval "$ac_compile") 2>conftest.er1
6868 grep -v '^ *+' conftest.er1 >conftest.err
6870 cat conftest.err >&5
6871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6872 (exit $ac_status); } && {
6873 test -z "$ac_c_werror_flag" ||
6874 test ! -s conftest.err
6875 } && test -s conftest.$ac_objext; then
6876 ac_header_compiler=yes
6878 echo "$as_me: failed program was:" >&5
6879 sed 's/^/| /' conftest.$ac_ext >&5
6881 ac_header_compiler=no
6884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6885 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6886 echo "${ECHO_T}$ac_header_compiler" >&6; }
6888 # Is the header present?
6889 { echo "$as_me:$LINENO: checking crypt.h presence" >&5
6890 echo $ECHO_N "checking crypt.h presence... $ECHO_C" >&6; }
6891 cat >conftest.$ac_ext <<_ACEOF
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6899 if { (ac_try="$ac_cpp conftest.$ac_ext"
6901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6902 *) ac_try_echo=$ac_try;;
6904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6905 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6907 grep -v '^ *+' conftest.er1 >conftest.err
6909 cat conftest.err >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } >/dev/null && {
6912 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6913 test ! -s conftest.err
6915 ac_header_preproc=yes
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6920 ac_header_preproc=no
6923 rm -f conftest.err conftest.$ac_ext
6924 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6925 echo "${ECHO_T}$ac_header_preproc" >&6; }
6927 # So? What about this header?
6928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6930 { echo "$as_me:$LINENO: WARNING: crypt.h: accepted by the compiler, rejected by the preprocessor!" >&5
6931 echo "$as_me: WARNING: crypt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6932 { echo "$as_me:$LINENO: WARNING: crypt.h: proceeding with the compiler's result" >&5
6933 echo "$as_me: WARNING: crypt.h: proceeding with the compiler's result" >&2;}
6934 ac_header_preproc=yes
6937 { echo "$as_me:$LINENO: WARNING: crypt.h: present but cannot be compiled" >&5
6938 echo "$as_me: WARNING: crypt.h: present but cannot be compiled" >&2;}
6939 { echo "$as_me:$LINENO: WARNING: crypt.h: check for missing prerequisite headers?" >&5
6940 echo "$as_me: WARNING: crypt.h: check for missing prerequisite headers?" >&2;}
6941 { echo "$as_me:$LINENO: WARNING: crypt.h: see the Autoconf documentation" >&5
6942 echo "$as_me: WARNING: crypt.h: see the Autoconf documentation" >&2;}
6943 { echo "$as_me:$LINENO: WARNING: crypt.h: section \"Present But Cannot Be Compiled\"" >&5
6944 echo "$as_me: WARNING: crypt.h: section \"Present But Cannot Be Compiled\"" >&2;}
6945 { echo "$as_me:$LINENO: WARNING: crypt.h: proceeding with the preprocessor's result" >&5
6946 echo "$as_me: WARNING: crypt.h: proceeding with the preprocessor's result" >&2;}
6947 { echo "$as_me:$LINENO: WARNING: crypt.h: in the future, the compiler will take precedence" >&5
6948 echo "$as_me: WARNING: crypt.h: in the future, the compiler will take precedence" >&2;}
6952 { echo "$as_me:$LINENO: checking for crypt.h" >&5
6953 echo $ECHO_N "checking for crypt.h... $ECHO_C" >&6; }
6954 if test "${ac_cv_header_crypt_h+set}" = set; then
6955 echo $ECHO_N "(cached) $ECHO_C" >&6
6957 ac_cv_header_crypt_h=$ac_header_preproc
6959 { echo "$as_me:$LINENO: result: $ac_cv_header_crypt_h" >&5
6960 echo "${ECHO_T}$ac_cv_header_crypt_h" >&6; }
6963 if test $ac_cv_header_crypt_h = yes; then
6964 cat >>confdefs.h <<\_ACEOF
6965 #define HAVE_CRYPT_H 1
6971 if test "${ac_cv_header_stdint_h+set}" = set; then
6972 { echo "$as_me:$LINENO: checking for stdint.h" >&5
6973 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
6974 if test "${ac_cv_header_stdint_h+set}" = set; then
6975 echo $ECHO_N "(cached) $ECHO_C" >&6
6977 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
6978 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; }
6980 # Is the header compilable?
6981 { echo "$as_me:$LINENO: checking stdint.h usability" >&5
6982 echo $ECHO_N "checking stdint.h usability... $ECHO_C" >&6; }
6983 cat >conftest.$ac_ext <<_ACEOF
6986 cat confdefs.h >>conftest.$ac_ext
6987 cat >>conftest.$ac_ext <<_ACEOF
6988 /* end confdefs.h. */
6989 $ac_includes_default
6992 rm -f conftest.$ac_objext
6993 if { (ac_try="$ac_compile"
6995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6996 *) ac_try_echo=$ac_try;;
6998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6999 (eval "$ac_compile") 2>conftest.er1
7001 grep -v '^ *+' conftest.er1 >conftest.err
7003 cat conftest.err >&5
7004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005 (exit $ac_status); } && {
7006 test -z "$ac_c_werror_flag" ||
7007 test ! -s conftest.err
7008 } && test -s conftest.$ac_objext; then
7009 ac_header_compiler=yes
7011 echo "$as_me: failed program was:" >&5
7012 sed 's/^/| /' conftest.$ac_ext >&5
7014 ac_header_compiler=no
7017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7018 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7019 echo "${ECHO_T}$ac_header_compiler" >&6; }
7021 # Is the header present?
7022 { echo "$as_me:$LINENO: checking stdint.h presence" >&5
7023 echo $ECHO_N "checking stdint.h presence... $ECHO_C" >&6; }
7024 cat >conftest.$ac_ext <<_ACEOF
7027 cat confdefs.h >>conftest.$ac_ext
7028 cat >>conftest.$ac_ext <<_ACEOF
7029 /* end confdefs.h. */
7032 if { (ac_try="$ac_cpp conftest.$ac_ext"
7034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7035 *) ac_try_echo=$ac_try;;
7037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7038 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7040 grep -v '^ *+' conftest.er1 >conftest.err
7042 cat conftest.err >&5
7043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); } >/dev/null && {
7045 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7046 test ! -s conftest.err
7048 ac_header_preproc=yes
7050 echo "$as_me: failed program was:" >&5
7051 sed 's/^/| /' conftest.$ac_ext >&5
7053 ac_header_preproc=no
7056 rm -f conftest.err conftest.$ac_ext
7057 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7058 echo "${ECHO_T}$ac_header_preproc" >&6; }
7060 # So? What about this header?
7061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7063 { echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
7064 echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7065 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
7066 echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
7067 ac_header_preproc=yes
7070 { echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
7071 echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
7072 { echo "$as_me:$LINENO: WARNING: stdint.h: check for missing prerequisite headers?" >&5
7073 echo "$as_me: WARNING: stdint.h: check for missing prerequisite headers?" >&2;}
7074 { echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
7075 echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
7076 { echo "$as_me:$LINENO: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&5
7077 echo "$as_me: WARNING: stdint.h: section \"Present But Cannot Be Compiled\"" >&2;}
7078 { echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
7079 echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
7080 { echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
7081 echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
7085 { echo "$as_me:$LINENO: checking for stdint.h" >&5
7086 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
7087 if test "${ac_cv_header_stdint_h+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7090 ac_cv_header_stdint_h=$ac_header_preproc
7092 { echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
7093 echo "${ECHO_T}$ac_cv_header_stdint_h" >&6; }
7096 if test $ac_cv_header_stdint_h = yes; then
7097 cat >>confdefs.h <<\_ACEOF
7098 #define HAVE_STDINT_H 1
7104 if test "${ac_cv_header_stdbool_h+set}" = set; then
7105 { echo "$as_me:$LINENO: checking for stdbool.h" >&5
7106 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; }
7107 if test "${ac_cv_header_stdbool_h+set}" = set; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
7111 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
7113 # Is the header compilable?
7114 { echo "$as_me:$LINENO: checking stdbool.h usability" >&5
7115 echo $ECHO_N "checking stdbool.h usability... $ECHO_C" >&6; }
7116 cat >conftest.$ac_ext <<_ACEOF
7119 cat confdefs.h >>conftest.$ac_ext
7120 cat >>conftest.$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7122 $ac_includes_default
7123 #include <stdbool.h>
7125 rm -f conftest.$ac_objext
7126 if { (ac_try="$ac_compile"
7128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7129 *) ac_try_echo=$ac_try;;
7131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7132 (eval "$ac_compile") 2>conftest.er1
7134 grep -v '^ *+' conftest.er1 >conftest.err
7136 cat conftest.err >&5
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); } && {
7139 test -z "$ac_c_werror_flag" ||
7140 test ! -s conftest.err
7141 } && test -s conftest.$ac_objext; then
7142 ac_header_compiler=yes
7144 echo "$as_me: failed program was:" >&5
7145 sed 's/^/| /' conftest.$ac_ext >&5
7147 ac_header_compiler=no
7150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7151 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7152 echo "${ECHO_T}$ac_header_compiler" >&6; }
7154 # Is the header present?
7155 { echo "$as_me:$LINENO: checking stdbool.h presence" >&5
7156 echo $ECHO_N "checking stdbool.h presence... $ECHO_C" >&6; }
7157 cat >conftest.$ac_ext <<_ACEOF
7160 cat confdefs.h >>conftest.$ac_ext
7161 cat >>conftest.$ac_ext <<_ACEOF
7162 /* end confdefs.h. */
7163 #include <stdbool.h>
7165 if { (ac_try="$ac_cpp conftest.$ac_ext"
7167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7168 *) ac_try_echo=$ac_try;;
7170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7171 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7173 grep -v '^ *+' conftest.er1 >conftest.err
7175 cat conftest.err >&5
7176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7177 (exit $ac_status); } >/dev/null && {
7178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7179 test ! -s conftest.err
7181 ac_header_preproc=yes
7183 echo "$as_me: failed program was:" >&5
7184 sed 's/^/| /' conftest.$ac_ext >&5
7186 ac_header_preproc=no
7189 rm -f conftest.err conftest.$ac_ext
7190 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7191 echo "${ECHO_T}$ac_header_preproc" >&6; }
7193 # So? What about this header?
7194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7196 { echo "$as_me:$LINENO: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&5
7197 echo "$as_me: WARNING: stdbool.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7198 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the compiler's result" >&5
7199 echo "$as_me: WARNING: stdbool.h: proceeding with the compiler's result" >&2;}
7200 ac_header_preproc=yes
7203 { echo "$as_me:$LINENO: WARNING: stdbool.h: present but cannot be compiled" >&5
7204 echo "$as_me: WARNING: stdbool.h: present but cannot be compiled" >&2;}
7205 { echo "$as_me:$LINENO: WARNING: stdbool.h: check for missing prerequisite headers?" >&5
7206 echo "$as_me: WARNING: stdbool.h: check for missing prerequisite headers?" >&2;}
7207 { echo "$as_me:$LINENO: WARNING: stdbool.h: see the Autoconf documentation" >&5
7208 echo "$as_me: WARNING: stdbool.h: see the Autoconf documentation" >&2;}
7209 { echo "$as_me:$LINENO: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&5
7210 echo "$as_me: WARNING: stdbool.h: section \"Present But Cannot Be Compiled\"" >&2;}
7211 { echo "$as_me:$LINENO: WARNING: stdbool.h: proceeding with the preprocessor's result" >&5
7212 echo "$as_me: WARNING: stdbool.h: proceeding with the preprocessor's result" >&2;}
7213 { echo "$as_me:$LINENO: WARNING: stdbool.h: in the future, the compiler will take precedence" >&5
7214 echo "$as_me: WARNING: stdbool.h: in the future, the compiler will take precedence" >&2;}
7218 { echo "$as_me:$LINENO: checking for stdbool.h" >&5
7219 echo $ECHO_N "checking for stdbool.h... $ECHO_C" >&6; }
7220 if test "${ac_cv_header_stdbool_h+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 ac_cv_header_stdbool_h=$ac_header_preproc
7225 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
7226 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
7229 if test $ac_cv_header_stdbool_h = yes; then
7230 cat >>confdefs.h <<\_ACEOF
7231 #define HAVE_STDBOOL_H 1
7237 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7238 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5
7239 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
7240 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7241 echo $ECHO_N "(cached) $ECHO_C" >&6
7243 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
7244 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
7246 # Is the header compilable?
7247 { echo "$as_me:$LINENO: checking sys/filio.h usability" >&5
7248 echo $ECHO_N "checking sys/filio.h usability... $ECHO_C" >&6; }
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 $ac_includes_default
7256 #include <sys/filio.h>
7258 rm -f conftest.$ac_objext
7259 if { (ac_try="$ac_compile"
7261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265 (eval "$ac_compile") 2>conftest.er1
7267 grep -v '^ *+' conftest.er1 >conftest.err
7269 cat conftest.err >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } && {
7272 test -z "$ac_c_werror_flag" ||
7273 test ! -s conftest.err
7274 } && test -s conftest.$ac_objext; then
7275 ac_header_compiler=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7280 ac_header_compiler=no
7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7284 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7285 echo "${ECHO_T}$ac_header_compiler" >&6; }
7287 # Is the header present?
7288 { echo "$as_me:$LINENO: checking sys/filio.h presence" >&5
7289 echo $ECHO_N "checking sys/filio.h presence... $ECHO_C" >&6; }
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/filio.h>
7298 if { (ac_try="$ac_cpp conftest.$ac_ext"
7300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7301 *) ac_try_echo=$ac_try;;
7303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7304 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7306 grep -v '^ *+' conftest.er1 >conftest.err
7308 cat conftest.err >&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } >/dev/null && {
7311 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7312 test ! -s conftest.err
7314 ac_header_preproc=yes
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.$ac_ext >&5
7319 ac_header_preproc=no
7322 rm -f conftest.err conftest.$ac_ext
7323 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7324 echo "${ECHO_T}$ac_header_preproc" >&6; }
7326 # So? What about this header?
7327 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7329 { echo "$as_me:$LINENO: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&5
7330 echo "$as_me: WARNING: sys/filio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7331 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the compiler's result" >&5
7332 echo "$as_me: WARNING: sys/filio.h: proceeding with the compiler's result" >&2;}
7333 ac_header_preproc=yes
7336 { echo "$as_me:$LINENO: WARNING: sys/filio.h: present but cannot be compiled" >&5
7337 echo "$as_me: WARNING: sys/filio.h: present but cannot be compiled" >&2;}
7338 { echo "$as_me:$LINENO: WARNING: sys/filio.h: check for missing prerequisite headers?" >&5
7339 echo "$as_me: WARNING: sys/filio.h: check for missing prerequisite headers?" >&2;}
7340 { echo "$as_me:$LINENO: WARNING: sys/filio.h: see the Autoconf documentation" >&5
7341 echo "$as_me: WARNING: sys/filio.h: see the Autoconf documentation" >&2;}
7342 { echo "$as_me:$LINENO: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&5
7343 echo "$as_me: WARNING: sys/filio.h: section \"Present But Cannot Be Compiled\"" >&2;}
7344 { echo "$as_me:$LINENO: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&5
7345 echo "$as_me: WARNING: sys/filio.h: proceeding with the preprocessor's result" >&2;}
7346 { echo "$as_me:$LINENO: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&5
7347 echo "$as_me: WARNING: sys/filio.h: in the future, the compiler will take precedence" >&2;}
7351 { echo "$as_me:$LINENO: checking for sys/filio.h" >&5
7352 echo $ECHO_N "checking for sys/filio.h... $ECHO_C" >&6; }
7353 if test "${ac_cv_header_sys_filio_h+set}" = set; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7356 ac_cv_header_sys_filio_h=$ac_header_preproc
7358 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_filio_h" >&5
7359 echo "${ECHO_T}$ac_cv_header_sys_filio_h" >&6; }
7362 if test $ac_cv_header_sys_filio_h = yes; then
7363 cat >>confdefs.h <<\_ACEOF
7364 #define HAVE_SYS_FILIO_H 1
7370 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7371 { echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
7372 echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6; }
7373 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7374 echo $ECHO_N "(cached) $ECHO_C" >&6
7376 { echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
7377 echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6; }
7379 # Is the header compilable?
7380 { echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h usability" >&5
7381 echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h usability... $ECHO_C" >&6; }
7382 cat >conftest.$ac_ext <<_ACEOF
7385 cat confdefs.h >>conftest.$ac_ext
7386 cat >>conftest.$ac_ext <<_ACEOF
7387 /* end confdefs.h. */
7388 $ac_includes_default
7389 #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
7391 rm -f conftest.$ac_objext
7392 if { (ac_try="$ac_compile"
7394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7395 *) ac_try_echo=$ac_try;;
7397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7398 (eval "$ac_compile") 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } && {
7405 test -z "$ac_c_werror_flag" ||
7406 test ! -s conftest.err
7407 } && test -s conftest.$ac_objext; then
7408 ac_header_compiler=yes
7410 echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.$ac_ext >&5
7413 ac_header_compiler=no
7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7417 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7418 echo "${ECHO_T}$ac_header_compiler" >&6; }
7420 # Is the header present?
7421 { echo "$as_me:$LINENO: checking DNSServiceDiscovery/DNSServiceDiscovery.h presence" >&5
7422 echo $ECHO_N "checking DNSServiceDiscovery/DNSServiceDiscovery.h presence... $ECHO_C" >&6; }
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
7431 if { (ac_try="$ac_cpp conftest.$ac_ext"
7433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7434 *) ac_try_echo=$ac_try;;
7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7437 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7439 grep -v '^ *+' conftest.er1 >conftest.err
7441 cat conftest.err >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } >/dev/null && {
7444 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7445 test ! -s conftest.err
7447 ac_header_preproc=yes
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.$ac_ext >&5
7452 ac_header_preproc=no
7455 rm -f conftest.err conftest.$ac_ext
7456 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7457 echo "${ECHO_T}$ac_header_preproc" >&6; }
7459 # So? What about this header?
7460 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7462 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: accepted by the compiler, rejected by the preprocessor!" >&5
7463 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7464 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the compiler's result" >&5
7465 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the compiler's result" >&2;}
7466 ac_header_preproc=yes
7469 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: present but cannot be compiled" >&5
7470 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: present but cannot be compiled" >&2;}
7471 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: check for missing prerequisite headers?" >&5
7472 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: check for missing prerequisite headers?" >&2;}
7473 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: see the Autoconf documentation" >&5
7474 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: see the Autoconf documentation" >&2;}
7475 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: section \"Present But Cannot Be Compiled\"" >&5
7476 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: section \"Present But Cannot Be Compiled\"" >&2;}
7477 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the preprocessor's result" >&5
7478 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: proceeding with the preprocessor's result" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&5
7480 echo "$as_me: WARNING: DNSServiceDiscovery/DNSServiceDiscovery.h: in the future, the compiler will take precedence" >&2;}
7484 { echo "$as_me:$LINENO: checking for DNSServiceDiscovery/DNSServiceDiscovery.h" >&5
7485 echo $ECHO_N "checking for DNSServiceDiscovery/DNSServiceDiscovery.h... $ECHO_C" >&6; }
7486 if test "${ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h+set}" = set; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h=$ac_header_preproc
7491 { echo "$as_me:$LINENO: result: $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&5
7492 echo "${ECHO_T}$ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h" >&6; }
7495 if test $ac_cv_header_DNSServiceDiscovery_DNSServiceDiscovery_h = yes; then
7496 cat >>confdefs.h <<\_ACEOF
7497 #define HAVE_DNSREGISTRATION 1
7499 cat >>confdefs.h <<\_ACEOF
7508 # Check whether --with-howl was given.
7509 if test "${with_howl+set}" = set; then
7510 withval=$with_howl; OLDCFLAGS=$CFLAGS; CFLAGS="-I$withval/include/howl/ $CFLAGS";
7511 OLDLDFLAGS=$LDFLAGS; LDFLAGS="-L$withval/lib/ $LDFLAGS";
7512 OLDCPPFLAGS=$CPPFLAGS; CPPFLAGS="-I$withval/include/howl/ $CPPFLAGS";
7513 as_ac_Header=`echo "ac_cv_header_$withval/include/howl/howl.h" | $as_tr_sh`
7514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7515 { echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
7516 echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6; }
7517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 ac_res=`eval echo '${'$as_ac_Header'}'`
7521 { echo "$as_me:$LINENO: result: $ac_res" >&5
7522 echo "${ECHO_T}$ac_res" >&6; }
7524 # Is the header compilable?
7525 { echo "$as_me:$LINENO: checking $withval/include/howl/howl.h usability" >&5
7526 echo $ECHO_N "checking $withval/include/howl/howl.h usability... $ECHO_C" >&6; }
7527 cat >conftest.$ac_ext <<_ACEOF
7530 cat confdefs.h >>conftest.$ac_ext
7531 cat >>conftest.$ac_ext <<_ACEOF
7532 /* end confdefs.h. */
7533 $ac_includes_default
7534 #include <$withval/include/howl/howl.h>
7536 rm -f conftest.$ac_objext
7537 if { (ac_try="$ac_compile"
7539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7540 *) ac_try_echo=$ac_try;;
7542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7543 (eval "$ac_compile") 2>conftest.er1
7545 grep -v '^ *+' conftest.er1 >conftest.err
7547 cat conftest.err >&5
7548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7549 (exit $ac_status); } && {
7550 test -z "$ac_c_werror_flag" ||
7551 test ! -s conftest.err
7552 } && test -s conftest.$ac_objext; then
7553 ac_header_compiler=yes
7555 echo "$as_me: failed program was:" >&5
7556 sed 's/^/| /' conftest.$ac_ext >&5
7558 ac_header_compiler=no
7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7562 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7563 echo "${ECHO_T}$ac_header_compiler" >&6; }
7565 # Is the header present?
7566 { echo "$as_me:$LINENO: checking $withval/include/howl/howl.h presence" >&5
7567 echo $ECHO_N "checking $withval/include/howl/howl.h presence... $ECHO_C" >&6; }
7568 cat >conftest.$ac_ext <<_ACEOF
7571 cat confdefs.h >>conftest.$ac_ext
7572 cat >>conftest.$ac_ext <<_ACEOF
7573 /* end confdefs.h. */
7574 #include <$withval/include/howl/howl.h>
7576 if { (ac_try="$ac_cpp conftest.$ac_ext"
7578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7579 *) ac_try_echo=$ac_try;;
7581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7584 grep -v '^ *+' conftest.er1 >conftest.err
7586 cat conftest.err >&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } >/dev/null && {
7589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7590 test ! -s conftest.err
7592 ac_header_preproc=yes
7594 echo "$as_me: failed program was:" >&5
7595 sed 's/^/| /' conftest.$ac_ext >&5
7597 ac_header_preproc=no
7600 rm -f conftest.err conftest.$ac_ext
7601 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7602 echo "${ECHO_T}$ac_header_preproc" >&6; }
7604 # So? What about this header?
7605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7607 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7608 echo "$as_me: WARNING: $withval/include/howl/howl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7609 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: proceeding with the compiler's result" >&5
7610 echo "$as_me: WARNING: $withval/include/howl/howl.h: proceeding with the compiler's result" >&2;}
7611 ac_header_preproc=yes
7614 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: present but cannot be compiled" >&5
7615 echo "$as_me: WARNING: $withval/include/howl/howl.h: present but cannot be compiled" >&2;}
7616 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: check for missing prerequisite headers?" >&5
7617 echo "$as_me: WARNING: $withval/include/howl/howl.h: check for missing prerequisite headers?" >&2;}
7618 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: see the Autoconf documentation" >&5
7619 echo "$as_me: WARNING: $withval/include/howl/howl.h: see the Autoconf documentation" >&2;}
7620 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: section \"Present But Cannot Be Compiled\"" >&5
7621 echo "$as_me: WARNING: $withval/include/howl/howl.h: section \"Present But Cannot Be Compiled\"" >&2;}
7622 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: proceeding with the preprocessor's result" >&5
7623 echo "$as_me: WARNING: $withval/include/howl/howl.h: proceeding with the preprocessor's result" >&2;}
7624 { echo "$as_me:$LINENO: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&5
7625 echo "$as_me: WARNING: $withval/include/howl/howl.h: in the future, the compiler will take precedence" >&2;}
7629 { echo "$as_me:$LINENO: checking for $withval/include/howl/howl.h" >&5
7630 echo $ECHO_N "checking for $withval/include/howl/howl.h... $ECHO_C" >&6; }
7631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6
7634 eval "$as_ac_Header=\$ac_header_preproc"
7636 ac_res=`eval echo '${'$as_ac_Header'}'`
7637 { echo "$as_me:$LINENO: result: $ac_res" >&5
7638 echo "${ECHO_T}$ac_res" >&6; }
7641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7642 cat >>confdefs.h <<\_ACEOF
7645 cat >>confdefs.h <<\_ACEOF
7650 CFLAGS=$OLDCFLAGS; LDFLAGS=$OLDLDFLAGS; CPPFLAGS=$OLDCPPFLAGS;
7654 { echo "$as_me:$LINENO: checking for sw_discovery_publish in -lhowl" >&5
7655 echo $ECHO_N "checking for sw_discovery_publish in -lhowl... $ECHO_C" >&6; }
7656 if test "${ac_cv_lib_howl_sw_discovery_publish+set}" = set; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 ac_check_lib_save_LIBS=$LIBS
7661 cat >conftest.$ac_ext <<_ACEOF
7664 cat confdefs.h >>conftest.$ac_ext
7665 cat >>conftest.$ac_ext <<_ACEOF
7666 /* end confdefs.h. */
7668 /* Override any GCC internal prototype to avoid an error.
7669 Use char because int might match the return type of a GCC
7670 builtin and then its argument prototype would still apply. */
7674 char sw_discovery_publish ();
7678 return sw_discovery_publish ();
7683 rm -f conftest.$ac_objext conftest$ac_exeext
7684 if { (ac_try="$ac_link"
7686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7687 *) ac_try_echo=$ac_try;;
7689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7690 (eval "$ac_link") 2>conftest.er1
7692 grep -v '^ *+' conftest.er1 >conftest.err
7694 cat conftest.err >&5
7695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696 (exit $ac_status); } && {
7697 test -z "$ac_c_werror_flag" ||
7698 test ! -s conftest.err
7699 } && test -s conftest$ac_exeext &&
7700 $as_test_x conftest$ac_exeext; then
7701 ac_cv_lib_howl_sw_discovery_publish=yes
7703 echo "$as_me: failed program was:" >&5
7704 sed 's/^/| /' conftest.$ac_ext >&5
7706 ac_cv_lib_howl_sw_discovery_publish=no
7709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7710 conftest$ac_exeext conftest.$ac_ext
7711 LIBS=$ac_check_lib_save_LIBS
7713 { echo "$as_me:$LINENO: result: $ac_cv_lib_howl_sw_discovery_publish" >&5
7714 echo "${ECHO_T}$ac_cv_lib_howl_sw_discovery_publish" >&6; }
7715 if test $ac_cv_lib_howl_sw_discovery_publish = yes; then
7719 OLDLIBS=$LIBS; LIBS="-lpthread $LIBS";
7720 { echo "$as_me:$LINENO: checking for main in -lhowl" >&5
7721 echo $ECHO_N "checking for main in -lhowl... $ECHO_C" >&6; }
7722 if test "${ac_cv_lib_howl_main+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7725 ac_check_lib_save_LIBS=$LIBS
7727 cat >conftest.$ac_ext <<_ACEOF
7730 cat confdefs.h >>conftest.$ac_ext
7731 cat >>conftest.$ac_ext <<_ACEOF
7732 /* end confdefs.h. */
7743 rm -f conftest.$ac_objext conftest$ac_exeext
7744 if { (ac_try="$ac_link"
7746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7747 *) ac_try_echo=$ac_try;;
7749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7750 (eval "$ac_link") 2>conftest.er1
7752 grep -v '^ *+' conftest.er1 >conftest.err
7754 cat conftest.err >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); } && {
7757 test -z "$ac_c_werror_flag" ||
7758 test ! -s conftest.err
7759 } && test -s conftest$ac_exeext &&
7760 $as_test_x conftest$ac_exeext; then
7761 ac_cv_lib_howl_main=yes
7763 echo "$as_me: failed program was:" >&5
7764 sed 's/^/| /' conftest.$ac_ext >&5
7766 ac_cv_lib_howl_main=no
7769 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7770 conftest$ac_exeext conftest.$ac_ext
7771 LIBS=$ac_check_lib_save_LIBS
7773 { echo "$as_me:$LINENO: result: $ac_cv_lib_howl_main" >&5
7774 echo "${ECHO_T}$ac_cv_lib_howl_main" >&6; }
7775 if test $ac_cv_lib_howl_main = yes; then
7788 { echo "$as_me:$LINENO: checking for uint16_t" >&5
7789 echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; }
7790 if test "${xinetd_cv_type_uint16_t+set}" = set; then
7791 echo $ECHO_N "(cached) $ECHO_C" >&6
7793 cat >conftest.$ac_ext <<_ACEOF
7796 cat confdefs.h >>conftest.$ac_ext
7797 cat >>conftest.$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7799 #include <sys/types.h>
7807 #include <sys/resource.h>
7816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7817 $EGREP "uint16_t" >/dev/null 2>&1; then
7818 xinetd_cv_type_uint16_t=yes
7820 xinetd_cv_type_uint16_t=no
7825 { echo "$as_me:$LINENO: result: $xinetd_cv_type_uint16_t" >&5
7826 echo "${ECHO_T}$xinetd_cv_type_uint16_t" >&6; }
7827 if test $xinetd_cv_type_uint16_t = no; then
7828 cat >>confdefs.h <<\_ACEOF
7829 #define uint16_t unsigned short
7834 { echo "$as_me:$LINENO: checking for uint32_t" >&5
7835 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; }
7836 if test "${xinetd_cv_type_uint32_t+set}" = set; then
7837 echo $ECHO_N "(cached) $ECHO_C" >&6
7839 cat >conftest.$ac_ext <<_ACEOF
7842 cat confdefs.h >>conftest.$ac_ext
7843 cat >>conftest.$ac_ext <<_ACEOF
7844 /* end confdefs.h. */
7845 #include <sys/types.h>
7853 #include <sys/resource.h>
7862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7863 $EGREP "uint32_t" >/dev/null 2>&1; then
7864 xinetd_cv_type_uint32_t=yes
7866 xinetd_cv_type_uint32_t=no
7871 { echo "$as_me:$LINENO: result: $xinetd_cv_type_uint32_t" >&5
7872 echo "${ECHO_T}$xinetd_cv_type_uint32_t" >&6; }
7873 if test $xinetd_cv_type_uint32_t = no; then
7874 cat >>confdefs.h <<\_ACEOF
7875 #define uint32_t unsigned int
7880 { echo "$as_me:$LINENO: checking for uint64_t" >&5
7881 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7882 if test "${xinetd_cv_type_uint64_t+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 cat >conftest.$ac_ext <<_ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7891 #include <sys/types.h>
7899 #include <sys/resource.h>
7908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7909 $EGREP "uint64_t" >/dev/null 2>&1; then
7910 xinetd_cv_type_uint64_t=yes
7912 xinetd_cv_type_uint64_t=no
7917 { echo "$as_me:$LINENO: result: $xinetd_cv_type_uint64_t" >&5
7918 echo "${ECHO_T}$xinetd_cv_type_uint64_t" >&6; }
7919 if test $xinetd_cv_type_uint64_t = no; then
7920 cat >>confdefs.h <<\_ACEOF
7921 #define uint64_t unsigned long long
7926 { echo "$as_me:$LINENO: checking for uid_t" >&5
7927 echo $ECHO_N "checking for uid_t... $ECHO_C" >&6; }
7928 if test "${xinetd_cv_type_uid_t+set}" = set; then
7929 echo $ECHO_N "(cached) $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 #include <sys/types.h>
7945 #include <sys/resource.h>
7954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7955 $EGREP "uid_t" >/dev/null 2>&1; then
7956 xinetd_cv_type_uid_t=yes
7958 xinetd_cv_type_uid_t=no
7963 { echo "$as_me:$LINENO: result: $xinetd_cv_type_uid_t" >&5
7964 echo "${ECHO_T}$xinetd_cv_type_uid_t" >&6; }
7965 if test $xinetd_cv_type_uid_t = no; then
7966 cat >>confdefs.h <<\_ACEOF
7967 #define uid_t unsigned int
7972 { echo "$as_me:$LINENO: checking for gid_t" >&5
7973 echo $ECHO_N "checking for gid_t... $ECHO_C" >&6; }
7974 if test "${xinetd_cv_type_gid_t+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7977 cat >conftest.$ac_ext <<_ACEOF
7980 cat confdefs.h >>conftest.$ac_ext
7981 cat >>conftest.$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7983 #include <sys/types.h>
7991 #include <sys/resource.h>
8000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8001 $EGREP "gid_t" >/dev/null 2>&1; then
8002 xinetd_cv_type_gid_t=yes
8004 xinetd_cv_type_gid_t=no
8009 { echo "$as_me:$LINENO: result: $xinetd_cv_type_gid_t" >&5
8010 echo "${ECHO_T}$xinetd_cv_type_gid_t" >&6; }
8011 if test $xinetd_cv_type_gid_t = no; then
8012 cat >>confdefs.h <<\_ACEOF
8013 #define gid_t unsigned int
8018 { echo "$as_me:$LINENO: checking for socklen_t" >&5
8019 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
8020 if test "${xinetd_cv_type_socklen_t+set}" = set; then
8021 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 cat >conftest.$ac_ext <<_ACEOF
8026 cat confdefs.h >>conftest.$ac_ext
8027 cat >>conftest.$ac_ext <<_ACEOF
8028 /* end confdefs.h. */
8029 #include <sys/types.h>
8037 #include <sys/resource.h>
8046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8047 $EGREP "socklen_t" >/dev/null 2>&1; then
8048 xinetd_cv_type_socklen_t=yes
8050 xinetd_cv_type_socklen_t=no
8055 { echo "$as_me:$LINENO: result: $xinetd_cv_type_socklen_t" >&5
8056 echo "${ECHO_T}$xinetd_cv_type_socklen_t" >&6; }
8057 if test $xinetd_cv_type_socklen_t = no; then
8058 cat >>confdefs.h <<\_ACEOF
8059 #define socklen_t unsigned int
8064 { echo "$as_me:$LINENO: checking for rlim_t" >&5
8065 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6; }
8066 if test "${xinetd_cv_type_rlim_t+set}" = set; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8069 cat >conftest.$ac_ext <<_ACEOF
8072 cat confdefs.h >>conftest.$ac_ext
8073 cat >>conftest.$ac_ext <<_ACEOF
8074 /* end confdefs.h. */
8075 #include <sys/types.h>
8083 #include <sys/resource.h>
8092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8093 $EGREP "rlim_t" >/dev/null 2>&1; then
8094 xinetd_cv_type_rlim_t=yes
8096 xinetd_cv_type_rlim_t=no
8101 { echo "$as_me:$LINENO: result: $xinetd_cv_type_rlim_t" >&5
8102 echo "${ECHO_T}$xinetd_cv_type_rlim_t" >&6; }
8103 if test $xinetd_cv_type_rlim_t = no; then
8104 cat >>confdefs.h <<\_ACEOF
8105 #define rlim_t long long
8111 { echo "$as_me:$LINENO: checking for struct addrinfo" >&5
8112 echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; }
8113 if test "${ac_cv_have_struct_addrinfo+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8117 cat >conftest.$ac_ext <<_ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h. */
8124 #include <sys/types.h>
8125 #include <sys/socket.h>
8133 struct addrinfo s; s.ai_flags = AI_PASSIVE;
8138 rm -f conftest.$ac_objext
8139 if { (ac_try="$ac_compile"
8141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8142 *) ac_try_echo=$ac_try;;
8144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8145 (eval "$ac_compile") 2>conftest.er1
8147 grep -v '^ *+' conftest.er1 >conftest.err
8149 cat conftest.err >&5
8150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151 (exit $ac_status); } && {
8152 test -z "$ac_c_werror_flag" ||
8153 test ! -s conftest.err
8154 } && test -s conftest.$ac_objext; then
8155 ac_cv_have_struct_addrinfo="yes"
8157 echo "$as_me: failed program was:" >&5
8158 sed 's/^/| /' conftest.$ac_ext >&5
8160 ac_cv_have_struct_addrinfo="no"
8164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8167 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
8168 echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; }
8169 if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
8170 cat >>confdefs.h <<\_ACEOF
8171 #define HAVE_STRUCT_ADDRINFO 1
8176 { echo "$as_me:$LINENO: checking for struct in6_addr" >&5
8177 echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; }
8178 if test "${ac_cv_have_struct_in6_addr+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8182 cat >conftest.$ac_ext <<_ACEOF
8185 cat confdefs.h >>conftest.$ac_ext
8186 cat >>conftest.$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8189 #include <sys/types.h>
8190 #include <netinet/in.h>
8195 struct in6_addr s; s.s6_addr[0] = 0;
8200 rm -f conftest.$ac_objext
8201 if { (ac_try="$ac_compile"
8203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8204 *) ac_try_echo=$ac_try;;
8206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8207 (eval "$ac_compile") 2>conftest.er1
8209 grep -v '^ *+' conftest.er1 >conftest.err
8211 cat conftest.err >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); } && {
8214 test -z "$ac_c_werror_flag" ||
8215 test ! -s conftest.err
8216 } && test -s conftest.$ac_objext; then
8217 ac_cv_have_struct_in6_addr="yes"
8219 echo "$as_me: failed program was:" >&5
8220 sed 's/^/| /' conftest.$ac_ext >&5
8222 ac_cv_have_struct_in6_addr="no"
8226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8229 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
8230 echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; }
8231 if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
8232 cat >>confdefs.h <<\_ACEOF
8233 #define HAVE_STRUCT_IN6_ADDR 1
8238 { echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
8239 echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; }
8240 if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
8241 echo $ECHO_N "(cached) $ECHO_C" >&6
8244 cat >conftest.$ac_ext <<_ACEOF
8247 cat confdefs.h >>conftest.$ac_ext
8248 cat >>conftest.$ac_ext <<_ACEOF
8249 /* end confdefs.h. */
8251 #include <sys/types.h>
8252 #include <netinet/in.h>
8257 struct sockaddr_in6 s; s.sin6_family = 0;
8262 rm -f conftest.$ac_objext
8263 if { (ac_try="$ac_compile"
8265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8266 *) ac_try_echo=$ac_try;;
8268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8269 (eval "$ac_compile") 2>conftest.er1
8271 grep -v '^ *+' conftest.er1 >conftest.err
8273 cat conftest.err >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); } && {
8276 test -z "$ac_c_werror_flag" ||
8277 test ! -s conftest.err
8278 } && test -s conftest.$ac_objext; then
8279 ac_cv_have_struct_sockaddr_in6="yes"
8281 echo "$as_me: failed program was:" >&5
8282 sed 's/^/| /' conftest.$ac_ext >&5
8284 ac_cv_have_struct_sockaddr_in6="no"
8288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8291 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
8292 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; }
8293 if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
8294 cat >>confdefs.h <<\_ACEOF
8295 #define HAVE_STRUCT_SOCKADDR_IN6 1
8300 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
8301 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
8302 if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
8303 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 cat >conftest.$ac_ext <<_ACEOF
8309 cat confdefs.h >>conftest.$ac_ext
8310 cat >>conftest.$ac_ext <<_ACEOF
8311 /* end confdefs.h. */
8313 #include <sys/types.h>
8314 #include <sys/socket.h>
8319 struct sockaddr_storage s;
8324 rm -f conftest.$ac_objext
8325 if { (ac_try="$ac_compile"
8327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8328 *) ac_try_echo=$ac_try;;
8330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8331 (eval "$ac_compile") 2>conftest.er1
8333 grep -v '^ *+' conftest.er1 >conftest.err
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } && {
8338 test -z "$ac_c_werror_flag" ||
8339 test ! -s conftest.err
8340 } && test -s conftest.$ac_objext; then
8341 ac_cv_have_struct_sockaddr_storage="yes"
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.$ac_ext >&5
8346 ac_cv_have_struct_sockaddr_storage="no"
8350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8353 { echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
8354 echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; }
8355 if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
8356 cat >>confdefs.h <<\_ACEOF
8357 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
8363 case "$target_os" in
8366 cat >>confdefs.h <<\_ACEOF
8367 #define N0_SIGLIST 1
8370 cat >>confdefs.h <<\_ACEOF
8375 { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8376 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
8378 # Check whether --with-loadavg was given.
8379 if test "${with_loadavg+set}" = set; then
8380 withval=$with_loadavg; case "$withval" in
8382 { echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6; }
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8389 { echo "$as_me:$LINENO: checking for main in -lkstat" >&5
8390 echo $ECHO_N "checking for main in -lkstat... $ECHO_C" >&6; }
8391 if test "${ac_cv_lib_kstat_main+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8394 ac_check_lib_save_LIBS=$LIBS
8395 LIBS="-lkstat $LIBS"
8396 cat >conftest.$ac_ext <<_ACEOF
8399 cat confdefs.h >>conftest.$ac_ext
8400 cat >>conftest.$ac_ext <<_ACEOF
8401 /* end confdefs.h. */
8412 rm -f conftest.$ac_objext conftest$ac_exeext
8413 if { (ac_try="$ac_link"
8415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8416 *) ac_try_echo=$ac_try;;
8418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8419 (eval "$ac_link") 2>conftest.er1
8421 grep -v '^ *+' conftest.er1 >conftest.err
8423 cat conftest.err >&5
8424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8425 (exit $ac_status); } && {
8426 test -z "$ac_c_werror_flag" ||
8427 test ! -s conftest.err
8428 } && test -s conftest$ac_exeext &&
8429 $as_test_x conftest$ac_exeext; then
8430 ac_cv_lib_kstat_main=yes
8432 echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8435 ac_cv_lib_kstat_main=no
8438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8439 conftest$ac_exeext conftest.$ac_ext
8440 LIBS=$ac_check_lib_save_LIBS
8442 { echo "$as_me:$LINENO: result: $ac_cv_lib_kstat_main" >&5
8443 echo "${ECHO_T}$ac_cv_lib_kstat_main" >&6; }
8444 if test $ac_cv_lib_kstat_main = yes; then
8445 cat >>confdefs.h <<_ACEOF
8446 #define HAVE_LIBKSTAT 1
8449 LIBS="-lkstat $LIBS"
8453 if test "${ac_cv_header_kstat_h+set}" = set; then
8454 { echo "$as_me:$LINENO: checking for kstat.h" >&5
8455 echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6; }
8456 if test "${ac_cv_header_kstat_h+set}" = set; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 { echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
8460 echo "${ECHO_T}$ac_cv_header_kstat_h" >&6; }
8462 # Is the header compilable?
8463 { echo "$as_me:$LINENO: checking kstat.h usability" >&5
8464 echo $ECHO_N "checking kstat.h usability... $ECHO_C" >&6; }
8465 cat >conftest.$ac_ext <<_ACEOF
8468 cat confdefs.h >>conftest.$ac_ext
8469 cat >>conftest.$ac_ext <<_ACEOF
8470 /* end confdefs.h. */
8471 $ac_includes_default
8474 rm -f conftest.$ac_objext
8475 if { (ac_try="$ac_compile"
8477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_compile") 2>conftest.er1
8483 grep -v '^ *+' conftest.er1 >conftest.err
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } && {
8488 test -z "$ac_c_werror_flag" ||
8489 test ! -s conftest.err
8490 } && test -s conftest.$ac_objext; then
8491 ac_header_compiler=yes
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8496 ac_header_compiler=no
8499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8500 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8501 echo "${ECHO_T}$ac_header_compiler" >&6; }
8503 # Is the header present?
8504 { echo "$as_me:$LINENO: checking kstat.h presence" >&5
8505 echo $ECHO_N "checking kstat.h presence... $ECHO_C" >&6; }
8506 cat >conftest.$ac_ext <<_ACEOF
8509 cat confdefs.h >>conftest.$ac_ext
8510 cat >>conftest.$ac_ext <<_ACEOF
8511 /* end confdefs.h. */
8514 if { (ac_try="$ac_cpp conftest.$ac_ext"
8516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8517 *) ac_try_echo=$ac_try;;
8519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8520 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8522 grep -v '^ *+' conftest.er1 >conftest.err
8524 cat conftest.err >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); } >/dev/null && {
8527 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8528 test ! -s conftest.err
8530 ac_header_preproc=yes
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 ac_header_preproc=no
8538 rm -f conftest.err conftest.$ac_ext
8539 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8540 echo "${ECHO_T}$ac_header_preproc" >&6; }
8542 # So? What about this header?
8543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8545 { echo "$as_me:$LINENO: WARNING: kstat.h: accepted by the compiler, rejected by the preprocessor!" >&5
8546 echo "$as_me: WARNING: kstat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8547 { echo "$as_me:$LINENO: WARNING: kstat.h: proceeding with the compiler's result" >&5
8548 echo "$as_me: WARNING: kstat.h: proceeding with the compiler's result" >&2;}
8549 ac_header_preproc=yes
8552 { echo "$as_me:$LINENO: WARNING: kstat.h: present but cannot be compiled" >&5
8553 echo "$as_me: WARNING: kstat.h: present but cannot be compiled" >&2;}
8554 { echo "$as_me:$LINENO: WARNING: kstat.h: check for missing prerequisite headers?" >&5
8555 echo "$as_me: WARNING: kstat.h: check for missing prerequisite headers?" >&2;}
8556 { echo "$as_me:$LINENO: WARNING: kstat.h: see the Autoconf documentation" >&5
8557 echo "$as_me: WARNING: kstat.h: see the Autoconf documentation" >&2;}
8558 { echo "$as_me:$LINENO: WARNING: kstat.h: section \"Present But Cannot Be Compiled\"" >&5
8559 echo "$as_me: WARNING: kstat.h: section \"Present But Cannot Be Compiled\"" >&2;}
8560 { echo "$as_me:$LINENO: WARNING: kstat.h: proceeding with the preprocessor's result" >&5
8561 echo "$as_me: WARNING: kstat.h: proceeding with the preprocessor's result" >&2;}
8562 { echo "$as_me:$LINENO: WARNING: kstat.h: in the future, the compiler will take precedence" >&5
8563 echo "$as_me: WARNING: kstat.h: in the future, the compiler will take precedence" >&2;}
8567 { echo "$as_me:$LINENO: checking for kstat.h" >&5
8568 echo $ECHO_N "checking for kstat.h... $ECHO_C" >&6; }
8569 if test "${ac_cv_header_kstat_h+set}" = set; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 ac_cv_header_kstat_h=$ac_header_preproc
8574 { echo "$as_me:$LINENO: result: $ac_cv_header_kstat_h" >&5
8575 echo "${ECHO_T}$ac_cv_header_kstat_h" >&6; }
8578 if test $ac_cv_header_kstat_h = yes; then
8579 cat >>confdefs.h <<\_ACEOF
8580 #define HAVE_KSTAT_H 1
8586 cat >>confdefs.h <<\_ACEOF
8587 #define HAVE_LOADAVG 1
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8594 cat >>confdefs.h <<\_ACEOF
8595 #define HAVE_LOADAVG 1
8601 { echo "$as_me:$LINENO: result: no" >&5
8602 echo "${ECHO_T}no" >&6; }
8607 LDFLAGS=-oldstyle_liblookup
8608 { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8609 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
8611 # Check whether --with-loadavg was given.
8612 if test "${with_loadavg+set}" = set; then
8613 withval=$with_loadavg; case "$withval" in
8615 { echo "$as_me:$LINENO: result: no" >&5
8616 echo "${ECHO_T}no" >&6; }
8619 { echo "$as_me:$LINENO: result: yes" >&5
8620 echo "${ECHO_T}yes" >&6; }
8621 cat >>confdefs.h <<\_ACEOF
8622 #define HAVE_LOADAVG 1
8627 { echo "$as_me:$LINENO: result: yes" >&5
8628 echo "${ECHO_T}yes" >&6; }
8629 cat >>confdefs.h <<\_ACEOF
8630 #define HAVE_LOADAVG 1
8636 { echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6; }
8643 { echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
8644 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
8645 if test "${ac_cv_lib_crypt_main+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 ac_check_lib_save_LIBS=$LIBS
8649 LIBS="-lcrypt $LIBS"
8650 cat >conftest.$ac_ext <<_ACEOF
8653 cat confdefs.h >>conftest.$ac_ext
8654 cat >>conftest.$ac_ext <<_ACEOF
8655 /* end confdefs.h. */
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (ac_try="$ac_link"
8669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8670 *) ac_try_echo=$ac_try;;
8672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 (eval "$ac_link") 2>conftest.er1
8675 grep -v '^ *+' conftest.er1 >conftest.err
8677 cat conftest.err >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_c_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest$ac_exeext &&
8683 $as_test_x conftest$ac_exeext; then
8684 ac_cv_lib_crypt_main=yes
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.$ac_ext >&5
8689 ac_cv_lib_crypt_main=no
8692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8693 conftest$ac_exeext conftest.$ac_ext
8694 LIBS=$ac_check_lib_save_LIBS
8696 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
8697 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6; }
8698 if test $ac_cv_lib_crypt_main = yes; then
8699 cat >>confdefs.h <<_ACEOF
8700 #define HAVE_LIBCRYPT 1
8703 LIBS="-lcrypt $LIBS"
8708 { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8709 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
8711 # Check whether --with-loadavg was given.
8712 if test "${with_loadavg+set}" = set; then
8713 withval=$with_loadavg; case "$withval" in
8715 { echo "$as_me:$LINENO: result: no" >&5
8716 echo "${ECHO_T}no" >&6; }
8719 { echo "$as_me:$LINENO: result: yes" >&5
8720 echo "${ECHO_T}yes" >&6; }
8721 cat >>confdefs.h <<\_ACEOF
8722 #define HAVE_LOADAVG 1
8727 { echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6; }
8729 cat >>confdefs.h <<\_ACEOF
8730 #define HAVE_LOADAVG 1
8736 { echo "$as_me:$LINENO: result: no" >&5
8737 echo "${ECHO_T}no" >&6; }
8741 darwin* | "Mac OS"*)
8742 ac_cv_prog_RANLIB="ranlib"
8743 # AC_CHECK_FUNCS doesn't look in the proper header file...
8744 cat >>confdefs.h <<\_ACEOF
8745 #define HAVE_ISATTY 1
8748 CFLAGS="$CFLAGS -no-cpp-precomp"
8749 { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8750 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
8752 # Check whether --with-loadavg was given.
8753 if test "${with_loadavg+set}" = set; then
8754 withval=$with_loadavg; case "$withval" in
8756 { echo "$as_me:$LINENO: result: no" >&5
8757 echo "${ECHO_T}no" >&6; }
8760 { echo "$as_me:$LINENO: result: yes" >&5
8761 echo "${ECHO_T}yes" >&6; }
8762 cat >>confdefs.h <<\_ACEOF
8763 #define HAVE_LOADAVG 1
8768 { echo "$as_me:$LINENO: result: yes" >&5
8769 echo "${ECHO_T}yes" >&6; }
8770 cat >>confdefs.h <<\_ACEOF
8771 #define HAVE_LOADAVG 1
8777 { echo "$as_me:$LINENO: result: no" >&5
8778 echo "${ECHO_T}no" >&6; }
8783 { echo "$as_me:$LINENO: checking whether to compile in loadavg" >&5
8784 echo $ECHO_N "checking whether to compile in loadavg... $ECHO_C" >&6; }
8786 # Check whether --with-loadavg was given.
8787 if test "${with_loadavg+set}" = set; then
8788 withval=$with_loadavg; case "$withval" in
8790 { echo "$as_me:$LINENO: result: no" >&5
8791 echo "${ECHO_T}no" >&6; }
8794 { echo "$as_me:$LINENO: result: yes" >&5
8795 echo "${ECHO_T}yes" >&6; }
8796 cat >>confdefs.h <<\_ACEOF
8800 cat >>confdefs.h <<\_ACEOF
8801 #define HAVE_LOADAVG 1
8806 { echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6; }
8808 cat >>confdefs.h <<\_ACEOF
8812 cat >>confdefs.h <<\_ACEOF
8813 #define HAVE_LOADAVG 1
8819 { echo "$as_me:$LINENO: result: no" >&5
8820 echo "${ECHO_T}no" >&6; }
8827 { echo "$as_me:$LINENO: checking for crypt in -lc" >&5
8828 echo $ECHO_N "checking for crypt in -lc... $ECHO_C" >&6; }
8829 if test "${ac_cv_lib_c_crypt+set}" = set; then
8830 echo $ECHO_N "(cached) $ECHO_C" >&6
8832 ac_check_lib_save_LIBS=$LIBS
8834 cat >conftest.$ac_ext <<_ACEOF
8837 cat confdefs.h >>conftest.$ac_ext
8838 cat >>conftest.$ac_ext <<_ACEOF
8839 /* end confdefs.h. */
8841 /* Override any GCC internal prototype to avoid an error.
8842 Use char because int might match the return type of a GCC
8843 builtin and then its argument prototype would still apply. */
8856 rm -f conftest.$ac_objext conftest$ac_exeext
8857 if { (ac_try="$ac_link"
8859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8860 *) ac_try_echo=$ac_try;;
8862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8863 (eval "$ac_link") 2>conftest.er1
8865 grep -v '^ *+' conftest.er1 >conftest.err
8867 cat conftest.err >&5
8868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8869 (exit $ac_status); } && {
8870 test -z "$ac_c_werror_flag" ||
8871 test ! -s conftest.err
8872 } && test -s conftest$ac_exeext &&
8873 $as_test_x conftest$ac_exeext; then
8874 ac_cv_lib_c_crypt=yes
8876 echo "$as_me: failed program was:" >&5
8877 sed 's/^/| /' conftest.$ac_ext >&5
8879 ac_cv_lib_c_crypt=no
8882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8883 conftest$ac_exeext conftest.$ac_ext
8884 LIBS=$ac_check_lib_save_LIBS
8886 { echo "$as_me:$LINENO: result: $ac_cv_lib_c_crypt" >&5
8887 echo "${ECHO_T}$ac_cv_lib_c_crypt" >&6; }
8888 if test $ac_cv_lib_c_crypt = yes; then
8892 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8893 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; }
8894 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8895 echo $ECHO_N "(cached) $ECHO_C" >&6
8897 ac_check_lib_save_LIBS=$LIBS
8898 LIBS="-lcrypt $LIBS"
8899 cat >conftest.$ac_ext <<_ACEOF
8902 cat confdefs.h >>conftest.$ac_ext
8903 cat >>conftest.$ac_ext <<_ACEOF
8904 /* end confdefs.h. */
8906 /* Override any GCC internal prototype to avoid an error.
8907 Use char because int might match the return type of a GCC
8908 builtin and then its argument prototype would still apply. */
8921 rm -f conftest.$ac_objext conftest$ac_exeext
8922 if { (ac_try="$ac_link"
8924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925 *) ac_try_echo=$ac_try;;
8927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8928 (eval "$ac_link") 2>conftest.er1
8930 grep -v '^ *+' conftest.er1 >conftest.err
8932 cat conftest.err >&5
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); } && {
8935 test -z "$ac_c_werror_flag" ||
8936 test ! -s conftest.err
8937 } && test -s conftest$ac_exeext &&
8938 $as_test_x conftest$ac_exeext; then
8939 ac_cv_lib_crypt_crypt=yes
8941 echo "$as_me: failed program was:" >&5
8942 sed 's/^/| /' conftest.$ac_ext >&5
8944 ac_cv_lib_crypt_crypt=no
8947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8948 conftest$ac_exeext conftest.$ac_ext
8949 LIBS=$ac_check_lib_save_LIBS
8951 { echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8952 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; }
8953 if test $ac_cv_lib_crypt_crypt = yes; then
8955 LIBS="-lcrypt $LIBS"
8956 cat >>confdefs.h <<\_ACEOF
8957 #define HAVE_LIBCRYPT 1
8965 { echo "$as_me:$LINENO: checking for log10 in -lm" >&5
8966 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6; }
8967 if test "${ac_cv_lib_m_log10+set}" = set; then
8968 echo $ECHO_N "(cached) $ECHO_C" >&6
8970 ac_check_lib_save_LIBS=$LIBS
8972 cat >conftest.$ac_ext <<_ACEOF
8975 cat confdefs.h >>conftest.$ac_ext
8976 cat >>conftest.$ac_ext <<_ACEOF
8977 /* end confdefs.h. */
8979 /* Override any GCC internal prototype to avoid an error.
8980 Use char because int might match the return type of a GCC
8981 builtin and then its argument prototype would still apply. */
8994 rm -f conftest.$ac_objext conftest$ac_exeext
8995 if { (ac_try="$ac_link"
8997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8998 *) ac_try_echo=$ac_try;;
9000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9001 (eval "$ac_link") 2>conftest.er1
9003 grep -v '^ *+' conftest.er1 >conftest.err
9005 cat conftest.err >&5
9006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 (exit $ac_status); } && {
9008 test -z "$ac_c_werror_flag" ||
9009 test ! -s conftest.err
9010 } && test -s conftest$ac_exeext &&
9011 $as_test_x conftest$ac_exeext; then
9012 ac_cv_lib_m_log10=yes
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 ac_cv_lib_m_log10=no
9020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9021 conftest$ac_exeext conftest.$ac_ext
9022 LIBS=$ac_check_lib_save_LIBS
9024 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
9025 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6; }
9026 if test $ac_cv_lib_m_log10 = yes; then
9031 { echo "$as_me:$LINENO: checking whether to default to ipv6" >&5
9032 echo $ECHO_N "checking whether to default to ipv6... $ECHO_C" >&6; }
9034 # Check whether --with-inet6 was given.
9035 if test "${with_inet6+set}" = set; then
9036 withval=$with_inet6; { echo "$as_me:$LINENO: result: ignored" >&5
9037 echo "${ECHO_T}ignored" >&6; }
9039 { echo "$as_me:$LINENO: result: ignored" >&5
9040 echo "${ECHO_T}ignored" >&6; }
9044 { echo "$as_me:$LINENO: checking whether to use libwrap" >&5
9045 echo $ECHO_N "checking whether to use libwrap... $ECHO_C" >&6; }
9047 # Check whether --with-libwrap was given.
9048 if test "${with_libwrap+set}" = set; then
9049 withval=$with_libwrap; case "$withval" in
9051 { echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6; }
9055 { echo "$as_me:$LINENO: result: yes" >&5
9056 echo "${ECHO_T}yes" >&6; }
9057 { echo "$as_me:$LINENO: checking for request_init in -lwrap" >&5
9058 echo $ECHO_N "checking for request_init in -lwrap... $ECHO_C" >&6; }
9059 if test "${ac_cv_lib_wrap_request_init+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 ac_check_lib_save_LIBS=$LIBS
9064 cat >conftest.$ac_ext <<_ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9077 char request_init ();
9081 return request_init ();
9086 rm -f conftest.$ac_objext conftest$ac_exeext
9087 if { (ac_try="$ac_link"
9089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9090 *) ac_try_echo=$ac_try;;
9092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9093 (eval "$ac_link") 2>conftest.er1
9095 grep -v '^ *+' conftest.er1 >conftest.err
9097 cat conftest.err >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } && {
9100 test -z "$ac_c_werror_flag" ||
9101 test ! -s conftest.err
9102 } && test -s conftest$ac_exeext &&
9103 $as_test_x conftest$ac_exeext; then
9104 ac_cv_lib_wrap_request_init=yes
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.$ac_ext >&5
9109 ac_cv_lib_wrap_request_init=no
9112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9113 conftest$ac_exeext conftest.$ac_ext
9114 LIBS=$ac_check_lib_save_LIBS
9116 { echo "$as_me:$LINENO: result: $ac_cv_lib_wrap_request_init" >&5
9117 echo "${ECHO_T}$ac_cv_lib_wrap_request_init" >&6; }
9118 if test $ac_cv_lib_wrap_request_init = yes; then
9120 cat >>confdefs.h <<\_ACEOF
9125 cat >>confdefs.h <<\_ACEOF
9126 #define HAVE_LIBWRAP 1
9131 { echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
9132 echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6; }
9133 if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
9134 echo $ECHO_N "(cached) $ECHO_C" >&6
9136 ac_check_lib_save_LIBS=$LIBS
9138 cat >conftest.$ac_ext <<_ACEOF
9141 cat confdefs.h >>conftest.$ac_ext
9142 cat >>conftest.$ac_ext <<_ACEOF
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9151 char yp_get_default_domain ();
9155 return yp_get_default_domain ();
9160 rm -f conftest.$ac_objext conftest$ac_exeext
9161 if { (ac_try="$ac_link"
9163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 *) ac_try_echo=$ac_try;;
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_link") 2>conftest.er1
9169 grep -v '^ *+' conftest.er1 >conftest.err
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } && {
9174 test -z "$ac_c_werror_flag" ||
9175 test ! -s conftest.err
9176 } && test -s conftest$ac_exeext &&
9177 $as_test_x conftest$ac_exeext; then
9178 ac_cv_lib_nsl_yp_get_default_domain=yes
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 ac_cv_lib_nsl_yp_get_default_domain=no
9186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9187 conftest$ac_exeext conftest.$ac_ext
9188 LIBS=$ac_check_lib_save_LIBS
9190 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
9191 echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
9192 if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
9194 WRAPLIBS="$WRAPLIBS -lnsl"
9197 LIBS="$WRAPLIBS $LIBS"
9200 { echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6; }
9202 cat >>confdefs.h <<\_ACEOF
9206 if test -d "$withval"; then
9207 WRAPLIBS="-L$withval -lwrap"
9211 { echo "$as_me:$LINENO: checking for yp_get_default_domain in -lnsl" >&5
9212 echo $ECHO_N "checking for yp_get_default_domain in -lnsl... $ECHO_C" >&6; }
9213 if test "${ac_cv_lib_nsl_yp_get_default_domain+set}" = set; then
9214 echo $ECHO_N "(cached) $ECHO_C" >&6
9216 ac_check_lib_save_LIBS=$LIBS
9218 cat >conftest.$ac_ext <<_ACEOF
9221 cat confdefs.h >>conftest.$ac_ext
9222 cat >>conftest.$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9225 /* Override any GCC internal prototype to avoid an error.
9226 Use char because int might match the return type of a GCC
9227 builtin and then its argument prototype would still apply. */
9231 char yp_get_default_domain ();
9235 return yp_get_default_domain ();
9240 rm -f conftest.$ac_objext conftest$ac_exeext
9241 if { (ac_try="$ac_link"
9243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9244 *) ac_try_echo=$ac_try;;
9246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9247 (eval "$ac_link") 2>conftest.er1
9249 grep -v '^ *+' conftest.er1 >conftest.err
9251 cat conftest.err >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } && {
9254 test -z "$ac_c_werror_flag" ||
9255 test ! -s conftest.err
9256 } && test -s conftest$ac_exeext &&
9257 $as_test_x conftest$ac_exeext; then
9258 ac_cv_lib_nsl_yp_get_default_domain=yes
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9263 ac_cv_lib_nsl_yp_get_default_domain=no
9266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9267 conftest$ac_exeext conftest.$ac_ext
9268 LIBS=$ac_check_lib_save_LIBS
9270 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_get_default_domain" >&5
9271 echo "${ECHO_T}$ac_cv_lib_nsl_yp_get_default_domain" >&6; }
9272 if test $ac_cv_lib_nsl_yp_get_default_domain = yes; then
9274 WRAPLIBS="$WRAPLIBS -lnsl"
9278 LIBS="$WRAPLIBS $LIBS"
9279 cat >conftest.$ac_ext <<_ACEOF
9282 cat confdefs.h >>conftest.$ac_ext
9283 cat >>conftest.$ac_ext <<_ACEOF
9284 /* end confdefs.h. */
9285 int allow_severity; int deny_severity;
9294 rm -f conftest.$ac_objext conftest$ac_exeext
9295 if { (ac_try="$ac_link"
9297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9298 *) ac_try_echo=$ac_try;;
9300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9301 (eval "$ac_link") 2>conftest.er1
9303 grep -v '^ *+' conftest.er1 >conftest.err
9305 cat conftest.err >&5
9306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 (exit $ac_status); } && {
9308 test -z "$ac_c_werror_flag" ||
9309 test ! -s conftest.err
9310 } && test -s conftest$ac_exeext &&
9311 $as_test_x conftest$ac_exeext; then
9314 echo "$as_me: failed program was:" >&5
9315 sed 's/^/| /' conftest.$ac_ext >&5
9317 { { echo "$as_me:$LINENO: error: Could not find the $withval library. You must first install tcp_wrappers." >&5
9318 echo "$as_me: error: Could not find the $withval library. You must first install tcp_wrappers." >&2;}
9319 { (exit 1); exit 1; }; }
9322 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9323 conftest$ac_exeext conftest.$ac_ext
9327 { echo "$as_me:$LINENO: result: no" >&5
9328 echo "${ECHO_T}no" >&6; }
9335 for ac_header in stdlib.h unistd.h
9337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9339 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9344 ac_res=`eval echo '${'$as_ac_Header'}'`
9345 { echo "$as_me:$LINENO: result: $ac_res" >&5
9346 echo "${ECHO_T}$ac_res" >&6; }
9348 # Is the header compilable?
9349 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9351 cat >conftest.$ac_ext <<_ACEOF
9354 cat confdefs.h >>conftest.$ac_ext
9355 cat >>conftest.$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9357 $ac_includes_default
9358 #include <$ac_header>
9360 rm -f conftest.$ac_objext
9361 if { (ac_try="$ac_compile"
9363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9364 *) ac_try_echo=$ac_try;;
9366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9367 (eval "$ac_compile") 2>conftest.er1
9369 grep -v '^ *+' conftest.er1 >conftest.err
9371 cat conftest.err >&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } && {
9374 test -z "$ac_c_werror_flag" ||
9375 test ! -s conftest.err
9376 } && test -s conftest.$ac_objext; then
9377 ac_header_compiler=yes
9379 echo "$as_me: failed program was:" >&5
9380 sed 's/^/| /' conftest.$ac_ext >&5
9382 ac_header_compiler=no
9385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9386 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9387 echo "${ECHO_T}$ac_header_compiler" >&6; }
9389 # Is the header present?
9390 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9392 cat >conftest.$ac_ext <<_ACEOF
9395 cat confdefs.h >>conftest.$ac_ext
9396 cat >>conftest.$ac_ext <<_ACEOF
9397 /* end confdefs.h. */
9398 #include <$ac_header>
9400 if { (ac_try="$ac_cpp conftest.$ac_ext"
9402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9403 *) ac_try_echo=$ac_try;;
9405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9408 grep -v '^ *+' conftest.er1 >conftest.err
9410 cat conftest.err >&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } >/dev/null && {
9413 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9414 test ! -s conftest.err
9416 ac_header_preproc=yes
9418 echo "$as_me: failed program was:" >&5
9419 sed 's/^/| /' conftest.$ac_ext >&5
9421 ac_header_preproc=no
9424 rm -f conftest.err conftest.$ac_ext
9425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9426 echo "${ECHO_T}$ac_header_preproc" >&6; }
9428 # So? What about this header?
9429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9435 ac_header_preproc=yes
9438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9453 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9456 echo $ECHO_N "(cached) $ECHO_C" >&6
9458 eval "$as_ac_Header=\$ac_header_preproc"
9460 ac_res=`eval echo '${'$as_ac_Header'}'`
9461 { echo "$as_me:$LINENO: result: $ac_res" >&5
9462 echo "${ECHO_T}$ac_res" >&6; }
9465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9466 cat >>confdefs.h <<_ACEOF
9467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 for ac_func in getpagesize
9477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9478 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9480 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9481 echo $ECHO_N "(cached) $ECHO_C" >&6
9483 cat >conftest.$ac_ext <<_ACEOF
9486 cat confdefs.h >>conftest.$ac_ext
9487 cat >>conftest.$ac_ext <<_ACEOF
9488 /* end confdefs.h. */
9489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9491 #define $ac_func innocuous_$ac_func
9493 /* System header to define __stub macros and hopefully few prototypes,
9494 which can conflict with char $ac_func (); below.
9495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9496 <limits.h> exists even on freestanding compilers. */
9499 # include <limits.h>
9501 # include <assert.h>
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9513 /* The GNU C library defines this for functions which it implements
9514 to always fail with ENOSYS. Some functions are actually named
9515 something starting with __ and the normal name is an alias. */
9516 #if defined __stub_$ac_func || defined __stub___$ac_func
9528 rm -f conftest.$ac_objext conftest$ac_exeext
9529 if { (ac_try="$ac_link"
9531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9532 *) ac_try_echo=$ac_try;;
9534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9535 (eval "$ac_link") 2>conftest.er1
9537 grep -v '^ *+' conftest.er1 >conftest.err
9539 cat conftest.err >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); } && {
9542 test -z "$ac_c_werror_flag" ||
9543 test ! -s conftest.err
9544 } && test -s conftest$ac_exeext &&
9545 $as_test_x conftest$ac_exeext; then
9546 eval "$as_ac_var=yes"
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9551 eval "$as_ac_var=no"
9554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9555 conftest$ac_exeext conftest.$ac_ext
9557 ac_res=`eval echo '${'$as_ac_var'}'`
9558 { echo "$as_me:$LINENO: result: $ac_res" >&5
9559 echo "${ECHO_T}$ac_res" >&6; }
9560 if test `eval echo '${'$as_ac_var'}'` = yes; then
9561 cat >>confdefs.h <<_ACEOF
9562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9568 { echo "$as_me:$LINENO: checking for working mmap" >&5
9569 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
9570 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 if test "$cross_compiling" = yes; then
9574 ac_cv_func_mmap_fixed_mapped=no
9576 cat >conftest.$ac_ext <<_ACEOF
9579 cat confdefs.h >>conftest.$ac_ext
9580 cat >>conftest.$ac_ext <<_ACEOF
9581 /* end confdefs.h. */
9582 $ac_includes_default
9583 /* malloc might have been renamed as rpl_malloc. */
9586 /* Thanks to Mike Haertel and Jim Avera for this test.
9587 Here is a matrix of mmap possibilities:
9588 mmap private not fixed
9589 mmap private fixed at somewhere currently unmapped
9590 mmap private fixed at somewhere already mapped
9591 mmap shared not fixed
9592 mmap shared fixed at somewhere currently unmapped
9593 mmap shared fixed at somewhere already mapped
9594 For private mappings, we should verify that changes cannot be read()
9595 back from the file, nor mmap's back from the file at a different
9596 address. (There have been systems where private was not correctly
9597 implemented like the infamous i386 svr4.0, and systems where the
9598 VM page cache was not coherent with the file system buffer cache
9599 like early versions of FreeBSD and possibly contemporary NetBSD.)
9600 For shared mappings, we should conversely verify that changes get
9601 propagated back to all the places they're supposed to be.
9603 Grep wants private fixed already mapped.
9604 The main things grep needs to know about mmap are:
9605 * does it exist and is it safe to write into the mmap'd area
9606 * how to use it (BSD variants) */
9609 #include <sys/mman.h>
9611 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
9615 /* This mess was copied from the GNU getpagesize.h. */
9616 #ifndef HAVE_GETPAGESIZE
9617 /* Assume that all systems that can run configure have sys/param.h. */
9618 # ifndef HAVE_SYS_PARAM_H
9619 # define HAVE_SYS_PARAM_H 1
9622 # ifdef _SC_PAGESIZE
9623 # define getpagesize() sysconf(_SC_PAGESIZE)
9624 # else /* no _SC_PAGESIZE */
9625 # ifdef HAVE_SYS_PARAM_H
9626 # include <sys/param.h>
9627 # ifdef EXEC_PAGESIZE
9628 # define getpagesize() EXEC_PAGESIZE
9629 # else /* no EXEC_PAGESIZE */
9631 # define getpagesize() NBPG * CLSIZE
9634 # endif /* no CLSIZE */
9635 # else /* no NBPG */
9637 # define getpagesize() NBPC
9638 # else /* no NBPC */
9640 # define getpagesize() PAGESIZE
9641 # endif /* PAGESIZE */
9642 # endif /* no NBPC */
9643 # endif /* no NBPG */
9644 # endif /* no EXEC_PAGESIZE */
9645 # else /* no HAVE_SYS_PARAM_H */
9646 # define getpagesize() 8192 /* punt totally */
9647 # endif /* no HAVE_SYS_PARAM_H */
9648 # endif /* no _SC_PAGESIZE */
9650 #endif /* no HAVE_GETPAGESIZE */
9655 char *data, *data2, *data3;
9659 pagesize = getpagesize ();
9661 /* First, make a file with some known garbage in it. */
9662 data = (char *) malloc (pagesize);
9665 for (i = 0; i < pagesize; ++i)
9666 *(data + i) = rand ();
9668 fd = creat ("conftest.mmap", 0600);
9671 if (write (fd, data, pagesize) != pagesize)
9675 /* Next, try to mmap the file at a fixed address which already has
9676 something else allocated at it. If we can, also make sure that
9677 we see the same garbage. */
9678 fd = open ("conftest.mmap", O_RDWR);
9681 data2 = (char *) malloc (2 * pagesize);
9684 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
9685 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9686 MAP_PRIVATE | MAP_FIXED, fd, 0L))
9688 for (i = 0; i < pagesize; ++i)
9689 if (*(data + i) != *(data2 + i))
9692 /* Finally, make sure that changes to the mapped area do not
9693 percolate back to the file as seen by read(). (This is a bug on
9694 some variants of i386 svr4.0.) */
9695 for (i = 0; i < pagesize; ++i)
9696 *(data2 + i) = *(data2 + i) + 1;
9697 data3 = (char *) malloc (pagesize);
9700 if (read (fd, data3, pagesize) != pagesize)
9702 for (i = 0; i < pagesize; ++i)
9703 if (*(data + i) != *(data3 + i))
9709 rm -f conftest$ac_exeext
9710 if { (ac_try="$ac_link"
9712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9713 *) ac_try_echo=$ac_try;;
9715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9716 (eval "$ac_link") 2>&5
9718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9720 { (case "(($ac_try" in
9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9722 *) ac_try_echo=$ac_try;;
9724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9725 (eval "$ac_try") 2>&5
9727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9728 (exit $ac_status); }; }; then
9729 ac_cv_func_mmap_fixed_mapped=yes
9731 echo "$as_me: program exited with status $ac_status" >&5
9732 echo "$as_me: failed program was:" >&5
9733 sed 's/^/| /' conftest.$ac_ext >&5
9736 ac_cv_func_mmap_fixed_mapped=no
9738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9743 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9744 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
9745 if test $ac_cv_func_mmap_fixed_mapped = yes; then
9747 cat >>confdefs.h <<\_ACEOF
9756 for ac_func in isatty
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 { as_var=$as_ac_var; eval "test \"\${$as_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 GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9794 /* The GNU C library defines this for functions which it implements
9795 to always fail with ENOSYS. Some functions are actually named
9796 something starting with __ and the normal name is an alias. */
9797 #if defined __stub_$ac_func || defined __stub___$ac_func
9809 rm -f conftest.$ac_objext conftest$ac_exeext
9810 if { (ac_try="$ac_link"
9812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9813 *) ac_try_echo=$ac_try;;
9815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9816 (eval "$ac_link") 2>conftest.er1
9818 grep -v '^ *+' conftest.er1 >conftest.err
9820 cat conftest.err >&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); } && {
9823 test -z "$ac_c_werror_flag" ||
9824 test ! -s conftest.err
9825 } && test -s conftest$ac_exeext &&
9826 $as_test_x conftest$ac_exeext; then
9827 eval "$as_ac_var=yes"
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.$ac_ext >&5
9832 eval "$as_ac_var=no"
9835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9836 conftest$ac_exeext conftest.$ac_ext
9838 ac_res=`eval echo '${'$as_ac_var'}'`
9839 { echo "$as_me:$LINENO: result: $ac_res" >&5
9840 echo "${ECHO_T}$ac_res" >&6; }
9841 if test `eval echo '${'$as_ac_var'}'` = yes; then
9842 cat >>confdefs.h <<_ACEOF
9843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9850 for ac_func in memcpy
9852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9853 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 cat >conftest.$ac_ext <<_ACEOF
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9866 #define $ac_func innocuous_$ac_func
9868 /* System header to define __stub macros and hopefully few prototypes,
9869 which can conflict with char $ac_func (); below.
9870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9871 <limits.h> exists even on freestanding compilers. */
9874 # include <limits.h>
9876 # include <assert.h>
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9888 /* The GNU C library defines this for functions which it implements
9889 to always fail with ENOSYS. Some functions are actually named
9890 something starting with __ and the normal name is an alias. */
9891 #if defined __stub_$ac_func || defined __stub___$ac_func
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9907 *) ac_try_echo=$ac_try;;
9909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9910 (eval "$ac_link") 2>conftest.er1
9912 grep -v '^ *+' conftest.er1 >conftest.err
9914 cat conftest.err >&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); } && {
9917 test -z "$ac_c_werror_flag" ||
9918 test ! -s conftest.err
9919 } && test -s conftest$ac_exeext &&
9920 $as_test_x conftest$ac_exeext; then
9921 eval "$as_ac_var=yes"
9923 echo "$as_me: failed program was:" >&5
9924 sed 's/^/| /' conftest.$ac_ext >&5
9926 eval "$as_ac_var=no"
9929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9930 conftest$ac_exeext conftest.$ac_ext
9932 ac_res=`eval echo '${'$as_ac_var'}'`
9933 { echo "$as_me:$LINENO: result: $ac_res" >&5
9934 echo "${ECHO_T}$ac_res" >&6; }
9935 if test `eval echo '${'$as_ac_var'}'` = yes; then
9936 cat >>confdefs.h <<_ACEOF
9937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9944 for ac_func in waitpid
9946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9947 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9952 cat >conftest.$ac_ext <<_ACEOF
9955 cat confdefs.h >>conftest.$ac_ext
9956 cat >>conftest.$ac_ext <<_ACEOF
9957 /* end confdefs.h. */
9958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9960 #define $ac_func innocuous_$ac_func
9962 /* System header to define __stub macros and hopefully few prototypes,
9963 which can conflict with char $ac_func (); below.
9964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9965 <limits.h> exists even on freestanding compilers. */
9968 # include <limits.h>
9970 # include <assert.h>
9975 /* Override any GCC internal prototype to avoid an error.
9976 Use char because int might match the return type of a GCC
9977 builtin and then its argument prototype would still apply. */
9982 /* The GNU C library defines this for functions which it implements
9983 to always fail with ENOSYS. Some functions are actually named
9984 something starting with __ and the normal name is an alias. */
9985 #if defined __stub_$ac_func || defined __stub___$ac_func
9997 rm -f conftest.$ac_objext conftest$ac_exeext
9998 if { (ac_try="$ac_link"
10000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10001 *) ac_try_echo=$ac_try;;
10003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10004 (eval "$ac_link") 2>conftest.er1
10006 grep -v '^ *+' conftest.er1 >conftest.err
10008 cat conftest.err >&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); } && {
10011 test -z "$ac_c_werror_flag" ||
10012 test ! -s conftest.err
10013 } && test -s conftest$ac_exeext &&
10014 $as_test_x conftest$ac_exeext; then
10015 eval "$as_ac_var=yes"
10017 echo "$as_me: failed program was:" >&5
10018 sed 's/^/| /' conftest.$ac_ext >&5
10020 eval "$as_ac_var=no"
10023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10024 conftest$ac_exeext conftest.$ac_ext
10026 ac_res=`eval echo '${'$as_ac_var'}'`
10027 { echo "$as_me:$LINENO: result: $ac_res" >&5
10028 echo "${ECHO_T}$ac_res" >&6; }
10029 if test `eval echo '${'$as_ac_var'}'` = yes; then
10030 cat >>confdefs.h <<_ACEOF
10031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10038 for ac_func in sigvec
10040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10041 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10043 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10044 echo $ECHO_N "(cached) $ECHO_C" >&6
10046 cat >conftest.$ac_ext <<_ACEOF
10049 cat confdefs.h >>conftest.$ac_ext
10050 cat >>conftest.$ac_ext <<_ACEOF
10051 /* end confdefs.h. */
10052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10054 #define $ac_func innocuous_$ac_func
10056 /* System header to define __stub macros and hopefully few prototypes,
10057 which can conflict with char $ac_func (); below.
10058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10059 <limits.h> exists even on freestanding compilers. */
10062 # include <limits.h>
10064 # include <assert.h>
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10076 /* The GNU C library defines this for functions which it implements
10077 to always fail with ENOSYS. Some functions are actually named
10078 something starting with __ and the normal name is an alias. */
10079 #if defined __stub_$ac_func || defined __stub___$ac_func
10086 return $ac_func ();
10091 rm -f conftest.$ac_objext conftest$ac_exeext
10092 if { (ac_try="$ac_link"
10093 case "(($ac_try" in
10094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10095 *) ac_try_echo=$ac_try;;
10097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10098 (eval "$ac_link") 2>conftest.er1
10100 grep -v '^ *+' conftest.er1 >conftest.err
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } && {
10105 test -z "$ac_c_werror_flag" ||
10106 test ! -s conftest.err
10107 } && test -s conftest$ac_exeext &&
10108 $as_test_x conftest$ac_exeext; then
10109 eval "$as_ac_var=yes"
10111 echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10114 eval "$as_ac_var=no"
10117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10118 conftest$ac_exeext conftest.$ac_ext
10120 ac_res=`eval echo '${'$as_ac_var'}'`
10121 { echo "$as_me:$LINENO: result: $ac_res" >&5
10122 echo "${ECHO_T}$ac_res" >&6; }
10123 if test `eval echo '${'$as_ac_var'}'` = yes; then
10124 cat >>confdefs.h <<_ACEOF
10125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10132 for ac_func in setsid
10134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10135 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10137 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 cat >conftest.$ac_ext <<_ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10148 #define $ac_func innocuous_$ac_func
10150 /* System header to define __stub macros and hopefully few prototypes,
10151 which can conflict with char $ac_func (); below.
10152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10153 <limits.h> exists even on freestanding compilers. */
10156 # include <limits.h>
10158 # include <assert.h>
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10170 /* The GNU C library defines this for functions which it implements
10171 to always fail with ENOSYS. Some functions are actually named
10172 something starting with __ and the normal name is an alias. */
10173 #if defined __stub_$ac_func || defined __stub___$ac_func
10180 return $ac_func ();
10185 rm -f conftest.$ac_objext conftest$ac_exeext
10186 if { (ac_try="$ac_link"
10187 case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_link") 2>conftest.er1
10194 grep -v '^ *+' conftest.er1 >conftest.err
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_c_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest$ac_exeext &&
10202 $as_test_x conftest$ac_exeext; then
10203 eval "$as_ac_var=yes"
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.$ac_ext >&5
10208 eval "$as_ac_var=no"
10211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10212 conftest$ac_exeext conftest.$ac_ext
10214 ac_res=`eval echo '${'$as_ac_var'}'`
10215 { echo "$as_me:$LINENO: result: $ac_res" >&5
10216 echo "${ECHO_T}$ac_res" >&6; }
10217 if test `eval echo '${'$as_ac_var'}'` = yes; then
10218 cat >>confdefs.h <<_ACEOF
10219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10226 for ac_func in strftime
10228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10231 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 cat >conftest.$ac_ext <<_ACEOF
10237 cat confdefs.h >>conftest.$ac_ext
10238 cat >>conftest.$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10242 #define $ac_func innocuous_$ac_func
10244 /* System header to define __stub macros and hopefully few prototypes,
10245 which can conflict with char $ac_func (); below.
10246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10247 <limits.h> exists even on freestanding compilers. */
10250 # include <limits.h>
10252 # include <assert.h>
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10264 /* The GNU C library defines this for functions which it implements
10265 to always fail with ENOSYS. Some functions are actually named
10266 something starting with __ and the normal name is an alias. */
10267 #if defined __stub_$ac_func || defined __stub___$ac_func
10274 return $ac_func ();
10279 rm -f conftest.$ac_objext conftest$ac_exeext
10280 if { (ac_try="$ac_link"
10281 case "(($ac_try" in
10282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10283 *) ac_try_echo=$ac_try;;
10285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10286 (eval "$ac_link") 2>conftest.er1
10288 grep -v '^ *+' conftest.er1 >conftest.err
10290 cat conftest.err >&5
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); } && {
10293 test -z "$ac_c_werror_flag" ||
10294 test ! -s conftest.err
10295 } && test -s conftest$ac_exeext &&
10296 $as_test_x conftest$ac_exeext; then
10297 eval "$as_ac_var=yes"
10299 echo "$as_me: failed program was:" >&5
10300 sed 's/^/| /' conftest.$ac_ext >&5
10302 eval "$as_ac_var=no"
10305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10306 conftest$ac_exeext conftest.$ac_ext
10308 ac_res=`eval echo '${'$as_ac_var'}'`
10309 { echo "$as_me:$LINENO: result: $ac_res" >&5
10310 echo "${ECHO_T}$ac_res" >&6; }
10311 if test `eval echo '${'$as_ac_var'}'` = yes; then
10312 cat >>confdefs.h <<_ACEOF
10313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10320 # AC_CHECK_TYPE(R_OK,4)
10323 mkdir -p libs/src/misc
10324 mkdir -p libs/src/pset
10325 mkdir -p libs/src/sio
10326 mkdir -p libs/src/str
10327 mkdir -p libs/src/xlog
10328 mkdir -p libs/include
10332 ac_config_headers="$ac_config_headers config.h"
10334 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"
10336 cat >confcache <<\_ACEOF
10337 # This file is a shell script that caches the results of configure
10338 # tests run on this system so they can be shared between configure
10339 # scripts and configure runs, see configure's option --config-cache.
10340 # It is not useful on other systems. If it contains results you don't
10341 # want to keep, you may remove or edit it.
10343 # config.status only pays attention to the cache file if you give it
10344 # the --recheck option to rerun configure.
10346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10348 # following values.
10352 # The following way of writing the cache mishandles newlines in values,
10353 # but we know of no workaround that is simple, portable, and efficient.
10354 # So, we kill variables containing newlines.
10355 # Ultrix sh set writes to stderr and can't be redirected directly,
10356 # and sets the high bit in the cache file unless we assign to the vars.
10358 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10359 eval ac_val=\$$ac_var
10363 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10364 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10367 _ | IFS | as_nl) ;; #(
10368 *) $as_unset $ac_var ;;
10374 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10375 *${as_nl}ac_space=\ *)
10376 # `set' does not quote correctly, so add quotes (double-quote
10377 # substitution turns \\\\ into \\, and sed turns \\ into \).
10380 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10383 # `set' quotes correctly as required by POSIX, so do not add quotes.
10384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10393 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10395 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10397 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
10398 if test -w "$cache_file"; then
10399 test "x$cache_file" != "x/dev/null" &&
10400 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10401 echo "$as_me: updating cache $cache_file" >&6;}
10402 cat confcache >$cache_file
10404 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10405 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10410 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10411 # Let make expand exec_prefix.
10412 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
10414 DEFS=-DHAVE_CONFIG_H
10418 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10419 # 1. Remove the extension, and $U if already installed.
10420 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
10421 ac_i=`echo "$ac_i" | sed "$ac_script"`
10422 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10423 # will be set to the directory where LIBOBJS objects are built.
10424 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10425 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10427 LIBOBJS=$ac_libobjs
10429 LTLIBOBJS=$ac_ltlibobjs
10433 : ${CONFIG_STATUS=./config.status}
10434 ac_clean_files_save=$ac_clean_files
10435 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10436 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10437 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10438 cat >$CONFIG_STATUS <<_ACEOF
10440 # Generated by $as_me.
10441 # Run this file to recreate the current configuration.
10442 # Compiler output produced by configure, useful for debugging
10443 # configure, is in config.log if it exists.
10446 ac_cs_recheck=false
10448 SHELL=\${CONFIG_SHELL-$SHELL}
10451 cat >>$CONFIG_STATUS <<\_ACEOF
10452 ## --------------------- ##
10453 ## M4sh Initialization. ##
10454 ## --------------------- ##
10456 # Be more Bourne compatible
10457 DUALCASE=1; export DUALCASE # for MKS sh
10458 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10461 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10462 # is contrary to our usage. Disable this feature.
10463 alias -g '${1+"$@"}'='"$@"'
10464 setopt NO_GLOB_SUBST
10466 case `(set -o) 2>/dev/null` in
10467 *posix*) set -o posix ;;
10476 # Avoid depending upon Character Ranges.
10477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10480 as_cr_digits='0123456789'
10481 as_cr_alnum=$as_cr_Letters$as_cr_digits
10483 # The user is always right.
10484 if test "${PATH_SEPARATOR+set}" != set; then
10485 echo "#! /bin/sh" >conf$$.sh
10486 echo "exit 0" >>conf$$.sh
10488 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10496 # Support unset when possible.
10497 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10505 # We need space, tab and new line, in precisely that order. Quoting is
10506 # there to prevent editors from complaining about space-tab.
10507 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10508 # splitting by setting IFS to empty value.)
10513 # Find who we are. Look in the path if we contain no directory separator.
10515 *[\\/]* ) as_myself=$0 ;;
10516 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10517 for as_dir in $PATH
10520 test -z "$as_dir" && as_dir=.
10521 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10527 # We did not find ourselves, most probably we were run as `sh COMMAND'
10528 # in which case we are not to be found in the path.
10529 if test "x$as_myself" = x; then
10532 if test ! -f "$as_myself"; then
10533 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10534 { (exit 1); exit 1; }
10537 # Work around bugs in pre-3.0 UWIN ksh.
10538 for as_var in ENV MAIL MAILPATH
10539 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10547 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10548 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10549 LC_TELEPHONE LC_TIME
10551 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10552 eval $as_var=C; export $as_var
10554 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
10558 # Required to use basename.
10559 if expr a : '\(a\)' >/dev/null 2>&1 &&
10560 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10566 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10567 as_basename=basename
10573 # Name of the executable.
10574 as_me=`$as_basename -- "$0" ||
10575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10576 X"$0" : 'X\(//\)$' \| \
10577 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10579 sed '/^.*\/\([^/][^/]*\)\/*$/{
10598 as_lineno_1=$LINENO
10599 as_lineno_2=$LINENO
10600 test "x$as_lineno_1" != "x$as_lineno_2" &&
10601 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
10603 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10604 # uniformly replaced by the line number. The first 'sed' inserts a
10605 # line-number line after each line using $LINENO; the second 'sed'
10606 # does the real work. The second script uses 'N' to pair each
10607 # line-number line with the line containing $LINENO, and appends
10608 # trailing '-' during substitution so that $LINENO is not a special
10609 # case at line end.
10610 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10611 # scripts with optimization help from Paolo Bonzini. Blame Lee
10612 # E. McMahon (1931-1989) for sed's syntax. :-)
10624 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10627 ' >$as_me.lineno &&
10628 chmod +x "$as_me.lineno" ||
10629 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10630 { (exit 1); exit 1; }; }
10632 # Don't try to exec as it changes $[0], causing all sort of problems
10633 # (the dirname of $[0] is not the place where we might find the
10634 # original and so on. Autoconf is especially sensitive to this).
10635 . "./$as_me.lineno"
10636 # Exit status is that of the last command.
10641 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
10647 ECHO_C= ECHO_N= ECHO_T=
10648 case `echo -n x` in
10650 case `echo 'x\c'` in
10651 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
10658 if expr a : '\(a\)' >/dev/null 2>&1 &&
10659 test "X`expr 00001 : '.*\(...\)'`" = X001; then
10665 rm -f conf$$ conf$$.exe conf$$.file
10666 if test -d conf$$.dir; then
10667 rm -f conf$$.dir/conf$$.file
10673 if ln -s conf$$.file conf$$ 2>/dev/null; then
10675 # ... but there are two gotchas:
10676 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10677 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10678 # In both cases, we have to default to `cp -p'.
10679 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
10681 elif ln conf$$.file conf$$ 2>/dev/null; then
10686 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
10687 rmdir conf$$.dir 2>/dev/null
10689 if mkdir -p . 2>/dev/null; then
10692 test -d ./-p && rmdir ./-p
10696 if test -x / >/dev/null 2>&1; then
10697 as_test_x='test -x'
10699 if ls -dL / >/dev/null 2>&1; then
10706 if test -d "$1"; then
10712 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10713 ???[sx]*):;;*)false;;esac;fi
10717 as_executable_p=$as_test_x
10719 # Sed expression to map a string onto a valid CPP name.
10720 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10722 # Sed expression to map a string onto a valid variable name.
10723 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10728 # Save the log message, to keep $[0] and so on meaningful, and to
10729 # report actual input values of CONFIG_FILES etc. instead of their
10730 # values after options handling.
10732 This file was extended by $as_me, which was
10733 generated by GNU Autoconf 2.61. Invocation command line was
10735 CONFIG_FILES = $CONFIG_FILES
10736 CONFIG_HEADERS = $CONFIG_HEADERS
10737 CONFIG_LINKS = $CONFIG_LINKS
10738 CONFIG_COMMANDS = $CONFIG_COMMANDS
10741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10746 cat >>$CONFIG_STATUS <<_ACEOF
10747 # Files that config.status was made for.
10748 config_files="$ac_config_files"
10749 config_headers="$ac_config_headers"
10753 cat >>$CONFIG_STATUS <<\_ACEOF
10755 \`$as_me' instantiates files from templates according to the
10756 current configuration.
10758 Usage: $0 [OPTIONS] [FILE]...
10760 -h, --help print this help, then exit
10761 -V, --version print version number and configuration settings, then exit
10762 -q, --quiet do not print progress messages
10763 -d, --debug don't remove temporary files
10764 --recheck update $as_me by reconfiguring in the same conditions
10765 --file=FILE[:TEMPLATE]
10766 instantiate the configuration file FILE
10767 --header=FILE[:TEMPLATE]
10768 instantiate the configuration header FILE
10770 Configuration files:
10773 Configuration headers:
10776 Report bugs to <bug-autoconf@gnu.org>."
10779 cat >>$CONFIG_STATUS <<_ACEOF
10782 configured by $0, generated by GNU Autoconf 2.61,
10783 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10785 Copyright (C) 2006 Free Software Foundation, Inc.
10786 This config.status script is free software; the Free Software Foundation
10787 gives unlimited permission to copy, distribute and modify it."
10794 cat >>$CONFIG_STATUS <<\_ACEOF
10795 # If no file are specified by the user, then we need to provide default
10796 # value. By we need to know if files were specified by the user.
10802 ac_option=`expr "X$1" : 'X\([^=]*\)='`
10803 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
10814 # Handling of the options.
10815 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10817 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
10818 echo "$ac_cs_version"; exit ;;
10819 --debug | --debu | --deb | --de | --d | -d )
10821 --file | --fil | --fi | --f )
10823 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10824 ac_need_defaults=false;;
10825 --header | --heade | --head | --hea )
10827 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10828 ac_need_defaults=false;;
10830 # Conflict between --help and --header
10831 { echo "$as_me: error: ambiguous option: $1
10832 Try \`$0 --help' for more information." >&2
10833 { (exit 1); exit 1; }; };;
10834 --help | --hel | -h )
10835 echo "$ac_cs_usage"; exit ;;
10836 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10837 | -silent | --silent | --silen | --sile | --sil | --si | --s)
10840 # This is an error.
10841 -*) { echo "$as_me: error: unrecognized option: $1
10842 Try \`$0 --help' for more information." >&2
10843 { (exit 1); exit 1; }; } ;;
10845 *) ac_config_targets="$ac_config_targets $1"
10846 ac_need_defaults=false ;;
10852 ac_configure_extra_args=
10854 if $ac_cs_silent; then
10856 ac_configure_extra_args="$ac_configure_extra_args --silent"
10860 cat >>$CONFIG_STATUS <<_ACEOF
10861 if \$ac_cs_recheck; then
10862 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10863 CONFIG_SHELL=$SHELL
10864 export CONFIG_SHELL
10865 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10869 cat >>$CONFIG_STATUS <<\_ACEOF
10873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10874 ## Running $as_me. ##
10880 cat >>$CONFIG_STATUS <<_ACEOF
10883 cat >>$CONFIG_STATUS <<\_ACEOF
10885 # Handling of arguments.
10886 for ac_config_target in $ac_config_targets
10888 case $ac_config_target in
10889 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
10890 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
10891 "libs/src/misc/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/misc/Makefile" ;;
10892 "libs/src/pset/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/pset/Makefile" ;;
10893 "libs/src/sio/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/sio/Makefile" ;;
10894 "libs/src/str/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/str/Makefile" ;;
10895 "libs/src/xlog/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/xlog/Makefile" ;;
10896 "libs/src/portable/Makefile") CONFIG_FILES="$CONFIG_FILES libs/src/portable/Makefile" ;;
10897 "xinetd/Makefile") CONFIG_FILES="$CONFIG_FILES xinetd/Makefile" ;;
10899 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10900 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10901 { (exit 1); exit 1; }; };;
10906 # If the user did not use the arguments to specify the items to instantiate,
10907 # then the envvar interface is used. Set only those that are not.
10908 # We use the long form for the default assignment because of an extremely
10909 # bizarre bug on SunOS 4.1.3.
10910 if $ac_need_defaults; then
10911 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
10912 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
10915 # Have a temporary directory for convenience. Make it in the build tree
10916 # simply because there is no reason against having it here, and in addition,
10917 # creating and moving files from /tmp can sometimes cause problems.
10918 # Hook for its removal unless debugging.
10919 # Note that there is a small window in which the directory will not be cleaned:
10920 # after its creation but before its name has been assigned to `$tmp'.
10924 trap 'exit_status=$?
10925 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10927 trap '{ (exit 1); exit 1; }' 1 2 13 15
10929 # Create a (secure) tmp directory for tmp files.
10932 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10933 test -n "$tmp" && test -d "$tmp"
10936 tmp=./conf$$-$RANDOM
10937 (umask 077 && mkdir "$tmp")
10940 echo "$me: cannot create a temporary directory in ." >&2
10941 { (exit 1); exit 1; }
10945 # Set up the sed scripts for CONFIG_FILES section.
10948 # No need to generate the scripts if there are no CONFIG_FILES.
10949 # This happens for instance when ./config.status config.h
10950 if test -n "$CONFIG_FILES"; then
10957 for ac_last_try in false false false false false :; do
10958 cat >conf$$subs.sed <<_ACEOF
10959 SHELL!$SHELL$ac_delim
10960 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
10961 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
10962 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
10963 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
10964 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
10965 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
10966 exec_prefix!$exec_prefix$ac_delim
10967 prefix!$prefix$ac_delim
10968 program_transform_name!$program_transform_name$ac_delim
10969 bindir!$bindir$ac_delim
10970 sbindir!$sbindir$ac_delim
10971 libexecdir!$libexecdir$ac_delim
10972 datarootdir!$datarootdir$ac_delim
10973 datadir!$datadir$ac_delim
10974 sysconfdir!$sysconfdir$ac_delim
10975 sharedstatedir!$sharedstatedir$ac_delim
10976 localstatedir!$localstatedir$ac_delim
10977 includedir!$includedir$ac_delim
10978 oldincludedir!$oldincludedir$ac_delim
10979 docdir!$docdir$ac_delim
10980 infodir!$infodir$ac_delim
10981 htmldir!$htmldir$ac_delim
10982 dvidir!$dvidir$ac_delim
10983 pdfdir!$pdfdir$ac_delim
10984 psdir!$psdir$ac_delim
10985 libdir!$libdir$ac_delim
10986 localedir!$localedir$ac_delim
10987 mandir!$mandir$ac_delim
10988 DEFS!$DEFS$ac_delim
10989 ECHO_C!$ECHO_C$ac_delim
10990 ECHO_N!$ECHO_N$ac_delim
10991 ECHO_T!$ECHO_T$ac_delim
10992 LIBS!$LIBS$ac_delim
10993 build_alias!$build_alias$ac_delim
10994 host_alias!$host_alias$ac_delim
10995 target_alias!$target_alias$ac_delim
10996 build!$build$ac_delim
10997 build_cpu!$build_cpu$ac_delim
10998 build_vendor!$build_vendor$ac_delim
10999 build_os!$build_os$ac_delim
11000 host!$host$ac_delim
11001 host_cpu!$host_cpu$ac_delim
11002 host_vendor!$host_vendor$ac_delim
11003 host_os!$host_os$ac_delim
11004 target!$target$ac_delim
11005 target_cpu!$target_cpu$ac_delim
11006 target_vendor!$target_vendor$ac_delim
11007 target_os!$target_os$ac_delim
11009 CFLAGS!$CFLAGS$ac_delim
11010 LDFLAGS!$LDFLAGS$ac_delim
11011 CPPFLAGS!$CPPFLAGS$ac_delim
11012 ac_ct_CC!$ac_ct_CC$ac_delim
11013 EXEEXT!$EXEEXT$ac_delim
11014 OBJEXT!$OBJEXT$ac_delim
11015 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11016 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11017 INSTALL_DATA!$INSTALL_DATA$ac_delim
11018 RANLIB!$RANLIB$ac_delim
11020 GREP!$GREP$ac_delim
11021 EGREP!$EGREP$ac_delim
11022 LIBOBJS!$LIBOBJS$ac_delim
11023 LTLIBOBJS!$LTLIBOBJS$ac_delim
11026 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then
11028 elif $ac_last_try; then
11029 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11030 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11031 { (exit 1); exit 1; }; }
11033 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
11037 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11038 if test -n "$ac_eof"; then
11039 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
11040 ac_eof=`expr $ac_eof + 1`
11043 cat >>$CONFIG_STATUS <<_ACEOF
11044 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11048 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11049 s/^/s,@/; s/!/@,|#_!!_#|/
11052 s/'"$ac_delim"'$/,g/; t
11054 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11055 ' >>$CONFIG_STATUS <conf$$subs.sed
11056 rm -f conf$$subs.sed
11057 cat >>$CONFIG_STATUS <<_ACEOF
11064 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11065 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11066 # trailing colons and then remove the whole line if VPATH becomes empty
11067 # (actually we leave an empty line to preserve line numbers).
11068 if test "x$srcdir" = x.; then
11069 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11070 s/:*\$(srcdir):*/:/
11071 s/:*\${srcdir}:*/:/
11073 s/^\([^=]*=[ ]*\):*/\1/
11079 cat >>$CONFIG_STATUS <<\_ACEOF
11080 fi # test -n "$CONFIG_FILES"
11083 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
11086 :[FHLC]) ac_mode=$ac_tag; continue;;
11088 case $ac_mode$ac_tag in
11090 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11091 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11092 { (exit 1); exit 1; }; };;
11093 :[FH]-) ac_tag=-:-;;
11094 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
11111 -) ac_f="$tmp/stdin";;
11112 *) # Look for the file first in the build tree, then in the source tree
11113 # (if the path is not absolute). The absolute path cannot be DOS-style,
11114 # because $ac_f cannot contain `:'.
11118 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
11120 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11121 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11122 { (exit 1); exit 1; }; };;
11124 ac_file_inputs="$ac_file_inputs $ac_f"
11127 # Let's still pretend it is `configure' which instantiates (i.e., don't
11128 # use $as_me), people would be surprised to read:
11129 # /* config.h. Generated by config.status. */
11130 configure_input="Generated from "`IFS=:
11131 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11132 if test x"$ac_file" != x-; then
11133 configure_input="$ac_file. $configure_input"
11134 { echo "$as_me:$LINENO: creating $ac_file" >&5
11135 echo "$as_me: creating $ac_file" >&6;}
11139 *:-:* | *:-) cat >"$tmp/stdin";;
11144 ac_dir=`$as_dirname -- "$ac_file" ||
11145 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11146 X"$ac_file" : 'X\(//\)[^/]' \| \
11147 X"$ac_file" : 'X\(//\)$' \| \
11148 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11154 /^X\(\/\/\)[^/].*/{
11169 -*) as_dir=./$as_dir;;
11171 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
11175 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11176 *) as_qdir=$as_dir;;
11178 as_dirs="'$as_qdir' $as_dirs"
11179 as_dir=`$as_dirname -- "$as_dir" ||
11180 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11181 X"$as_dir" : 'X\(//\)[^/]' \| \
11182 X"$as_dir" : 'X\(//\)$' \| \
11183 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11189 /^X\(\/\/\)[^/].*/{
11202 test -d "$as_dir" && break
11204 test -z "$as_dirs" || eval "mkdir $as_dirs"
11205 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11206 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11207 { (exit 1); exit 1; }; }; }
11211 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
11213 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11214 # A ".." for each directory in $ac_dir_suffix.
11215 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11216 case $ac_top_builddir_sub in
11217 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
11218 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
11221 ac_abs_top_builddir=$ac_pwd
11222 ac_abs_builddir=$ac_pwd$ac_dir_suffix
11223 # for backward compatibility:
11224 ac_top_builddir=$ac_top_build_prefix
11227 .) # We are building in place.
11229 ac_top_srcdir=$ac_top_builddir_sub
11230 ac_abs_top_srcdir=$ac_pwd ;;
11231 [\\/]* | ?:[\\/]* ) # Absolute name.
11232 ac_srcdir=$srcdir$ac_dir_suffix;
11233 ac_top_srcdir=$srcdir
11234 ac_abs_top_srcdir=$srcdir ;;
11235 *) # Relative name.
11236 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
11237 ac_top_srcdir=$ac_top_build_prefix$srcdir
11238 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
11240 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
11250 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11251 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
11255 cat >>$CONFIG_STATUS <<\_ACEOF
11256 # If the template does not know about datarootdir, expand it.
11257 # FIXME: This hack should be removed a few years after 2.60.
11258 ac_datarootdir_hack=; ac_datarootdir_seen=
11260 case `sed -n '/datarootdir/ {
11269 ' $ac_file_inputs` in
11270 *datarootdir*) ac_datarootdir_seen=yes;;
11271 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
11272 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11273 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11275 cat >>$CONFIG_STATUS <<_ACEOF
11276 ac_datarootdir_hack='
11277 s&@datadir@&$datadir&g
11278 s&@docdir@&$docdir&g
11279 s&@infodir@&$infodir&g
11280 s&@localedir@&$localedir&g
11281 s&@mandir@&$mandir&g
11282 s&\\\${datarootdir}&$datarootdir&g' ;;
11286 # Neutralize VPATH when `$srcdir' = `.'.
11287 # Shell code in configure.ac might set extrasub.
11288 # FIXME: do we really want to maintain this feature?
11289 cat >>$CONFIG_STATUS <<_ACEOF
11293 cat >>$CONFIG_STATUS <<\_ACEOF
11295 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11296 s&@configure_input@&$configure_input&;t t
11297 s&@top_builddir@&$ac_top_builddir_sub&;t t
11298 s&@srcdir@&$ac_srcdir&;t t
11299 s&@abs_srcdir@&$ac_abs_srcdir&;t t
11300 s&@top_srcdir@&$ac_top_srcdir&;t t
11301 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
11302 s&@builddir@&$ac_builddir&;t t
11303 s&@abs_builddir@&$ac_abs_builddir&;t t
11304 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
11305 s&@INSTALL@&$ac_INSTALL&;t t
11306 $ac_datarootdir_hack
11307 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
11309 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11310 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
11311 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
11312 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11313 which seems to be undefined. Please make sure it is defined." >&5
11314 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
11315 which seems to be undefined. Please make sure it is defined." >&2;}
11319 -) cat "$tmp/out"; rm -f "$tmp/out";;
11320 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11329 # Transform confdefs.h into a sed script `conftest.defines', that
11330 # substitutes the proper values into config.h.in to produce config.h.
11331 rm -f conftest.defines conftest.tail
11332 # First, append a space to every undef/define line, to ease matching.
11333 echo 's/$/ /' >conftest.defines
11334 # Then, protect against being on the right side of a sed subst, or in
11335 # an unquoted here document, in config.status. If some macros were
11336 # called several times there might be several #defines for the same
11337 # symbol, which is useless. But do not sort them, since the last
11338 # AC_DEFINE must be honored.
11339 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11340 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11341 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11342 # PARAMS is the parameter list in the macro definition--in most cases, it's
11343 # just an empty string.
11344 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11345 ac_dB='\\)[ (].*,\\1define\\2'
11353 s/^[ ]*#[ ]*define[ ][ ]*//
11358 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11359 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11360 ' >>conftest.defines
11362 # Remove the space that was appended to ease matching.
11363 # Then replace #undef with comments. This is necessary, for
11364 # example, in the case of _POSIX_SOURCE, which is predefined and required
11365 # on some systems where configure will not decide to define it.
11366 # (The regexp can be short, since the line contains either #define or #undef.)
11368 s,^[ #]*u.*,/* & */,' >>conftest.defines
11370 # Break up conftest.defines:
11371 ac_max_sed_lines=50
11373 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11374 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11375 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11377 ac_in='$ac_file_inputs'
11378 ac_out='"$tmp/out1"'
11379 ac_nxt='"$tmp/out2"'
11383 # Write a here document:
11384 cat >>$CONFIG_STATUS <<_ACEOF
11385 # First, check the format of the line:
11386 cat >"\$tmp/defines.sed" <<\\CEOF
11387 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11388 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11392 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
11394 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11395 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
11396 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
11397 grep . conftest.tail >/dev/null || break
11398 rm -f conftest.defines
11399 mv conftest.tail conftest.defines
11401 rm -f conftest.defines conftest.tail
11403 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11404 cat >>$CONFIG_STATUS <<\_ACEOF
11405 if test x"$ac_file" != x-; then
11406 echo "/* $configure_input */" >"$tmp/config.h"
11407 cat "$ac_result" >>"$tmp/config.h"
11408 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
11409 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11410 echo "$as_me: $ac_file is unchanged" >&6;}
11413 mv "$tmp/config.h" $ac_file
11416 echo "/* $configure_input */"
11428 { (exit 0); exit 0; }
11430 chmod +x $CONFIG_STATUS
11431 ac_clean_files=$ac_clean_files_save
11434 # configure is writing to config.log, and then calls config.status.
11435 # config.status does its own redirection, appending to config.log.
11436 # Unfortunately, on DOS this fails, as config.log is still kept open
11437 # by configure, so config.status won't be able to write to it; its
11438 # output is simply discarded. So we exec the FD to /dev/null,
11439 # effectively closing config.log, so it can be properly (re)opened and
11440 # appended to by config.status. When coming back to configure, we
11441 # need to make the FD available again.
11442 if test "$no_create" != yes; then
11444 ac_config_status_args=
11445 test "$silent" = yes &&
11446 ac_config_status_args="$ac_config_status_args --quiet"
11448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11451 # would make configure fail if this is the last instruction.
11452 $ac_cs_success || { (exit 1); exit 1; }
11456 cp config.h libs/include