summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2005-01-04 13:07:27 +0000
committerColin Watson <cjwatson@debian.org>2005-01-04 13:07:27 +0000
commitfd0f611b70a83d80fe8793af785542ee5541b7cd (patch)
treebededd22bb7eeec52e20083237ab7e4113445a16 /configure
parentc44fe9a5b9d3db96a7249b04d915f17e4a3a3b04 (diff)
parentebd2ce335af5861020c79fddb1ae35c03bf036cf (diff)
Merge 3.9p1 to the trunk.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17160
1 files changed, 12014 insertions, 5146 deletions
diff --git a/configure b/configure
index 70fd4feaa..0c85e42ad 100755
--- a/configure
+++ b/configure
@@ -1,12 +1,81 @@
1#! /bin/sh 1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles. 2# Guess values for system-dependent variables and create Makefiles.
3# Generated by Autoconf 2.52. 3# Generated by GNU Autoconf 2.59.
4# 4#
5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5# Copyright (C) 2003 Free Software Foundation, Inc.
6# Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation 6# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it. 7# gives unlimited permission to copy, distribute and modify it.
8## --------------------- ##
9## M4sh Initialization. ##
10## --------------------- ##
9 11
12# Be Bourne compatible
13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21fi
22DUALCASE=1; export DUALCASE # for MKS sh
23
24# Support unset when possible.
25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27else
28 as_unset=false
29fi
30
31
32# Work around bugs in pre-3.0 UWIN ksh.
33$as_unset ENV MAIL MAILPATH
34PS1='$ '
35PS2='> '
36PS4='+ '
37
38# NLS nuisances.
39for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49done
50
51# Required to use basename.
52if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54else
55 as_expr=false
56fi
57
58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60else
61 as_basename=false
62fi
63
64
65# Name of the executable.
66as_me=`$as_basename "$0" ||
67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78# PATH needs CR, and LINENO needs CR and PATH.
10# Avoid depending upon Character Ranges. 79# Avoid depending upon Character Ranges.
11as_cr_letters='abcdefghijklmnopqrstuvwxyz' 80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
@@ -14,22 +83,113 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14as_cr_digits='0123456789' 83as_cr_digits='0123456789'
15as_cr_alnum=$as_cr_Letters$as_cr_digits 84as_cr_alnum=$as_cr_Letters$as_cr_digits
16 85
17# Sed expression to map a string onto a valid variable name. 86# The user is always right.
18as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 87if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97fi
19 98
20# Sed expression to map a string onto a valid CPP name.
21as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22 99
23# Be Bourne compatible 100 as_lineno_1=$LINENO
24if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 101 as_lineno_2=$LINENO
25 emulate sh 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26 NULLCMD=: 103 test "x$as_lineno_1" != "x$as_lineno_2" &&
27elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 104 test "x$as_lineno_3" = "x$as_lineno_2" || {
28 set -o posix 105 # Find who we are. Look in the path if we contain no path at all
29fi 106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110for as_dir in $PATH
111do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152done
153;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184}
30 185
31# Name of the executable. 186
32as_me=`echo "$0" |sed 's,.*[\\/],,'` 187case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192esac
33 193
34if expr a : '\(a\)' >/dev/null 2>&1; then 194if expr a : '\(a\)' >/dev/null 2>&1; then
35 as_expr=expr 195 as_expr=expr
@@ -55,24 +215,21 @@ else
55fi 215fi
56rm -f conf$$ conf$$.exe conf$$.file 216rm -f conf$$ conf$$.exe conf$$.file
57 217
58as_executable_p="test -f" 218if mkdir -p . 2>/dev/null; then
59 219 as_mkdir_p=:
60# Support unset when possible.
61if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62 as_unset=unset
63else 220else
64 as_unset=false 221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
65fi 223fi
66 224
67# NLS nuisances. 225as_executable_p="test -f"
68$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 226
69$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 227# Sed expression to map a string onto a valid CPP name.
70$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
71$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 229
72$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 230# Sed expression to map a string onto a valid variable name.
73$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
74$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 232
75$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
76 233
77# IFS 234# IFS
78# We need space, tab and new line, in precisely that order. 235# We need space, tab and new line, in precisely that order.
@@ -81,7 +238,8 @@ as_nl='
81IFS=" $as_nl" 238IFS=" $as_nl"
82 239
83# CDPATH. 240# CDPATH.
84$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 241$as_unset CDPATH
242
85 243
86# Name of the host. 244# Name of the host.
87# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
@@ -94,9 +252,11 @@ exec 6>&1
94# Initializations. 252# Initializations.
95# 253#
96ac_default_prefix=/usr/local 254ac_default_prefix=/usr/local
255ac_config_libobj_dir=.
97cross_compiling=no 256cross_compiling=no
98subdirs= 257subdirs=
99MFLAGS= MAKEFLAGS= 258MFLAGS=
259MAKEFLAGS=
100SHELL=${CONFIG_SHELL-/bin/sh} 260SHELL=${CONFIG_SHELL-/bin/sh}
101 261
102# Maximum number of lines to put in a shell here document. 262# Maximum number of lines to put in a shell here document.
@@ -104,6 +264,13 @@ SHELL=${CONFIG_SHELL-/bin/sh}
104# only ac_max_sed_lines should be used. 264# only ac_max_sed_lines should be used.
105: ${ac_max_here_lines=38} 265: ${ac_max_here_lines=38}
106 266
267# Identity of this package.
268PACKAGE_NAME=
269PACKAGE_TARNAME=
270PACKAGE_VERSION=
271PACKAGE_STRING=
272PACKAGE_BUGREPORT=
273
107ac_unique_file="ssh.c" 274ac_unique_file="ssh.c"
108# Factoring default headers for most tests. 275# Factoring default headers for most tests.
109ac_includes_default="\ 276ac_includes_default="\
@@ -142,6 +309,9 @@ ac_includes_default="\
142# include <unistd.h> 309# include <unistd.h>
143#endif" 310#endif"
144 311
312ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT build build_cpu build_vendor build_os host host_cpu host_vendor host_os AWK CPP RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR CAT KILL PERL SED ENT TEST_MINUS_S_SH SH TEST_SHELL PATH_GROUPADD_PROG PATH_USERADD_PROG MAKE_PACKAGE_SUPPORTED LOGIN_PROGRAM_FALLBACK PATH_PASSWD_PROG LD EGREP LIBWRAP LIBPAM INSTALL_SSH_RAND_HELPER SSH_PRIVSEP_USER PROG_LS PROG_NETSTAT PROG_ARP PROG_IFCONFIG PROG_JSTAT PROG_PS PROG_SAR PROG_W PROG_WHO PROG_LAST PROG_LASTLOG PROG_DF PROG_VMSTAT PROG_UPTIME PROG_IPCS PROG_TAIL INSTALL_SSH_PRNG_CMDS OPENSC_CONFIG PRIVSEP_PATH xauth_path STRIP_OPT XAUTH_PATH NROFF MANTYPE mansubdir user_path piddir LIBOBJS LTLIBOBJS'
313ac_subst_files=''
314
145# Initialize some variables set by options. 315# Initialize some variables set by options.
146ac_init_help= 316ac_init_help=
147ac_init_version=false 317ac_init_version=false
@@ -180,13 +350,6 @@ oldincludedir='/usr/include'
180infodir='${prefix}/info' 350infodir='${prefix}/info'
181mandir='${prefix}/man' 351mandir='${prefix}/man'
182 352
183# Identity of this package.
184PACKAGE_NAME=
185PACKAGE_TARNAME=
186PACKAGE_VERSION=
187PACKAGE_STRING=
188PACKAGE_BUGREPORT=
189
190ac_prev= 353ac_prev=
191for ac_option 354for ac_option
192do 355do
@@ -319,7 +482,7 @@ do
319 with_fp=no ;; 482 with_fp=no ;;
320 483
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
322 | --no-cr | --no-c) 485 | --no-cr | --no-c | -n)
323 no_create=yes ;; 486 no_create=yes ;;
324 487
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
@@ -498,30 +661,31 @@ do
498 eval ac_val=$`echo $ac_var` 661 eval ac_val=$`echo $ac_var`
499 case $ac_val in 662 case $ac_val in
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };; 665 { (exit 1); exit 1; }; };;
503 esac 666 esac
504done 667done
505 668
506# Be sure to have absolute paths. 669# Be sure to have absolute paths.
507for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508 localstatedir libdir includedir oldincludedir infodir mandir 671 localstatedir libdir includedir oldincludedir infodir mandir
509do 672do
510 eval ac_val=$`echo $ac_var` 673 eval ac_val=$`echo $ac_var`
511 case $ac_val in 674 case $ac_val in
512 [\\/$]* | ?:[\\/]* ) ;; 675 [\\/$]* | ?:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };; 677 { (exit 1); exit 1; }; };;
515 esac 678 esac
516done 679done
517 680
518# There might be people who depend on the old broken behavior: `$host' 681# There might be people who depend on the old broken behavior: `$host'
519# used to hold the argument of --host etc. 682# used to hold the argument of --host etc.
683# FIXME: To remove some day.
520build=$build_alias 684build=$build_alias
521host=$host_alias 685host=$host_alias
522target=$target_alias 686target=$target_alias
523 687
524# FIXME: should be removed in autoconf 3.0. 688# FIXME: To remove some day.
525if test "x$host_alias" != x; then 689if test "x$host_alias" != x; then
526 if test "x$build_alias" = x; then 690 if test "x$build_alias" = x; then
527 cross_compiling=maybe 691 cross_compiling=maybe
@@ -537,13 +701,23 @@ test -n "$host_alias" && ac_tool_prefix=$host_alias-
537 701
538test "$silent" = yes && exec 6>/dev/null 702test "$silent" = yes && exec 6>/dev/null
539 703
704
540# Find the source files, if location was not specified. 705# Find the source files, if location was not specified.
541if test -z "$srcdir"; then 706if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes 707 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent. 708 # Try the directory containing this script, then its parent.
544 ac_prog=$0 709 ac_confdir=`(dirname "$0") 2>/dev/null ||
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
547 srcdir=$ac_confdir 721 srcdir=$ac_confdir
548 if test ! -r $srcdir/$ac_unique_file; then 722 if test ! -r $srcdir/$ac_unique_file; then
549 srcdir=.. 723 srcdir=..
@@ -553,13 +727,16 @@ else
553fi 727fi
554if test ! -r $srcdir/$ac_unique_file; then 728if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then 729 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; } 731 { (exit 1); exit 1; }; }
558 else 732 else
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2 733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
560 { (exit 1); exit 1; }; } 734 { (exit 1); exit 1; }; }
561 fi 735 fi
562fi 736fi
737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
563srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564ac_env_build_alias_set=${build_alias+set} 741ac_env_build_alias_set=${build_alias+set}
565ac_env_build_alias_value=$build_alias 742ac_env_build_alias_value=$build_alias
@@ -600,7 +777,7 @@ ac_cv_env_CPP_value=$CPP
600if test "$ac_init_help" = "long"; then 777if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing. 778 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh. 779 # This message is too long to be a string in the A/UX 3.1 sh.
603 cat <<EOF 780 cat <<_ACEOF
604\`configure' configures this package to adapt to many kinds of systems. 781\`configure' configures this package to adapt to many kinds of systems.
605 782
606Usage: $0 [OPTION]... [VAR=VALUE]... 783Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -621,14 +798,14 @@ Configuration:
621 -n, --no-create do not create output files 798 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
623 800
624EOF 801_ACEOF
625 802
626 cat <<EOF 803 cat <<_ACEOF
627Installation directories: 804Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX 805 --prefix=PREFIX install architecture-independent files in PREFIX
629 [$ac_default_prefix] 806 [$ac_default_prefix]
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
631 [PREFIX] 808 [PREFIX]
632 809
633By default, \`make install' will install all the files in 810By default, \`make install' will install all the files in
634\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 811\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
@@ -650,19 +827,19 @@ Fine tuning of the installation directories:
650 --oldincludedir=DIR C header files for non-gcc [/usr/include] 827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info] 828 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man] 829 --mandir=DIR man documentation [PREFIX/man]
653EOF 830_ACEOF
654 831
655 cat <<\EOF 832 cat <<\_ACEOF
656 833
657System types: 834System types:
658 --build=BUILD configure for building on BUILD [guessed] 835 --build=BUILD configure for building on BUILD [guessed]
659 --host=HOST build programs to run on HOST [BUILD] 836 --host=HOST cross-compile to build programs to run on HOST [BUILD]
660EOF 837_ACEOF
661fi 838fi
662 839
663if test -n "$ac_init_help"; then 840if test -n "$ac_init_help"; then
664 841
665 cat <<\EOF 842 cat <<\_ACEOF
666 843
667Optional Features: 844Optional Features:
668 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
@@ -729,40 +906,93 @@ Some influential environment variables:
729Use these variables to override the choices made by `configure' or to help 906Use these variables to override the choices made by `configure' or to help
730it to find libraries and programs with nonstandard names/locations. 907it to find libraries and programs with nonstandard names/locations.
731 908
732EOF 909_ACEOF
733fi 910fi
734 911
735if test "$ac_init_help" = "recursive"; then 912if test "$ac_init_help" = "recursive"; then
736 # If there are subdirs, report their specific --help. 913 # If there are subdirs, report their specific --help.
737 ac_popdir=`pwd` 914 ac_popdir=`pwd`
738 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 915 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
739 cd $ac_subdir 916 test -d $ac_dir || continue
740 # A "../" for each directory in /$ac_subdir. 917 ac_builddir=.
741 ac_dots=`echo $ac_subdir |
742 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
743
744 case $srcdir in
745 .) # No --srcdir option. We are building in place.
746 ac_sub_srcdir=$srcdir ;;
747 [\\/]* | ?:[\\/]* ) # Absolute path.
748 ac_sub_srcdir=$srcdir/$ac_subdir ;;
749 *) # Relative path.
750 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
751 esac
752 918
919if test "$ac_dir" != .; then
920 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
921 # A "../" for each directory in $ac_dir_suffix.
922 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
923else
924 ac_dir_suffix= ac_top_builddir=
925fi
926
927case $srcdir in
928 .) # No --srcdir option. We are building in place.
929 ac_srcdir=.
930 if test -z "$ac_top_builddir"; then
931 ac_top_srcdir=.
932 else
933 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
934 fi ;;
935 [\\/]* | ?:[\\/]* ) # Absolute path.
936 ac_srcdir=$srcdir$ac_dir_suffix;
937 ac_top_srcdir=$srcdir ;;
938 *) # Relative path.
939 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
940 ac_top_srcdir=$ac_top_builddir$srcdir ;;
941esac
942
943# Do not use `cd foo && pwd` to compute absolute paths, because
944# the directories may not exist.
945case `pwd` in
946.) ac_abs_builddir="$ac_dir";;
947*)
948 case "$ac_dir" in
949 .) ac_abs_builddir=`pwd`;;
950 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
951 *) ac_abs_builddir=`pwd`/"$ac_dir";;
952 esac;;
953esac
954case $ac_abs_builddir in
955.) ac_abs_top_builddir=${ac_top_builddir}.;;
956*)
957 case ${ac_top_builddir}. in
958 .) ac_abs_top_builddir=$ac_abs_builddir;;
959 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
960 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
961 esac;;
962esac
963case $ac_abs_builddir in
964.) ac_abs_srcdir=$ac_srcdir;;
965*)
966 case $ac_srcdir in
967 .) ac_abs_srcdir=$ac_abs_builddir;;
968 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
969 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
970 esac;;
971esac
972case $ac_abs_builddir in
973.) ac_abs_top_srcdir=$ac_top_srcdir;;
974*)
975 case $ac_top_srcdir in
976 .) ac_abs_top_srcdir=$ac_abs_builddir;;
977 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
978 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
979 esac;;
980esac
981
982 cd $ac_dir
753 # Check for guested configure; otherwise get Cygnus style configure. 983 # Check for guested configure; otherwise get Cygnus style configure.
754 if test -f $ac_sub_srcdir/configure.gnu; then 984 if test -f $ac_srcdir/configure.gnu; then
755 echo 985 echo
756 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive 986 $SHELL $ac_srcdir/configure.gnu --help=recursive
757 elif test -f $ac_sub_srcdir/configure; then 987 elif test -f $ac_srcdir/configure; then
758 echo 988 echo
759 $SHELL $ac_sub_srcdir/configure --help=recursive 989 $SHELL $ac_srcdir/configure --help=recursive
760 elif test -f $ac_sub_srcdir/configure.ac || 990 elif test -f $ac_srcdir/configure.ac ||
761 test -f $ac_sub_srcdir/configure.in; then 991 test -f $ac_srcdir/configure.in; then
762 echo 992 echo
763 $ac_configure --help 993 $ac_configure --help
764 else 994 else
765 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 995 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
766 fi 996 fi
767 cd $ac_popdir 997 cd $ac_popdir
768 done 998 done
@@ -770,31 +1000,30 @@ fi
770 1000
771test -n "$ac_init_help" && exit 0 1001test -n "$ac_init_help" && exit 0
772if $ac_init_version; then 1002if $ac_init_version; then
773 cat <<\EOF 1003 cat <<\_ACEOF
774 1004
775Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 1005Copyright (C) 2003 Free Software Foundation, Inc.
776Free Software Foundation, Inc.
777This configure script is free software; the Free Software Foundation 1006This configure script is free software; the Free Software Foundation
778gives unlimited permission to copy, distribute and modify it. 1007gives unlimited permission to copy, distribute and modify it.
779EOF 1008_ACEOF
780 exit 0 1009 exit 0
781fi 1010fi
782exec 5>config.log 1011exec 5>config.log
783cat >&5 <<EOF 1012cat >&5 <<_ACEOF
784This file contains any messages produced by compilers while 1013This file contains any messages produced by compilers while
785running configure, to aid debugging if configure makes a mistake. 1014running configure, to aid debugging if configure makes a mistake.
786 1015
787It was created by $as_me, which was 1016It was created by $as_me, which was
788generated by GNU Autoconf 2.52. Invocation command line was 1017generated by GNU Autoconf 2.59. Invocation command line was
789 1018
790 $ $0 $@ 1019 $ $0 $@
791 1020
792EOF 1021_ACEOF
793{ 1022{
794cat <<_ASUNAME 1023cat <<_ASUNAME
795## ---------- ## 1024## --------- ##
796## Platform. ## 1025## Platform. ##
797## ---------- ## 1026## --------- ##
798 1027
799hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1028hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
800uname -m = `(uname -m) 2>/dev/null || echo unknown` 1029uname -m = `(uname -m) 2>/dev/null || echo unknown`
@@ -813,79 +1042,156 @@ hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
813/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1042/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
814/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1043/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
815 1044
816PATH = $PATH
817
818_ASUNAME 1045_ASUNAME
1046
1047as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1048for as_dir in $PATH
1049do
1050 IFS=$as_save_IFS
1051 test -z "$as_dir" && as_dir=.
1052 echo "PATH: $as_dir"
1053done
1054
819} >&5 1055} >&5
820 1056
821cat >&5 <<EOF 1057cat >&5 <<_ACEOF
822## ------------ ## 1058
823## Core tests. ## 1059
824## ------------ ## 1060## ----------- ##
1061## Core tests. ##
1062## ----------- ##
1063
1064_ACEOF
825 1065
826EOF
827 1066
828# Keep a trace of the command line. 1067# Keep a trace of the command line.
829# Strip out --no-create and --no-recursion so they do not pile up. 1068# Strip out --no-create and --no-recursion so they do not pile up.
1069# Strip out --silent because we don't want to record it for future runs.
830# Also quote any args containing shell meta-characters. 1070# Also quote any args containing shell meta-characters.
1071# Make two passes to allow for proper duplicate-argument suppression.
831ac_configure_args= 1072ac_configure_args=
1073ac_configure_args0=
1074ac_configure_args1=
832ac_sep= 1075ac_sep=
833for ac_arg 1076ac_must_keep_next=false
1077for ac_pass in 1 2
834do 1078do
835 case $ac_arg in 1079 for ac_arg
836 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1080 do
837 | --no-cr | --no-c) ;; 1081 case $ac_arg in
838 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1082 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
839 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 1083 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
840 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1084 | -silent | --silent | --silen | --sile | --sil)
841 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 1085 continue ;;
842 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
843 ac_sep=" " ;; 1087 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
844 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 1088 esac
845 ac_sep=" " ;; 1089 case $ac_pass in
846 esac 1090 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
847 # Get rid of the leading space. 1091 2)
1092 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1093 if test $ac_must_keep_next = true; then
1094 ac_must_keep_next=false # Got value, back to normal.
1095 else
1096 case $ac_arg in
1097 *=* | --config-cache | -C | -disable-* | --disable-* \
1098 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1099 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1100 | -with-* | --with-* | -without-* | --without-* | --x)
1101 case "$ac_configure_args0 " in
1102 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1103 esac
1104 ;;
1105 -* ) ac_must_keep_next=true ;;
1106 esac
1107 fi
1108 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1109 # Get rid of the leading space.
1110 ac_sep=" "
1111 ;;
1112 esac
1113 done
848done 1114done
1115$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1116$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
849 1117
850# When interrupted or exit'd, cleanup temporary files, and complete 1118# When interrupted or exit'd, cleanup temporary files, and complete
851# config.log. We remove comments because anyway the quotes in there 1119# config.log. We remove comments because anyway the quotes in there
852# would cause problems or look ugly. 1120# would cause problems or look ugly.
1121# WARNING: Be sure not to use single quotes in there, as some shells,
1122# such as our DU 5.0 friend, will then `close' the trap.
853trap 'exit_status=$? 1123trap 'exit_status=$?
854 # Save into config.log some information that might help in debugging. 1124 # Save into config.log some information that might help in debugging.
855 echo >&5 1125 {
856 echo "## ----------------- ##" >&5 1126 echo
857 echo "## Cache variables. ##" >&5 1127
858 echo "## ----------------- ##" >&5 1128 cat <<\_ASBOX
859 echo >&5 1129## ---------------- ##
860 # The following way of writing the cache mishandles newlines in values, 1130## Cache variables. ##
1131## ---------------- ##
1132_ASBOX
1133 echo
1134 # The following way of writing the cache mishandles newlines in values,
861{ 1135{
862 (set) 2>&1 | 1136 (set) 2>&1 |
863 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1137 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
864 *ac_space=\ *) 1138 *ac_space=\ *)
865 sed -n \ 1139 sed -n \
866 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1140 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
868 ;; 1142 ;;
869 *) 1143 *)
870 sed -n \ 1144 sed -n \
871 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1145 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
872 ;; 1146 ;;
873 esac; 1147 esac;
874} >&5 1148}
875 sed "/^$/d" confdefs.h >conftest.log 1149 echo
876 if test -s conftest.log; then 1150
877 echo >&5 1151 cat <<\_ASBOX
878 echo "## ------------ ##" >&5 1152## ----------------- ##
879 echo "## confdefs.h. ##" >&5 1153## Output variables. ##
880 echo "## ------------ ##" >&5 1154## ----------------- ##
881 echo >&5 1155_ASBOX
882 cat conftest.log >&5 1156 echo
883 fi 1157 for ac_var in $ac_subst_vars
884 (echo; echo) >&5 1158 do
885 test "$ac_signal" != 0 && 1159 eval ac_val=$`echo $ac_var`
886 echo "$as_me: caught signal $ac_signal" >&5 1160 echo "$ac_var='"'"'$ac_val'"'"'"
887 echo "$as_me: exit $exit_status" >&5 1161 done | sort
888 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1162 echo
1163
1164 if test -n "$ac_subst_files"; then
1165 cat <<\_ASBOX
1166## ------------- ##
1167## Output files. ##
1168## ------------- ##
1169_ASBOX
1170 echo
1171 for ac_var in $ac_subst_files
1172 do
1173 eval ac_val=$`echo $ac_var`
1174 echo "$ac_var='"'"'$ac_val'"'"'"
1175 done | sort
1176 echo
1177 fi
1178
1179 if test -s confdefs.h; then
1180 cat <<\_ASBOX
1181## ----------- ##
1182## confdefs.h. ##
1183## ----------- ##
1184_ASBOX
1185 echo
1186 sed "/^$/d" confdefs.h | sort
1187 echo
1188 fi
1189 test "$ac_signal" != 0 &&
1190 echo "$as_me: caught signal $ac_signal"
1191 echo "$as_me: exit $exit_status"
1192 } >&5
1193 rm -f core *.core &&
1194 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
889 exit $exit_status 1195 exit $exit_status
890 ' 0 1196 ' 0
891for ac_signal in 1 2 13 15; do 1197for ac_signal in 1 2 13 15; do
@@ -898,6 +1204,33 @@ rm -rf conftest* confdefs.h
898# AIX cpp loses on an empty file, so make sure it contains at least a newline. 1204# AIX cpp loses on an empty file, so make sure it contains at least a newline.
899echo >confdefs.h 1205echo >confdefs.h
900 1206
1207# Predefined preprocessor variables.
1208
1209cat >>confdefs.h <<_ACEOF
1210#define PACKAGE_NAME "$PACKAGE_NAME"
1211_ACEOF
1212
1213
1214cat >>confdefs.h <<_ACEOF
1215#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1216_ACEOF
1217
1218
1219cat >>confdefs.h <<_ACEOF
1220#define PACKAGE_VERSION "$PACKAGE_VERSION"
1221_ACEOF
1222
1223
1224cat >>confdefs.h <<_ACEOF
1225#define PACKAGE_STRING "$PACKAGE_STRING"
1226_ACEOF
1227
1228
1229cat >>confdefs.h <<_ACEOF
1230#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1231_ACEOF
1232
1233
901# Let the site file select an alternate cache file if it wants to. 1234# Let the site file select an alternate cache file if it wants to.
902# Prefer explicitly selected file to automatically selected ones. 1235# Prefer explicitly selected file to automatically selected ones.
903if test -z "$CONFIG_SITE"; then 1236if test -z "$CONFIG_SITE"; then
@@ -909,9 +1242,9 @@ if test -z "$CONFIG_SITE"; then
909fi 1242fi
910for ac_site_file in $CONFIG_SITE; do 1243for ac_site_file in $CONFIG_SITE; do
911 if test -r "$ac_site_file"; then 1244 if test -r "$ac_site_file"; then
912 { echo "$as_me:912: loading site script $ac_site_file" >&5 1245 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
913echo "$as_me: loading site script $ac_site_file" >&6;} 1246echo "$as_me: loading site script $ac_site_file" >&6;}
914 cat "$ac_site_file" >&5 1247 sed 's/^/| /' "$ac_site_file" >&5
915 . "$ac_site_file" 1248 . "$ac_site_file"
916 fi 1249 fi
917done 1250done
@@ -920,7 +1253,7 @@ if test -r "$cache_file"; then
920 # Some versions of bash will fail to source /dev/null (special 1253 # Some versions of bash will fail to source /dev/null (special
921 # files actually), so we avoid doing that. 1254 # files actually), so we avoid doing that.
922 if test -f "$cache_file"; then 1255 if test -f "$cache_file"; then
923 { echo "$as_me:923: loading cache $cache_file" >&5 1256 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
924echo "$as_me: loading cache $cache_file" >&6;} 1257echo "$as_me: loading cache $cache_file" >&6;}
925 case $cache_file in 1258 case $cache_file in
926 [\\/]* | ?:[\\/]* ) . $cache_file;; 1259 [\\/]* | ?:[\\/]* ) . $cache_file;;
@@ -928,7 +1261,7 @@ echo "$as_me: loading cache $cache_file" >&6;}
928 esac 1261 esac
929 fi 1262 fi
930else 1263else
931 { echo "$as_me:931: creating cache $cache_file" >&5 1264 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
932echo "$as_me: creating cache $cache_file" >&6;} 1265echo "$as_me: creating cache $cache_file" >&6;}
933 >$cache_file 1266 >$cache_file
934fi 1267fi
@@ -937,49 +1270,49 @@ fi
937# value. 1270# value.
938ac_cache_corrupted=false 1271ac_cache_corrupted=false
939for ac_var in `(set) 2>&1 | 1272for ac_var in `(set) 2>&1 |
940 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1273 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
941 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1274 eval ac_old_set=\$ac_cv_env_${ac_var}_set
942 eval ac_new_set=\$ac_env_${ac_var}_set 1275 eval ac_new_set=\$ac_env_${ac_var}_set
943 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1276 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
944 eval ac_new_val="\$ac_env_${ac_var}_value" 1277 eval ac_new_val="\$ac_env_${ac_var}_value"
945 case $ac_old_set,$ac_new_set in 1278 case $ac_old_set,$ac_new_set in
946 set,) 1279 set,)
947 { echo "$as_me:947: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1280 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
948echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1281echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
949 ac_cache_corrupted=: ;; 1282 ac_cache_corrupted=: ;;
950 ,set) 1283 ,set)
951 { echo "$as_me:951: error: \`$ac_var' was not set in the previous run" >&5 1284 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
952echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1285echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
953 ac_cache_corrupted=: ;; 1286 ac_cache_corrupted=: ;;
954 ,);; 1287 ,);;
955 *) 1288 *)
956 if test "x$ac_old_val" != "x$ac_new_val"; then 1289 if test "x$ac_old_val" != "x$ac_new_val"; then
957 { echo "$as_me:957: error: \`$ac_var' has changed since the previous run:" >&5 1290 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
958echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1291echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
959 { echo "$as_me:959: former value: $ac_old_val" >&5 1292 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
960echo "$as_me: former value: $ac_old_val" >&2;} 1293echo "$as_me: former value: $ac_old_val" >&2;}
961 { echo "$as_me:961: current value: $ac_new_val" >&5 1294 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
962echo "$as_me: current value: $ac_new_val" >&2;} 1295echo "$as_me: current value: $ac_new_val" >&2;}
963 ac_cache_corrupted=: 1296 ac_cache_corrupted=:
964 fi;; 1297 fi;;
965 esac 1298 esac
966 # Pass precious variables to config.status. It doesn't matter if 1299 # Pass precious variables to config.status.
967 # we pass some twice (in addition to the command line arguments).
968 if test "$ac_new_set" = set; then 1300 if test "$ac_new_set" = set; then
969 case $ac_new_val in 1301 case $ac_new_val in
970 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1302 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
971 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 1303 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
972 ac_configure_args="$ac_configure_args '$ac_arg'" 1304 *) ac_arg=$ac_var=$ac_new_val ;;
973 ;; 1305 esac
974 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 1306 case " $ac_configure_args " in
975 ;; 1307 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1308 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
976 esac 1309 esac
977 fi 1310 fi
978done 1311done
979if $ac_cache_corrupted; then 1312if $ac_cache_corrupted; then
980 { echo "$as_me:980: error: changes in the environment can compromise the build" >&5 1313 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
981echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1314echo "$as_me: error: changes in the environment can compromise the build" >&2;}
982 { { echo "$as_me:982: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1315 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
983echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1316echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
984 { (exit 1); exit 1; }; } 1317 { (exit 1); exit 1; }; }
985fi 1318fi
@@ -990,28 +1323,27 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
990ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
991ac_compiler_gnu=$ac_cv_c_compiler_gnu 1324ac_compiler_gnu=$ac_cv_c_compiler_gnu
992 1325
993case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
994 *c*,-n*) ECHO_N= ECHO_C='
995' ECHO_T=' ' ;;
996 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
997 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
998esac
999echo "#! $SHELL" >conftest.sh
1000echo "exit 0" >>conftest.sh
1001chmod +x conftest.sh
1002if { (echo "$as_me:1002: PATH=\".;.\"; conftest.sh") >&5
1003 (PATH=".;."; conftest.sh) 2>&5
1004 ac_status=$?
1005 echo "$as_me:1005: \$? = $ac_status" >&5
1006 (exit $ac_status); }; then
1007 ac_path_separator=';'
1008else
1009 ac_path_separator=:
1010fi
1011PATH_SEPARATOR="$ac_path_separator"
1012rm -f conftest.sh
1013 1326
1014ac_config_headers="$ac_config_headers config.h" 1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346 ac_config_headers="$ac_config_headers config.h"
1015 1347
1016ac_ext=c 1348ac_ext=c
1017ac_cpp='$CPP $CPPFLAGS' 1349ac_cpp='$CPP $CPPFLAGS'
@@ -1021,7 +1353,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1021if test -n "$ac_tool_prefix"; then 1353if test -n "$ac_tool_prefix"; then
1022 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1354 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1023set dummy ${ac_tool_prefix}gcc; ac_word=$2 1355set dummy ${ac_tool_prefix}gcc; ac_word=$2
1024echo "$as_me:1024: checking for $ac_word" >&5 1356echo "$as_me:$LINENO: checking for $ac_word" >&5
1025echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1357echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1026if test "${ac_cv_prog_CC+set}" = set; then 1358if test "${ac_cv_prog_CC+set}" = set; then
1027 echo $ECHO_N "(cached) $ECHO_C" >&6 1359 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1029,25 +1361,28 @@ else
1029 if test -n "$CC"; then 1361 if test -n "$CC"; then
1030 ac_cv_prog_CC="$CC" # Let the user override the test. 1362 ac_cv_prog_CC="$CC" # Let the user override the test.
1031else 1363else
1032 ac_save_IFS=$IFS; IFS=$ac_path_separator 1364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033ac_dummy="$PATH" 1365for as_dir in $PATH
1034for ac_dir in $ac_dummy; do 1366do
1035 IFS=$ac_save_IFS 1367 IFS=$as_save_IFS
1036 test -z "$ac_dir" && ac_dir=. 1368 test -z "$as_dir" && as_dir=.
1037 $as_executable_p "$ac_dir/$ac_word" || continue 1369 for ac_exec_ext in '' $ac_executable_extensions; do
1038ac_cv_prog_CC="${ac_tool_prefix}gcc" 1370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1039echo "$as_me:1039: found $ac_dir/$ac_word" >&5 1371 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1040break 1372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1373 break 2
1374 fi
1375done
1041done 1376done
1042 1377
1043fi 1378fi
1044fi 1379fi
1045CC=$ac_cv_prog_CC 1380CC=$ac_cv_prog_CC
1046if test -n "$CC"; then 1381if test -n "$CC"; then
1047 echo "$as_me:1047: result: $CC" >&5 1382 echo "$as_me:$LINENO: result: $CC" >&5
1048echo "${ECHO_T}$CC" >&6 1383echo "${ECHO_T}$CC" >&6
1049else 1384else
1050 echo "$as_me:1050: result: no" >&5 1385 echo "$as_me:$LINENO: result: no" >&5
1051echo "${ECHO_T}no" >&6 1386echo "${ECHO_T}no" >&6
1052fi 1387fi
1053 1388
@@ -1056,7 +1391,7 @@ if test -z "$ac_cv_prog_CC"; then
1056 ac_ct_CC=$CC 1391 ac_ct_CC=$CC
1057 # Extract the first word of "gcc", so it can be a program name with args. 1392 # Extract the first word of "gcc", so it can be a program name with args.
1058set dummy gcc; ac_word=$2 1393set dummy gcc; ac_word=$2
1059echo "$as_me:1059: checking for $ac_word" >&5 1394echo "$as_me:$LINENO: checking for $ac_word" >&5
1060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1395echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1061if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1396if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1062 echo $ECHO_N "(cached) $ECHO_C" >&6 1397 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1064,25 +1399,28 @@ else
1064 if test -n "$ac_ct_CC"; then 1399 if test -n "$ac_ct_CC"; then
1065 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1400 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1066else 1401else
1067 ac_save_IFS=$IFS; IFS=$ac_path_separator 1402as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1068ac_dummy="$PATH" 1403for as_dir in $PATH
1069for ac_dir in $ac_dummy; do 1404do
1070 IFS=$ac_save_IFS 1405 IFS=$as_save_IFS
1071 test -z "$ac_dir" && ac_dir=. 1406 test -z "$as_dir" && as_dir=.
1072 $as_executable_p "$ac_dir/$ac_word" || continue 1407 for ac_exec_ext in '' $ac_executable_extensions; do
1073ac_cv_prog_ac_ct_CC="gcc" 1408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1074echo "$as_me:1074: found $ac_dir/$ac_word" >&5 1409 ac_cv_prog_ac_ct_CC="gcc"
1075break 1410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 break 2
1412 fi
1413done
1076done 1414done
1077 1415
1078fi 1416fi
1079fi 1417fi
1080ac_ct_CC=$ac_cv_prog_ac_ct_CC 1418ac_ct_CC=$ac_cv_prog_ac_ct_CC
1081if test -n "$ac_ct_CC"; then 1419if test -n "$ac_ct_CC"; then
1082 echo "$as_me:1082: result: $ac_ct_CC" >&5 1420 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1083echo "${ECHO_T}$ac_ct_CC" >&6 1421echo "${ECHO_T}$ac_ct_CC" >&6
1084else 1422else
1085 echo "$as_me:1085: result: no" >&5 1423 echo "$as_me:$LINENO: result: no" >&5
1086echo "${ECHO_T}no" >&6 1424echo "${ECHO_T}no" >&6
1087fi 1425fi
1088 1426
@@ -1095,7 +1433,7 @@ if test -z "$CC"; then
1095 if test -n "$ac_tool_prefix"; then 1433 if test -n "$ac_tool_prefix"; then
1096 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1434 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1097set dummy ${ac_tool_prefix}cc; ac_word=$2 1435set dummy ${ac_tool_prefix}cc; ac_word=$2
1098echo "$as_me:1098: checking for $ac_word" >&5 1436echo "$as_me:$LINENO: checking for $ac_word" >&5
1099echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1437echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1100if test "${ac_cv_prog_CC+set}" = set; then 1438if test "${ac_cv_prog_CC+set}" = set; then
1101 echo $ECHO_N "(cached) $ECHO_C" >&6 1439 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1103,25 +1441,28 @@ else
1103 if test -n "$CC"; then 1441 if test -n "$CC"; then
1104 ac_cv_prog_CC="$CC" # Let the user override the test. 1442 ac_cv_prog_CC="$CC" # Let the user override the test.
1105else 1443else
1106 ac_save_IFS=$IFS; IFS=$ac_path_separator 1444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1107ac_dummy="$PATH" 1445for as_dir in $PATH
1108for ac_dir in $ac_dummy; do 1446do
1109 IFS=$ac_save_IFS 1447 IFS=$as_save_IFS
1110 test -z "$ac_dir" && ac_dir=. 1448 test -z "$as_dir" && as_dir=.
1111 $as_executable_p "$ac_dir/$ac_word" || continue 1449 for ac_exec_ext in '' $ac_executable_extensions; do
1112ac_cv_prog_CC="${ac_tool_prefix}cc" 1450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1113echo "$as_me:1113: found $ac_dir/$ac_word" >&5 1451 ac_cv_prog_CC="${ac_tool_prefix}cc"
1114break 1452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453 break 2
1454 fi
1455done
1115done 1456done
1116 1457
1117fi 1458fi
1118fi 1459fi
1119CC=$ac_cv_prog_CC 1460CC=$ac_cv_prog_CC
1120if test -n "$CC"; then 1461if test -n "$CC"; then
1121 echo "$as_me:1121: result: $CC" >&5 1462 echo "$as_me:$LINENO: result: $CC" >&5
1122echo "${ECHO_T}$CC" >&6 1463echo "${ECHO_T}$CC" >&6
1123else 1464else
1124 echo "$as_me:1124: result: no" >&5 1465 echo "$as_me:$LINENO: result: no" >&5
1125echo "${ECHO_T}no" >&6 1466echo "${ECHO_T}no" >&6
1126fi 1467fi
1127 1468
@@ -1130,7 +1471,7 @@ if test -z "$ac_cv_prog_CC"; then
1130 ac_ct_CC=$CC 1471 ac_ct_CC=$CC
1131 # Extract the first word of "cc", so it can be a program name with args. 1472 # Extract the first word of "cc", so it can be a program name with args.
1132set dummy cc; ac_word=$2 1473set dummy cc; ac_word=$2
1133echo "$as_me:1133: checking for $ac_word" >&5 1474echo "$as_me:$LINENO: checking for $ac_word" >&5
1134echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1475echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1135if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1476if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1136 echo $ECHO_N "(cached) $ECHO_C" >&6 1477 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1138,25 +1479,28 @@ else
1138 if test -n "$ac_ct_CC"; then 1479 if test -n "$ac_ct_CC"; then
1139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1140else 1481else
1141 ac_save_IFS=$IFS; IFS=$ac_path_separator 1482as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1142ac_dummy="$PATH" 1483for as_dir in $PATH
1143for ac_dir in $ac_dummy; do 1484do
1144 IFS=$ac_save_IFS 1485 IFS=$as_save_IFS
1145 test -z "$ac_dir" && ac_dir=. 1486 test -z "$as_dir" && as_dir=.
1146 $as_executable_p "$ac_dir/$ac_word" || continue 1487 for ac_exec_ext in '' $ac_executable_extensions; do
1147ac_cv_prog_ac_ct_CC="cc" 1488 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1148echo "$as_me:1148: found $ac_dir/$ac_word" >&5 1489 ac_cv_prog_ac_ct_CC="cc"
1149break 1490 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 break 2
1492 fi
1493done
1150done 1494done
1151 1495
1152fi 1496fi
1153fi 1497fi
1154ac_ct_CC=$ac_cv_prog_ac_ct_CC 1498ac_ct_CC=$ac_cv_prog_ac_ct_CC
1155if test -n "$ac_ct_CC"; then 1499if test -n "$ac_ct_CC"; then
1156 echo "$as_me:1156: result: $ac_ct_CC" >&5 1500 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1157echo "${ECHO_T}$ac_ct_CC" >&6 1501echo "${ECHO_T}$ac_ct_CC" >&6
1158else 1502else
1159 echo "$as_me:1159: result: no" >&5 1503 echo "$as_me:$LINENO: result: no" >&5
1160echo "${ECHO_T}no" >&6 1504echo "${ECHO_T}no" >&6
1161fi 1505fi
1162 1506
@@ -1169,7 +1513,7 @@ fi
1169if test -z "$CC"; then 1513if test -z "$CC"; then
1170 # Extract the first word of "cc", so it can be a program name with args. 1514 # Extract the first word of "cc", so it can be a program name with args.
1171set dummy cc; ac_word=$2 1515set dummy cc; ac_word=$2
1172echo "$as_me:1172: checking for $ac_word" >&5 1516echo "$as_me:$LINENO: checking for $ac_word" >&5
1173echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1517echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1174if test "${ac_cv_prog_CC+set}" = set; then 1518if test "${ac_cv_prog_CC+set}" = set; then
1175 echo $ECHO_N "(cached) $ECHO_C" >&6 1519 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1178,19 +1522,22 @@ else
1178 ac_cv_prog_CC="$CC" # Let the user override the test. 1522 ac_cv_prog_CC="$CC" # Let the user override the test.
1179else 1523else
1180 ac_prog_rejected=no 1524 ac_prog_rejected=no
1181 ac_save_IFS=$IFS; IFS=$ac_path_separator 1525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1182ac_dummy="$PATH" 1526for as_dir in $PATH
1183for ac_dir in $ac_dummy; do 1527do
1184 IFS=$ac_save_IFS 1528 IFS=$as_save_IFS
1185 test -z "$ac_dir" && ac_dir=. 1529 test -z "$as_dir" && as_dir=.
1186 $as_executable_p "$ac_dir/$ac_word" || continue 1530 for ac_exec_ext in '' $ac_executable_extensions; do
1187if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1188 ac_prog_rejected=yes 1532 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1189 continue 1533 ac_prog_rejected=yes
1190fi 1534 continue
1191ac_cv_prog_CC="cc" 1535 fi
1192echo "$as_me:1192: found $ac_dir/$ac_word" >&5 1536 ac_cv_prog_CC="cc"
1193break 1537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 break 2
1539 fi
1540done
1194done 1541done
1195 1542
1196if test $ac_prog_rejected = yes; then 1543if test $ac_prog_rejected = yes; then
@@ -1202,19 +1549,17 @@ if test $ac_prog_rejected = yes; then
1202 # However, it has the same basename, so the bogon will be chosen 1549 # However, it has the same basename, so the bogon will be chosen
1203 # first if we set CC to just the basename; use the full file name. 1550 # first if we set CC to just the basename; use the full file name.
1204 shift 1551 shift
1205 set dummy "$ac_dir/$ac_word" ${1+"$@"} 1552 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1206 shift
1207 ac_cv_prog_CC="$@"
1208 fi 1553 fi
1209fi 1554fi
1210fi 1555fi
1211fi 1556fi
1212CC=$ac_cv_prog_CC 1557CC=$ac_cv_prog_CC
1213if test -n "$CC"; then 1558if test -n "$CC"; then
1214 echo "$as_me:1214: result: $CC" >&5 1559 echo "$as_me:$LINENO: result: $CC" >&5
1215echo "${ECHO_T}$CC" >&6 1560echo "${ECHO_T}$CC" >&6
1216else 1561else
1217 echo "$as_me:1217: result: no" >&5 1562 echo "$as_me:$LINENO: result: no" >&5
1218echo "${ECHO_T}no" >&6 1563echo "${ECHO_T}no" >&6
1219fi 1564fi
1220 1565
@@ -1225,7 +1570,7 @@ if test -z "$CC"; then
1225 do 1570 do
1226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1571 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1227set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1572set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1228echo "$as_me:1228: checking for $ac_word" >&5 1573echo "$as_me:$LINENO: checking for $ac_word" >&5
1229echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1574echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1230if test "${ac_cv_prog_CC+set}" = set; then 1575if test "${ac_cv_prog_CC+set}" = set; then
1231 echo $ECHO_N "(cached) $ECHO_C" >&6 1576 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1233,25 +1578,28 @@ else
1233 if test -n "$CC"; then 1578 if test -n "$CC"; then
1234 ac_cv_prog_CC="$CC" # Let the user override the test. 1579 ac_cv_prog_CC="$CC" # Let the user override the test.
1235else 1580else
1236 ac_save_IFS=$IFS; IFS=$ac_path_separator 1581as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237ac_dummy="$PATH" 1582for as_dir in $PATH
1238for ac_dir in $ac_dummy; do 1583do
1239 IFS=$ac_save_IFS 1584 IFS=$as_save_IFS
1240 test -z "$ac_dir" && ac_dir=. 1585 test -z "$as_dir" && as_dir=.
1241 $as_executable_p "$ac_dir/$ac_word" || continue 1586 for ac_exec_ext in '' $ac_executable_extensions; do
1242ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1243echo "$as_me:1243: found $ac_dir/$ac_word" >&5 1588 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1244break 1589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1590 break 2
1591 fi
1592done
1245done 1593done
1246 1594
1247fi 1595fi
1248fi 1596fi
1249CC=$ac_cv_prog_CC 1597CC=$ac_cv_prog_CC
1250if test -n "$CC"; then 1598if test -n "$CC"; then
1251 echo "$as_me:1251: result: $CC" >&5 1599 echo "$as_me:$LINENO: result: $CC" >&5
1252echo "${ECHO_T}$CC" >&6 1600echo "${ECHO_T}$CC" >&6
1253else 1601else
1254 echo "$as_me:1254: result: no" >&5 1602 echo "$as_me:$LINENO: result: no" >&5
1255echo "${ECHO_T}no" >&6 1603echo "${ECHO_T}no" >&6
1256fi 1604fi
1257 1605
@@ -1264,7 +1612,7 @@ if test -z "$CC"; then
1264do 1612do
1265 # Extract the first word of "$ac_prog", so it can be a program name with args. 1613 # Extract the first word of "$ac_prog", so it can be a program name with args.
1266set dummy $ac_prog; ac_word=$2 1614set dummy $ac_prog; ac_word=$2
1267echo "$as_me:1267: checking for $ac_word" >&5 1615echo "$as_me:$LINENO: checking for $ac_word" >&5
1268echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1269if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1617if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1270 echo $ECHO_N "(cached) $ECHO_C" >&6 1618 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1272,25 +1620,28 @@ else
1272 if test -n "$ac_ct_CC"; then 1620 if test -n "$ac_ct_CC"; then
1273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1621 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1274else 1622else
1275 ac_save_IFS=$IFS; IFS=$ac_path_separator 1623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1276ac_dummy="$PATH" 1624for as_dir in $PATH
1277for ac_dir in $ac_dummy; do 1625do
1278 IFS=$ac_save_IFS 1626 IFS=$as_save_IFS
1279 test -z "$ac_dir" && ac_dir=. 1627 test -z "$as_dir" && as_dir=.
1280 $as_executable_p "$ac_dir/$ac_word" || continue 1628 for ac_exec_ext in '' $ac_executable_extensions; do
1281ac_cv_prog_ac_ct_CC="$ac_prog" 1629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1282echo "$as_me:1282: found $ac_dir/$ac_word" >&5 1630 ac_cv_prog_ac_ct_CC="$ac_prog"
1283break 1631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1632 break 2
1633 fi
1634done
1284done 1635done
1285 1636
1286fi 1637fi
1287fi 1638fi
1288ac_ct_CC=$ac_cv_prog_ac_ct_CC 1639ac_ct_CC=$ac_cv_prog_ac_ct_CC
1289if test -n "$ac_ct_CC"; then 1640if test -n "$ac_ct_CC"; then
1290 echo "$as_me:1290: result: $ac_ct_CC" >&5 1641 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1291echo "${ECHO_T}$ac_ct_CC" >&6 1642echo "${ECHO_T}$ac_ct_CC" >&6
1292else 1643else
1293 echo "$as_me:1293: result: no" >&5 1644 echo "$as_me:$LINENO: result: no" >&5
1294echo "${ECHO_T}no" >&6 1645echo "${ECHO_T}no" >&6
1295fi 1646fi
1296 1647
@@ -1302,33 +1653,39 @@ fi
1302 1653
1303fi 1654fi
1304 1655
1305test -z "$CC" && { { echo "$as_me:1305: error: no acceptable cc found in \$PATH" >&5 1656
1306echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1657test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1658See \`config.log' for more details." >&5
1659echo "$as_me: error: no acceptable C compiler found in \$PATH
1660See \`config.log' for more details." >&2;}
1307 { (exit 1); exit 1; }; } 1661 { (exit 1); exit 1; }; }
1308 1662
1309# Provide some information about the compiler. 1663# Provide some information about the compiler.
1310echo "$as_me:1310:" \ 1664echo "$as_me:$LINENO:" \
1311 "checking for C compiler version" >&5 1665 "checking for C compiler version" >&5
1312ac_compiler=`set X $ac_compile; echo $2` 1666ac_compiler=`set X $ac_compile; echo $2`
1313{ (eval echo "$as_me:1313: \"$ac_compiler --version </dev/null >&5\"") >&5 1667{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1314 (eval $ac_compiler --version </dev/null >&5) 2>&5 1668 (eval $ac_compiler --version </dev/null >&5) 2>&5
1315 ac_status=$? 1669 ac_status=$?
1316 echo "$as_me:1316: \$? = $ac_status" >&5 1670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1317 (exit $ac_status); } 1671 (exit $ac_status); }
1318{ (eval echo "$as_me:1318: \"$ac_compiler -v </dev/null >&5\"") >&5 1672{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1319 (eval $ac_compiler -v </dev/null >&5) 2>&5 1673 (eval $ac_compiler -v </dev/null >&5) 2>&5
1320 ac_status=$? 1674 ac_status=$?
1321 echo "$as_me:1321: \$? = $ac_status" >&5 1675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1322 (exit $ac_status); } 1676 (exit $ac_status); }
1323{ (eval echo "$as_me:1323: \"$ac_compiler -V </dev/null >&5\"") >&5 1677{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1324 (eval $ac_compiler -V </dev/null >&5) 2>&5 1678 (eval $ac_compiler -V </dev/null >&5) 2>&5
1325 ac_status=$? 1679 ac_status=$?
1326 echo "$as_me:1326: \$? = $ac_status" >&5 1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1327 (exit $ac_status); } 1681 (exit $ac_status); }
1328 1682
1329cat >conftest.$ac_ext <<_ACEOF 1683cat >conftest.$ac_ext <<_ACEOF
1330#line 1330 "configure" 1684/* confdefs.h. */
1331#include "confdefs.h" 1685_ACEOF
1686cat confdefs.h >>conftest.$ac_ext
1687cat >>conftest.$ac_ext <<_ACEOF
1688/* end confdefs.h. */
1332 1689
1333int 1690int
1334main () 1691main ()
@@ -1339,127 +1696,152 @@ main ()
1339} 1696}
1340_ACEOF 1697_ACEOF
1341ac_clean_files_save=$ac_clean_files 1698ac_clean_files_save=$ac_clean_files
1342ac_clean_files="$ac_clean_files a.out a.exe" 1699ac_clean_files="$ac_clean_files a.out a.exe b.out"
1343# Try to create an executable without -o first, disregard a.out. 1700# Try to create an executable without -o first, disregard a.out.
1344# It will help us diagnose broken compilers, and finding out an intuition 1701# It will help us diagnose broken compilers, and finding out an intuition
1345# of exeext. 1702# of exeext.
1346echo "$as_me:1346: checking for C compiler default output" >&5 1703echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1347echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1704echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1348ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1705ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1349if { (eval echo "$as_me:1349: \"$ac_link_default\"") >&5 1706if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1350 (eval $ac_link_default) 2>&5 1707 (eval $ac_link_default) 2>&5
1351 ac_status=$? 1708 ac_status=$?
1352 echo "$as_me:1352: \$? = $ac_status" >&5 1709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1353 (exit $ac_status); }; then 1710 (exit $ac_status); }; then
1354 # Find the output, starting from the most likely. This scheme is 1711 # Find the output, starting from the most likely. This scheme is
1355# not robust to junk in `.', hence go to wildcards (a.*) only as a last 1712# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1356# resort. 1713# resort.
1357for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1714
1358 ls a.out conftest 2>/dev/null; 1715# Be careful to initialize this variable, since it used to be cached.
1359 ls a.* conftest.* 2>/dev/null`; do 1716# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1717ac_cv_exeext=
1718# b.out is created by i960 compilers.
1719for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1720do
1721 test -f "$ac_file" || continue
1360 case $ac_file in 1722 case $ac_file in
1361 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1723 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1362 a.out ) # We found the default executable, but exeext='' is most 1724 ;;
1363 # certainly right. 1725 conftest.$ac_ext )
1364 break;; 1726 # This is the source file.
1365 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1727 ;;
1366 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1728 [ab].out )
1367 export ac_cv_exeext 1729 # We found the default executable, but exeext='' is most
1368 break;; 1730 # certainly right.
1369 * ) break;; 1731 break;;
1732 *.* )
1733 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1734 # FIXME: I believe we export ac_cv_exeext for Libtool,
1735 # but it would be cool to find out if it's true. Does anybody
1736 # maintain Libtool? --akim.
1737 export ac_cv_exeext
1738 break;;
1739 * )
1740 break;;
1370 esac 1741 esac
1371done 1742done
1372else 1743else
1373 echo "$as_me: failed program was:" >&5 1744 echo "$as_me: failed program was:" >&5
1374cat conftest.$ac_ext >&5 1745sed 's/^/| /' conftest.$ac_ext >&5
1375{ { echo "$as_me:1375: error: C compiler cannot create executables" >&5 1746
1376echo "$as_me: error: C compiler cannot create executables" >&2;} 1747{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1748See \`config.log' for more details." >&5
1749echo "$as_me: error: C compiler cannot create executables
1750See \`config.log' for more details." >&2;}
1377 { (exit 77); exit 77; }; } 1751 { (exit 77); exit 77; }; }
1378fi 1752fi
1379 1753
1380ac_exeext=$ac_cv_exeext 1754ac_exeext=$ac_cv_exeext
1381echo "$as_me:1381: result: $ac_file" >&5 1755echo "$as_me:$LINENO: result: $ac_file" >&5
1382echo "${ECHO_T}$ac_file" >&6 1756echo "${ECHO_T}$ac_file" >&6
1383 1757
1384# Check the compiler produces executables we can run. If not, either 1758# Check the compiler produces executables we can run. If not, either
1385# the compiler is broken, or we cross compile. 1759# the compiler is broken, or we cross compile.
1386echo "$as_me:1386: checking whether the C compiler works" >&5 1760echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1387echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1761echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1388# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1762# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1389# If not cross compiling, check that we can run a simple program. 1763# If not cross compiling, check that we can run a simple program.
1390if test "$cross_compiling" != yes; then 1764if test "$cross_compiling" != yes; then
1391 if { ac_try='./$ac_file' 1765 if { ac_try='./$ac_file'
1392 { (eval echo "$as_me:1392: \"$ac_try\"") >&5 1766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1393 (eval $ac_try) 2>&5 1767 (eval $ac_try) 2>&5
1394 ac_status=$? 1768 ac_status=$?
1395 echo "$as_me:1395: \$? = $ac_status" >&5 1769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1396 (exit $ac_status); }; }; then 1770 (exit $ac_status); }; }; then
1397 cross_compiling=no 1771 cross_compiling=no
1398 else 1772 else
1399 if test "$cross_compiling" = maybe; then 1773 if test "$cross_compiling" = maybe; then
1400 cross_compiling=yes 1774 cross_compiling=yes
1401 else 1775 else
1402 { { echo "$as_me:1402: error: cannot run C compiled programs. 1776 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1403If you meant to cross compile, use \`--host'." >&5 1777If you meant to cross compile, use \`--host'.
1778See \`config.log' for more details." >&5
1404echo "$as_me: error: cannot run C compiled programs. 1779echo "$as_me: error: cannot run C compiled programs.
1405If you meant to cross compile, use \`--host'." >&2;} 1780If you meant to cross compile, use \`--host'.
1781See \`config.log' for more details." >&2;}
1406 { (exit 1); exit 1; }; } 1782 { (exit 1); exit 1; }; }
1407 fi 1783 fi
1408 fi 1784 fi
1409fi 1785fi
1410echo "$as_me:1410: result: yes" >&5 1786echo "$as_me:$LINENO: result: yes" >&5
1411echo "${ECHO_T}yes" >&6 1787echo "${ECHO_T}yes" >&6
1412 1788
1413rm -f a.out a.exe conftest$ac_cv_exeext 1789rm -f a.out a.exe conftest$ac_cv_exeext b.out
1414ac_clean_files=$ac_clean_files_save 1790ac_clean_files=$ac_clean_files_save
1415# Check the compiler produces executables we can run. If not, either 1791# Check the compiler produces executables we can run. If not, either
1416# the compiler is broken, or we cross compile. 1792# the compiler is broken, or we cross compile.
1417echo "$as_me:1417: checking whether we are cross compiling" >&5 1793echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1418echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1794echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1419echo "$as_me:1419: result: $cross_compiling" >&5 1795echo "$as_me:$LINENO: result: $cross_compiling" >&5
1420echo "${ECHO_T}$cross_compiling" >&6 1796echo "${ECHO_T}$cross_compiling" >&6
1421 1797
1422echo "$as_me:1422: checking for executable suffix" >&5 1798echo "$as_me:$LINENO: checking for suffix of executables" >&5
1423echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 1799echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1424if { (eval echo "$as_me:1424: \"$ac_link\"") >&5 1800if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1425 (eval $ac_link) 2>&5 1801 (eval $ac_link) 2>&5
1426 ac_status=$? 1802 ac_status=$?
1427 echo "$as_me:1427: \$? = $ac_status" >&5 1803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1428 (exit $ac_status); }; then 1804 (exit $ac_status); }; then
1429 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1805 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1430# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1806# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1431# work properly (i.e., refer to `conftest.exe'), while it won't with 1807# work properly (i.e., refer to `conftest.exe'), while it won't with
1432# `rm'. 1808# `rm'.
1433for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1809for ac_file in conftest.exe conftest conftest.*; do
1810 test -f "$ac_file" || continue
1434 case $ac_file in 1811 case $ac_file in
1435 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1436 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1813 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1437 export ac_cv_exeext 1814 export ac_cv_exeext
1438 break;; 1815 break;;
1439 * ) break;; 1816 * ) break;;
1440 esac 1817 esac
1441done 1818done
1442else 1819else
1443 { { echo "$as_me:1443: error: cannot compute EXEEXT: cannot compile and link" >&5 1820 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1444echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1821See \`config.log' for more details." >&5
1822echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1823See \`config.log' for more details." >&2;}
1445 { (exit 1); exit 1; }; } 1824 { (exit 1); exit 1; }; }
1446fi 1825fi
1447 1826
1448rm -f conftest$ac_cv_exeext 1827rm -f conftest$ac_cv_exeext
1449echo "$as_me:1449: result: $ac_cv_exeext" >&5 1828echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1450echo "${ECHO_T}$ac_cv_exeext" >&6 1829echo "${ECHO_T}$ac_cv_exeext" >&6
1451 1830
1452rm -f conftest.$ac_ext 1831rm -f conftest.$ac_ext
1453EXEEXT=$ac_cv_exeext 1832EXEEXT=$ac_cv_exeext
1454ac_exeext=$EXEEXT 1833ac_exeext=$EXEEXT
1455echo "$as_me:1455: checking for object suffix" >&5 1834echo "$as_me:$LINENO: checking for suffix of object files" >&5
1456echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 1835echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1457if test "${ac_cv_objext+set}" = set; then 1836if test "${ac_cv_objext+set}" = set; then
1458 echo $ECHO_N "(cached) $ECHO_C" >&6 1837 echo $ECHO_N "(cached) $ECHO_C" >&6
1459else 1838else
1460 cat >conftest.$ac_ext <<_ACEOF 1839 cat >conftest.$ac_ext <<_ACEOF
1461#line 1461 "configure" 1840/* confdefs.h. */
1462#include "confdefs.h" 1841_ACEOF
1842cat confdefs.h >>conftest.$ac_ext
1843cat >>conftest.$ac_ext <<_ACEOF
1844/* end confdefs.h. */
1463 1845
1464int 1846int
1465main () 1847main ()
@@ -1470,40 +1852,46 @@ main ()
1470} 1852}
1471_ACEOF 1853_ACEOF
1472rm -f conftest.o conftest.obj 1854rm -f conftest.o conftest.obj
1473if { (eval echo "$as_me:1473: \"$ac_compile\"") >&5 1855if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1474 (eval $ac_compile) 2>&5 1856 (eval $ac_compile) 2>&5
1475 ac_status=$? 1857 ac_status=$?
1476 echo "$as_me:1476: \$? = $ac_status" >&5 1858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1477 (exit $ac_status); }; then 1859 (exit $ac_status); }; then
1478 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1860 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1479 case $ac_file in 1861 case $ac_file in
1480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1862 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1481 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1863 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1482 break;; 1864 break;;
1483 esac 1865 esac
1484done 1866done
1485else 1867else
1486 echo "$as_me: failed program was:" >&5 1868 echo "$as_me: failed program was:" >&5
1487cat conftest.$ac_ext >&5 1869sed 's/^/| /' conftest.$ac_ext >&5
1488{ { echo "$as_me:1488: error: cannot compute OBJEXT: cannot compile" >&5 1870
1489echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1871{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1872See \`config.log' for more details." >&5
1873echo "$as_me: error: cannot compute suffix of object files: cannot compile
1874See \`config.log' for more details." >&2;}
1490 { (exit 1); exit 1; }; } 1875 { (exit 1); exit 1; }; }
1491fi 1876fi
1492 1877
1493rm -f conftest.$ac_cv_objext conftest.$ac_ext 1878rm -f conftest.$ac_cv_objext conftest.$ac_ext
1494fi 1879fi
1495echo "$as_me:1495: result: $ac_cv_objext" >&5 1880echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1496echo "${ECHO_T}$ac_cv_objext" >&6 1881echo "${ECHO_T}$ac_cv_objext" >&6
1497OBJEXT=$ac_cv_objext 1882OBJEXT=$ac_cv_objext
1498ac_objext=$OBJEXT 1883ac_objext=$OBJEXT
1499echo "$as_me:1499: checking whether we are using the GNU C compiler" >&5 1884echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1500echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1885echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1501if test "${ac_cv_c_compiler_gnu+set}" = set; then 1886if test "${ac_cv_c_compiler_gnu+set}" = set; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6 1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1503else 1888else
1504 cat >conftest.$ac_ext <<_ACEOF 1889 cat >conftest.$ac_ext <<_ACEOF
1505#line 1505 "configure" 1890/* confdefs.h. */
1506#include "confdefs.h" 1891_ACEOF
1892cat confdefs.h >>conftest.$ac_ext
1893cat >>conftest.$ac_ext <<_ACEOF
1894/* end confdefs.h. */
1507 1895
1508int 1896int
1509main () 1897main ()
@@ -1517,41 +1905,55 @@ main ()
1517} 1905}
1518_ACEOF 1906_ACEOF
1519rm -f conftest.$ac_objext 1907rm -f conftest.$ac_objext
1520if { (eval echo "$as_me:1520: \"$ac_compile\"") >&5 1908if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1521 (eval $ac_compile) 2>&5 1909 (eval $ac_compile) 2>conftest.er1
1522 ac_status=$? 1910 ac_status=$?
1523 echo "$as_me:1523: \$? = $ac_status" >&5 1911 grep -v '^ *+' conftest.er1 >conftest.err
1912 rm -f conftest.er1
1913 cat conftest.err >&5
1914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1524 (exit $ac_status); } && 1915 (exit $ac_status); } &&
1525 { ac_try='test -s conftest.$ac_objext' 1916 { ac_try='test -z "$ac_c_werror_flag"
1526 { (eval echo "$as_me:1526: \"$ac_try\"") >&5 1917 || test ! -s conftest.err'
1918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1919 (eval $ac_try) 2>&5
1920 ac_status=$?
1921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1922 (exit $ac_status); }; } &&
1923 { ac_try='test -s conftest.$ac_objext'
1924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1527 (eval $ac_try) 2>&5 1925 (eval $ac_try) 2>&5
1528 ac_status=$? 1926 ac_status=$?
1529 echo "$as_me:1529: \$? = $ac_status" >&5 1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1530 (exit $ac_status); }; }; then 1928 (exit $ac_status); }; }; then
1531 ac_compiler_gnu=yes 1929 ac_compiler_gnu=yes
1532else 1930else
1533 echo "$as_me: failed program was:" >&5 1931 echo "$as_me: failed program was:" >&5
1534cat conftest.$ac_ext >&5 1932sed 's/^/| /' conftest.$ac_ext >&5
1933
1535ac_compiler_gnu=no 1934ac_compiler_gnu=no
1536fi 1935fi
1537rm -f conftest.$ac_objext conftest.$ac_ext 1936rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1538ac_cv_c_compiler_gnu=$ac_compiler_gnu 1937ac_cv_c_compiler_gnu=$ac_compiler_gnu
1539 1938
1540fi 1939fi
1541echo "$as_me:1541: result: $ac_cv_c_compiler_gnu" >&5 1940echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1542echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1941echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1543GCC=`test $ac_compiler_gnu = yes && echo yes` 1942GCC=`test $ac_compiler_gnu = yes && echo yes`
1544ac_test_CFLAGS=${CFLAGS+set} 1943ac_test_CFLAGS=${CFLAGS+set}
1545ac_save_CFLAGS=$CFLAGS 1944ac_save_CFLAGS=$CFLAGS
1546CFLAGS="-g" 1945CFLAGS="-g"
1547echo "$as_me:1547: checking whether $CC accepts -g" >&5 1946echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1548echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1947echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1549if test "${ac_cv_prog_cc_g+set}" = set; then 1948if test "${ac_cv_prog_cc_g+set}" = set; then
1550 echo $ECHO_N "(cached) $ECHO_C" >&6 1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1551else 1950else
1552 cat >conftest.$ac_ext <<_ACEOF 1951 cat >conftest.$ac_ext <<_ACEOF
1553#line 1553 "configure" 1952/* confdefs.h. */
1554#include "confdefs.h" 1953_ACEOF
1954cat confdefs.h >>conftest.$ac_ext
1955cat >>conftest.$ac_ext <<_ACEOF
1956/* end confdefs.h. */
1555 1957
1556int 1958int
1557main () 1959main ()
@@ -1562,26 +1964,37 @@ main ()
1562} 1964}
1563_ACEOF 1965_ACEOF
1564rm -f conftest.$ac_objext 1966rm -f conftest.$ac_objext
1565if { (eval echo "$as_me:1565: \"$ac_compile\"") >&5 1967if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1566 (eval $ac_compile) 2>&5 1968 (eval $ac_compile) 2>conftest.er1
1567 ac_status=$? 1969 ac_status=$?
1568 echo "$as_me:1568: \$? = $ac_status" >&5 1970 grep -v '^ *+' conftest.er1 >conftest.err
1971 rm -f conftest.er1
1972 cat conftest.err >&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1569 (exit $ac_status); } && 1974 (exit $ac_status); } &&
1570 { ac_try='test -s conftest.$ac_objext' 1975 { ac_try='test -z "$ac_c_werror_flag"
1571 { (eval echo "$as_me:1571: \"$ac_try\"") >&5 1976 || test ! -s conftest.err'
1977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1978 (eval $ac_try) 2>&5
1979 ac_status=$?
1980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981 (exit $ac_status); }; } &&
1982 { ac_try='test -s conftest.$ac_objext'
1983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1572 (eval $ac_try) 2>&5 1984 (eval $ac_try) 2>&5
1573 ac_status=$? 1985 ac_status=$?
1574 echo "$as_me:1574: \$? = $ac_status" >&5 1986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1575 (exit $ac_status); }; }; then 1987 (exit $ac_status); }; }; then
1576 ac_cv_prog_cc_g=yes 1988 ac_cv_prog_cc_g=yes
1577else 1989else
1578 echo "$as_me: failed program was:" >&5 1990 echo "$as_me: failed program was:" >&5
1579cat conftest.$ac_ext >&5 1991sed 's/^/| /' conftest.$ac_ext >&5
1992
1580ac_cv_prog_cc_g=no 1993ac_cv_prog_cc_g=no
1581fi 1994fi
1582rm -f conftest.$ac_objext conftest.$ac_ext 1995rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1583fi 1996fi
1584echo "$as_me:1584: result: $ac_cv_prog_cc_g" >&5 1997echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1585echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1998echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1586if test "$ac_test_CFLAGS" = set; then 1999if test "$ac_test_CFLAGS" = set; then
1587 CFLAGS=$ac_save_CFLAGS 2000 CFLAGS=$ac_save_CFLAGS
@@ -1598,6 +2011,121 @@ else
1598 CFLAGS= 2011 CFLAGS=
1599 fi 2012 fi
1600fi 2013fi
2014echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2015echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2016if test "${ac_cv_prog_cc_stdc+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2018else
2019 ac_cv_prog_cc_stdc=no
2020ac_save_CC=$CC
2021cat >conftest.$ac_ext <<_ACEOF
2022/* confdefs.h. */
2023_ACEOF
2024cat confdefs.h >>conftest.$ac_ext
2025cat >>conftest.$ac_ext <<_ACEOF
2026/* end confdefs.h. */
2027#include <stdarg.h>
2028#include <stdio.h>
2029#include <sys/types.h>
2030#include <sys/stat.h>
2031/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2032struct buf { int x; };
2033FILE * (*rcsopen) (struct buf *, struct stat *, int);
2034static char *e (p, i)
2035 char **p;
2036 int i;
2037{
2038 return p[i];
2039}
2040static char *f (char * (*g) (char **, int), char **p, ...)
2041{
2042 char *s;
2043 va_list v;
2044 va_start (v,p);
2045 s = g (p, va_arg (v,int));
2046 va_end (v);
2047 return s;
2048}
2049
2050/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2051 function prototypes and stuff, but not '\xHH' hex character constants.
2052 These don't provoke an error unfortunately, instead are silently treated
2053 as 'x'. The following induces an error, until -std1 is added to get
2054 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2055 array size at least. It's necessary to write '\x00'==0 to get something
2056 that's true only with -std1. */
2057int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2058
2059int test (int i, double x);
2060struct s1 {int (*f) (int a);};
2061struct s2 {int (*f) (double a);};
2062int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2063int argc;
2064char **argv;
2065int
2066main ()
2067{
2068return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2069 ;
2070 return 0;
2071}
2072_ACEOF
2073# Don't try gcc -ansi; that turns off useful extensions and
2074# breaks some systems' header files.
2075# AIX -qlanglvl=ansi
2076# Ultrix and OSF/1 -std1
2077# HP-UX 10.20 and later -Ae
2078# HP-UX older versions -Aa -D_HPUX_SOURCE
2079# SVR4 -Xc -D__EXTENSIONS__
2080for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2081do
2082 CC="$ac_save_CC $ac_arg"
2083 rm -f conftest.$ac_objext
2084if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2085 (eval $ac_compile) 2>conftest.er1
2086 ac_status=$?
2087 grep -v '^ *+' conftest.er1 >conftest.err
2088 rm -f conftest.er1
2089 cat conftest.err >&5
2090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 (exit $ac_status); } &&
2092 { ac_try='test -z "$ac_c_werror_flag"
2093 || test ! -s conftest.err'
2094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 (eval $ac_try) 2>&5
2096 ac_status=$?
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); }; } &&
2099 { ac_try='test -s conftest.$ac_objext'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2101 (eval $ac_try) 2>&5
2102 ac_status=$?
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; }; then
2105 ac_cv_prog_cc_stdc=$ac_arg
2106break
2107else
2108 echo "$as_me: failed program was:" >&5
2109sed 's/^/| /' conftest.$ac_ext >&5
2110
2111fi
2112rm -f conftest.err conftest.$ac_objext
2113done
2114rm -f conftest.$ac_ext conftest.$ac_objext
2115CC=$ac_save_CC
2116
2117fi
2118
2119case "x$ac_cv_prog_cc_stdc" in
2120 x|xno)
2121 echo "$as_me:$LINENO: result: none needed" >&5
2122echo "${ECHO_T}none needed" >&6 ;;
2123 *)
2124 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2125echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2126 CC="$CC $ac_cv_prog_cc_stdc" ;;
2127esac
2128
1601# Some people use a C++ compiler to compile C. Since we use `exit', 2129# Some people use a C++ compiler to compile C. Since we use `exit',
1602# in C++ we need to declare it. In case someone uses the same compiler 2130# in C++ we need to declare it. In case someone uses the same compiler
1603# for both compiling C and C++ we need to have the C++ compiler decide 2131# for both compiling C and C++ we need to have the C++ compiler decide
@@ -1608,20 +2136,29 @@ cat >conftest.$ac_ext <<_ACEOF
1608#endif 2136#endif
1609_ACEOF 2137_ACEOF
1610rm -f conftest.$ac_objext 2138rm -f conftest.$ac_objext
1611if { (eval echo "$as_me:1611: \"$ac_compile\"") >&5 2139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1612 (eval $ac_compile) 2>&5 2140 (eval $ac_compile) 2>conftest.er1
1613 ac_status=$? 2141 ac_status=$?
1614 echo "$as_me:1614: \$? = $ac_status" >&5 2142 grep -v '^ *+' conftest.er1 >conftest.err
2143 rm -f conftest.er1
2144 cat conftest.err >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1615 (exit $ac_status); } && 2146 (exit $ac_status); } &&
1616 { ac_try='test -s conftest.$ac_objext' 2147 { ac_try='test -z "$ac_c_werror_flag"
1617 { (eval echo "$as_me:1617: \"$ac_try\"") >&5 2148 || test ! -s conftest.err'
2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2150 (eval $ac_try) 2>&5
2151 ac_status=$?
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; } &&
2154 { ac_try='test -s conftest.$ac_objext'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1618 (eval $ac_try) 2>&5 2156 (eval $ac_try) 2>&5
1619 ac_status=$? 2157 ac_status=$?
1620 echo "$as_me:1620: \$? = $ac_status" >&5 2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); }; }; then 2159 (exit $ac_status); }; }; then
1622 for ac_declaration in \ 2160 for ac_declaration in \
1623 ''\ 2161 '' \
1624 '#include <stdlib.h>' \
1625 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2162 'extern "C" void std::exit (int) throw (); using std::exit;' \
1626 'extern "C" void std::exit (int); using std::exit;' \ 2163 'extern "C" void std::exit (int); using std::exit;' \
1627 'extern "C" void exit (int) throw ();' \ 2164 'extern "C" void exit (int) throw ();' \
@@ -1629,10 +2166,13 @@ if { (eval echo "$as_me:1611: \"$ac_compile\"") >&5
1629 'void exit (int);' 2166 'void exit (int);'
1630do 2167do
1631 cat >conftest.$ac_ext <<_ACEOF 2168 cat >conftest.$ac_ext <<_ACEOF
1632#line 1632 "configure" 2169/* confdefs.h. */
1633#include "confdefs.h" 2170_ACEOF
1634#include <stdlib.h> 2171cat confdefs.h >>conftest.$ac_ext
2172cat >>conftest.$ac_ext <<_ACEOF
2173/* end confdefs.h. */
1635$ac_declaration 2174$ac_declaration
2175#include <stdlib.h>
1636int 2176int
1637main () 2177main ()
1638{ 2178{
@@ -1642,27 +2182,41 @@ exit (42);
1642} 2182}
1643_ACEOF 2183_ACEOF
1644rm -f conftest.$ac_objext 2184rm -f conftest.$ac_objext
1645if { (eval echo "$as_me:1645: \"$ac_compile\"") >&5 2185if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1646 (eval $ac_compile) 2>&5 2186 (eval $ac_compile) 2>conftest.er1
1647 ac_status=$? 2187 ac_status=$?
1648 echo "$as_me:1648: \$? = $ac_status" >&5 2188 grep -v '^ *+' conftest.er1 >conftest.err
2189 rm -f conftest.er1
2190 cat conftest.err >&5
2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1649 (exit $ac_status); } && 2192 (exit $ac_status); } &&
1650 { ac_try='test -s conftest.$ac_objext' 2193 { ac_try='test -z "$ac_c_werror_flag"
1651 { (eval echo "$as_me:1651: \"$ac_try\"") >&5 2194 || test ! -s conftest.err'
2195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1652 (eval $ac_try) 2>&5 2196 (eval $ac_try) 2>&5
1653 ac_status=$? 2197 ac_status=$?
1654 echo "$as_me:1654: \$? = $ac_status" >&5 2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; } &&
2200 { ac_try='test -s conftest.$ac_objext'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2202 (eval $ac_try) 2>&5
2203 ac_status=$?
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1655 (exit $ac_status); }; }; then 2205 (exit $ac_status); }; }; then
1656 : 2206 :
1657else 2207else
1658 echo "$as_me: failed program was:" >&5 2208 echo "$as_me: failed program was:" >&5
1659cat conftest.$ac_ext >&5 2209sed 's/^/| /' conftest.$ac_ext >&5
2210
1660continue 2211continue
1661fi 2212fi
1662rm -f conftest.$ac_objext conftest.$ac_ext 2213rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1663 cat >conftest.$ac_ext <<_ACEOF 2214 cat >conftest.$ac_ext <<_ACEOF
1664#line 1664 "configure" 2215/* confdefs.h. */
1665#include "confdefs.h" 2216_ACEOF
2217cat confdefs.h >>conftest.$ac_ext
2218cat >>conftest.$ac_ext <<_ACEOF
2219/* end confdefs.h. */
1666$ac_declaration 2220$ac_declaration
1667int 2221int
1668main () 2222main ()
@@ -1673,23 +2227,34 @@ exit (42);
1673} 2227}
1674_ACEOF 2228_ACEOF
1675rm -f conftest.$ac_objext 2229rm -f conftest.$ac_objext
1676if { (eval echo "$as_me:1676: \"$ac_compile\"") >&5 2230if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1677 (eval $ac_compile) 2>&5 2231 (eval $ac_compile) 2>conftest.er1
1678 ac_status=$? 2232 ac_status=$?
1679 echo "$as_me:1679: \$? = $ac_status" >&5 2233 grep -v '^ *+' conftest.er1 >conftest.err
2234 rm -f conftest.er1
2235 cat conftest.err >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1680 (exit $ac_status); } && 2237 (exit $ac_status); } &&
1681 { ac_try='test -s conftest.$ac_objext' 2238 { ac_try='test -z "$ac_c_werror_flag"
1682 { (eval echo "$as_me:1682: \"$ac_try\"") >&5 2239 || test ! -s conftest.err'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2241 (eval $ac_try) 2>&5
2242 ac_status=$?
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; } &&
2245 { ac_try='test -s conftest.$ac_objext'
2246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1683 (eval $ac_try) 2>&5 2247 (eval $ac_try) 2>&5
1684 ac_status=$? 2248 ac_status=$?
1685 echo "$as_me:1685: \$? = $ac_status" >&5 2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1686 (exit $ac_status); }; }; then 2250 (exit $ac_status); }; }; then
1687 break 2251 break
1688else 2252else
1689 echo "$as_me: failed program was:" >&5 2253 echo "$as_me: failed program was:" >&5
1690cat conftest.$ac_ext >&5 2254sed 's/^/| /' conftest.$ac_ext >&5
2255
1691fi 2256fi
1692rm -f conftest.$ac_objext conftest.$ac_ext 2257rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1693done 2258done
1694rm -f conftest* 2259rm -f conftest*
1695if test -n "$ac_declaration"; then 2260if test -n "$ac_declaration"; then
@@ -1700,9 +2265,10 @@ fi
1700 2265
1701else 2266else
1702 echo "$as_me: failed program was:" >&5 2267 echo "$as_me: failed program was:" >&5
1703cat conftest.$ac_ext >&5 2268sed 's/^/| /' conftest.$ac_ext >&5
2269
1704fi 2270fi
1705rm -f conftest.$ac_objext conftest.$ac_ext 2271rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1706ac_ext=c 2272ac_ext=c
1707ac_cpp='$CPP $CPPFLAGS' 2273ac_cpp='$CPP $CPPFLAGS'
1708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -1726,7 +2292,7 @@ for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1726 fi 2292 fi
1727done 2293done
1728if test -z "$ac_aux_dir"; then 2294if test -z "$ac_aux_dir"; then
1729 { { echo "$as_me:1729: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1730echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2296echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1731 { (exit 1); exit 1; }; } 2297 { (exit 1); exit 1; }; }
1732fi 2298fi
@@ -1736,11 +2302,11 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1736 2302
1737# Make sure we can run config.sub. 2303# Make sure we can run config.sub.
1738$ac_config_sub sun4 >/dev/null 2>&1 || 2304$ac_config_sub sun4 >/dev/null 2>&1 ||
1739 { { echo "$as_me:1739: error: cannot run $ac_config_sub" >&5 2305 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1740echo "$as_me: error: cannot run $ac_config_sub" >&2;} 2306echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1741 { (exit 1); exit 1; }; } 2307 { (exit 1); exit 1; }; }
1742 2308
1743echo "$as_me:1743: checking build system type" >&5 2309echo "$as_me:$LINENO: checking build system type" >&5
1744echo $ECHO_N "checking build system type... $ECHO_C" >&6 2310echo $ECHO_N "checking build system type... $ECHO_C" >&6
1745if test "${ac_cv_build+set}" = set; then 2311if test "${ac_cv_build+set}" = set; then
1746 echo $ECHO_N "(cached) $ECHO_C" >&6 2312 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1749,23 +2315,24 @@ else
1749test -z "$ac_cv_build_alias" && 2315test -z "$ac_cv_build_alias" &&
1750 ac_cv_build_alias=`$ac_config_guess` 2316 ac_cv_build_alias=`$ac_config_guess`
1751test -z "$ac_cv_build_alias" && 2317test -z "$ac_cv_build_alias" &&
1752 { { echo "$as_me:1752: error: cannot guess build type; you must specify one" >&5 2318 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1753echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2319echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1754 { (exit 1); exit 1; }; } 2320 { (exit 1); exit 1; }; }
1755ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 2321ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1756 { { echo "$as_me:1756: error: $ac_config_sub $ac_cv_build_alias failed." >&5 2322 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1757echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 2323echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1758 { (exit 1); exit 1; }; } 2324 { (exit 1); exit 1; }; }
1759 2325
1760fi 2326fi
1761echo "$as_me:1761: result: $ac_cv_build" >&5 2327echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1762echo "${ECHO_T}$ac_cv_build" >&6 2328echo "${ECHO_T}$ac_cv_build" >&6
1763build=$ac_cv_build 2329build=$ac_cv_build
1764build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2330build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1765build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2331build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1766build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2332build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1767 2333
1768echo "$as_me:1768: checking host system type" >&5 2334
2335echo "$as_me:$LINENO: checking host system type" >&5
1769echo $ECHO_N "checking host system type... $ECHO_C" >&6 2336echo $ECHO_N "checking host system type... $ECHO_C" >&6
1770if test "${ac_cv_host+set}" = set; then 2337if test "${ac_cv_host+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6 2338 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1774,28 +2341,32 @@ else
1774test -z "$ac_cv_host_alias" && 2341test -z "$ac_cv_host_alias" &&
1775 ac_cv_host_alias=$ac_cv_build_alias 2342 ac_cv_host_alias=$ac_cv_build_alias
1776ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 2343ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1777 { { echo "$as_me:1777: error: $ac_config_sub $ac_cv_host_alias failed" >&5 2344 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1778echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 2345echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1779 { (exit 1); exit 1; }; } 2346 { (exit 1); exit 1; }; }
1780 2347
1781fi 2348fi
1782echo "$as_me:1782: result: $ac_cv_host" >&5 2349echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1783echo "${ECHO_T}$ac_cv_host" >&6 2350echo "${ECHO_T}$ac_cv_host" >&6
1784host=$ac_cv_host 2351host=$ac_cv_host
1785host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` 2352host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1786host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` 2353host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1787host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 2354host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1788 2355
1789echo "$as_me:1789: checking whether byte ordering is bigendian" >&5 2356
2357
2358echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
1790echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 2359echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
1791if test "${ac_cv_c_bigendian+set}" = set; then 2360if test "${ac_cv_c_bigendian+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6 2361 echo $ECHO_N "(cached) $ECHO_C" >&6
1793else 2362else
1794 ac_cv_c_bigendian=unknown 2363 # See if sys/param.h defines the BYTE_ORDER macro.
1795# See if sys/param.h defines the BYTE_ORDER macro.
1796cat >conftest.$ac_ext <<_ACEOF 2364cat >conftest.$ac_ext <<_ACEOF
1797#line 1797 "configure" 2365/* confdefs.h. */
1798#include "confdefs.h" 2366_ACEOF
2367cat confdefs.h >>conftest.$ac_ext
2368cat >>conftest.$ac_ext <<_ACEOF
2369/* end confdefs.h. */
1799#include <sys/types.h> 2370#include <sys/types.h>
1800#include <sys/param.h> 2371#include <sys/param.h>
1801 2372
@@ -1811,21 +2382,34 @@ main ()
1811} 2382}
1812_ACEOF 2383_ACEOF
1813rm -f conftest.$ac_objext 2384rm -f conftest.$ac_objext
1814if { (eval echo "$as_me:1814: \"$ac_compile\"") >&5 2385if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1815 (eval $ac_compile) 2>&5 2386 (eval $ac_compile) 2>conftest.er1
1816 ac_status=$? 2387 ac_status=$?
1817 echo "$as_me:1817: \$? = $ac_status" >&5 2388 grep -v '^ *+' conftest.er1 >conftest.err
2389 rm -f conftest.er1
2390 cat conftest.err >&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1818 (exit $ac_status); } && 2392 (exit $ac_status); } &&
1819 { ac_try='test -s conftest.$ac_objext' 2393 { ac_try='test -z "$ac_c_werror_flag"
1820 { (eval echo "$as_me:1820: \"$ac_try\"") >&5 2394 || test ! -s conftest.err'
2395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2396 (eval $ac_try) 2>&5
2397 ac_status=$?
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); }; } &&
2400 { ac_try='test -s conftest.$ac_objext'
2401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1821 (eval $ac_try) 2>&5 2402 (eval $ac_try) 2>&5
1822 ac_status=$? 2403 ac_status=$?
1823 echo "$as_me:1823: \$? = $ac_status" >&5 2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824 (exit $ac_status); }; }; then 2405 (exit $ac_status); }; }; then
1825 # It does; now see whether it defined to BIG_ENDIAN or not. 2406 # It does; now see whether it defined to BIG_ENDIAN or not.
1826cat >conftest.$ac_ext <<_ACEOF 2407cat >conftest.$ac_ext <<_ACEOF
1827#line 1827 "configure" 2408/* confdefs.h. */
1828#include "confdefs.h" 2409_ACEOF
2410cat confdefs.h >>conftest.$ac_ext
2411cat >>conftest.$ac_ext <<_ACEOF
2412/* end confdefs.h. */
1829#include <sys/types.h> 2413#include <sys/types.h>
1830#include <sys/param.h> 2414#include <sys/param.h>
1831 2415
@@ -1841,38 +2425,109 @@ main ()
1841} 2425}
1842_ACEOF 2426_ACEOF
1843rm -f conftest.$ac_objext 2427rm -f conftest.$ac_objext
1844if { (eval echo "$as_me:1844: \"$ac_compile\"") >&5 2428if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1845 (eval $ac_compile) 2>&5 2429 (eval $ac_compile) 2>conftest.er1
1846 ac_status=$? 2430 ac_status=$?
1847 echo "$as_me:1847: \$? = $ac_status" >&5 2431 grep -v '^ *+' conftest.er1 >conftest.err
2432 rm -f conftest.er1
2433 cat conftest.err >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); } && 2435 (exit $ac_status); } &&
1849 { ac_try='test -s conftest.$ac_objext' 2436 { ac_try='test -z "$ac_c_werror_flag"
1850 { (eval echo "$as_me:1850: \"$ac_try\"") >&5 2437 || test ! -s conftest.err'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1851 (eval $ac_try) 2>&5 2439 (eval $ac_try) 2>&5
1852 ac_status=$? 2440 ac_status=$?
1853 echo "$as_me:1853: \$? = $ac_status" >&5 2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; } &&
2443 { ac_try='test -s conftest.$ac_objext'
2444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445 (eval $ac_try) 2>&5
2446 ac_status=$?
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1854 (exit $ac_status); }; }; then 2448 (exit $ac_status); }; }; then
1855 ac_cv_c_bigendian=yes 2449 ac_cv_c_bigendian=yes
1856else 2450else
1857 echo "$as_me: failed program was:" >&5 2451 echo "$as_me: failed program was:" >&5
1858cat conftest.$ac_ext >&5 2452sed 's/^/| /' conftest.$ac_ext >&5
2453
1859ac_cv_c_bigendian=no 2454ac_cv_c_bigendian=no
1860fi 2455fi
1861rm -f conftest.$ac_objext conftest.$ac_ext 2456rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1862else 2457else
1863 echo "$as_me: failed program was:" >&5 2458 echo "$as_me: failed program was:" >&5
1864cat conftest.$ac_ext >&5 2459sed 's/^/| /' conftest.$ac_ext >&5
1865fi 2460
1866rm -f conftest.$ac_objext conftest.$ac_ext 2461# It does not; compile a test program.
1867if test $ac_cv_c_bigendian = unknown; then
1868if test "$cross_compiling" = yes; then 2462if test "$cross_compiling" = yes; then
1869 { { echo "$as_me:1869: error: cannot run test program while cross compiling" >&5 2463 # try to guess the endianness by grepping values into an object file
1870echo "$as_me: error: cannot run test program while cross compiling" >&2;} 2464 ac_cv_c_bigendian=unknown
1871 { (exit 1); exit 1; }; } 2465 cat >conftest.$ac_ext <<_ACEOF
2466/* confdefs.h. */
2467_ACEOF
2468cat confdefs.h >>conftest.$ac_ext
2469cat >>conftest.$ac_ext <<_ACEOF
2470/* end confdefs.h. */
2471short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2472short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2473void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2474short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2475short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2476void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2477int
2478main ()
2479{
2480 _ascii (); _ebcdic ();
2481 ;
2482 return 0;
2483}
2484_ACEOF
2485rm -f conftest.$ac_objext
2486if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487 (eval $ac_compile) 2>conftest.er1
2488 ac_status=$?
2489 grep -v '^ *+' conftest.er1 >conftest.err
2490 rm -f conftest.er1
2491 cat conftest.err >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); } &&
2494 { ac_try='test -z "$ac_c_werror_flag"
2495 || test ! -s conftest.err'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497 (eval $ac_try) 2>&5
2498 ac_status=$?
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; } &&
2501 { ac_try='test -s conftest.$ac_objext'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503 (eval $ac_try) 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2507 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
2508 ac_cv_c_bigendian=yes
2509fi
2510if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
2511 if test "$ac_cv_c_bigendian" = unknown; then
2512 ac_cv_c_bigendian=no
2513 else
2514 # finding both strings is unlikely to happen, but who knows?
2515 ac_cv_c_bigendian=unknown
2516 fi
2517fi
2518else
2519 echo "$as_me: failed program was:" >&5
2520sed 's/^/| /' conftest.$ac_ext >&5
2521
2522fi
2523rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1872else 2524else
1873 cat >conftest.$ac_ext <<_ACEOF 2525 cat >conftest.$ac_ext <<_ACEOF
1874#line 1874 "configure" 2526/* confdefs.h. */
1875#include "confdefs.h" 2527_ACEOF
2528cat confdefs.h >>conftest.$ac_ext
2529cat >>conftest.$ac_ext <<_ACEOF
2530/* end confdefs.h. */
1876int 2531int
1877main () 2532main ()
1878{ 2533{
@@ -1887,43 +2542,56 @@ main ()
1887} 2542}
1888_ACEOF 2543_ACEOF
1889rm -f conftest$ac_exeext 2544rm -f conftest$ac_exeext
1890if { (eval echo "$as_me:1890: \"$ac_link\"") >&5 2545if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1891 (eval $ac_link) 2>&5 2546 (eval $ac_link) 2>&5
1892 ac_status=$? 2547 ac_status=$?
1893 echo "$as_me:1893: \$? = $ac_status" >&5 2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1895 { (eval echo "$as_me:1895: \"$ac_try\"") >&5 2550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1896 (eval $ac_try) 2>&5 2551 (eval $ac_try) 2>&5
1897 ac_status=$? 2552 ac_status=$?
1898 echo "$as_me:1898: \$? = $ac_status" >&5 2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 (exit $ac_status); }; }; then 2554 (exit $ac_status); }; }; then
1900 ac_cv_c_bigendian=no 2555 ac_cv_c_bigendian=no
1901else 2556else
1902 echo "$as_me: program exited with status $ac_status" >&5 2557 echo "$as_me: program exited with status $ac_status" >&5
1903echo "$as_me: failed program was:" >&5 2558echo "$as_me: failed program was:" >&5
1904cat conftest.$ac_ext >&5 2559sed 's/^/| /' conftest.$ac_ext >&5
2560
2561( exit $ac_status )
1905ac_cv_c_bigendian=yes 2562ac_cv_c_bigendian=yes
1906fi 2563fi
1907rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2564rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1908fi 2565fi
1909fi 2566fi
2567rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1910fi 2568fi
1911echo "$as_me:1911: result: $ac_cv_c_bigendian" >&5 2569echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
1912echo "${ECHO_T}$ac_cv_c_bigendian" >&6 2570echo "${ECHO_T}$ac_cv_c_bigendian" >&6
1913if test $ac_cv_c_bigendian = yes; then 2571case $ac_cv_c_bigendian in
2572 yes)
1914 2573
1915cat >>confdefs.h <<\EOF 2574cat >>confdefs.h <<\_ACEOF
1916#define WORDS_BIGENDIAN 1 2575#define WORDS_BIGENDIAN 1
1917EOF 2576_ACEOF
2577 ;;
2578 no)
2579 ;;
2580 *)
2581 { { echo "$as_me:$LINENO: error: unknown endianness
2582presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2583echo "$as_me: error: unknown endianness
2584presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2585 { (exit 1); exit 1; }; } ;;
2586esac
1918 2587
1919fi
1920 2588
1921# Checks for programs. 2589# Checks for programs.
1922for ac_prog in mawk gawk nawk awk 2590for ac_prog in gawk mawk nawk awk
1923do 2591do
1924 # Extract the first word of "$ac_prog", so it can be a program name with args. 2592 # Extract the first word of "$ac_prog", so it can be a program name with args.
1925set dummy $ac_prog; ac_word=$2 2593set dummy $ac_prog; ac_word=$2
1926echo "$as_me:1926: checking for $ac_word" >&5 2594echo "$as_me:$LINENO: checking for $ac_word" >&5
1927echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1928if test "${ac_cv_prog_AWK+set}" = set; then 2596if test "${ac_cv_prog_AWK+set}" = set; then
1929 echo $ECHO_N "(cached) $ECHO_C" >&6 2597 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -1931,25 +2599,28 @@ else
1931 if test -n "$AWK"; then 2599 if test -n "$AWK"; then
1932 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2600 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1933else 2601else
1934 ac_save_IFS=$IFS; IFS=$ac_path_separator 2602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935ac_dummy="$PATH" 2603for as_dir in $PATH
1936for ac_dir in $ac_dummy; do 2604do
1937 IFS=$ac_save_IFS 2605 IFS=$as_save_IFS
1938 test -z "$ac_dir" && ac_dir=. 2606 test -z "$as_dir" && as_dir=.
1939 $as_executable_p "$ac_dir/$ac_word" || continue 2607 for ac_exec_ext in '' $ac_executable_extensions; do
1940ac_cv_prog_AWK="$ac_prog" 2608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1941echo "$as_me:1941: found $ac_dir/$ac_word" >&5 2609 ac_cv_prog_AWK="$ac_prog"
1942break 2610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 break 2
2612 fi
2613done
1943done 2614done
1944 2615
1945fi 2616fi
1946fi 2617fi
1947AWK=$ac_cv_prog_AWK 2618AWK=$ac_cv_prog_AWK
1948if test -n "$AWK"; then 2619if test -n "$AWK"; then
1949 echo "$as_me:1949: result: $AWK" >&5 2620 echo "$as_me:$LINENO: result: $AWK" >&5
1950echo "${ECHO_T}$AWK" >&6 2621echo "${ECHO_T}$AWK" >&6
1951else 2622else
1952 echo "$as_me:1952: result: no" >&5 2623 echo "$as_me:$LINENO: result: no" >&5
1953echo "${ECHO_T}no" >&6 2624echo "${ECHO_T}no" >&6
1954fi 2625fi
1955 2626
@@ -1961,7 +2632,7 @@ ac_cpp='$CPP $CPPFLAGS'
1961ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1962ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1963ac_compiler_gnu=$ac_cv_c_compiler_gnu 2634ac_compiler_gnu=$ac_cv_c_compiler_gnu
1964echo "$as_me:1964: checking how to run the C preprocessor" >&5 2635echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
1965echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 2636echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1966# On Suns, sometimes $CPP names a directory. 2637# On Suns, sometimes $CPP names a directory.
1967if test -n "$CPP" && test -d "$CPP"; then 2638if test -n "$CPP" && test -d "$CPP"; then
@@ -1979,24 +2650,34 @@ for ac_c_preproc_warn_flag in '' yes
1979do 2650do
1980 # Use a header file that comes with gcc, so configuring glibc 2651 # Use a header file that comes with gcc, so configuring glibc
1981 # with a fresh cross-compiler works. 2652 # with a fresh cross-compiler works.
2653 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2654 # <limits.h> exists even on freestanding compilers.
1982 # On the NeXT, cc -E runs the code through the compiler's parser, 2655 # On the NeXT, cc -E runs the code through the compiler's parser,
1983 # not just through cpp. "Syntax error" is here to catch this case. 2656 # not just through cpp. "Syntax error" is here to catch this case.
1984 cat >conftest.$ac_ext <<_ACEOF 2657 cat >conftest.$ac_ext <<_ACEOF
1985#line 1985 "configure" 2658/* confdefs.h. */
1986#include "confdefs.h"
1987#include <assert.h>
1988 Syntax error
1989_ACEOF 2659_ACEOF
1990if { (eval echo "$as_me:1990: \"$ac_cpp conftest.$ac_ext\"") >&5 2660cat confdefs.h >>conftest.$ac_ext
2661cat >>conftest.$ac_ext <<_ACEOF
2662/* end confdefs.h. */
2663#ifdef __STDC__
2664# include <limits.h>
2665#else
2666# include <assert.h>
2667#endif
2668 Syntax error
2669_ACEOF
2670if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2671 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1992 ac_status=$? 2672 ac_status=$?
1993 egrep -v '^ *\+' conftest.er1 >conftest.err 2673 grep -v '^ *+' conftest.er1 >conftest.err
1994 rm -f conftest.er1 2674 rm -f conftest.er1
1995 cat conftest.err >&5 2675 cat conftest.err >&5
1996 echo "$as_me:1996: \$? = $ac_status" >&5 2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); } >/dev/null; then 2677 (exit $ac_status); } >/dev/null; then
1998 if test -s conftest.err; then 2678 if test -s conftest.err; then
1999 ac_cpp_err=$ac_c_preproc_warn_flag 2679 ac_cpp_err=$ac_c_preproc_warn_flag
2680 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2000 else 2681 else
2001 ac_cpp_err= 2682 ac_cpp_err=
2002 fi 2683 fi
@@ -2007,7 +2688,8 @@ if test -z "$ac_cpp_err"; then
2007 : 2688 :
2008else 2689else
2009 echo "$as_me: failed program was:" >&5 2690 echo "$as_me: failed program was:" >&5
2010 cat conftest.$ac_ext >&5 2691sed 's/^/| /' conftest.$ac_ext >&5
2692
2011 # Broken: fails on valid input. 2693 # Broken: fails on valid input.
2012continue 2694continue
2013fi 2695fi
@@ -2016,20 +2698,24 @@ rm -f conftest.err conftest.$ac_ext
2016 # OK, works on sane cases. Now check whether non-existent headers 2698 # OK, works on sane cases. Now check whether non-existent headers
2017 # can be detected and how. 2699 # can be detected and how.
2018 cat >conftest.$ac_ext <<_ACEOF 2700 cat >conftest.$ac_ext <<_ACEOF
2019#line 2019 "configure" 2701/* confdefs.h. */
2020#include "confdefs.h" 2702_ACEOF
2703cat confdefs.h >>conftest.$ac_ext
2704cat >>conftest.$ac_ext <<_ACEOF
2705/* end confdefs.h. */
2021#include <ac_nonexistent.h> 2706#include <ac_nonexistent.h>
2022_ACEOF 2707_ACEOF
2023if { (eval echo "$as_me:2023: \"$ac_cpp conftest.$ac_ext\"") >&5 2708if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2709 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2025 ac_status=$? 2710 ac_status=$?
2026 egrep -v '^ *\+' conftest.er1 >conftest.err 2711 grep -v '^ *+' conftest.er1 >conftest.err
2027 rm -f conftest.er1 2712 rm -f conftest.er1
2028 cat conftest.err >&5 2713 cat conftest.err >&5
2029 echo "$as_me:2029: \$? = $ac_status" >&5 2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); } >/dev/null; then 2715 (exit $ac_status); } >/dev/null; then
2031 if test -s conftest.err; then 2716 if test -s conftest.err; then
2032 ac_cpp_err=$ac_c_preproc_warn_flag 2717 ac_cpp_err=$ac_c_preproc_warn_flag
2718 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2033 else 2719 else
2034 ac_cpp_err= 2720 ac_cpp_err=
2035 fi 2721 fi
@@ -2041,7 +2727,8 @@ if test -z "$ac_cpp_err"; then
2041continue 2727continue
2042else 2728else
2043 echo "$as_me: failed program was:" >&5 2729 echo "$as_me: failed program was:" >&5
2044 cat conftest.$ac_ext >&5 2730sed 's/^/| /' conftest.$ac_ext >&5
2731
2045 # Passes both tests. 2732 # Passes both tests.
2046ac_preproc_ok=: 2733ac_preproc_ok=:
2047break 2734break
@@ -2063,31 +2750,41 @@ fi
2063else 2750else
2064 ac_cv_prog_CPP=$CPP 2751 ac_cv_prog_CPP=$CPP
2065fi 2752fi
2066echo "$as_me:2066: result: $CPP" >&5 2753echo "$as_me:$LINENO: result: $CPP" >&5
2067echo "${ECHO_T}$CPP" >&6 2754echo "${ECHO_T}$CPP" >&6
2068ac_preproc_ok=false 2755ac_preproc_ok=false
2069for ac_c_preproc_warn_flag in '' yes 2756for ac_c_preproc_warn_flag in '' yes
2070do 2757do
2071 # Use a header file that comes with gcc, so configuring glibc 2758 # Use a header file that comes with gcc, so configuring glibc
2072 # with a fresh cross-compiler works. 2759 # with a fresh cross-compiler works.
2760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2761 # <limits.h> exists even on freestanding compilers.
2073 # On the NeXT, cc -E runs the code through the compiler's parser, 2762 # On the NeXT, cc -E runs the code through the compiler's parser,
2074 # not just through cpp. "Syntax error" is here to catch this case. 2763 # not just through cpp. "Syntax error" is here to catch this case.
2075 cat >conftest.$ac_ext <<_ACEOF 2764 cat >conftest.$ac_ext <<_ACEOF
2076#line 2076 "configure" 2765/* confdefs.h. */
2077#include "confdefs.h"
2078#include <assert.h>
2079 Syntax error
2080_ACEOF 2766_ACEOF
2081if { (eval echo "$as_me:2081: \"$ac_cpp conftest.$ac_ext\"") >&5 2767cat confdefs.h >>conftest.$ac_ext
2768cat >>conftest.$ac_ext <<_ACEOF
2769/* end confdefs.h. */
2770#ifdef __STDC__
2771# include <limits.h>
2772#else
2773# include <assert.h>
2774#endif
2775 Syntax error
2776_ACEOF
2777if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2083 ac_status=$? 2779 ac_status=$?
2084 egrep -v '^ *\+' conftest.er1 >conftest.err 2780 grep -v '^ *+' conftest.er1 >conftest.err
2085 rm -f conftest.er1 2781 rm -f conftest.er1
2086 cat conftest.err >&5 2782 cat conftest.err >&5
2087 echo "$as_me:2087: \$? = $ac_status" >&5 2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); } >/dev/null; then 2784 (exit $ac_status); } >/dev/null; then
2089 if test -s conftest.err; then 2785 if test -s conftest.err; then
2090 ac_cpp_err=$ac_c_preproc_warn_flag 2786 ac_cpp_err=$ac_c_preproc_warn_flag
2787 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2091 else 2788 else
2092 ac_cpp_err= 2789 ac_cpp_err=
2093 fi 2790 fi
@@ -2098,7 +2795,8 @@ if test -z "$ac_cpp_err"; then
2098 : 2795 :
2099else 2796else
2100 echo "$as_me: failed program was:" >&5 2797 echo "$as_me: failed program was:" >&5
2101 cat conftest.$ac_ext >&5 2798sed 's/^/| /' conftest.$ac_ext >&5
2799
2102 # Broken: fails on valid input. 2800 # Broken: fails on valid input.
2103continue 2801continue
2104fi 2802fi
@@ -2107,20 +2805,24 @@ rm -f conftest.err conftest.$ac_ext
2107 # OK, works on sane cases. Now check whether non-existent headers 2805 # OK, works on sane cases. Now check whether non-existent headers
2108 # can be detected and how. 2806 # can be detected and how.
2109 cat >conftest.$ac_ext <<_ACEOF 2807 cat >conftest.$ac_ext <<_ACEOF
2110#line 2110 "configure" 2808/* confdefs.h. */
2111#include "confdefs.h" 2809_ACEOF
2810cat confdefs.h >>conftest.$ac_ext
2811cat >>conftest.$ac_ext <<_ACEOF
2812/* end confdefs.h. */
2112#include <ac_nonexistent.h> 2813#include <ac_nonexistent.h>
2113_ACEOF 2814_ACEOF
2114if { (eval echo "$as_me:2114: \"$ac_cpp conftest.$ac_ext\"") >&5 2815if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2816 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2116 ac_status=$? 2817 ac_status=$?
2117 egrep -v '^ *\+' conftest.er1 >conftest.err 2818 grep -v '^ *+' conftest.er1 >conftest.err
2118 rm -f conftest.er1 2819 rm -f conftest.er1
2119 cat conftest.err >&5 2820 cat conftest.err >&5
2120 echo "$as_me:2120: \$? = $ac_status" >&5 2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); } >/dev/null; then 2822 (exit $ac_status); } >/dev/null; then
2122 if test -s conftest.err; then 2823 if test -s conftest.err; then
2123 ac_cpp_err=$ac_c_preproc_warn_flag 2824 ac_cpp_err=$ac_c_preproc_warn_flag
2825 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2124 else 2826 else
2125 ac_cpp_err= 2827 ac_cpp_err=
2126 fi 2828 fi
@@ -2132,7 +2834,8 @@ if test -z "$ac_cpp_err"; then
2132continue 2834continue
2133else 2835else
2134 echo "$as_me: failed program was:" >&5 2836 echo "$as_me: failed program was:" >&5
2135 cat conftest.$ac_ext >&5 2837sed 's/^/| /' conftest.$ac_ext >&5
2838
2136 # Passes both tests. 2839 # Passes both tests.
2137ac_preproc_ok=: 2840ac_preproc_ok=:
2138break 2841break
@@ -2145,8 +2848,10 @@ rm -f conftest.err conftest.$ac_ext
2145if $ac_preproc_ok; then 2848if $ac_preproc_ok; then
2146 : 2849 :
2147else 2850else
2148 { { echo "$as_me:2148: error: C preprocessor \"$CPP\" fails sanity check" >&5 2851 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2149echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2852See \`config.log' for more details." >&5
2853echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2854See \`config.log' for more details." >&2;}
2150 { (exit 1); exit 1; }; } 2855 { (exit 1); exit 1; }; }
2151fi 2856fi
2152 2857
@@ -2159,7 +2864,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2159if test -n "$ac_tool_prefix"; then 2864if test -n "$ac_tool_prefix"; then
2160 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2865 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2161set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2866set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2162echo "$as_me:2162: checking for $ac_word" >&5 2867echo "$as_me:$LINENO: checking for $ac_word" >&5
2163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2868echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2164if test "${ac_cv_prog_RANLIB+set}" = set; then 2869if test "${ac_cv_prog_RANLIB+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6 2870 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2167,25 +2872,28 @@ else
2167 if test -n "$RANLIB"; then 2872 if test -n "$RANLIB"; then
2168 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2873 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2169else 2874else
2170 ac_save_IFS=$IFS; IFS=$ac_path_separator 2875as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2171ac_dummy="$PATH" 2876for as_dir in $PATH
2172for ac_dir in $ac_dummy; do 2877do
2173 IFS=$ac_save_IFS 2878 IFS=$as_save_IFS
2174 test -z "$ac_dir" && ac_dir=. 2879 test -z "$as_dir" && as_dir=.
2175 $as_executable_p "$ac_dir/$ac_word" || continue 2880 for ac_exec_ext in '' $ac_executable_extensions; do
2176ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2177echo "$as_me:2177: found $ac_dir/$ac_word" >&5 2882 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2178break 2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 break 2
2885 fi
2886done
2179done 2887done
2180 2888
2181fi 2889fi
2182fi 2890fi
2183RANLIB=$ac_cv_prog_RANLIB 2891RANLIB=$ac_cv_prog_RANLIB
2184if test -n "$RANLIB"; then 2892if test -n "$RANLIB"; then
2185 echo "$as_me:2185: result: $RANLIB" >&5 2893 echo "$as_me:$LINENO: result: $RANLIB" >&5
2186echo "${ECHO_T}$RANLIB" >&6 2894echo "${ECHO_T}$RANLIB" >&6
2187else 2895else
2188 echo "$as_me:2188: result: no" >&5 2896 echo "$as_me:$LINENO: result: no" >&5
2189echo "${ECHO_T}no" >&6 2897echo "${ECHO_T}no" >&6
2190fi 2898fi
2191 2899
@@ -2194,7 +2902,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
2194 ac_ct_RANLIB=$RANLIB 2902 ac_ct_RANLIB=$RANLIB
2195 # Extract the first word of "ranlib", so it can be a program name with args. 2903 # Extract the first word of "ranlib", so it can be a program name with args.
2196set dummy ranlib; ac_word=$2 2904set dummy ranlib; ac_word=$2
2197echo "$as_me:2197: checking for $ac_word" >&5 2905echo "$as_me:$LINENO: checking for $ac_word" >&5
2198echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2906echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 2907if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6 2908 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2202,15 +2910,18 @@ else
2202 if test -n "$ac_ct_RANLIB"; then 2910 if test -n "$ac_ct_RANLIB"; then
2203 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2911 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2204else 2912else
2205 ac_save_IFS=$IFS; IFS=$ac_path_separator 2913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206ac_dummy="$PATH" 2914for as_dir in $PATH
2207for ac_dir in $ac_dummy; do 2915do
2208 IFS=$ac_save_IFS 2916 IFS=$as_save_IFS
2209 test -z "$ac_dir" && ac_dir=. 2917 test -z "$as_dir" && as_dir=.
2210 $as_executable_p "$ac_dir/$ac_word" || continue 2918 for ac_exec_ext in '' $ac_executable_extensions; do
2211ac_cv_prog_ac_ct_RANLIB="ranlib" 2919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212echo "$as_me:2212: found $ac_dir/$ac_word" >&5 2920 ac_cv_prog_ac_ct_RANLIB="ranlib"
2213break 2921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 break 2
2923 fi
2924done
2214done 2925done
2215 2926
2216 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" 2927 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
@@ -2218,10 +2929,10 @@ fi
2218fi 2929fi
2219ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2930ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2220if test -n "$ac_ct_RANLIB"; then 2931if test -n "$ac_ct_RANLIB"; then
2221 echo "$as_me:2221: result: $ac_ct_RANLIB" >&5 2932 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2222echo "${ECHO_T}$ac_ct_RANLIB" >&6 2933echo "${ECHO_T}$ac_ct_RANLIB" >&6
2223else 2934else
2224 echo "$as_me:2224: result: no" >&5 2935 echo "$as_me:$LINENO: result: no" >&5
2225echo "${ECHO_T}no" >&6 2936echo "${ECHO_T}no" >&6
2226fi 2937fi
2227 2938
@@ -2241,44 +2952,51 @@ fi
2241# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2952# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2242# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2953# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2243# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2954# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2955# OS/2's system install, which has a completely different semantic
2244# ./install, which can be erroneously created by make from ./install.sh. 2956# ./install, which can be erroneously created by make from ./install.sh.
2245echo "$as_me:2245: checking for a BSD compatible install" >&5 2957echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2246echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 2958echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2247if test -z "$INSTALL"; then 2959if test -z "$INSTALL"; then
2248if test "${ac_cv_path_install+set}" = set; then 2960if test "${ac_cv_path_install+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6 2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2250else 2962else
2251 ac_save_IFS=$IFS; IFS=$ac_path_separator 2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for ac_dir in $PATH; do 2964for as_dir in $PATH
2253 IFS=$ac_save_IFS 2965do
2254 # Account for people who put trailing slashes in PATH elements. 2966 IFS=$as_save_IFS
2255 case $ac_dir/ in 2967 test -z "$as_dir" && as_dir=.
2256 / | ./ | .// | /cC/* \ 2968 # Account for people who put trailing slashes in PATH elements.
2257 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 2969case $as_dir/ in
2258 | /usr/ucb/* ) ;; 2970 ./ | .// | /cC/* | \
2259 *) 2971 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2260 # OSF1 and SCO ODT 3.0 have their own names for install. 2972 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2261 # Don't use installbsd from OSF since it installs stuff as root 2973 /usr/ucb/* ) ;;
2262 # by default. 2974 *)
2263 for ac_prog in ginstall scoinst install; do 2975 # OSF1 and SCO ODT 3.0 have their own names for install.
2264 if $as_executable_p "$ac_dir/$ac_prog"; then 2976 # Don't use installbsd from OSF since it installs stuff as root
2977 # by default.
2978 for ac_prog in ginstall scoinst install; do
2979 for ac_exec_ext in '' $ac_executable_extensions; do
2980 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2265 if test $ac_prog = install && 2981 if test $ac_prog = install &&
2266 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2982 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2267 # AIX install. It has an incompatible calling convention. 2983 # AIX install. It has an incompatible calling convention.
2268 : 2984 :
2269 elif test $ac_prog = install && 2985 elif test $ac_prog = install &&
2270 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 2986 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2271 # program-specific install script used by HP pwplus--don't use. 2987 # program-specific install script used by HP pwplus--don't use.
2272 : 2988 :
2273 else 2989 else
2274 ac_cv_path_install="$ac_dir/$ac_prog -c" 2990 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2275 break 2 2991 break 3
2276 fi 2992 fi
2277 fi 2993 fi
2278 done 2994 done
2279 ;; 2995 done
2280 esac 2996 ;;
2281 done 2997esac
2998done
2999
2282 3000
2283fi 3001fi
2284 if test "${ac_cv_path_install+set}" = set; then 3002 if test "${ac_cv_path_install+set}" = set; then
@@ -2291,7 +3009,7 @@ fi
2291 INSTALL=$ac_install_sh 3009 INSTALL=$ac_install_sh
2292 fi 3010 fi
2293fi 3011fi
2294echo "$as_me:2294: result: $INSTALL" >&5 3012echo "$as_me:$LINENO: result: $INSTALL" >&5
2295echo "${ECHO_T}$INSTALL" >&6 3013echo "${ECHO_T}$INSTALL" >&6
2296 3014
2297# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3015# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
@@ -2304,7 +3022,7 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2304 3022
2305# Extract the first word of "ar", so it can be a program name with args. 3023# Extract the first word of "ar", so it can be a program name with args.
2306set dummy ar; ac_word=$2 3024set dummy ar; ac_word=$2
2307echo "$as_me:2307: checking for $ac_word" >&5 3025echo "$as_me:$LINENO: checking for $ac_word" >&5
2308echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3026echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2309if test "${ac_cv_path_AR+set}" = set; then 3027if test "${ac_cv_path_AR+set}" = set; then
2310 echo $ECHO_N "(cached) $ECHO_C" >&6 3028 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2314,16 +3032,18 @@ else
2314 ac_cv_path_AR="$AR" # Let the user override the test with a path. 3032 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2315 ;; 3033 ;;
2316 *) 3034 *)
2317 ac_save_IFS=$IFS; IFS=$ac_path_separator 3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318ac_dummy="$PATH" 3036for as_dir in $PATH
2319for ac_dir in $ac_dummy; do 3037do
2320 IFS=$ac_save_IFS 3038 IFS=$as_save_IFS
2321 test -z "$ac_dir" && ac_dir=. 3039 test -z "$as_dir" && as_dir=.
2322 if $as_executable_p "$ac_dir/$ac_word"; then 3040 for ac_exec_ext in '' $ac_executable_extensions; do
2323 ac_cv_path_AR="$ac_dir/$ac_word" 3041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 echo "$as_me:2324: found $ac_dir/$ac_word" >&5 3042 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
2325 break 3043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326fi 3044 break 2
3045 fi
3046done
2327done 3047done
2328 3048
2329 ;; 3049 ;;
@@ -2332,10 +3052,88 @@ fi
2332AR=$ac_cv_path_AR 3052AR=$ac_cv_path_AR
2333 3053
2334if test -n "$AR"; then 3054if test -n "$AR"; then
2335 echo "$as_me:2335: result: $AR" >&5 3055 echo "$as_me:$LINENO: result: $AR" >&5
2336echo "${ECHO_T}$AR" >&6 3056echo "${ECHO_T}$AR" >&6
2337else 3057else
2338 echo "$as_me:2338: result: no" >&5 3058 echo "$as_me:$LINENO: result: no" >&5
3059echo "${ECHO_T}no" >&6
3060fi
3061
3062# Extract the first word of "cat", so it can be a program name with args.
3063set dummy cat; ac_word=$2
3064echo "$as_me:$LINENO: checking for $ac_word" >&5
3065echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3066if test "${ac_cv_path_CAT+set}" = set; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3068else
3069 case $CAT in
3070 [\\/]* | ?:[\\/]*)
3071 ac_cv_path_CAT="$CAT" # Let the user override the test with a path.
3072 ;;
3073 *)
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075for as_dir in $PATH
3076do
3077 IFS=$as_save_IFS
3078 test -z "$as_dir" && as_dir=.
3079 for ac_exec_ext in '' $ac_executable_extensions; do
3080 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3081 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
3082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 break 2
3084 fi
3085done
3086done
3087
3088 ;;
3089esac
3090fi
3091CAT=$ac_cv_path_CAT
3092
3093if test -n "$CAT"; then
3094 echo "$as_me:$LINENO: result: $CAT" >&5
3095echo "${ECHO_T}$CAT" >&6
3096else
3097 echo "$as_me:$LINENO: result: no" >&5
3098echo "${ECHO_T}no" >&6
3099fi
3100
3101# Extract the first word of "kill", so it can be a program name with args.
3102set dummy kill; ac_word=$2
3103echo "$as_me:$LINENO: checking for $ac_word" >&5
3104echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3105if test "${ac_cv_path_KILL+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3107else
3108 case $KILL in
3109 [\\/]* | ?:[\\/]*)
3110 ac_cv_path_KILL="$KILL" # Let the user override the test with a path.
3111 ;;
3112 *)
3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114for as_dir in $PATH
3115do
3116 IFS=$as_save_IFS
3117 test -z "$as_dir" && as_dir=.
3118 for ac_exec_ext in '' $ac_executable_extensions; do
3119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext"
3121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 break 2
3123 fi
3124done
3125done
3126
3127 ;;
3128esac
3129fi
3130KILL=$ac_cv_path_KILL
3131
3132if test -n "$KILL"; then
3133 echo "$as_me:$LINENO: result: $KILL" >&5
3134echo "${ECHO_T}$KILL" >&6
3135else
3136 echo "$as_me:$LINENO: result: no" >&5
2339echo "${ECHO_T}no" >&6 3137echo "${ECHO_T}no" >&6
2340fi 3138fi
2341 3139
@@ -2343,7 +3141,7 @@ for ac_prog in perl5 perl
2343do 3141do
2344 # Extract the first word of "$ac_prog", so it can be a program name with args. 3142 # Extract the first word of "$ac_prog", so it can be a program name with args.
2345set dummy $ac_prog; ac_word=$2 3143set dummy $ac_prog; ac_word=$2
2346echo "$as_me:2346: checking for $ac_word" >&5 3144echo "$as_me:$LINENO: checking for $ac_word" >&5
2347echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3145echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2348if test "${ac_cv_path_PERL+set}" = set; then 3146if test "${ac_cv_path_PERL+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6 3147 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2353,16 +3151,18 @@ else
2353 ac_cv_path_PERL="$PERL" # Let the user override the test with a path. 3151 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2354 ;; 3152 ;;
2355 *) 3153 *)
2356 ac_save_IFS=$IFS; IFS=$ac_path_separator 3154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357ac_dummy="$PATH" 3155for as_dir in $PATH
2358for ac_dir in $ac_dummy; do 3156do
2359 IFS=$ac_save_IFS 3157 IFS=$as_save_IFS
2360 test -z "$ac_dir" && ac_dir=. 3158 test -z "$as_dir" && as_dir=.
2361 if $as_executable_p "$ac_dir/$ac_word"; then 3159 for ac_exec_ext in '' $ac_executable_extensions; do
2362 ac_cv_path_PERL="$ac_dir/$ac_word" 3160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2363 echo "$as_me:2363: found $ac_dir/$ac_word" >&5 3161 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2364 break 3162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2365fi 3163 break 2
3164 fi
3165done
2366done 3166done
2367 3167
2368 ;; 3168 ;;
@@ -2371,10 +3171,10 @@ fi
2371PERL=$ac_cv_path_PERL 3171PERL=$ac_cv_path_PERL
2372 3172
2373if test -n "$PERL"; then 3173if test -n "$PERL"; then
2374 echo "$as_me:2374: result: $PERL" >&5 3174 echo "$as_me:$LINENO: result: $PERL" >&5
2375echo "${ECHO_T}$PERL" >&6 3175echo "${ECHO_T}$PERL" >&6
2376else 3176else
2377 echo "$as_me:2377: result: no" >&5 3177 echo "$as_me:$LINENO: result: no" >&5
2378echo "${ECHO_T}no" >&6 3178echo "${ECHO_T}no" >&6
2379fi 3179fi
2380 3180
@@ -2383,7 +3183,7 @@ done
2383 3183
2384# Extract the first word of "sed", so it can be a program name with args. 3184# Extract the first word of "sed", so it can be a program name with args.
2385set dummy sed; ac_word=$2 3185set dummy sed; ac_word=$2
2386echo "$as_me:2386: checking for $ac_word" >&5 3186echo "$as_me:$LINENO: checking for $ac_word" >&5
2387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2388if test "${ac_cv_path_SED+set}" = set; then 3188if test "${ac_cv_path_SED+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6 3189 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2393,16 +3193,18 @@ else
2393 ac_cv_path_SED="$SED" # Let the user override the test with a path. 3193 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2394 ;; 3194 ;;
2395 *) 3195 *)
2396 ac_save_IFS=$IFS; IFS=$ac_path_separator 3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397ac_dummy="$PATH" 3197for as_dir in $PATH
2398for ac_dir in $ac_dummy; do 3198do
2399 IFS=$ac_save_IFS 3199 IFS=$as_save_IFS
2400 test -z "$ac_dir" && ac_dir=. 3200 test -z "$as_dir" && as_dir=.
2401 if $as_executable_p "$ac_dir/$ac_word"; then 3201 for ac_exec_ext in '' $ac_executable_extensions; do
2402 ac_cv_path_SED="$ac_dir/$ac_word" 3202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2403 echo "$as_me:2403: found $ac_dir/$ac_word" >&5 3203 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2404 break 3204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2405fi 3205 break 2
3206 fi
3207done
2406done 3208done
2407 3209
2408 ;; 3210 ;;
@@ -2411,16 +3213,17 @@ fi
2411SED=$ac_cv_path_SED 3213SED=$ac_cv_path_SED
2412 3214
2413if test -n "$SED"; then 3215if test -n "$SED"; then
2414 echo "$as_me:2414: result: $SED" >&5 3216 echo "$as_me:$LINENO: result: $SED" >&5
2415echo "${ECHO_T}$SED" >&6 3217echo "${ECHO_T}$SED" >&6
2416else 3218else
2417 echo "$as_me:2417: result: no" >&5 3219 echo "$as_me:$LINENO: result: no" >&5
2418echo "${ECHO_T}no" >&6 3220echo "${ECHO_T}no" >&6
2419fi 3221fi
2420 3222
3223
2421# Extract the first word of "ent", so it can be a program name with args. 3224# Extract the first word of "ent", so it can be a program name with args.
2422set dummy ent; ac_word=$2 3225set dummy ent; ac_word=$2
2423echo "$as_me:2423: checking for $ac_word" >&5 3226echo "$as_me:$LINENO: checking for $ac_word" >&5
2424echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3227echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2425if test "${ac_cv_path_ENT+set}" = set; then 3228if test "${ac_cv_path_ENT+set}" = set; then
2426 echo $ECHO_N "(cached) $ECHO_C" >&6 3229 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2430,16 +3233,18 @@ else
2430 ac_cv_path_ENT="$ENT" # Let the user override the test with a path. 3233 ac_cv_path_ENT="$ENT" # Let the user override the test with a path.
2431 ;; 3234 ;;
2432 *) 3235 *)
2433 ac_save_IFS=$IFS; IFS=$ac_path_separator 3236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434ac_dummy="$PATH" 3237for as_dir in $PATH
2435for ac_dir in $ac_dummy; do 3238do
2436 IFS=$ac_save_IFS 3239 IFS=$as_save_IFS
2437 test -z "$ac_dir" && ac_dir=. 3240 test -z "$as_dir" && as_dir=.
2438 if $as_executable_p "$ac_dir/$ac_word"; then 3241 for ac_exec_ext in '' $ac_executable_extensions; do
2439 ac_cv_path_ENT="$ac_dir/$ac_word" 3242 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2440 echo "$as_me:2440: found $ac_dir/$ac_word" >&5 3243 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
2441 break 3244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2442fi 3245 break 2
3246 fi
3247done
2443done 3248done
2444 3249
2445 ;; 3250 ;;
@@ -2448,16 +3253,17 @@ fi
2448ENT=$ac_cv_path_ENT 3253ENT=$ac_cv_path_ENT
2449 3254
2450if test -n "$ENT"; then 3255if test -n "$ENT"; then
2451 echo "$as_me:2451: result: $ENT" >&5 3256 echo "$as_me:$LINENO: result: $ENT" >&5
2452echo "${ECHO_T}$ENT" >&6 3257echo "${ECHO_T}$ENT" >&6
2453else 3258else
2454 echo "$as_me:2454: result: no" >&5 3259 echo "$as_me:$LINENO: result: no" >&5
2455echo "${ECHO_T}no" >&6 3260echo "${ECHO_T}no" >&6
2456fi 3261fi
2457 3262
3263
2458# Extract the first word of "bash", so it can be a program name with args. 3264# Extract the first word of "bash", so it can be a program name with args.
2459set dummy bash; ac_word=$2 3265set dummy bash; ac_word=$2
2460echo "$as_me:2460: checking for $ac_word" >&5 3266echo "$as_me:$LINENO: checking for $ac_word" >&5
2461echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3267echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2462if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3268if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6 3269 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2467,16 +3273,18 @@ else
2467 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3273 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2468 ;; 3274 ;;
2469 *) 3275 *)
2470 ac_save_IFS=$IFS; IFS=$ac_path_separator 3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471ac_dummy="$PATH" 3277for as_dir in $PATH
2472for ac_dir in $ac_dummy; do 3278do
2473 IFS=$ac_save_IFS 3279 IFS=$as_save_IFS
2474 test -z "$ac_dir" && ac_dir=. 3280 test -z "$as_dir" && as_dir=.
2475 if $as_executable_p "$ac_dir/$ac_word"; then 3281 for ac_exec_ext in '' $ac_executable_extensions; do
2476 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 echo "$as_me:2477: found $ac_dir/$ac_word" >&5 3283 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2478 break 3284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2479fi 3285 break 2
3286 fi
3287done
2480done 3288done
2481 3289
2482 ;; 3290 ;;
@@ -2485,16 +3293,16 @@ fi
2485TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3293TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2486 3294
2487if test -n "$TEST_MINUS_S_SH"; then 3295if test -n "$TEST_MINUS_S_SH"; then
2488 echo "$as_me:2488: result: $TEST_MINUS_S_SH" >&5 3296 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2489echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3297echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2490else 3298else
2491 echo "$as_me:2491: result: no" >&5 3299 echo "$as_me:$LINENO: result: no" >&5
2492echo "${ECHO_T}no" >&6 3300echo "${ECHO_T}no" >&6
2493fi 3301fi
2494 3302
2495# Extract the first word of "ksh", so it can be a program name with args. 3303# Extract the first word of "ksh", so it can be a program name with args.
2496set dummy ksh; ac_word=$2 3304set dummy ksh; ac_word=$2
2497echo "$as_me:2497: checking for $ac_word" >&5 3305echo "$as_me:$LINENO: checking for $ac_word" >&5
2498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3306echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3307if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6 3308 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2504,16 +3312,18 @@ else
2504 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3312 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2505 ;; 3313 ;;
2506 *) 3314 *)
2507 ac_save_IFS=$IFS; IFS=$ac_path_separator 3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2508ac_dummy="$PATH" 3316for as_dir in $PATH
2509for ac_dir in $ac_dummy; do 3317do
2510 IFS=$ac_save_IFS 3318 IFS=$as_save_IFS
2511 test -z "$ac_dir" && ac_dir=. 3319 test -z "$as_dir" && as_dir=.
2512 if $as_executable_p "$ac_dir/$ac_word"; then 3320 for ac_exec_ext in '' $ac_executable_extensions; do
2513 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2514 echo "$as_me:2514: found $ac_dir/$ac_word" >&5 3322 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2515 break 3323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516fi 3324 break 2
3325 fi
3326done
2517done 3327done
2518 3328
2519 ;; 3329 ;;
@@ -2522,16 +3332,16 @@ fi
2522TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3332TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2523 3333
2524if test -n "$TEST_MINUS_S_SH"; then 3334if test -n "$TEST_MINUS_S_SH"; then
2525 echo "$as_me:2525: result: $TEST_MINUS_S_SH" >&5 3335 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2526echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3336echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2527else 3337else
2528 echo "$as_me:2528: result: no" >&5 3338 echo "$as_me:$LINENO: result: no" >&5
2529echo "${ECHO_T}no" >&6 3339echo "${ECHO_T}no" >&6
2530fi 3340fi
2531 3341
2532# Extract the first word of "sh", so it can be a program name with args. 3342# Extract the first word of "sh", so it can be a program name with args.
2533set dummy sh; ac_word=$2 3343set dummy sh; ac_word=$2
2534echo "$as_me:2534: checking for $ac_word" >&5 3344echo "$as_me:$LINENO: checking for $ac_word" >&5
2535echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2536if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 3346if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
2537 echo $ECHO_N "(cached) $ECHO_C" >&6 3347 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2541,16 +3351,18 @@ else
2541 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path. 3351 ac_cv_path_TEST_MINUS_S_SH="$TEST_MINUS_S_SH" # Let the user override the test with a path.
2542 ;; 3352 ;;
2543 *) 3353 *)
2544 ac_save_IFS=$IFS; IFS=$ac_path_separator 3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545ac_dummy="$PATH" 3355for as_dir in $PATH
2546for ac_dir in $ac_dummy; do 3356do
2547 IFS=$ac_save_IFS 3357 IFS=$as_save_IFS
2548 test -z "$ac_dir" && ac_dir=. 3358 test -z "$as_dir" && as_dir=.
2549 if $as_executable_p "$ac_dir/$ac_word"; then 3359 for ac_exec_ext in '' $ac_executable_extensions; do
2550 ac_cv_path_TEST_MINUS_S_SH="$ac_dir/$ac_word" 3360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2551 echo "$as_me:2551: found $ac_dir/$ac_word" >&5 3361 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
2552 break 3362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553fi 3363 break 2
3364 fi
3365done
2554done 3366done
2555 3367
2556 ;; 3368 ;;
@@ -2559,16 +3371,16 @@ fi
2559TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 3371TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
2560 3372
2561if test -n "$TEST_MINUS_S_SH"; then 3373if test -n "$TEST_MINUS_S_SH"; then
2562 echo "$as_me:2562: result: $TEST_MINUS_S_SH" >&5 3374 echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
2563echo "${ECHO_T}$TEST_MINUS_S_SH" >&6 3375echo "${ECHO_T}$TEST_MINUS_S_SH" >&6
2564else 3376else
2565 echo "$as_me:2565: result: no" >&5 3377 echo "$as_me:$LINENO: result: no" >&5
2566echo "${ECHO_T}no" >&6 3378echo "${ECHO_T}no" >&6
2567fi 3379fi
2568 3380
2569# Extract the first word of "sh", so it can be a program name with args. 3381# Extract the first word of "sh", so it can be a program name with args.
2570set dummy sh; ac_word=$2 3382set dummy sh; ac_word=$2
2571echo "$as_me:2571: checking for $ac_word" >&5 3383echo "$as_me:$LINENO: checking for $ac_word" >&5
2572echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3384echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2573if test "${ac_cv_path_SH+set}" = set; then 3385if test "${ac_cv_path_SH+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6 3386 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2578,16 +3390,18 @@ else
2578 ac_cv_path_SH="$SH" # Let the user override the test with a path. 3390 ac_cv_path_SH="$SH" # Let the user override the test with a path.
2579 ;; 3391 ;;
2580 *) 3392 *)
2581 ac_save_IFS=$IFS; IFS=$ac_path_separator 3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582ac_dummy="$PATH" 3394for as_dir in $PATH
2583for ac_dir in $ac_dummy; do 3395do
2584 IFS=$ac_save_IFS 3396 IFS=$as_save_IFS
2585 test -z "$ac_dir" && ac_dir=. 3397 test -z "$as_dir" && as_dir=.
2586 if $as_executable_p "$ac_dir/$ac_word"; then 3398 for ac_exec_ext in '' $ac_executable_extensions; do
2587 ac_cv_path_SH="$ac_dir/$ac_word" 3399 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 echo "$as_me:2588: found $ac_dir/$ac_word" >&5 3400 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
2589 break 3401 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590fi 3402 break 2
3403 fi
3404done
2591done 3405done
2592 3406
2593 ;; 3407 ;;
@@ -2596,13 +3410,133 @@ fi
2596SH=$ac_cv_path_SH 3410SH=$ac_cv_path_SH
2597 3411
2598if test -n "$SH"; then 3412if test -n "$SH"; then
2599 echo "$as_me:2599: result: $SH" >&5 3413 echo "$as_me:$LINENO: result: $SH" >&5
2600echo "${ECHO_T}$SH" >&6 3414echo "${ECHO_T}$SH" >&6
2601else 3415else
2602 echo "$as_me:2602: result: no" >&5 3416 echo "$as_me:$LINENO: result: no" >&5
2603echo "${ECHO_T}no" >&6 3417echo "${ECHO_T}no" >&6
2604fi 3418fi
2605 3419
3420TEST_SHELL=sh
3421
3422
3423# Extract the first word of "groupadd", so it can be a program name with args.
3424set dummy groupadd; ac_word=$2
3425echo "$as_me:$LINENO: checking for $ac_word" >&5
3426echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3427if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429else
3430 case $PATH_GROUPADD_PROG in
3431 [\\/]* | ?:[\\/]*)
3432 ac_cv_path_PATH_GROUPADD_PROG="$PATH_GROUPADD_PROG" # Let the user override the test with a path.
3433 ;;
3434 *)
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436for as_dir in /usr/sbin${PATH_SEPARATOR}/etc
3437do
3438 IFS=$as_save_IFS
3439 test -z "$as_dir" && as_dir=.
3440 for ac_exec_ext in '' $ac_executable_extensions; do
3441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442 ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext"
3443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3444 break 2
3445 fi
3446done
3447done
3448
3449 test -z "$ac_cv_path_PATH_GROUPADD_PROG" && ac_cv_path_PATH_GROUPADD_PROG="groupadd"
3450 ;;
3451esac
3452fi
3453PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG
3454
3455if test -n "$PATH_GROUPADD_PROG"; then
3456 echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5
3457echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6
3458else
3459 echo "$as_me:$LINENO: result: no" >&5
3460echo "${ECHO_T}no" >&6
3461fi
3462
3463# Extract the first word of "useradd", so it can be a program name with args.
3464set dummy useradd; ac_word=$2
3465echo "$as_me:$LINENO: checking for $ac_word" >&5
3466echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3467if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469else
3470 case $PATH_USERADD_PROG in
3471 [\\/]* | ?:[\\/]*)
3472 ac_cv_path_PATH_USERADD_PROG="$PATH_USERADD_PROG" # Let the user override the test with a path.
3473 ;;
3474 *)
3475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476for as_dir in /usr/sbin${PATH_SEPARATOR}/etc
3477do
3478 IFS=$as_save_IFS
3479 test -z "$as_dir" && as_dir=.
3480 for ac_exec_ext in '' $ac_executable_extensions; do
3481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3482 ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext"
3483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3484 break 2
3485 fi
3486done
3487done
3488
3489 test -z "$ac_cv_path_PATH_USERADD_PROG" && ac_cv_path_PATH_USERADD_PROG="useradd"
3490 ;;
3491esac
3492fi
3493PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG
3494
3495if test -n "$PATH_USERADD_PROG"; then
3496 echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5
3497echo "${ECHO_T}$PATH_USERADD_PROG" >&6
3498else
3499 echo "$as_me:$LINENO: result: no" >&5
3500echo "${ECHO_T}no" >&6
3501fi
3502
3503# Extract the first word of "pkgmk", so it can be a program name with args.
3504set dummy pkgmk; ac_word=$2
3505echo "$as_me:$LINENO: checking for $ac_word" >&5
3506echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3507if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3509else
3510 if test -n "$MAKE_PACKAGE_SUPPORTED"; then
3511 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test.
3512else
3513as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514for as_dir in $PATH
3515do
3516 IFS=$as_save_IFS
3517 test -z "$as_dir" && as_dir=.
3518 for ac_exec_ext in '' $ac_executable_extensions; do
3519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3520 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes"
3521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 break 2
3523 fi
3524done
3525done
3526
3527 test -z "$ac_cv_prog_MAKE_PACKAGE_SUPPORTED" && ac_cv_prog_MAKE_PACKAGE_SUPPORTED="no"
3528fi
3529fi
3530MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED
3531if test -n "$MAKE_PACKAGE_SUPPORTED"; then
3532 echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5
3533echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6
3534else
3535 echo "$as_me:$LINENO: result: no" >&5
3536echo "${ECHO_T}no" >&6
3537fi
3538
3539
2606# System features 3540# System features
2607# Check whether --enable-largefile or --disable-largefile was given. 3541# Check whether --enable-largefile or --disable-largefile was given.
2608if test "${enable_largefile+set}" = set; then 3542if test "${enable_largefile+set}" = set; then
@@ -2611,7 +3545,7 @@ if test "${enable_largefile+set}" = set; then
2611fi; 3545fi;
2612if test "$enable_largefile" != no; then 3546if test "$enable_largefile" != no; then
2613 3547
2614 echo "$as_me:2614: checking for special C compiler options needed for large files" >&5 3548 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
2615echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6 3549echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
2616if test "${ac_cv_sys_largefile_CC+set}" = set; then 3550if test "${ac_cv_sys_largefile_CC+set}" = set; then
2617 echo $ECHO_N "(cached) $ECHO_C" >&6 3551 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2622,9 +3556,12 @@ else
2622 while :; do 3556 while :; do
2623 # IRIX 6.2 and later do not support large files by default, 3557 # IRIX 6.2 and later do not support large files by default,
2624 # so use the C compiler's -n32 option if that helps. 3558 # so use the C compiler's -n32 option if that helps.
2625 cat >conftest.$ac_ext <<_ACEOF 3559 cat >conftest.$ac_ext <<_ACEOF
2626#line 2626 "configure" 3560/* confdefs.h. */
2627#include "confdefs.h" 3561_ACEOF
3562cat confdefs.h >>conftest.$ac_ext
3563cat >>conftest.$ac_ext <<_ACEOF
3564/* end confdefs.h. */
2628#include <sys/types.h> 3565#include <sys/types.h>
2629 /* Check that off_t can represent 2**63 - 1 correctly. 3566 /* Check that off_t can represent 2**63 - 1 correctly.
2630 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3567 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2643,55 +3580,77 @@ main ()
2643} 3580}
2644_ACEOF 3581_ACEOF
2645 rm -f conftest.$ac_objext 3582 rm -f conftest.$ac_objext
2646if { (eval echo "$as_me:2646: \"$ac_compile\"") >&5 3583if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5 3584 (eval $ac_compile) 2>conftest.er1
2648 ac_status=$? 3585 ac_status=$?
2649 echo "$as_me:2649: \$? = $ac_status" >&5 3586 grep -v '^ *+' conftest.er1 >conftest.err
3587 rm -f conftest.er1
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } && 3590 (exit $ac_status); } &&
2651 { ac_try='test -s conftest.$ac_objext' 3591 { ac_try='test -z "$ac_c_werror_flag"
2652 { (eval echo "$as_me:2652: \"$ac_try\"") >&5 3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 (eval $ac_try) 2>&5 3594 (eval $ac_try) 2>&5
2654 ac_status=$? 3595 ac_status=$?
2655 echo "$as_me:2655: \$? = $ac_status" >&5 3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 (eval $ac_try) 2>&5
3601 ac_status=$?
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then 3603 (exit $ac_status); }; }; then
2657 break 3604 break
2658else 3605else
2659 echo "$as_me: failed program was:" >&5 3606 echo "$as_me: failed program was:" >&5
2660cat conftest.$ac_ext >&5 3607sed 's/^/| /' conftest.$ac_ext >&5
3608
2661fi 3609fi
2662rm -f conftest.$ac_objext 3610rm -f conftest.err conftest.$ac_objext
2663 CC="$CC -n32" 3611 CC="$CC -n32"
2664 rm -f conftest.$ac_objext 3612 rm -f conftest.$ac_objext
2665if { (eval echo "$as_me:2665: \"$ac_compile\"") >&5 3613if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>&5 3614 (eval $ac_compile) 2>conftest.er1
2667 ac_status=$? 3615 ac_status=$?
2668 echo "$as_me:2668: \$? = $ac_status" >&5 3616 grep -v '^ *+' conftest.er1 >conftest.err
3617 rm -f conftest.er1
3618 cat conftest.err >&5
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } && 3620 (exit $ac_status); } &&
2670 { ac_try='test -s conftest.$ac_objext' 3621 { ac_try='test -z "$ac_c_werror_flag"
2671 { (eval echo "$as_me:2671: \"$ac_try\"") >&5 3622 || test ! -s conftest.err'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 (eval $ac_try) 2>&5 3624 (eval $ac_try) 2>&5
2673 ac_status=$? 3625 ac_status=$?
2674 echo "$as_me:2674: \$? = $ac_status" >&5 3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; } &&
3628 { ac_try='test -s conftest.$ac_objext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 (eval $ac_try) 2>&5
3631 ac_status=$?
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then 3633 (exit $ac_status); }; }; then
2676 ac_cv_sys_largefile_CC=' -n32'; break 3634 ac_cv_sys_largefile_CC=' -n32'; break
2677else 3635else
2678 echo "$as_me: failed program was:" >&5 3636 echo "$as_me: failed program was:" >&5
2679cat conftest.$ac_ext >&5 3637sed 's/^/| /' conftest.$ac_ext >&5
3638
2680fi 3639fi
2681rm -f conftest.$ac_objext 3640rm -f conftest.err conftest.$ac_objext
2682 break 3641 break
2683 done 3642 done
2684 CC=$ac_save_CC 3643 CC=$ac_save_CC
2685 rm -f conftest.$ac_ext 3644 rm -f conftest.$ac_ext
2686 fi 3645 fi
2687fi 3646fi
2688echo "$as_me:2688: result: $ac_cv_sys_largefile_CC" >&5 3647echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
2689echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6 3648echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
2690 if test "$ac_cv_sys_largefile_CC" != no; then 3649 if test "$ac_cv_sys_largefile_CC" != no; then
2691 CC=$CC$ac_cv_sys_largefile_CC 3650 CC=$CC$ac_cv_sys_largefile_CC
2692 fi 3651 fi
2693 3652
2694 echo "$as_me:2694: checking for _FILE_OFFSET_BITS value needed for large files" >&5 3653 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
2695echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6 3654echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
2696if test "${ac_cv_sys_file_offset_bits+set}" = set; then 3655if test "${ac_cv_sys_file_offset_bits+set}" = set; then
2697 echo $ECHO_N "(cached) $ECHO_C" >&6 3656 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2699,8 +3658,11 @@ else
2699 while :; do 3658 while :; do
2700 ac_cv_sys_file_offset_bits=no 3659 ac_cv_sys_file_offset_bits=no
2701 cat >conftest.$ac_ext <<_ACEOF 3660 cat >conftest.$ac_ext <<_ACEOF
2702#line 2702 "configure" 3661/* confdefs.h. */
2703#include "confdefs.h" 3662_ACEOF
3663cat confdefs.h >>conftest.$ac_ext
3664cat >>conftest.$ac_ext <<_ACEOF
3665/* end confdefs.h. */
2704#include <sys/types.h> 3666#include <sys/types.h>
2705 /* Check that off_t can represent 2**63 - 1 correctly. 3667 /* Check that off_t can represent 2**63 - 1 correctly.
2706 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3668 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2719,26 +3681,40 @@ main ()
2719} 3681}
2720_ACEOF 3682_ACEOF
2721rm -f conftest.$ac_objext 3683rm -f conftest.$ac_objext
2722if { (eval echo "$as_me:2722: \"$ac_compile\"") >&5 3684if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2723 (eval $ac_compile) 2>&5 3685 (eval $ac_compile) 2>conftest.er1
2724 ac_status=$? 3686 ac_status=$?
2725 echo "$as_me:2725: \$? = $ac_status" >&5 3687 grep -v '^ *+' conftest.er1 >conftest.err
3688 rm -f conftest.er1
3689 cat conftest.err >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } && 3691 (exit $ac_status); } &&
2727 { ac_try='test -s conftest.$ac_objext' 3692 { ac_try='test -z "$ac_c_werror_flag"
2728 { (eval echo "$as_me:2728: \"$ac_try\"") >&5 3693 || test ! -s conftest.err'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3695 (eval $ac_try) 2>&5
3696 ac_status=$?
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; } &&
3699 { ac_try='test -s conftest.$ac_objext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 (eval $ac_try) 2>&5 3701 (eval $ac_try) 2>&5
2730 ac_status=$? 3702 ac_status=$?
2731 echo "$as_me:2731: \$? = $ac_status" >&5 3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then 3704 (exit $ac_status); }; }; then
2733 break 3705 break
2734else 3706else
2735 echo "$as_me: failed program was:" >&5 3707 echo "$as_me: failed program was:" >&5
2736cat conftest.$ac_ext >&5 3708sed 's/^/| /' conftest.$ac_ext >&5
3709
2737fi 3710fi
2738rm -f conftest.$ac_objext conftest.$ac_ext 3711rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2739 cat >conftest.$ac_ext <<_ACEOF 3712 cat >conftest.$ac_ext <<_ACEOF
2740#line 2740 "configure" 3713/* confdefs.h. */
2741#include "confdefs.h" 3714_ACEOF
3715cat confdefs.h >>conftest.$ac_ext
3716cat >>conftest.$ac_ext <<_ACEOF
3717/* end confdefs.h. */
2742#define _FILE_OFFSET_BITS 64 3718#define _FILE_OFFSET_BITS 64
2743#include <sys/types.h> 3719#include <sys/types.h>
2744 /* Check that off_t can represent 2**63 - 1 correctly. 3720 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2758,37 +3734,48 @@ main ()
2758} 3734}
2759_ACEOF 3735_ACEOF
2760rm -f conftest.$ac_objext 3736rm -f conftest.$ac_objext
2761if { (eval echo "$as_me:2761: \"$ac_compile\"") >&5 3737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2762 (eval $ac_compile) 2>&5 3738 (eval $ac_compile) 2>conftest.er1
2763 ac_status=$? 3739 ac_status=$?
2764 echo "$as_me:2764: \$? = $ac_status" >&5 3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } && 3744 (exit $ac_status); } &&
2766 { ac_try='test -s conftest.$ac_objext' 3745 { ac_try='test -z "$ac_c_werror_flag"
2767 { (eval echo "$as_me:2767: \"$ac_try\"") >&5 3746 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 (eval $ac_try) 2>&5 3748 (eval $ac_try) 2>&5
2769 ac_status=$? 3749 ac_status=$?
2770 echo "$as_me:2770: \$? = $ac_status" >&5 3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 (eval $ac_try) 2>&5
3755 ac_status=$?
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); }; }; then 3757 (exit $ac_status); }; }; then
2772 ac_cv_sys_file_offset_bits=64; break 3758 ac_cv_sys_file_offset_bits=64; break
2773else 3759else
2774 echo "$as_me: failed program was:" >&5 3760 echo "$as_me: failed program was:" >&5
2775cat conftest.$ac_ext >&5 3761sed 's/^/| /' conftest.$ac_ext >&5
3762
2776fi 3763fi
2777rm -f conftest.$ac_objext conftest.$ac_ext 3764rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2778 break 3765 break
2779done 3766done
2780fi 3767fi
2781echo "$as_me:2781: result: $ac_cv_sys_file_offset_bits" >&5 3768echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
2782echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6 3769echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
2783if test "$ac_cv_sys_file_offset_bits" != no; then 3770if test "$ac_cv_sys_file_offset_bits" != no; then
2784 3771
2785cat >>confdefs.h <<EOF 3772cat >>confdefs.h <<_ACEOF
2786#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 3773#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
2787EOF 3774_ACEOF
2788 3775
2789fi 3776fi
2790rm -f conftest* 3777rm -f conftest*
2791 echo "$as_me:2791: checking for _LARGE_FILES value needed for large files" >&5 3778 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
2792echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6 3779echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
2793if test "${ac_cv_sys_large_files+set}" = set; then 3780if test "${ac_cv_sys_large_files+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6 3781 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2796,8 +3783,11 @@ else
2796 while :; do 3783 while :; do
2797 ac_cv_sys_large_files=no 3784 ac_cv_sys_large_files=no
2798 cat >conftest.$ac_ext <<_ACEOF 3785 cat >conftest.$ac_ext <<_ACEOF
2799#line 2799 "configure" 3786/* confdefs.h. */
2800#include "confdefs.h" 3787_ACEOF
3788cat confdefs.h >>conftest.$ac_ext
3789cat >>conftest.$ac_ext <<_ACEOF
3790/* end confdefs.h. */
2801#include <sys/types.h> 3791#include <sys/types.h>
2802 /* Check that off_t can represent 2**63 - 1 correctly. 3792 /* Check that off_t can represent 2**63 - 1 correctly.
2803 We can't simply define LARGE_OFF_T to be 9223372036854775807, 3793 We can't simply define LARGE_OFF_T to be 9223372036854775807,
@@ -2816,26 +3806,40 @@ main ()
2816} 3806}
2817_ACEOF 3807_ACEOF
2818rm -f conftest.$ac_objext 3808rm -f conftest.$ac_objext
2819if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5 3809if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2820 (eval $ac_compile) 2>&5 3810 (eval $ac_compile) 2>conftest.er1
2821 ac_status=$? 3811 ac_status=$?
2822 echo "$as_me:2822: \$? = $ac_status" >&5 3812 grep -v '^ *+' conftest.er1 >conftest.err
3813 rm -f conftest.er1
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); } && 3816 (exit $ac_status); } &&
2824 { ac_try='test -s conftest.$ac_objext' 3817 { ac_try='test -z "$ac_c_werror_flag"
2825 { (eval echo "$as_me:2825: \"$ac_try\"") >&5 3818 || test ! -s conftest.err'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 (eval $ac_try) 2>&5 3820 (eval $ac_try) 2>&5
2827 ac_status=$? 3821 ac_status=$?
2828 echo "$as_me:2828: \$? = $ac_status" >&5 3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; } &&
3824 { ac_try='test -s conftest.$ac_objext'
3825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3826 (eval $ac_try) 2>&5
3827 ac_status=$?
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }; }; then 3829 (exit $ac_status); }; }; then
2830 break 3830 break
2831else 3831else
2832 echo "$as_me: failed program was:" >&5 3832 echo "$as_me: failed program was:" >&5
2833cat conftest.$ac_ext >&5 3833sed 's/^/| /' conftest.$ac_ext >&5
3834
2834fi 3835fi
2835rm -f conftest.$ac_objext conftest.$ac_ext 3836rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2836 cat >conftest.$ac_ext <<_ACEOF 3837 cat >conftest.$ac_ext <<_ACEOF
2837#line 2837 "configure" 3838/* confdefs.h. */
2838#include "confdefs.h" 3839_ACEOF
3840cat confdefs.h >>conftest.$ac_ext
3841cat >>conftest.$ac_ext <<_ACEOF
3842/* end confdefs.h. */
2839#define _LARGE_FILES 1 3843#define _LARGE_FILES 1
2840#include <sys/types.h> 3844#include <sys/types.h>
2841 /* Check that off_t can represent 2**63 - 1 correctly. 3845 /* Check that off_t can represent 2**63 - 1 correctly.
@@ -2855,55 +3859,67 @@ main ()
2855} 3859}
2856_ACEOF 3860_ACEOF
2857rm -f conftest.$ac_objext 3861rm -f conftest.$ac_objext
2858if { (eval echo "$as_me:2858: \"$ac_compile\"") >&5 3862if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>&5 3863 (eval $ac_compile) 2>conftest.er1
2860 ac_status=$? 3864 ac_status=$?
2861 echo "$as_me:2861: \$? = $ac_status" >&5 3865 grep -v '^ *+' conftest.er1 >conftest.err
3866 rm -f conftest.er1
3867 cat conftest.err >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && 3869 (exit $ac_status); } &&
2863 { ac_try='test -s conftest.$ac_objext' 3870 { ac_try='test -z "$ac_c_werror_flag"
2864 { (eval echo "$as_me:2864: \"$ac_try\"") >&5 3871 || test ! -s conftest.err'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2865 (eval $ac_try) 2>&5 3873 (eval $ac_try) 2>&5
2866 ac_status=$? 3874 ac_status=$?
2867 echo "$as_me:2867: \$? = $ac_status" >&5 3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; } &&
3877 { ac_try='test -s conftest.$ac_objext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 (eval $ac_try) 2>&5
3880 ac_status=$?
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then 3882 (exit $ac_status); }; }; then
2869 ac_cv_sys_large_files=1; break 3883 ac_cv_sys_large_files=1; break
2870else 3884else
2871 echo "$as_me: failed program was:" >&5 3885 echo "$as_me: failed program was:" >&5
2872cat conftest.$ac_ext >&5 3886sed 's/^/| /' conftest.$ac_ext >&5
3887
2873fi 3888fi
2874rm -f conftest.$ac_objext conftest.$ac_ext 3889rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2875 break 3890 break
2876done 3891done
2877fi 3892fi
2878echo "$as_me:2878: result: $ac_cv_sys_large_files" >&5 3893echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
2879echo "${ECHO_T}$ac_cv_sys_large_files" >&6 3894echo "${ECHO_T}$ac_cv_sys_large_files" >&6
2880if test "$ac_cv_sys_large_files" != no; then 3895if test "$ac_cv_sys_large_files" != no; then
2881 3896
2882cat >>confdefs.h <<EOF 3897cat >>confdefs.h <<_ACEOF
2883#define _LARGE_FILES $ac_cv_sys_large_files 3898#define _LARGE_FILES $ac_cv_sys_large_files
2884EOF 3899_ACEOF
2885 3900
2886fi 3901fi
2887rm -f conftest* 3902rm -f conftest*
2888fi 3903fi
2889 3904
3905
2890if test -z "$AR" ; then 3906if test -z "$AR" ; then
2891 { { echo "$as_me:2891: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 3907 { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
2892echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} 3908echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
2893 { (exit 1); exit 1; }; } 3909 { (exit 1); exit 1; }; }
2894fi 3910fi
2895 3911
2896# Use LOGIN_PROGRAM from environment if possible 3912# Use LOGIN_PROGRAM from environment if possible
2897if test ! -z "$LOGIN_PROGRAM" ; then 3913if test ! -z "$LOGIN_PROGRAM" ; then
2898 cat >>confdefs.h <<EOF 3914 cat >>confdefs.h <<_ACEOF
2899#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM" 3915#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM"
2900EOF 3916_ACEOF
2901 3917
2902else 3918else
2903 # Search for login 3919 # Search for login
2904 # Extract the first word of "login", so it can be a program name with args. 3920 # Extract the first word of "login", so it can be a program name with args.
2905set dummy login; ac_word=$2 3921set dummy login; ac_word=$2
2906echo "$as_me:2906: checking for $ac_word" >&5 3922echo "$as_me:$LINENO: checking for $ac_word" >&5
2907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3923echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2908if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then 3924if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6 3925 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2913,16 +3929,18 @@ else
2913 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path. 3929 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$LOGIN_PROGRAM_FALLBACK" # Let the user override the test with a path.
2914 ;; 3930 ;;
2915 *) 3931 *)
2916 ac_save_IFS=$IFS; IFS=$ac_path_separator 3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917ac_dummy="$PATH" 3933for as_dir in $PATH
2918for ac_dir in $ac_dummy; do 3934do
2919 IFS=$ac_save_IFS 3935 IFS=$as_save_IFS
2920 test -z "$ac_dir" && ac_dir=. 3936 test -z "$as_dir" && as_dir=.
2921 if $as_executable_p "$ac_dir/$ac_word"; then 3937 for ac_exec_ext in '' $ac_executable_extensions; do
2922 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$ac_dir/$ac_word" 3938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2923 echo "$as_me:2923: found $ac_dir/$ac_word" >&5 3939 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
2924 break 3940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2925fi 3941 break 2
3942 fi
3943done
2926done 3944done
2927 3945
2928 ;; 3946 ;;
@@ -2931,24 +3949,24 @@ fi
2931LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK 3949LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
2932 3950
2933if test -n "$LOGIN_PROGRAM_FALLBACK"; then 3951if test -n "$LOGIN_PROGRAM_FALLBACK"; then
2934 echo "$as_me:2934: result: $LOGIN_PROGRAM_FALLBACK" >&5 3952 echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
2935echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6 3953echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6
2936else 3954else
2937 echo "$as_me:2937: result: no" >&5 3955 echo "$as_me:$LINENO: result: no" >&5
2938echo "${ECHO_T}no" >&6 3956echo "${ECHO_T}no" >&6
2939fi 3957fi
2940 3958
2941 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then 3959 if test ! -z "$LOGIN_PROGRAM_FALLBACK" ; then
2942 cat >>confdefs.h <<EOF 3960 cat >>confdefs.h <<_ACEOF
2943#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK" 3961#define LOGIN_PROGRAM_FALLBACK "$LOGIN_PROGRAM_FALLBACK"
2944EOF 3962_ACEOF
2945 3963
2946 fi 3964 fi
2947fi 3965fi
2948 3966
2949# Extract the first word of "passwd", so it can be a program name with args. 3967# Extract the first word of "passwd", so it can be a program name with args.
2950set dummy passwd; ac_word=$2 3968set dummy passwd; ac_word=$2
2951echo "$as_me:2951: checking for $ac_word" >&5 3969echo "$as_me:$LINENO: checking for $ac_word" >&5
2952echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3970echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2953if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then 3971if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then
2954 echo $ECHO_N "(cached) $ECHO_C" >&6 3972 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -2958,16 +3976,18 @@ else
2958 ac_cv_path_PATH_PASSWD_PROG="$PATH_PASSWD_PROG" # Let the user override the test with a path. 3976 ac_cv_path_PATH_PASSWD_PROG="$PATH_PASSWD_PROG" # Let the user override the test with a path.
2959 ;; 3977 ;;
2960 *) 3978 *)
2961 ac_save_IFS=$IFS; IFS=$ac_path_separator 3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962ac_dummy="$PATH" 3980for as_dir in $PATH
2963for ac_dir in $ac_dummy; do 3981do
2964 IFS=$ac_save_IFS 3982 IFS=$as_save_IFS
2965 test -z "$ac_dir" && ac_dir=. 3983 test -z "$as_dir" && as_dir=.
2966 if $as_executable_p "$ac_dir/$ac_word"; then 3984 for ac_exec_ext in '' $ac_executable_extensions; do
2967 ac_cv_path_PATH_PASSWD_PROG="$ac_dir/$ac_word" 3985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 echo "$as_me:2968: found $ac_dir/$ac_word" >&5 3986 ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext"
2969 break 3987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2970fi 3988 break 2
3989 fi
3990done
2971done 3991done
2972 3992
2973 ;; 3993 ;;
@@ -2976,17 +3996,17 @@ fi
2976PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG 3996PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG
2977 3997
2978if test -n "$PATH_PASSWD_PROG"; then 3998if test -n "$PATH_PASSWD_PROG"; then
2979 echo "$as_me:2979: result: $PATH_PASSWD_PROG" >&5 3999 echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5
2980echo "${ECHO_T}$PATH_PASSWD_PROG" >&6 4000echo "${ECHO_T}$PATH_PASSWD_PROG" >&6
2981else 4001else
2982 echo "$as_me:2982: result: no" >&5 4002 echo "$as_me:$LINENO: result: no" >&5
2983echo "${ECHO_T}no" >&6 4003echo "${ECHO_T}no" >&6
2984fi 4004fi
2985 4005
2986if test ! -z "$PATH_PASSWD_PROG" ; then 4006if test ! -z "$PATH_PASSWD_PROG" ; then
2987 cat >>confdefs.h <<EOF 4007 cat >>confdefs.h <<_ACEOF
2988#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG" 4008#define _PATH_PASSWD_PROG "$PATH_PASSWD_PROG"
2989EOF 4009_ACEOF
2990 4010
2991fi 4011fi
2992 4012
@@ -2994,98 +4014,8 @@ if test -z "$LD" ; then
2994 LD=$CC 4014 LD=$CC
2995fi 4015fi
2996 4016
2997echo "$as_me:2997: checking for $CC option to accept ANSI C" >&5
2998echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2999if test "${ac_cv_prog_cc_stdc+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3001else
3002 ac_cv_prog_cc_stdc=no
3003ac_save_CC=$CC
3004cat >conftest.$ac_ext <<_ACEOF
3005#line 3005 "configure"
3006#include "confdefs.h"
3007#include <stdarg.h>
3008#include <stdio.h>
3009#include <sys/types.h>
3010#include <sys/stat.h>
3011/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3012struct buf { int x; };
3013FILE * (*rcsopen) (struct buf *, struct stat *, int);
3014static char *e (p, i)
3015 char **p;
3016 int i;
3017{
3018 return p[i];
3019}
3020static char *f (char * (*g) (char **, int), char **p, ...)
3021{
3022 char *s;
3023 va_list v;
3024 va_start (v,p);
3025 s = g (p, va_arg (v,int));
3026 va_end (v);
3027 return s;
3028}
3029int test (int i, double x);
3030struct s1 {int (*f) (int a);};
3031struct s2 {int (*f) (double a);};
3032int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3033int argc;
3034char **argv;
3035int
3036main ()
3037{
3038return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3039 ;
3040 return 0;
3041}
3042_ACEOF
3043# Don't try gcc -ansi; that turns off useful extensions and
3044# breaks some systems' header files.
3045# AIX -qlanglvl=ansi
3046# Ultrix and OSF/1 -std1
3047# HP-UX 10.20 and later -Ae
3048# HP-UX older versions -Aa -D_HPUX_SOURCE
3049# SVR4 -Xc -D__EXTENSIONS__
3050for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3051do
3052 CC="$ac_save_CC $ac_arg"
3053 rm -f conftest.$ac_objext
3054if { (eval echo "$as_me:3054: \"$ac_compile\"") >&5
3055 (eval $ac_compile) 2>&5
3056 ac_status=$?
3057 echo "$as_me:3057: \$? = $ac_status" >&5
3058 (exit $ac_status); } &&
3059 { ac_try='test -s conftest.$ac_objext'
3060 { (eval echo "$as_me:3060: \"$ac_try\"") >&5
3061 (eval $ac_try) 2>&5
3062 ac_status=$?
3063 echo "$as_me:3063: \$? = $ac_status" >&5
3064 (exit $ac_status); }; }; then
3065 ac_cv_prog_cc_stdc=$ac_arg
3066break
3067else
3068 echo "$as_me: failed program was:" >&5
3069cat conftest.$ac_ext >&5
3070fi
3071rm -f conftest.$ac_objext
3072done
3073rm -f conftest.$ac_ext conftest.$ac_objext
3074CC=$ac_save_CC
3075
3076fi
3077 4017
3078case "x$ac_cv_prog_cc_stdc" in 4018echo "$as_me:$LINENO: checking for inline" >&5
3079 x|xno)
3080 echo "$as_me:3080: result: none needed" >&5
3081echo "${ECHO_T}none needed" >&6 ;;
3082 *)
3083 echo "$as_me:3083: result: $ac_cv_prog_cc_stdc" >&5
3084echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085 CC="$CC $ac_cv_prog_cc_stdc" ;;
3086esac
3087
3088echo "$as_me:3088: checking for inline" >&5
3089echo $ECHO_N "checking for inline... $ECHO_C" >&6 4019echo $ECHO_N "checking for inline... $ECHO_C" >&6
3090if test "${ac_cv_c_inline+set}" = set; then 4020if test "${ac_cv_c_inline+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6 4021 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3093,54 +4023,74 @@ else
3093 ac_cv_c_inline=no 4023 ac_cv_c_inline=no
3094for ac_kw in inline __inline__ __inline; do 4024for ac_kw in inline __inline__ __inline; do
3095 cat >conftest.$ac_ext <<_ACEOF 4025 cat >conftest.$ac_ext <<_ACEOF
3096#line 3096 "configure" 4026/* confdefs.h. */
3097#include "confdefs.h" 4027_ACEOF
4028cat confdefs.h >>conftest.$ac_ext
4029cat >>conftest.$ac_ext <<_ACEOF
4030/* end confdefs.h. */
3098#ifndef __cplusplus 4031#ifndef __cplusplus
3099static $ac_kw int static_foo () {return 0; } 4032typedef int foo_t;
3100$ac_kw int foo () {return 0; } 4033static $ac_kw foo_t static_foo () {return 0; }
4034$ac_kw foo_t foo () {return 0; }
3101#endif 4035#endif
3102 4036
3103_ACEOF 4037_ACEOF
3104rm -f conftest.$ac_objext 4038rm -f conftest.$ac_objext
3105if { (eval echo "$as_me:3105: \"$ac_compile\"") >&5 4039if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3106 (eval $ac_compile) 2>&5 4040 (eval $ac_compile) 2>conftest.er1
3107 ac_status=$? 4041 ac_status=$?
3108 echo "$as_me:3108: \$? = $ac_status" >&5 4042 grep -v '^ *+' conftest.er1 >conftest.err
4043 rm -f conftest.er1
4044 cat conftest.err >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109 (exit $ac_status); } && 4046 (exit $ac_status); } &&
3110 { ac_try='test -s conftest.$ac_objext' 4047 { ac_try='test -z "$ac_c_werror_flag"
3111 { (eval echo "$as_me:3111: \"$ac_try\"") >&5 4048 || test ! -s conftest.err'
4049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 (eval $ac_try) 2>&5
4051 ac_status=$?
4052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053 (exit $ac_status); }; } &&
4054 { ac_try='test -s conftest.$ac_objext'
4055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3112 (eval $ac_try) 2>&5 4056 (eval $ac_try) 2>&5
3113 ac_status=$? 4057 ac_status=$?
3114 echo "$as_me:3114: \$? = $ac_status" >&5 4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); }; }; then 4059 (exit $ac_status); }; }; then
3116 ac_cv_c_inline=$ac_kw; break 4060 ac_cv_c_inline=$ac_kw; break
3117else 4061else
3118 echo "$as_me: failed program was:" >&5 4062 echo "$as_me: failed program was:" >&5
3119cat conftest.$ac_ext >&5 4063sed 's/^/| /' conftest.$ac_ext >&5
4064
3120fi 4065fi
3121rm -f conftest.$ac_objext conftest.$ac_ext 4066rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3122done 4067done
3123 4068
3124fi 4069fi
3125echo "$as_me:3125: result: $ac_cv_c_inline" >&5 4070echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3126echo "${ECHO_T}$ac_cv_c_inline" >&6 4071echo "${ECHO_T}$ac_cv_c_inline" >&6
4072
4073
3127case $ac_cv_c_inline in 4074case $ac_cv_c_inline in
3128 inline | yes) ;; 4075 inline | yes) ;;
3129 no) 4076 *)
3130cat >>confdefs.h <<\EOF 4077 case $ac_cv_c_inline in
3131#define inline 4078 no) ac_val=;;
3132EOF 4079 *) ac_val=$ac_cv_c_inline;;
3133 ;; 4080 esac
3134 *) cat >>confdefs.h <<EOF 4081 cat >>confdefs.h <<_ACEOF
3135#define inline $ac_cv_c_inline 4082#ifndef __cplusplus
3136EOF 4083#define inline $ac_val
3137 ;; 4084#endif
4085_ACEOF
4086 ;;
3138esac 4087esac
3139 4088
3140if test "$GCC" = "yes" || test "$GCC" = "egcs"; then 4089if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
3141 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized" 4090 CFLAGS="$CFLAGS -Wall -Wpointer-arith -Wno-uninitialized"
3142fi 4091fi
3143 4092
4093
3144# Check whether --with-rpath or --without-rpath was given. 4094# Check whether --with-rpath or --without-rpath was given.
3145if test "${with_rpath+set}" = set; then 4095if test "${with_rpath+set}" = set; then
3146 withval="$with_rpath" 4096 withval="$with_rpath"
@@ -3152,12 +4102,13 @@ if test "${with_rpath+set}" = set; then
3152 need_dash_r=1 4102 need_dash_r=1
3153 fi 4103 fi
3154 4104
4105
3155fi; 4106fi;
3156 4107
3157# Check for some target-specific stuff 4108# Check for some target-specific stuff
3158case "$host" in 4109case "$host" in
3159*-*-aix*) 4110*-*-aix*)
3160 echo "$as_me:3160: checking how to specify blibpath for linker ($LD)" >&5 4111 echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
3161echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6 4112echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3162 if (test -z "$blibpath"); then 4113 if (test -z "$blibpath"); then
3163 blibpath="/usr/lib:/lib" 4114 blibpath="/usr/lib:/lib"
@@ -3167,8 +4118,11 @@ echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6
3167 if (test -z "$blibflags"); then 4118 if (test -z "$blibflags"); then
3168 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath" 4119 LDFLAGS="$saved_LDFLAGS $tryflags$blibpath"
3169 cat >conftest.$ac_ext <<_ACEOF 4120 cat >conftest.$ac_ext <<_ACEOF
3170#line 3170 "configure" 4121/* confdefs.h. */
3171#include "confdefs.h" 4122_ACEOF
4123cat confdefs.h >>conftest.$ac_ext
4124cat >>conftest.$ac_ext <<_ACEOF
4125/* end confdefs.h. */
3172 4126
3173int 4127int
3174main () 4128main ()
@@ -3179,101 +4133,145 @@ main ()
3179} 4133}
3180_ACEOF 4134_ACEOF
3181rm -f conftest.$ac_objext conftest$ac_exeext 4135rm -f conftest.$ac_objext conftest$ac_exeext
3182if { (eval echo "$as_me:3182: \"$ac_link\"") >&5 4136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3183 (eval $ac_link) 2>&5 4137 (eval $ac_link) 2>conftest.er1
3184 ac_status=$? 4138 ac_status=$?
3185 echo "$as_me:3185: \$? = $ac_status" >&5 4139 grep -v '^ *+' conftest.er1 >conftest.err
4140 rm -f conftest.er1
4141 cat conftest.err >&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } && 4143 (exit $ac_status); } &&
3187 { ac_try='test -s conftest$ac_exeext' 4144 { ac_try='test -z "$ac_c_werror_flag"
3188 { (eval echo "$as_me:3188: \"$ac_try\"") >&5 4145 || test ! -s conftest.err'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 (eval $ac_try) 2>&5 4147 (eval $ac_try) 2>&5
3190 ac_status=$? 4148 ac_status=$?
3191 echo "$as_me:3191: \$? = $ac_status" >&5 4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; } &&
4151 { ac_try='test -s conftest$ac_exeext'
4152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153 (eval $ac_try) 2>&5
4154 ac_status=$?
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then 4156 (exit $ac_status); }; }; then
3193 blibflags=$tryflags 4157 blibflags=$tryflags
3194else 4158else
3195 echo "$as_me: failed program was:" >&5 4159 echo "$as_me: failed program was:" >&5
3196cat conftest.$ac_ext >&5 4160sed 's/^/| /' conftest.$ac_ext >&5
4161
3197fi 4162fi
3198rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4163rm -f conftest.err conftest.$ac_objext \
4164 conftest$ac_exeext conftest.$ac_ext
3199 fi 4165 fi
3200 done 4166 done
3201 if (test -z "$blibflags"); then 4167 if (test -z "$blibflags"); then
3202 echo "$as_me:3202: result: not found" >&5 4168 echo "$as_me:$LINENO: result: not found" >&5
3203echo "${ECHO_T}not found" >&6 4169echo "${ECHO_T}not found" >&6
3204 { { echo "$as_me:3204: error: *** must be able to specify blibpath on AIX - check config.log" >&5 4170 { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
3205echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} 4171echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
3206 { (exit 1); exit 1; }; } 4172 { (exit 1); exit 1; }; }
3207 else 4173 else
3208 echo "$as_me:3208: result: $blibflags" >&5 4174 echo "$as_me:$LINENO: result: $blibflags" >&5
3209echo "${ECHO_T}$blibflags" >&6 4175echo "${ECHO_T}$blibflags" >&6
3210 fi 4176 fi
3211 LDFLAGS="$saved_LDFLAGS" 4177 LDFLAGS="$saved_LDFLAGS"
3212 echo "$as_me:3212: checking for authenticate" >&5 4178 echo "$as_me:$LINENO: checking for authenticate" >&5
3213echo $ECHO_N "checking for authenticate... $ECHO_C" >&6 4179echo $ECHO_N "checking for authenticate... $ECHO_C" >&6
3214if test "${ac_cv_func_authenticate+set}" = set; then 4180if test "${ac_cv_func_authenticate+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6 4181 echo $ECHO_N "(cached) $ECHO_C" >&6
3216else 4182else
3217 cat >conftest.$ac_ext <<_ACEOF 4183 cat >conftest.$ac_ext <<_ACEOF
3218#line 3218 "configure" 4184/* confdefs.h. */
3219#include "confdefs.h" 4185_ACEOF
4186cat confdefs.h >>conftest.$ac_ext
4187cat >>conftest.$ac_ext <<_ACEOF
4188/* end confdefs.h. */
4189/* Define authenticate to an innocuous variant, in case <limits.h> declares authenticate.
4190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4191#define authenticate innocuous_authenticate
4192
3220/* System header to define __stub macros and hopefully few prototypes, 4193/* System header to define __stub macros and hopefully few prototypes,
3221 which can conflict with char authenticate (); below. */ 4194 which can conflict with char authenticate (); below.
3222#include <assert.h> 4195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4196 <limits.h> exists even on freestanding compilers. */
4197
4198#ifdef __STDC__
4199# include <limits.h>
4200#else
4201# include <assert.h>
4202#endif
4203
4204#undef authenticate
4205
3223/* Override any gcc2 internal prototype to avoid an error. */ 4206/* Override any gcc2 internal prototype to avoid an error. */
3224#ifdef __cplusplus 4207#ifdef __cplusplus
3225extern "C" 4208extern "C"
4209{
3226#endif 4210#endif
3227/* We use char because int might match the return type of a gcc2 4211/* We use char because int might match the return type of a gcc2
3228 builtin and then its argument prototype would still apply. */ 4212 builtin and then its argument prototype would still apply. */
3229char authenticate (); 4213char authenticate ();
3230char (*f) ();
3231
3232int
3233main ()
3234{
3235/* The GNU C library defines this for functions which it implements 4214/* The GNU C library defines this for functions which it implements
3236 to always fail with ENOSYS. Some functions are actually named 4215 to always fail with ENOSYS. Some functions are actually named
3237 something starting with __ and the normal name is an alias. */ 4216 something starting with __ and the normal name is an alias. */
3238#if defined (__stub_authenticate) || defined (__stub___authenticate) 4217#if defined (__stub_authenticate) || defined (__stub___authenticate)
3239choke me 4218choke me
3240#else 4219#else
3241f = authenticate; 4220char (*f) () = authenticate;
4221#endif
4222#ifdef __cplusplus
4223}
3242#endif 4224#endif
3243 4225
4226int
4227main ()
4228{
4229return f != authenticate;
3244 ; 4230 ;
3245 return 0; 4231 return 0;
3246} 4232}
3247_ACEOF 4233_ACEOF
3248rm -f conftest.$ac_objext conftest$ac_exeext 4234rm -f conftest.$ac_objext conftest$ac_exeext
3249if { (eval echo "$as_me:3249: \"$ac_link\"") >&5 4235if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3250 (eval $ac_link) 2>&5 4236 (eval $ac_link) 2>conftest.er1
3251 ac_status=$? 4237 ac_status=$?
3252 echo "$as_me:3252: \$? = $ac_status" >&5 4238 grep -v '^ *+' conftest.er1 >conftest.err
4239 rm -f conftest.er1
4240 cat conftest.err >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); } && 4242 (exit $ac_status); } &&
3254 { ac_try='test -s conftest$ac_exeext' 4243 { ac_try='test -z "$ac_c_werror_flag"
3255 { (eval echo "$as_me:3255: \"$ac_try\"") >&5 4244 || test ! -s conftest.err'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 (eval $ac_try) 2>&5
4247 ac_status=$?
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; } &&
4250 { ac_try='test -s conftest$ac_exeext'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3256 (eval $ac_try) 2>&5 4252 (eval $ac_try) 2>&5
3257 ac_status=$? 4253 ac_status=$?
3258 echo "$as_me:3258: \$? = $ac_status" >&5 4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); }; }; then 4255 (exit $ac_status); }; }; then
3260 ac_cv_func_authenticate=yes 4256 ac_cv_func_authenticate=yes
3261else 4257else
3262 echo "$as_me: failed program was:" >&5 4258 echo "$as_me: failed program was:" >&5
3263cat conftest.$ac_ext >&5 4259sed 's/^/| /' conftest.$ac_ext >&5
4260
3264ac_cv_func_authenticate=no 4261ac_cv_func_authenticate=no
3265fi 4262fi
3266rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4263rm -f conftest.err conftest.$ac_objext \
4264 conftest$ac_exeext conftest.$ac_ext
3267fi 4265fi
3268echo "$as_me:3268: result: $ac_cv_func_authenticate" >&5 4266echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
3269echo "${ECHO_T}$ac_cv_func_authenticate" >&6 4267echo "${ECHO_T}$ac_cv_func_authenticate" >&6
3270if test $ac_cv_func_authenticate = yes; then 4268if test $ac_cv_func_authenticate = yes; then
3271 cat >>confdefs.h <<\EOF 4269 cat >>confdefs.h <<\_ACEOF
3272#define WITH_AIXAUTHENTICATE 1 4270#define WITH_AIXAUTHENTICATE 1
3273EOF 4271_ACEOF
3274 4272
3275else 4273else
3276 echo "$as_me:3276: checking for authenticate in -ls" >&5 4274 echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
3277echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6 4275echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6
3278if test "${ac_cv_lib_s_authenticate+set}" = set; then 4276if test "${ac_cv_lib_s_authenticate+set}" = set; then
3279 echo $ECHO_N "(cached) $ECHO_C" >&6 4277 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3281,8 +4279,11 @@ else
3281 ac_check_lib_save_LIBS=$LIBS 4279 ac_check_lib_save_LIBS=$LIBS
3282LIBS="-ls $LIBS" 4280LIBS="-ls $LIBS"
3283cat >conftest.$ac_ext <<_ACEOF 4281cat >conftest.$ac_ext <<_ACEOF
3284#line 3284 "configure" 4282/* confdefs.h. */
3285#include "confdefs.h" 4283_ACEOF
4284cat confdefs.h >>conftest.$ac_ext
4285cat >>conftest.$ac_ext <<_ACEOF
4286/* end confdefs.h. */
3286 4287
3287/* Override any gcc2 internal prototype to avoid an error. */ 4288/* Override any gcc2 internal prototype to avoid an error. */
3288#ifdef __cplusplus 4289#ifdef __cplusplus
@@ -3300,49 +4301,66 @@ authenticate ();
3300} 4301}
3301_ACEOF 4302_ACEOF
3302rm -f conftest.$ac_objext conftest$ac_exeext 4303rm -f conftest.$ac_objext conftest$ac_exeext
3303if { (eval echo "$as_me:3303: \"$ac_link\"") >&5 4304if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3304 (eval $ac_link) 2>&5 4305 (eval $ac_link) 2>conftest.er1
3305 ac_status=$? 4306 ac_status=$?
3306 echo "$as_me:3306: \$? = $ac_status" >&5 4307 grep -v '^ *+' conftest.er1 >conftest.err
4308 rm -f conftest.er1
4309 cat conftest.err >&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); } && 4311 (exit $ac_status); } &&
3308 { ac_try='test -s conftest$ac_exeext' 4312 { ac_try='test -z "$ac_c_werror_flag"
3309 { (eval echo "$as_me:3309: \"$ac_try\"") >&5 4313 || test ! -s conftest.err'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 (eval $ac_try) 2>&5 4315 (eval $ac_try) 2>&5
3311 ac_status=$? 4316 ac_status=$?
3312 echo "$as_me:3312: \$? = $ac_status" >&5 4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; } &&
4319 { ac_try='test -s conftest$ac_exeext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321 (eval $ac_try) 2>&5
4322 ac_status=$?
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then 4324 (exit $ac_status); }; }; then
3314 ac_cv_lib_s_authenticate=yes 4325 ac_cv_lib_s_authenticate=yes
3315else 4326else
3316 echo "$as_me: failed program was:" >&5 4327 echo "$as_me: failed program was:" >&5
3317cat conftest.$ac_ext >&5 4328sed 's/^/| /' conftest.$ac_ext >&5
4329
3318ac_cv_lib_s_authenticate=no 4330ac_cv_lib_s_authenticate=no
3319fi 4331fi
3320rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4332rm -f conftest.err conftest.$ac_objext \
4333 conftest$ac_exeext conftest.$ac_ext
3321LIBS=$ac_check_lib_save_LIBS 4334LIBS=$ac_check_lib_save_LIBS
3322fi 4335fi
3323echo "$as_me:3323: result: $ac_cv_lib_s_authenticate" >&5 4336echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
3324echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6 4337echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6
3325if test $ac_cv_lib_s_authenticate = yes; then 4338if test $ac_cv_lib_s_authenticate = yes; then
3326 cat >>confdefs.h <<\EOF 4339 cat >>confdefs.h <<\_ACEOF
3327#define WITH_AIXAUTHENTICATE 1 4340#define WITH_AIXAUTHENTICATE 1
3328EOF 4341_ACEOF
3329 4342
3330 LIBS="$LIBS -ls" 4343 LIBS="$LIBS -ls"
3331 4344
3332fi 4345fi
3333 4346
4347
3334fi 4348fi
3335 4349
3336 echo "$as_me:3336: checking whether loginfailed is declared" >&5 4350 echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5
3337echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6 4351echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6
3338if test "${ac_cv_have_decl_loginfailed+set}" = set; then 4352if test "${ac_cv_have_decl_loginfailed+set}" = set; then
3339 echo $ECHO_N "(cached) $ECHO_C" >&6 4353 echo $ECHO_N "(cached) $ECHO_C" >&6
3340else 4354else
3341 cat >conftest.$ac_ext <<_ACEOF 4355 cat >conftest.$ac_ext <<_ACEOF
3342#line 3342 "configure" 4356/* confdefs.h. */
3343#include "confdefs.h" 4357_ACEOF
4358cat confdefs.h >>conftest.$ac_ext
4359cat >>conftest.$ac_ext <<_ACEOF
4360/* end confdefs.h. */
3344#include <usersec.h> 4361#include <usersec.h>
3345 4362
4363
3346int 4364int
3347main () 4365main ()
3348{ 4366{
@@ -3355,33 +4373,47 @@ main ()
3355} 4373}
3356_ACEOF 4374_ACEOF
3357rm -f conftest.$ac_objext 4375rm -f conftest.$ac_objext
3358if { (eval echo "$as_me:3358: \"$ac_compile\"") >&5 4376if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3359 (eval $ac_compile) 2>&5 4377 (eval $ac_compile) 2>conftest.er1
3360 ac_status=$? 4378 ac_status=$?
3361 echo "$as_me:3361: \$? = $ac_status" >&5 4379 grep -v '^ *+' conftest.er1 >conftest.err
4380 rm -f conftest.er1
4381 cat conftest.err >&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); } && 4383 (exit $ac_status); } &&
3363 { ac_try='test -s conftest.$ac_objext' 4384 { ac_try='test -z "$ac_c_werror_flag"
3364 { (eval echo "$as_me:3364: \"$ac_try\"") >&5 4385 || test ! -s conftest.err'
4386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 (eval $ac_try) 2>&5 4387 (eval $ac_try) 2>&5
3366 ac_status=$? 4388 ac_status=$?
3367 echo "$as_me:3367: \$? = $ac_status" >&5 4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; } &&
4391 { ac_try='test -s conftest.$ac_objext'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 (eval $ac_try) 2>&5
4394 ac_status=$?
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; }; then 4396 (exit $ac_status); }; }; then
3369 ac_cv_have_decl_loginfailed=yes 4397 ac_cv_have_decl_loginfailed=yes
3370else 4398else
3371 echo "$as_me: failed program was:" >&5 4399 echo "$as_me: failed program was:" >&5
3372cat conftest.$ac_ext >&5 4400sed 's/^/| /' conftest.$ac_ext >&5
4401
3373ac_cv_have_decl_loginfailed=no 4402ac_cv_have_decl_loginfailed=no
3374fi 4403fi
3375rm -f conftest.$ac_objext conftest.$ac_ext 4404rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3376fi 4405fi
3377echo "$as_me:3377: result: $ac_cv_have_decl_loginfailed" >&5 4406echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5
3378echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6 4407echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6
3379if test $ac_cv_have_decl_loginfailed = yes; then 4408if test $ac_cv_have_decl_loginfailed = yes; then
3380 echo "$as_me:3380: checking if loginfailed takes 4 arguments" >&5 4409 echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5
3381echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6 4410echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6
3382 cat >conftest.$ac_ext <<_ACEOF 4411 cat >conftest.$ac_ext <<_ACEOF
3383#line 3383 "configure" 4412/* confdefs.h. */
3384#include "confdefs.h" 4413_ACEOF
4414cat confdefs.h >>conftest.$ac_ext
4415cat >>conftest.$ac_ext <<_ACEOF
4416/* end confdefs.h. */
3385#include <usersec.h> 4417#include <usersec.h>
3386int 4418int
3387main () 4419main ()
@@ -3392,199 +4424,246 @@ main ()
3392} 4424}
3393_ACEOF 4425_ACEOF
3394rm -f conftest.$ac_objext 4426rm -f conftest.$ac_objext
3395if { (eval echo "$as_me:3395: \"$ac_compile\"") >&5 4427if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 (eval $ac_compile) 2>&5 4428 (eval $ac_compile) 2>conftest.er1
3397 ac_status=$? 4429 ac_status=$?
3398 echo "$as_me:3398: \$? = $ac_status" >&5 4430 grep -v '^ *+' conftest.er1 >conftest.err
4431 rm -f conftest.er1
4432 cat conftest.err >&5
4433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } && 4434 (exit $ac_status); } &&
3400 { ac_try='test -s conftest.$ac_objext' 4435 { ac_try='test -z "$ac_c_werror_flag"
3401 { (eval echo "$as_me:3401: \"$ac_try\"") >&5 4436 || test ! -s conftest.err'
4437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438 (eval $ac_try) 2>&5
4439 ac_status=$?
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; } &&
4442 { ac_try='test -s conftest.$ac_objext'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3402 (eval $ac_try) 2>&5 4444 (eval $ac_try) 2>&5
3403 ac_status=$? 4445 ac_status=$?
3404 echo "$as_me:3404: \$? = $ac_status" >&5 4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); }; }; then 4447 (exit $ac_status); }; }; then
3406 echo "$as_me:3406: result: yes" >&5 4448 echo "$as_me:$LINENO: result: yes" >&5
3407echo "${ECHO_T}yes" >&6 4449echo "${ECHO_T}yes" >&6
3408 cat >>confdefs.h <<\EOF 4450 cat >>confdefs.h <<\_ACEOF
3409#define AIX_LOGINFAILED_4ARG 1 4451#define AIX_LOGINFAILED_4ARG 1
3410EOF 4452_ACEOF
3411 4453
3412else 4454else
3413 echo "$as_me: failed program was:" >&5 4455 echo "$as_me: failed program was:" >&5
3414cat conftest.$ac_ext >&5 4456sed 's/^/| /' conftest.$ac_ext >&5
3415echo "$as_me:3415: result: no" >&5 4457
4458echo "$as_me:$LINENO: result: no" >&5
3416echo "${ECHO_T}no" >&6 4459echo "${ECHO_T}no" >&6
3417 4460
3418fi 4461fi
3419rm -f conftest.$ac_objext conftest.$ac_ext 4462rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3420fi 4463fi
3421 4464
4465
3422for ac_func in setauthdb 4466for ac_func in setauthdb
3423do 4467do
3424as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 4468as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3425echo "$as_me:3425: checking for $ac_func" >&5 4469echo "$as_me:$LINENO: checking for $ac_func" >&5
3426echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 4470echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3427if eval "test \"\${$as_ac_var+set}\" = set"; then 4471if eval "test \"\${$as_ac_var+set}\" = set"; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6 4472 echo $ECHO_N "(cached) $ECHO_C" >&6
3429else 4473else
3430 cat >conftest.$ac_ext <<_ACEOF 4474 cat >conftest.$ac_ext <<_ACEOF
3431#line 3431 "configure" 4475/* confdefs.h. */
3432#include "confdefs.h" 4476_ACEOF
4477cat confdefs.h >>conftest.$ac_ext
4478cat >>conftest.$ac_ext <<_ACEOF
4479/* end confdefs.h. */
4480/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4482#define $ac_func innocuous_$ac_func
4483
3433/* System header to define __stub macros and hopefully few prototypes, 4484/* System header to define __stub macros and hopefully few prototypes,
3434 which can conflict with char $ac_func (); below. */ 4485 which can conflict with char $ac_func (); below.
3435#include <assert.h> 4486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 <limits.h> exists even on freestanding compilers. */
4488
4489#ifdef __STDC__
4490# include <limits.h>
4491#else
4492# include <assert.h>
4493#endif
4494
4495#undef $ac_func
4496
3436/* Override any gcc2 internal prototype to avoid an error. */ 4497/* Override any gcc2 internal prototype to avoid an error. */
3437#ifdef __cplusplus 4498#ifdef __cplusplus
3438extern "C" 4499extern "C"
4500{
3439#endif 4501#endif
3440/* We use char because int might match the return type of a gcc2 4502/* We use char because int might match the return type of a gcc2
3441 builtin and then its argument prototype would still apply. */ 4503 builtin and then its argument prototype would still apply. */
3442char $ac_func (); 4504char $ac_func ();
3443char (*f) ();
3444
3445int
3446main ()
3447{
3448/* The GNU C library defines this for functions which it implements 4505/* The GNU C library defines this for functions which it implements
3449 to always fail with ENOSYS. Some functions are actually named 4506 to always fail with ENOSYS. Some functions are actually named
3450 something starting with __ and the normal name is an alias. */ 4507 something starting with __ and the normal name is an alias. */
3451#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 4508#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3452choke me 4509choke me
3453#else 4510#else
3454f = $ac_func; 4511char (*f) () = $ac_func;
4512#endif
4513#ifdef __cplusplus
4514}
3455#endif 4515#endif
3456 4516
4517int
4518main ()
4519{
4520return f != $ac_func;
3457 ; 4521 ;
3458 return 0; 4522 return 0;
3459} 4523}
3460_ACEOF 4524_ACEOF
3461rm -f conftest.$ac_objext conftest$ac_exeext 4525rm -f conftest.$ac_objext conftest$ac_exeext
3462if { (eval echo "$as_me:3462: \"$ac_link\"") >&5 4526if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3463 (eval $ac_link) 2>&5 4527 (eval $ac_link) 2>conftest.er1
3464 ac_status=$? 4528 ac_status=$?
3465 echo "$as_me:3465: \$? = $ac_status" >&5 4529 grep -v '^ *+' conftest.er1 >conftest.err
4530 rm -f conftest.er1
4531 cat conftest.err >&5
4532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } && 4533 (exit $ac_status); } &&
3467 { ac_try='test -s conftest$ac_exeext' 4534 { ac_try='test -z "$ac_c_werror_flag"
3468 { (eval echo "$as_me:3468: \"$ac_try\"") >&5 4535 || test ! -s conftest.err'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 (eval $ac_try) 2>&5
4538 ac_status=$?
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; } &&
4541 { ac_try='test -s conftest$ac_exeext'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3469 (eval $ac_try) 2>&5 4543 (eval $ac_try) 2>&5
3470 ac_status=$? 4544 ac_status=$?
3471 echo "$as_me:3471: \$? = $ac_status" >&5 4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then 4546 (exit $ac_status); }; }; then
3473 eval "$as_ac_var=yes" 4547 eval "$as_ac_var=yes"
3474else 4548else
3475 echo "$as_me: failed program was:" >&5 4549 echo "$as_me: failed program was:" >&5
3476cat conftest.$ac_ext >&5 4550sed 's/^/| /' conftest.$ac_ext >&5
4551
3477eval "$as_ac_var=no" 4552eval "$as_ac_var=no"
3478fi 4553fi
3479rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4554rm -f conftest.err conftest.$ac_objext \
4555 conftest$ac_exeext conftest.$ac_ext
3480fi 4556fi
3481echo "$as_me:3481: result: `eval echo '${'$as_ac_var'}'`" >&5 4557echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3482echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 4558echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3483if test `eval echo '${'$as_ac_var'}'` = yes; then 4559if test `eval echo '${'$as_ac_var'}'` = yes; then
3484 cat >>confdefs.h <<EOF 4560 cat >>confdefs.h <<_ACEOF
3485#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 4561#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3486EOF 4562_ACEOF
3487 4563
3488fi 4564fi
3489done 4565done
3490 4566
3491 cat >>confdefs.h <<\EOF 4567 cat >>confdefs.h <<\_ACEOF
3492#define BROKEN_GETADDRINFO 1 4568#define BROKEN_GETADDRINFO 1
3493EOF 4569_ACEOF
3494 4570
3495 cat >>confdefs.h <<\EOF 4571 cat >>confdefs.h <<\_ACEOF
3496#define BROKEN_REALPATH 1 4572#define BROKEN_REALPATH 1
3497EOF 4573_ACEOF
3498 4574
3499 cat >>confdefs.h <<\EOF 4575 cat >>confdefs.h <<\_ACEOF
3500#define SETEUID_BREAKS_SETUID 1 4576#define SETEUID_BREAKS_SETUID 1
3501EOF 4577_ACEOF
3502 4578
3503 cat >>confdefs.h <<\EOF 4579 cat >>confdefs.h <<\_ACEOF
3504#define BROKEN_SETREUID 1 4580#define BROKEN_SETREUID 1
3505EOF 4581_ACEOF
3506 4582
3507 cat >>confdefs.h <<\EOF 4583 cat >>confdefs.h <<\_ACEOF
3508#define BROKEN_SETREGID 1 4584#define BROKEN_SETREGID 1
3509EOF 4585_ACEOF
3510 4586
3511 cat >>confdefs.h <<\EOF 4587 cat >>confdefs.h <<\_ACEOF
3512#define DISABLE_LASTLOG 1 4588#define DISABLE_LASTLOG 1
3513EOF 4589_ACEOF
3514 4590
3515 cat >>confdefs.h <<\EOF 4591 cat >>confdefs.h <<\_ACEOF
3516#define LOGIN_NEEDS_UTMPX 1 4592#define LOGIN_NEEDS_UTMPX 1
3517EOF 4593_ACEOF
3518 4594
3519 cat >>confdefs.h <<\EOF 4595 cat >>confdefs.h <<\_ACEOF
3520#define SPT_TYPE SPT_REUSEARGV 4596#define SPT_TYPE SPT_REUSEARGV
3521EOF 4597_ACEOF
3522 4598
3523 ;; 4599 ;;
3524*-*-cygwin*) 4600*-*-cygwin*)
3525 check_for_libcrypt_later=1 4601 check_for_libcrypt_later=1
3526 LIBS="$LIBS /usr/lib/textmode.o" 4602 LIBS="$LIBS /usr/lib/textmode.o"
3527 cat >>confdefs.h <<\EOF 4603 cat >>confdefs.h <<\_ACEOF
3528#define HAVE_CYGWIN 1 4604#define HAVE_CYGWIN 1
3529EOF 4605_ACEOF
3530 4606
3531 cat >>confdefs.h <<\EOF 4607 cat >>confdefs.h <<\_ACEOF
3532#define USE_PIPES 1 4608#define USE_PIPES 1
3533EOF 4609_ACEOF
3534 4610
3535 cat >>confdefs.h <<\EOF 4611 cat >>confdefs.h <<\_ACEOF
3536#define DISABLE_SHADOW 1 4612#define DISABLE_SHADOW 1
3537EOF 4613_ACEOF
3538 4614
3539 cat >>confdefs.h <<\EOF 4615 cat >>confdefs.h <<\_ACEOF
3540#define IP_TOS_IS_BROKEN 1 4616#define IP_TOS_IS_BROKEN 1
3541EOF 4617_ACEOF
3542 4618
3543 cat >>confdefs.h <<\EOF 4619 cat >>confdefs.h <<\_ACEOF
3544#define NO_X11_UNIX_SOCKETS 1 4620#define NO_X11_UNIX_SOCKETS 1
3545EOF 4621_ACEOF
3546 4622
3547 cat >>confdefs.h <<\EOF 4623 cat >>confdefs.h <<\_ACEOF
3548#define NO_IPPORT_RESERVED_CONCEPT 1 4624#define NO_IPPORT_RESERVED_CONCEPT 1
3549EOF 4625_ACEOF
3550 4626
3551 cat >>confdefs.h <<\EOF 4627 cat >>confdefs.h <<\_ACEOF
3552#define DISABLE_FD_PASSING 1 4628#define DISABLE_FD_PASSING 1
3553EOF 4629_ACEOF
3554 4630
3555 cat >>confdefs.h <<\EOF 4631 cat >>confdefs.h <<\_ACEOF
3556#define SETGROUPS_NOOP 1 4632#define SETGROUPS_NOOP 1
3557EOF 4633_ACEOF
3558 4634
3559 ;; 4635 ;;
3560*-*-dgux*) 4636*-*-dgux*)
3561 cat >>confdefs.h <<\EOF 4637 cat >>confdefs.h <<\_ACEOF
3562#define IP_TOS_IS_BROKEN 1 4638#define IP_TOS_IS_BROKEN 1
3563EOF 4639_ACEOF
3564 4640
3565 cat >>confdefs.h <<\EOF 4641 cat >>confdefs.h <<\_ACEOF
3566#define SETEUID_BREAKS_SETUID 1 4642#define SETEUID_BREAKS_SETUID 1
3567EOF 4643_ACEOF
3568 4644
3569 cat >>confdefs.h <<\EOF 4645 cat >>confdefs.h <<\_ACEOF
3570#define BROKEN_SETREUID 1 4646#define BROKEN_SETREUID 1
3571EOF 4647_ACEOF
3572 4648
3573 cat >>confdefs.h <<\EOF 4649 cat >>confdefs.h <<\_ACEOF
3574#define BROKEN_SETREGID 1 4650#define BROKEN_SETREGID 1
3575EOF 4651_ACEOF
3576 4652
3577 ;; 4653 ;;
3578*-*-darwin*) 4654*-*-darwin*)
3579 echo "$as_me:3579: checking if we have working getaddrinfo" >&5 4655 echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
3580echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6 4656echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6
3581 if test "$cross_compiling" = yes; then 4657 if test "$cross_compiling" = yes; then
3582 echo "$as_me:3582: result: assume it is working" >&5 4658 echo "$as_me:$LINENO: result: assume it is working" >&5
3583echo "${ECHO_T}assume it is working" >&6 4659echo "${ECHO_T}assume it is working" >&6
3584else 4660else
3585 cat >conftest.$ac_ext <<_ACEOF 4661 cat >conftest.$ac_ext <<_ACEOF
3586#line 3586 "configure" 4662/* confdefs.h. */
3587#include "confdefs.h" 4663_ACEOF
4664cat confdefs.h >>conftest.$ac_ext
4665cat >>conftest.$ac_ext <<_ACEOF
4666/* end confdefs.h. */
3588#include <mach-o/dyld.h> 4667#include <mach-o/dyld.h>
3589main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) 4668main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3590 exit(0); 4669 exit(0);
@@ -3593,46 +4672,48 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
3593} 4672}
3594_ACEOF 4673_ACEOF
3595rm -f conftest$ac_exeext 4674rm -f conftest$ac_exeext
3596if { (eval echo "$as_me:3596: \"$ac_link\"") >&5 4675if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3597 (eval $ac_link) 2>&5 4676 (eval $ac_link) 2>&5
3598 ac_status=$? 4677 ac_status=$?
3599 echo "$as_me:3599: \$? = $ac_status" >&5 4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3601 { (eval echo "$as_me:3601: \"$ac_try\"") >&5 4680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 (eval $ac_try) 2>&5 4681 (eval $ac_try) 2>&5
3603 ac_status=$? 4682 ac_status=$?
3604 echo "$as_me:3604: \$? = $ac_status" >&5 4683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); }; }; then 4684 (exit $ac_status); }; }; then
3606 echo "$as_me:3606: result: working" >&5 4685 echo "$as_me:$LINENO: result: working" >&5
3607echo "${ECHO_T}working" >&6 4686echo "${ECHO_T}working" >&6
3608else 4687else
3609 echo "$as_me: program exited with status $ac_status" >&5 4688 echo "$as_me: program exited with status $ac_status" >&5
3610echo "$as_me: failed program was:" >&5 4689echo "$as_me: failed program was:" >&5
3611cat conftest.$ac_ext >&5 4690sed 's/^/| /' conftest.$ac_ext >&5
3612echo "$as_me:3612: result: buggy" >&5 4691
4692( exit $ac_status )
4693echo "$as_me:$LINENO: result: buggy" >&5
3613echo "${ECHO_T}buggy" >&6 4694echo "${ECHO_T}buggy" >&6
3614 cat >>confdefs.h <<\EOF 4695 cat >>confdefs.h <<\_ACEOF
3615#define BROKEN_GETADDRINFO 1 4696#define BROKEN_GETADDRINFO 1
3616EOF 4697_ACEOF
3617 4698
3618fi 4699fi
3619rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4700rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3620fi 4701fi
3621 cat >>confdefs.h <<\EOF 4702 cat >>confdefs.h <<\_ACEOF
3622#define SETEUID_BREAKS_SETUID 1 4703#define SETEUID_BREAKS_SETUID 1
3623EOF 4704_ACEOF
3624 4705
3625 cat >>confdefs.h <<\EOF 4706 cat >>confdefs.h <<\_ACEOF
3626#define BROKEN_SETREUID 1 4707#define BROKEN_SETREUID 1
3627EOF 4708_ACEOF
3628 4709
3629 cat >>confdefs.h <<\EOF 4710 cat >>confdefs.h <<\_ACEOF
3630#define BROKEN_SETREGID 1 4711#define BROKEN_SETREGID 1
3631EOF 4712_ACEOF
3632 4713
3633 cat >>confdefs.h <<EOF 4714 cat >>confdefs.h <<_ACEOF
3634#define BIND_8_COMPAT 1 4715#define BIND_8_COMPAT 1
3635EOF 4716_ACEOF
3636 4717
3637 ;; 4718 ;;
3638*-*-hpux10.26) 4719*-*-hpux10.26)
@@ -3641,33 +4722,33 @@ EOF
3641 fi 4722 fi
3642 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 4723 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3643 IPADDR_IN_DISPLAY=yes 4724 IPADDR_IN_DISPLAY=yes
3644 cat >>confdefs.h <<\EOF 4725 cat >>confdefs.h <<\_ACEOF
3645#define HAVE_SECUREWARE 1 4726#define HAVE_SECUREWARE 1
3646EOF 4727_ACEOF
3647 4728
3648 cat >>confdefs.h <<\EOF 4729 cat >>confdefs.h <<\_ACEOF
3649#define USE_PIPES 1 4730#define USE_PIPES 1
3650EOF 4731_ACEOF
3651 4732
3652 cat >>confdefs.h <<\EOF 4733 cat >>confdefs.h <<\_ACEOF
3653#define LOGIN_NO_ENDOPT 1 4734#define LOGIN_NO_ENDOPT 1
3654EOF 4735_ACEOF
3655 4736
3656 cat >>confdefs.h <<\EOF 4737 cat >>confdefs.h <<\_ACEOF
3657#define LOGIN_NEEDS_UTMPX 1 4738#define LOGIN_NEEDS_UTMPX 1
3658EOF 4739_ACEOF
3659 4740
3660 cat >>confdefs.h <<\EOF 4741 cat >>confdefs.h <<\_ACEOF
3661#define LOCKED_PASSWD_STRING "*" 4742#define LOCKED_PASSWD_STRING "*"
3662EOF 4743_ACEOF
3663 4744
3664 cat >>confdefs.h <<\EOF 4745 cat >>confdefs.h <<\_ACEOF
3665#define SPT_TYPE SPT_PSTAT 4746#define SPT_TYPE SPT_PSTAT
3666EOF 4747_ACEOF
3667 4748
3668 LIBS="$LIBS -lsec -lsecpw" 4749 LIBS="$LIBS -lsec -lsecpw"
3669 4750
3670echo "$as_me:3670: checking for t_error in -lxnet" >&5 4751echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3671echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 4752echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3672if test "${ac_cv_lib_xnet_t_error+set}" = set; then 4753if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6 4754 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3675,8 +4756,11 @@ else
3675 ac_check_lib_save_LIBS=$LIBS 4756 ac_check_lib_save_LIBS=$LIBS
3676LIBS="-lxnet $LIBS" 4757LIBS="-lxnet $LIBS"
3677cat >conftest.$ac_ext <<_ACEOF 4758cat >conftest.$ac_ext <<_ACEOF
3678#line 3678 "configure" 4759/* confdefs.h. */
3679#include "confdefs.h" 4760_ACEOF
4761cat confdefs.h >>conftest.$ac_ext
4762cat >>conftest.$ac_ext <<_ACEOF
4763/* end confdefs.h. */
3680 4764
3681/* Override any gcc2 internal prototype to avoid an error. */ 4765/* Override any gcc2 internal prototype to avoid an error. */
3682#ifdef __cplusplus 4766#ifdef __cplusplus
@@ -3694,37 +4778,49 @@ t_error ();
3694} 4778}
3695_ACEOF 4779_ACEOF
3696rm -f conftest.$ac_objext conftest$ac_exeext 4780rm -f conftest.$ac_objext conftest$ac_exeext
3697if { (eval echo "$as_me:3697: \"$ac_link\"") >&5 4781if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3698 (eval $ac_link) 2>&5 4782 (eval $ac_link) 2>conftest.er1
3699 ac_status=$? 4783 ac_status=$?
3700 echo "$as_me:3700: \$? = $ac_status" >&5 4784 grep -v '^ *+' conftest.er1 >conftest.err
4785 rm -f conftest.er1
4786 cat conftest.err >&5
4787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } && 4788 (exit $ac_status); } &&
3702 { ac_try='test -s conftest$ac_exeext' 4789 { ac_try='test -z "$ac_c_werror_flag"
3703 { (eval echo "$as_me:3703: \"$ac_try\"") >&5 4790 || test ! -s conftest.err'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792 (eval $ac_try) 2>&5
4793 ac_status=$?
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; } &&
4796 { ac_try='test -s conftest$ac_exeext'
4797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 (eval $ac_try) 2>&5 4798 (eval $ac_try) 2>&5
3705 ac_status=$? 4799 ac_status=$?
3706 echo "$as_me:3706: \$? = $ac_status" >&5 4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; }; then 4801 (exit $ac_status); }; }; then
3708 ac_cv_lib_xnet_t_error=yes 4802 ac_cv_lib_xnet_t_error=yes
3709else 4803else
3710 echo "$as_me: failed program was:" >&5 4804 echo "$as_me: failed program was:" >&5
3711cat conftest.$ac_ext >&5 4805sed 's/^/| /' conftest.$ac_ext >&5
4806
3712ac_cv_lib_xnet_t_error=no 4807ac_cv_lib_xnet_t_error=no
3713fi 4808fi
3714rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4809rm -f conftest.err conftest.$ac_objext \
4810 conftest$ac_exeext conftest.$ac_ext
3715LIBS=$ac_check_lib_save_LIBS 4811LIBS=$ac_check_lib_save_LIBS
3716fi 4812fi
3717echo "$as_me:3717: result: $ac_cv_lib_xnet_t_error" >&5 4813echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3718echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 4814echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3719if test $ac_cv_lib_xnet_t_error = yes; then 4815if test $ac_cv_lib_xnet_t_error = yes; then
3720 cat >>confdefs.h <<EOF 4816 cat >>confdefs.h <<_ACEOF
3721#define HAVE_LIBXNET 1 4817#define HAVE_LIBXNET 1
3722EOF 4818_ACEOF
3723 4819
3724 LIBS="-lxnet $LIBS" 4820 LIBS="-lxnet $LIBS"
3725 4821
3726else 4822else
3727 { { echo "$as_me:3727: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 4823 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3728echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 4824echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3729 { (exit 1); exit 1; }; } 4825 { (exit 1); exit 1; }; }
3730fi 4826fi
@@ -3737,29 +4833,29 @@ fi
3737 fi 4833 fi
3738 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 4834 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3739 IPADDR_IN_DISPLAY=yes 4835 IPADDR_IN_DISPLAY=yes
3740 cat >>confdefs.h <<\EOF 4836 cat >>confdefs.h <<\_ACEOF
3741#define USE_PIPES 1 4837#define USE_PIPES 1
3742EOF 4838_ACEOF
3743 4839
3744 cat >>confdefs.h <<\EOF 4840 cat >>confdefs.h <<\_ACEOF
3745#define LOGIN_NO_ENDOPT 1 4841#define LOGIN_NO_ENDOPT 1
3746EOF 4842_ACEOF
3747 4843
3748 cat >>confdefs.h <<\EOF 4844 cat >>confdefs.h <<\_ACEOF
3749#define LOGIN_NEEDS_UTMPX 1 4845#define LOGIN_NEEDS_UTMPX 1
3750EOF 4846_ACEOF
3751 4847
3752 cat >>confdefs.h <<\EOF 4848 cat >>confdefs.h <<\_ACEOF
3753#define LOCKED_PASSWD_STRING "*" 4849#define LOCKED_PASSWD_STRING "*"
3754EOF 4850_ACEOF
3755 4851
3756 cat >>confdefs.h <<\EOF 4852 cat >>confdefs.h <<\_ACEOF
3757#define SPT_TYPE SPT_PSTAT 4853#define SPT_TYPE SPT_PSTAT
3758EOF 4854_ACEOF
3759 4855
3760 LIBS="$LIBS -lsec" 4856 LIBS="$LIBS -lsec"
3761 4857
3762echo "$as_me:3762: checking for t_error in -lxnet" >&5 4858echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3763echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 4859echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3764if test "${ac_cv_lib_xnet_t_error+set}" = set; then 4860if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3765 echo $ECHO_N "(cached) $ECHO_C" >&6 4861 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3767,8 +4863,11 @@ else
3767 ac_check_lib_save_LIBS=$LIBS 4863 ac_check_lib_save_LIBS=$LIBS
3768LIBS="-lxnet $LIBS" 4864LIBS="-lxnet $LIBS"
3769cat >conftest.$ac_ext <<_ACEOF 4865cat >conftest.$ac_ext <<_ACEOF
3770#line 3770 "configure" 4866/* confdefs.h. */
3771#include "confdefs.h" 4867_ACEOF
4868cat confdefs.h >>conftest.$ac_ext
4869cat >>conftest.$ac_ext <<_ACEOF
4870/* end confdefs.h. */
3772 4871
3773/* Override any gcc2 internal prototype to avoid an error. */ 4872/* Override any gcc2 internal prototype to avoid an error. */
3774#ifdef __cplusplus 4873#ifdef __cplusplus
@@ -3786,37 +4885,49 @@ t_error ();
3786} 4885}
3787_ACEOF 4886_ACEOF
3788rm -f conftest.$ac_objext conftest$ac_exeext 4887rm -f conftest.$ac_objext conftest$ac_exeext
3789if { (eval echo "$as_me:3789: \"$ac_link\"") >&5 4888if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3790 (eval $ac_link) 2>&5 4889 (eval $ac_link) 2>conftest.er1
3791 ac_status=$? 4890 ac_status=$?
3792 echo "$as_me:3792: \$? = $ac_status" >&5 4891 grep -v '^ *+' conftest.er1 >conftest.err
4892 rm -f conftest.er1
4893 cat conftest.err >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); } && 4895 (exit $ac_status); } &&
3794 { ac_try='test -s conftest$ac_exeext' 4896 { ac_try='test -z "$ac_c_werror_flag"
3795 { (eval echo "$as_me:3795: \"$ac_try\"") >&5 4897 || test ! -s conftest.err'
4898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4899 (eval $ac_try) 2>&5
4900 ac_status=$?
4901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4902 (exit $ac_status); }; } &&
4903 { ac_try='test -s conftest$ac_exeext'
4904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 (eval $ac_try) 2>&5 4905 (eval $ac_try) 2>&5
3797 ac_status=$? 4906 ac_status=$?
3798 echo "$as_me:3798: \$? = $ac_status" >&5 4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); }; }; then 4908 (exit $ac_status); }; }; then
3800 ac_cv_lib_xnet_t_error=yes 4909 ac_cv_lib_xnet_t_error=yes
3801else 4910else
3802 echo "$as_me: failed program was:" >&5 4911 echo "$as_me: failed program was:" >&5
3803cat conftest.$ac_ext >&5 4912sed 's/^/| /' conftest.$ac_ext >&5
4913
3804ac_cv_lib_xnet_t_error=no 4914ac_cv_lib_xnet_t_error=no
3805fi 4915fi
3806rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 4916rm -f conftest.err conftest.$ac_objext \
4917 conftest$ac_exeext conftest.$ac_ext
3807LIBS=$ac_check_lib_save_LIBS 4918LIBS=$ac_check_lib_save_LIBS
3808fi 4919fi
3809echo "$as_me:3809: result: $ac_cv_lib_xnet_t_error" >&5 4920echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3810echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 4921echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3811if test $ac_cv_lib_xnet_t_error = yes; then 4922if test $ac_cv_lib_xnet_t_error = yes; then
3812 cat >>confdefs.h <<EOF 4923 cat >>confdefs.h <<_ACEOF
3813#define HAVE_LIBXNET 1 4924#define HAVE_LIBXNET 1
3814EOF 4925_ACEOF
3815 4926
3816 LIBS="-lxnet $LIBS" 4927 LIBS="-lxnet $LIBS"
3817 4928
3818else 4929else
3819 { { echo "$as_me:3819: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 4930 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3820echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 4931echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3821 { (exit 1); exit 1; }; } 4932 { (exit 1); exit 1; }; }
3822fi 4933fi
@@ -3825,38 +4936,38 @@ fi
3825*-*-hpux11*) 4936*-*-hpux11*)
3826 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1" 4937 CPPFLAGS="$CPPFLAGS -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1"
3827 IPADDR_IN_DISPLAY=yes 4938 IPADDR_IN_DISPLAY=yes
3828 cat >>confdefs.h <<\EOF 4939 cat >>confdefs.h <<\_ACEOF
3829#define PAM_SUN_CODEBASE 1 4940#define PAM_SUN_CODEBASE 1
3830EOF 4941_ACEOF
3831 4942
3832 cat >>confdefs.h <<\EOF 4943 cat >>confdefs.h <<\_ACEOF
3833#define USE_PIPES 1 4944#define USE_PIPES 1
3834EOF 4945_ACEOF
3835 4946
3836 cat >>confdefs.h <<\EOF 4947 cat >>confdefs.h <<\_ACEOF
3837#define LOGIN_NO_ENDOPT 1 4948#define LOGIN_NO_ENDOPT 1
3838EOF 4949_ACEOF
3839 4950
3840 cat >>confdefs.h <<\EOF 4951 cat >>confdefs.h <<\_ACEOF
3841#define LOGIN_NEEDS_UTMPX 1 4952#define LOGIN_NEEDS_UTMPX 1
3842EOF 4953_ACEOF
3843 4954
3844 cat >>confdefs.h <<\EOF 4955 cat >>confdefs.h <<\_ACEOF
3845#define DISABLE_UTMP 1 4956#define DISABLE_UTMP 1
3846EOF 4957_ACEOF
3847 4958
3848 cat >>confdefs.h <<\EOF 4959 cat >>confdefs.h <<\_ACEOF
3849#define LOCKED_PASSWD_STRING "*" 4960#define LOCKED_PASSWD_STRING "*"
3850EOF 4961_ACEOF
3851 4962
3852 cat >>confdefs.h <<\EOF 4963 cat >>confdefs.h <<\_ACEOF
3853#define SPT_TYPE SPT_PSTAT 4964#define SPT_TYPE SPT_PSTAT
3854EOF 4965_ACEOF
3855 4966
3856 check_for_hpux_broken_getaddrinfo=1 4967 check_for_hpux_broken_getaddrinfo=1
3857 LIBS="$LIBS -lsec" 4968 LIBS="$LIBS -lsec"
3858 4969
3859echo "$as_me:3859: checking for t_error in -lxnet" >&5 4970echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
3860echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6 4971echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6
3861if test "${ac_cv_lib_xnet_t_error+set}" = set; then 4972if test "${ac_cv_lib_xnet_t_error+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6 4973 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -3864,8 +4975,11 @@ else
3864 ac_check_lib_save_LIBS=$LIBS 4975 ac_check_lib_save_LIBS=$LIBS
3865LIBS="-lxnet $LIBS" 4976LIBS="-lxnet $LIBS"
3866cat >conftest.$ac_ext <<_ACEOF 4977cat >conftest.$ac_ext <<_ACEOF
3867#line 3867 "configure" 4978/* confdefs.h. */
3868#include "confdefs.h" 4979_ACEOF
4980cat confdefs.h >>conftest.$ac_ext
4981cat >>conftest.$ac_ext <<_ACEOF
4982/* end confdefs.h. */
3869 4983
3870/* Override any gcc2 internal prototype to avoid an error. */ 4984/* Override any gcc2 internal prototype to avoid an error. */
3871#ifdef __cplusplus 4985#ifdef __cplusplus
@@ -3883,37 +4997,49 @@ t_error ();
3883} 4997}
3884_ACEOF 4998_ACEOF
3885rm -f conftest.$ac_objext conftest$ac_exeext 4999rm -f conftest.$ac_objext conftest$ac_exeext
3886if { (eval echo "$as_me:3886: \"$ac_link\"") >&5 5000if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3887 (eval $ac_link) 2>&5 5001 (eval $ac_link) 2>conftest.er1
3888 ac_status=$? 5002 ac_status=$?
3889 echo "$as_me:3889: \$? = $ac_status" >&5 5003 grep -v '^ *+' conftest.er1 >conftest.err
5004 rm -f conftest.er1
5005 cat conftest.err >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } && 5007 (exit $ac_status); } &&
3891 { ac_try='test -s conftest$ac_exeext' 5008 { ac_try='test -z "$ac_c_werror_flag"
3892 { (eval echo "$as_me:3892: \"$ac_try\"") >&5 5009 || test ! -s conftest.err'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3893 (eval $ac_try) 2>&5 5011 (eval $ac_try) 2>&5
3894 ac_status=$? 5012 ac_status=$?
3895 echo "$as_me:3895: \$? = $ac_status" >&5 5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; } &&
5015 { ac_try='test -s conftest$ac_exeext'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5017 (eval $ac_try) 2>&5
5018 ac_status=$?
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; }; then 5020 (exit $ac_status); }; }; then
3897 ac_cv_lib_xnet_t_error=yes 5021 ac_cv_lib_xnet_t_error=yes
3898else 5022else
3899 echo "$as_me: failed program was:" >&5 5023 echo "$as_me: failed program was:" >&5
3900cat conftest.$ac_ext >&5 5024sed 's/^/| /' conftest.$ac_ext >&5
5025
3901ac_cv_lib_xnet_t_error=no 5026ac_cv_lib_xnet_t_error=no
3902fi 5027fi
3903rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5028rm -f conftest.err conftest.$ac_objext \
5029 conftest$ac_exeext conftest.$ac_ext
3904LIBS=$ac_check_lib_save_LIBS 5030LIBS=$ac_check_lib_save_LIBS
3905fi 5031fi
3906echo "$as_me:3906: result: $ac_cv_lib_xnet_t_error" >&5 5032echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
3907echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6 5033echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6
3908if test $ac_cv_lib_xnet_t_error = yes; then 5034if test $ac_cv_lib_xnet_t_error = yes; then
3909 cat >>confdefs.h <<EOF 5035 cat >>confdefs.h <<_ACEOF
3910#define HAVE_LIBXNET 1 5036#define HAVE_LIBXNET 1
3911EOF 5037_ACEOF
3912 5038
3913 LIBS="-lxnet $LIBS" 5039 LIBS="-lxnet $LIBS"
3914 5040
3915else 5041else
3916 { { echo "$as_me:3916: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 5042 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
3917echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 5043echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
3918 { (exit 1); exit 1; }; } 5044 { (exit 1); exit 1; }; }
3919fi 5045fi
@@ -3921,173 +5047,209 @@ fi
3921 ;; 5047 ;;
3922*-*-irix5*) 5048*-*-irix5*)
3923 PATH="$PATH:/usr/etc" 5049 PATH="$PATH:/usr/etc"
3924 cat >>confdefs.h <<\EOF 5050 cat >>confdefs.h <<\_ACEOF
3925#define BROKEN_INET_NTOA 1 5051#define BROKEN_INET_NTOA 1
3926EOF 5052_ACEOF
3927 5053
3928 cat >>confdefs.h <<\EOF 5054 cat >>confdefs.h <<\_ACEOF
3929#define SETEUID_BREAKS_SETUID 1 5055#define SETEUID_BREAKS_SETUID 1
3930EOF 5056_ACEOF
3931 5057
3932 cat >>confdefs.h <<\EOF 5058 cat >>confdefs.h <<\_ACEOF
3933#define BROKEN_SETREUID 1 5059#define BROKEN_SETREUID 1
3934EOF 5060_ACEOF
3935 5061
3936 cat >>confdefs.h <<\EOF 5062 cat >>confdefs.h <<\_ACEOF
3937#define BROKEN_SETREGID 1 5063#define BROKEN_SETREGID 1
3938EOF 5064_ACEOF
3939 5065
3940 cat >>confdefs.h <<\EOF 5066 cat >>confdefs.h <<\_ACEOF
3941#define WITH_ABBREV_NO_TTY 1 5067#define WITH_ABBREV_NO_TTY 1
3942EOF 5068_ACEOF
3943 5069
3944 cat >>confdefs.h <<\EOF 5070 cat >>confdefs.h <<\_ACEOF
3945#define LOCKED_PASSWD_STRING "*LK*" 5071#define LOCKED_PASSWD_STRING "*LK*"
3946EOF 5072_ACEOF
3947 5073
3948 ;; 5074 ;;
3949*-*-irix6*) 5075*-*-irix6*)
3950 PATH="$PATH:/usr/etc" 5076 PATH="$PATH:/usr/etc"
3951 cat >>confdefs.h <<\EOF 5077 cat >>confdefs.h <<\_ACEOF
3952#define WITH_IRIX_ARRAY 1 5078#define WITH_IRIX_ARRAY 1
3953EOF 5079_ACEOF
3954 5080
3955 cat >>confdefs.h <<\EOF 5081 cat >>confdefs.h <<\_ACEOF
3956#define WITH_IRIX_PROJECT 1 5082#define WITH_IRIX_PROJECT 1
3957EOF 5083_ACEOF
3958 5084
3959 cat >>confdefs.h <<\EOF 5085 cat >>confdefs.h <<\_ACEOF
3960#define WITH_IRIX_AUDIT 1 5086#define WITH_IRIX_AUDIT 1
3961EOF 5087_ACEOF
3962 5088
3963 echo "$as_me:3963: checking for jlimit_startjob" >&5 5089 echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
3964echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6 5090echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6
3965if test "${ac_cv_func_jlimit_startjob+set}" = set; then 5091if test "${ac_cv_func_jlimit_startjob+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6 5092 echo $ECHO_N "(cached) $ECHO_C" >&6
3967else 5093else
3968 cat >conftest.$ac_ext <<_ACEOF 5094 cat >conftest.$ac_ext <<_ACEOF
3969#line 3969 "configure" 5095/* confdefs.h. */
3970#include "confdefs.h" 5096_ACEOF
5097cat confdefs.h >>conftest.$ac_ext
5098cat >>conftest.$ac_ext <<_ACEOF
5099/* end confdefs.h. */
5100/* Define jlimit_startjob to an innocuous variant, in case <limits.h> declares jlimit_startjob.
5101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5102#define jlimit_startjob innocuous_jlimit_startjob
5103
3971/* System header to define __stub macros and hopefully few prototypes, 5104/* System header to define __stub macros and hopefully few prototypes,
3972 which can conflict with char jlimit_startjob (); below. */ 5105 which can conflict with char jlimit_startjob (); below.
3973#include <assert.h> 5106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5107 <limits.h> exists even on freestanding compilers. */
5108
5109#ifdef __STDC__
5110# include <limits.h>
5111#else
5112# include <assert.h>
5113#endif
5114
5115#undef jlimit_startjob
5116
3974/* Override any gcc2 internal prototype to avoid an error. */ 5117/* Override any gcc2 internal prototype to avoid an error. */
3975#ifdef __cplusplus 5118#ifdef __cplusplus
3976extern "C" 5119extern "C"
5120{
3977#endif 5121#endif
3978/* We use char because int might match the return type of a gcc2 5122/* We use char because int might match the return type of a gcc2
3979 builtin and then its argument prototype would still apply. */ 5123 builtin and then its argument prototype would still apply. */
3980char jlimit_startjob (); 5124char jlimit_startjob ();
3981char (*f) ();
3982
3983int
3984main ()
3985{
3986/* The GNU C library defines this for functions which it implements 5125/* The GNU C library defines this for functions which it implements
3987 to always fail with ENOSYS. Some functions are actually named 5126 to always fail with ENOSYS. Some functions are actually named
3988 something starting with __ and the normal name is an alias. */ 5127 something starting with __ and the normal name is an alias. */
3989#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob) 5128#if defined (__stub_jlimit_startjob) || defined (__stub___jlimit_startjob)
3990choke me 5129choke me
3991#else 5130#else
3992f = jlimit_startjob; 5131char (*f) () = jlimit_startjob;
5132#endif
5133#ifdef __cplusplus
5134}
3993#endif 5135#endif
3994 5136
5137int
5138main ()
5139{
5140return f != jlimit_startjob;
3995 ; 5141 ;
3996 return 0; 5142 return 0;
3997} 5143}
3998_ACEOF 5144_ACEOF
3999rm -f conftest.$ac_objext conftest$ac_exeext 5145rm -f conftest.$ac_objext conftest$ac_exeext
4000if { (eval echo "$as_me:4000: \"$ac_link\"") >&5 5146if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4001 (eval $ac_link) 2>&5 5147 (eval $ac_link) 2>conftest.er1
4002 ac_status=$? 5148 ac_status=$?
4003 echo "$as_me:4003: \$? = $ac_status" >&5 5149 grep -v '^ *+' conftest.er1 >conftest.err
5150 rm -f conftest.er1
5151 cat conftest.err >&5
5152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } && 5153 (exit $ac_status); } &&
4005 { ac_try='test -s conftest$ac_exeext' 5154 { ac_try='test -z "$ac_c_werror_flag"
4006 { (eval echo "$as_me:4006: \"$ac_try\"") >&5 5155 || test ! -s conftest.err'
5156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 (eval $ac_try) 2>&5
5158 ac_status=$?
5159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5160 (exit $ac_status); }; } &&
5161 { ac_try='test -s conftest$ac_exeext'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4007 (eval $ac_try) 2>&5 5163 (eval $ac_try) 2>&5
4008 ac_status=$? 5164 ac_status=$?
4009 echo "$as_me:4009: \$? = $ac_status" >&5 5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; }; then 5166 (exit $ac_status); }; }; then
4011 ac_cv_func_jlimit_startjob=yes 5167 ac_cv_func_jlimit_startjob=yes
4012else 5168else
4013 echo "$as_me: failed program was:" >&5 5169 echo "$as_me: failed program was:" >&5
4014cat conftest.$ac_ext >&5 5170sed 's/^/| /' conftest.$ac_ext >&5
5171
4015ac_cv_func_jlimit_startjob=no 5172ac_cv_func_jlimit_startjob=no
4016fi 5173fi
4017rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5174rm -f conftest.err conftest.$ac_objext \
5175 conftest$ac_exeext conftest.$ac_ext
4018fi 5176fi
4019echo "$as_me:4019: result: $ac_cv_func_jlimit_startjob" >&5 5177echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
4020echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6 5178echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6
4021if test $ac_cv_func_jlimit_startjob = yes; then 5179if test $ac_cv_func_jlimit_startjob = yes; then
4022 cat >>confdefs.h <<\EOF 5180 cat >>confdefs.h <<\_ACEOF
4023#define WITH_IRIX_JOBS 1 5181#define WITH_IRIX_JOBS 1
4024EOF 5182_ACEOF
4025 5183
4026fi 5184fi
4027 5185
4028 cat >>confdefs.h <<\EOF 5186 cat >>confdefs.h <<\_ACEOF
4029#define BROKEN_INET_NTOA 1 5187#define BROKEN_INET_NTOA 1
4030EOF 5188_ACEOF
4031 5189
4032 cat >>confdefs.h <<\EOF 5190 cat >>confdefs.h <<\_ACEOF
4033#define SETEUID_BREAKS_SETUID 1 5191#define SETEUID_BREAKS_SETUID 1
4034EOF 5192_ACEOF
4035 5193
4036 cat >>confdefs.h <<\EOF 5194 cat >>confdefs.h <<\_ACEOF
4037#define BROKEN_SETREUID 1 5195#define BROKEN_SETREUID 1
4038EOF 5196_ACEOF
4039 5197
4040 cat >>confdefs.h <<\EOF 5198 cat >>confdefs.h <<\_ACEOF
4041#define BROKEN_SETREGID 1 5199#define BROKEN_SETREGID 1
4042EOF 5200_ACEOF
4043 5201
4044 cat >>confdefs.h <<\EOF 5202 cat >>confdefs.h <<\_ACEOF
4045#define BROKEN_UPDWTMPX 1 5203#define BROKEN_UPDWTMPX 1
4046EOF 5204_ACEOF
4047 5205
4048 cat >>confdefs.h <<\EOF 5206 cat >>confdefs.h <<\_ACEOF
4049#define WITH_ABBREV_NO_TTY 1 5207#define WITH_ABBREV_NO_TTY 1
4050EOF 5208_ACEOF
4051 5209
4052 cat >>confdefs.h <<\EOF 5210 cat >>confdefs.h <<\_ACEOF
4053#define LOCKED_PASSWD_STRING "*LK*" 5211#define LOCKED_PASSWD_STRING "*LK*"
4054EOF 5212_ACEOF
4055 5213
4056 ;; 5214 ;;
4057*-*-linux*) 5215*-*-linux*)
4058 no_dev_ptmx=1 5216 no_dev_ptmx=1
4059 check_for_libcrypt_later=1 5217 check_for_libcrypt_later=1
4060 check_for_openpty_ctty_bug=1 5218 check_for_openpty_ctty_bug=1
4061 cat >>confdefs.h <<\EOF 5219 cat >>confdefs.h <<\_ACEOF
4062#define DONT_TRY_OTHER_AF 1 5220#define DONT_TRY_OTHER_AF 1
4063EOF 5221_ACEOF
4064 5222
4065 cat >>confdefs.h <<\EOF 5223 cat >>confdefs.h <<\_ACEOF
4066#define PAM_TTY_KLUDGE 1 5224#define PAM_TTY_KLUDGE 1
4067EOF 5225_ACEOF
4068 5226
4069 cat >>confdefs.h <<\EOF 5227 cat >>confdefs.h <<\_ACEOF
4070#define LOCKED_PASSWD_PREFIX "!" 5228#define LOCKED_PASSWD_PREFIX "!"
4071EOF 5229_ACEOF
4072 5230
4073 cat >>confdefs.h <<\EOF 5231 cat >>confdefs.h <<\_ACEOF
4074#define SPT_TYPE SPT_REUSEARGV 5232#define SPT_TYPE SPT_REUSEARGV
4075EOF 5233_ACEOF
5234
5235 cat >>confdefs.h <<\_ACEOF
5236#define LINK_OPNOTSUPP_ERRNO EPERM
5237_ACEOF
4076 5238
4077 inet6_default_4in6=yes 5239 inet6_default_4in6=yes
4078 case `uname -r` in 5240 case `uname -r` in
4079 1.*|2.0.*) 5241 1.*|2.0.*)
4080 cat >>confdefs.h <<\EOF 5242 cat >>confdefs.h <<\_ACEOF
4081#define BROKEN_CMSG_TYPE 1 5243#define BROKEN_CMSG_TYPE 1
4082EOF 5244_ACEOF
4083 5245
4084 ;; 5246 ;;
4085 esac 5247 esac
4086 ;; 5248 ;;
4087mips-sony-bsd|mips-sony-newsos4) 5249mips-sony-bsd|mips-sony-newsos4)
4088 cat >>confdefs.h <<\EOF 5250 cat >>confdefs.h <<\_ACEOF
4089#define HAVE_NEWS4 1 5251#define HAVE_NEWS4 1
4090EOF 5252_ACEOF
4091 5253
4092 SONY=1 5254 SONY=1
4093 ;; 5255 ;;
@@ -4101,17 +5263,17 @@ EOF
4101 check_for_libcrypt_later=1 5263 check_for_libcrypt_later=1
4102 ;; 5264 ;;
4103*-*-bsdi*) 5265*-*-bsdi*)
4104 cat >>confdefs.h <<\EOF 5266 cat >>confdefs.h <<\_ACEOF
4105#define SETEUID_BREAKS_SETUID 1 5267#define SETEUID_BREAKS_SETUID 1
4106EOF 5268_ACEOF
4107 5269
4108 cat >>confdefs.h <<\EOF 5270 cat >>confdefs.h <<\_ACEOF
4109#define BROKEN_SETREUID 1 5271#define BROKEN_SETREUID 1
4110EOF 5272_ACEOF
4111 5273
4112 cat >>confdefs.h <<\EOF 5274 cat >>confdefs.h <<\_ACEOF
4113#define BROKEN_SETREGID 1 5275#define BROKEN_SETREGID 1
4114EOF 5276_ACEOF
4115 5277
4116 ;; 5278 ;;
4117*-next-*) 5279*-next-*)
@@ -4119,71 +5281,75 @@ EOF
4119 conf_utmp_location=/etc/utmp 5281 conf_utmp_location=/etc/utmp
4120 conf_wtmp_location=/usr/adm/wtmp 5282 conf_wtmp_location=/usr/adm/wtmp
4121 MAIL=/usr/spool/mail 5283 MAIL=/usr/spool/mail
4122 cat >>confdefs.h <<\EOF 5284 cat >>confdefs.h <<\_ACEOF
4123#define HAVE_NEXT 1 5285#define HAVE_NEXT 1
4124EOF 5286_ACEOF
4125 5287
4126 cat >>confdefs.h <<\EOF 5288 cat >>confdefs.h <<\_ACEOF
4127#define BROKEN_REALPATH 1 5289#define BROKEN_REALPATH 1
4128EOF 5290_ACEOF
4129 5291
4130 cat >>confdefs.h <<\EOF 5292 cat >>confdefs.h <<\_ACEOF
4131#define USE_PIPES 1 5293#define USE_PIPES 1
4132EOF 5294_ACEOF
4133 5295
4134 cat >>confdefs.h <<\EOF 5296 cat >>confdefs.h <<\_ACEOF
4135#define BROKEN_SAVED_UIDS 1 5297#define BROKEN_SAVED_UIDS 1
4136EOF 5298_ACEOF
4137 5299
4138 ;; 5300 ;;
4139*-*-solaris*) 5301*-*-solaris*)
4140 if test "x$withval" != "xno" ; then 5302 if test "x$withval" != "xno" ; then
4141 need_dash_r=1 5303 need_dash_r=1
4142 fi 5304 fi
4143 cat >>confdefs.h <<\EOF 5305 cat >>confdefs.h <<\_ACEOF
4144#define PAM_SUN_CODEBASE 1 5306#define PAM_SUN_CODEBASE 1
4145EOF 5307_ACEOF
4146 5308
4147 cat >>confdefs.h <<\EOF 5309 cat >>confdefs.h <<\_ACEOF
4148#define LOGIN_NEEDS_UTMPX 1 5310#define LOGIN_NEEDS_UTMPX 1
4149EOF 5311_ACEOF
4150 5312
4151 cat >>confdefs.h <<\EOF 5313 cat >>confdefs.h <<\_ACEOF
4152#define LOGIN_NEEDS_TERM 1 5314#define LOGIN_NEEDS_TERM 1
4153EOF 5315_ACEOF
4154 5316
4155 cat >>confdefs.h <<\EOF 5317 cat >>confdefs.h <<\_ACEOF
4156#define PAM_TTY_KLUDGE 1 5318#define PAM_TTY_KLUDGE 1
4157EOF 5319_ACEOF
5320
5321 cat >>confdefs.h <<\_ACEOF
5322#define SSHPAM_CHAUTHTOK_NEEDS_RUID 1
5323_ACEOF
4158 5324
4159 cat >>confdefs.h <<\EOF 5325 cat >>confdefs.h <<\_ACEOF
4160#define LOCKED_PASSWD_STRING "*LK*" 5326#define LOCKED_PASSWD_STRING "*LK*"
4161EOF 5327_ACEOF
4162 5328
4163 # Pushing STREAMS modules will cause sshd to acquire a controlling tty. 5329 # Pushing STREAMS modules will cause sshd to acquire a controlling tty.
4164 cat >>confdefs.h <<\EOF 5330 cat >>confdefs.h <<\_ACEOF
4165#define SSHD_ACQUIRES_CTTY 1 5331#define SSHD_ACQUIRES_CTTY 1
4166EOF 5332_ACEOF
4167 5333
4168 external_path_file=/etc/default/login 5334 external_path_file=/etc/default/login
4169 # hardwire lastlog location (can't detect it on some versions) 5335 # hardwire lastlog location (can't detect it on some versions)
4170 conf_lastlog_location="/var/adm/lastlog" 5336 conf_lastlog_location="/var/adm/lastlog"
4171 echo "$as_me:4171: checking for obsolete utmp and wtmp in solaris2.x" >&5 5337 echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
4172echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6 5338echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6
4173 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` 5339 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
4174 if test "$sol2ver" -ge 8; then 5340 if test "$sol2ver" -ge 8; then
4175 echo "$as_me:4175: result: yes" >&5 5341 echo "$as_me:$LINENO: result: yes" >&5
4176echo "${ECHO_T}yes" >&6 5342echo "${ECHO_T}yes" >&6
4177 cat >>confdefs.h <<\EOF 5343 cat >>confdefs.h <<\_ACEOF
4178#define DISABLE_UTMP 1 5344#define DISABLE_UTMP 1
4179EOF 5345_ACEOF
4180 5346
4181 cat >>confdefs.h <<\EOF 5347 cat >>confdefs.h <<\_ACEOF
4182#define DISABLE_WTMP 1 5348#define DISABLE_WTMP 1
4183EOF 5349_ACEOF
4184 5350
4185 else 5351 else
4186 echo "$as_me:4186: result: no" >&5 5352 echo "$as_me:$LINENO: result: no" >&5
4187echo "${ECHO_T}no" >&6 5353echo "${ECHO_T}no" >&6
4188 fi 5354 fi
4189 ;; 5355 ;;
@@ -4193,111 +5359,143 @@ echo "${ECHO_T}no" >&6
4193for ac_func in getpwanam 5359for ac_func in getpwanam
4194do 5360do
4195as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5361as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4196echo "$as_me:4196: checking for $ac_func" >&5 5362echo "$as_me:$LINENO: checking for $ac_func" >&5
4197echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5363echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4198if eval "test \"\${$as_ac_var+set}\" = set"; then 5364if eval "test \"\${$as_ac_var+set}\" = set"; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6 5365 echo $ECHO_N "(cached) $ECHO_C" >&6
4200else 5366else
4201 cat >conftest.$ac_ext <<_ACEOF 5367 cat >conftest.$ac_ext <<_ACEOF
4202#line 4202 "configure" 5368/* confdefs.h. */
4203#include "confdefs.h" 5369_ACEOF
5370cat confdefs.h >>conftest.$ac_ext
5371cat >>conftest.$ac_ext <<_ACEOF
5372/* end confdefs.h. */
5373/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5375#define $ac_func innocuous_$ac_func
5376
4204/* System header to define __stub macros and hopefully few prototypes, 5377/* System header to define __stub macros and hopefully few prototypes,
4205 which can conflict with char $ac_func (); below. */ 5378 which can conflict with char $ac_func (); below.
4206#include <assert.h> 5379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5380 <limits.h> exists even on freestanding compilers. */
5381
5382#ifdef __STDC__
5383# include <limits.h>
5384#else
5385# include <assert.h>
5386#endif
5387
5388#undef $ac_func
5389
4207/* Override any gcc2 internal prototype to avoid an error. */ 5390/* Override any gcc2 internal prototype to avoid an error. */
4208#ifdef __cplusplus 5391#ifdef __cplusplus
4209extern "C" 5392extern "C"
5393{
4210#endif 5394#endif
4211/* We use char because int might match the return type of a gcc2 5395/* We use char because int might match the return type of a gcc2
4212 builtin and then its argument prototype would still apply. */ 5396 builtin and then its argument prototype would still apply. */
4213char $ac_func (); 5397char $ac_func ();
4214char (*f) ();
4215
4216int
4217main ()
4218{
4219/* The GNU C library defines this for functions which it implements 5398/* The GNU C library defines this for functions which it implements
4220 to always fail with ENOSYS. Some functions are actually named 5399 to always fail with ENOSYS. Some functions are actually named
4221 something starting with __ and the normal name is an alias. */ 5400 something starting with __ and the normal name is an alias. */
4222#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5401#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4223choke me 5402choke me
4224#else 5403#else
4225f = $ac_func; 5404char (*f) () = $ac_func;
5405#endif
5406#ifdef __cplusplus
5407}
4226#endif 5408#endif
4227 5409
5410int
5411main ()
5412{
5413return f != $ac_func;
4228 ; 5414 ;
4229 return 0; 5415 return 0;
4230} 5416}
4231_ACEOF 5417_ACEOF
4232rm -f conftest.$ac_objext conftest$ac_exeext 5418rm -f conftest.$ac_objext conftest$ac_exeext
4233if { (eval echo "$as_me:4233: \"$ac_link\"") >&5 5419if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4234 (eval $ac_link) 2>&5 5420 (eval $ac_link) 2>conftest.er1
4235 ac_status=$? 5421 ac_status=$?
4236 echo "$as_me:4236: \$? = $ac_status" >&5 5422 grep -v '^ *+' conftest.er1 >conftest.err
5423 rm -f conftest.er1
5424 cat conftest.err >&5
5425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } && 5426 (exit $ac_status); } &&
4238 { ac_try='test -s conftest$ac_exeext' 5427 { ac_try='test -z "$ac_c_werror_flag"
4239 { (eval echo "$as_me:4239: \"$ac_try\"") >&5 5428 || test ! -s conftest.err'
5429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 (eval $ac_try) 2>&5 5430 (eval $ac_try) 2>&5
4241 ac_status=$? 5431 ac_status=$?
4242 echo "$as_me:4242: \$? = $ac_status" >&5 5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); }; } &&
5434 { ac_try='test -s conftest$ac_exeext'
5435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5436 (eval $ac_try) 2>&5
5437 ac_status=$?
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then 5439 (exit $ac_status); }; }; then
4244 eval "$as_ac_var=yes" 5440 eval "$as_ac_var=yes"
4245else 5441else
4246 echo "$as_me: failed program was:" >&5 5442 echo "$as_me: failed program was:" >&5
4247cat conftest.$ac_ext >&5 5443sed 's/^/| /' conftest.$ac_ext >&5
5444
4248eval "$as_ac_var=no" 5445eval "$as_ac_var=no"
4249fi 5446fi
4250rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5447rm -f conftest.err conftest.$ac_objext \
5448 conftest$ac_exeext conftest.$ac_ext
4251fi 5449fi
4252echo "$as_me:4252: result: `eval echo '${'$as_ac_var'}'`" >&5 5450echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4253echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5451echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4254if test `eval echo '${'$as_ac_var'}'` = yes; then 5452if test `eval echo '${'$as_ac_var'}'` = yes; then
4255 cat >>confdefs.h <<EOF 5453 cat >>confdefs.h <<_ACEOF
4256#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5454#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4257EOF 5455_ACEOF
4258 5456
4259fi 5457fi
4260done 5458done
4261 5459
4262 cat >>confdefs.h <<\EOF 5460 cat >>confdefs.h <<\_ACEOF
4263#define PAM_SUN_CODEBASE 1 5461#define PAM_SUN_CODEBASE 1
4264EOF 5462_ACEOF
4265 5463
4266 conf_utmp_location=/etc/utmp 5464 conf_utmp_location=/etc/utmp
4267 conf_wtmp_location=/var/adm/wtmp 5465 conf_wtmp_location=/var/adm/wtmp
4268 conf_lastlog_location=/var/adm/lastlog 5466 conf_lastlog_location=/var/adm/lastlog
4269 cat >>confdefs.h <<\EOF 5467 cat >>confdefs.h <<\_ACEOF
4270#define USE_PIPES 1 5468#define USE_PIPES 1
4271EOF 5469_ACEOF
4272 5470
4273 ;; 5471 ;;
4274*-ncr-sysv*) 5472*-ncr-sysv*)
4275 LIBS="$LIBS -lc89" 5473 LIBS="$LIBS -lc89"
4276 cat >>confdefs.h <<\EOF 5474 cat >>confdefs.h <<\_ACEOF
4277#define USE_PIPES 1 5475#define USE_PIPES 1
4278EOF 5476_ACEOF
4279 5477
4280 cat >>confdefs.h <<\EOF 5478 cat >>confdefs.h <<\_ACEOF
4281#define SSHD_ACQUIRES_CTTY 1 5479#define SSHD_ACQUIRES_CTTY 1
4282EOF 5480_ACEOF
4283 5481
4284 cat >>confdefs.h <<\EOF 5482 cat >>confdefs.h <<\_ACEOF
4285#define SETEUID_BREAKS_SETUID 1 5483#define SETEUID_BREAKS_SETUID 1
4286EOF 5484_ACEOF
4287 5485
4288 cat >>confdefs.h <<\EOF 5486 cat >>confdefs.h <<\_ACEOF
4289#define BROKEN_SETREUID 1 5487#define BROKEN_SETREUID 1
4290EOF 5488_ACEOF
4291 5489
4292 cat >>confdefs.h <<\EOF 5490 cat >>confdefs.h <<\_ACEOF
4293#define BROKEN_SETREGID 1 5491#define BROKEN_SETREGID 1
4294EOF 5492_ACEOF
4295 5493
4296 ;; 5494 ;;
4297*-sni-sysv*) 5495*-sni-sysv*)
4298 # /usr/ucblib MUST NOT be searched on ReliantUNIX 5496 # /usr/ucblib MUST NOT be searched on ReliantUNIX
4299 5497
4300echo "$as_me:4300: checking for dlsym in -ldl" >&5 5498echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
4301echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6 5499echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
4302if test "${ac_cv_lib_dl_dlsym+set}" = set; then 5500if test "${ac_cv_lib_dl_dlsym+set}" = set; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6 5501 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -4305,8 +5503,11 @@ else
4305 ac_check_lib_save_LIBS=$LIBS 5503 ac_check_lib_save_LIBS=$LIBS
4306LIBS="-ldl $LIBS" 5504LIBS="-ldl $LIBS"
4307cat >conftest.$ac_ext <<_ACEOF 5505cat >conftest.$ac_ext <<_ACEOF
4308#line 4308 "configure" 5506/* confdefs.h. */
4309#include "confdefs.h" 5507_ACEOF
5508cat confdefs.h >>conftest.$ac_ext
5509cat >>conftest.$ac_ext <<_ACEOF
5510/* end confdefs.h. */
4310 5511
4311/* Override any gcc2 internal prototype to avoid an error. */ 5512/* Override any gcc2 internal prototype to avoid an error. */
4312#ifdef __cplusplus 5513#ifdef __cplusplus
@@ -4324,61 +5525,73 @@ dlsym ();
4324} 5525}
4325_ACEOF 5526_ACEOF
4326rm -f conftest.$ac_objext conftest$ac_exeext 5527rm -f conftest.$ac_objext conftest$ac_exeext
4327if { (eval echo "$as_me:4327: \"$ac_link\"") >&5 5528if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>&5 5529 (eval $ac_link) 2>conftest.er1
4329 ac_status=$? 5530 ac_status=$?
4330 echo "$as_me:4330: \$? = $ac_status" >&5 5531 grep -v '^ *+' conftest.er1 >conftest.err
5532 rm -f conftest.er1
5533 cat conftest.err >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } && 5535 (exit $ac_status); } &&
4332 { ac_try='test -s conftest$ac_exeext' 5536 { ac_try='test -z "$ac_c_werror_flag"
4333 { (eval echo "$as_me:4333: \"$ac_try\"") >&5 5537 || test ! -s conftest.err'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4334 (eval $ac_try) 2>&5 5539 (eval $ac_try) 2>&5
4335 ac_status=$? 5540 ac_status=$?
4336 echo "$as_me:4336: \$? = $ac_status" >&5 5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; } &&
5543 { ac_try='test -s conftest$ac_exeext'
5544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5545 (eval $ac_try) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then 5548 (exit $ac_status); }; }; then
4338 ac_cv_lib_dl_dlsym=yes 5549 ac_cv_lib_dl_dlsym=yes
4339else 5550else
4340 echo "$as_me: failed program was:" >&5 5551 echo "$as_me: failed program was:" >&5
4341cat conftest.$ac_ext >&5 5552sed 's/^/| /' conftest.$ac_ext >&5
5553
4342ac_cv_lib_dl_dlsym=no 5554ac_cv_lib_dl_dlsym=no
4343fi 5555fi
4344rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5556rm -f conftest.err conftest.$ac_objext \
5557 conftest$ac_exeext conftest.$ac_ext
4345LIBS=$ac_check_lib_save_LIBS 5558LIBS=$ac_check_lib_save_LIBS
4346fi 5559fi
4347echo "$as_me:4347: result: $ac_cv_lib_dl_dlsym" >&5 5560echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
4348echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6 5561echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
4349if test $ac_cv_lib_dl_dlsym = yes; then 5562if test $ac_cv_lib_dl_dlsym = yes; then
4350 cat >>confdefs.h <<EOF 5563 cat >>confdefs.h <<_ACEOF
4351#define HAVE_LIBDL 1 5564#define HAVE_LIBDL 1
4352EOF 5565_ACEOF
4353 5566
4354 LIBS="-ldl $LIBS" 5567 LIBS="-ldl $LIBS"
4355 5568
4356fi 5569fi
4357 5570
4358 IPADDR_IN_DISPLAY=yes 5571 IPADDR_IN_DISPLAY=yes
4359 cat >>confdefs.h <<\EOF 5572 cat >>confdefs.h <<\_ACEOF
4360#define USE_PIPES 1 5573#define USE_PIPES 1
4361EOF 5574_ACEOF
4362 5575
4363 cat >>confdefs.h <<\EOF 5576 cat >>confdefs.h <<\_ACEOF
4364#define IP_TOS_IS_BROKEN 1 5577#define IP_TOS_IS_BROKEN 1
4365EOF 5578_ACEOF
4366 5579
4367 cat >>confdefs.h <<\EOF 5580 cat >>confdefs.h <<\_ACEOF
4368#define SETEUID_BREAKS_SETUID 1 5581#define SETEUID_BREAKS_SETUID 1
4369EOF 5582_ACEOF
4370 5583
4371 cat >>confdefs.h <<\EOF 5584 cat >>confdefs.h <<\_ACEOF
4372#define BROKEN_SETREUID 1 5585#define BROKEN_SETREUID 1
4373EOF 5586_ACEOF
4374 5587
4375 cat >>confdefs.h <<\EOF 5588 cat >>confdefs.h <<\_ACEOF
4376#define BROKEN_SETREGID 1 5589#define BROKEN_SETREGID 1
4377EOF 5590_ACEOF
4378 5591
4379 cat >>confdefs.h <<\EOF 5592 cat >>confdefs.h <<\_ACEOF
4380#define SSHD_ACQUIRES_CTTY 1 5593#define SSHD_ACQUIRES_CTTY 1
4381EOF 5594_ACEOF
4382 5595
4383 external_path_file=/etc/default/login 5596 external_path_file=/etc/default/login
4384 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX 5597 # /usr/ucblib/libucb.a no longer needed on ReliantUNIX
@@ -4386,39 +5599,39 @@ EOF
4386 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog 5599 # otherwise you will find lots of "SIOCGPGRP errno 22" on syslog
4387 ;; 5600 ;;
4388*-*-sysv4.2*) 5601*-*-sysv4.2*)
4389 cat >>confdefs.h <<\EOF 5602 cat >>confdefs.h <<\_ACEOF
4390#define USE_PIPES 1 5603#define USE_PIPES 1
4391EOF 5604_ACEOF
4392 5605
4393 cat >>confdefs.h <<\EOF 5606 cat >>confdefs.h <<\_ACEOF
4394#define SETEUID_BREAKS_SETUID 1 5607#define SETEUID_BREAKS_SETUID 1
4395EOF 5608_ACEOF
4396 5609
4397 cat >>confdefs.h <<\EOF 5610 cat >>confdefs.h <<\_ACEOF
4398#define BROKEN_SETREUID 1 5611#define BROKEN_SETREUID 1
4399EOF 5612_ACEOF
4400 5613
4401 cat >>confdefs.h <<\EOF 5614 cat >>confdefs.h <<\_ACEOF
4402#define BROKEN_SETREGID 1 5615#define BROKEN_SETREGID 1
4403EOF 5616_ACEOF
4404 5617
4405 ;; 5618 ;;
4406*-*-sysv5*) 5619*-*-sysv5*)
4407 cat >>confdefs.h <<\EOF 5620 cat >>confdefs.h <<\_ACEOF
4408#define USE_PIPES 1 5621#define USE_PIPES 1
4409EOF 5622_ACEOF
4410 5623
4411 cat >>confdefs.h <<\EOF 5624 cat >>confdefs.h <<\_ACEOF
4412#define SETEUID_BREAKS_SETUID 1 5625#define SETEUID_BREAKS_SETUID 1
4413EOF 5626_ACEOF
4414 5627
4415 cat >>confdefs.h <<\EOF 5628 cat >>confdefs.h <<\_ACEOF
4416#define BROKEN_SETREUID 1 5629#define BROKEN_SETREUID 1
4417EOF 5630_ACEOF
4418 5631
4419 cat >>confdefs.h <<\EOF 5632 cat >>confdefs.h <<\_ACEOF
4420#define BROKEN_SETREGID 1 5633#define BROKEN_SETREGID 1
4421EOF 5634_ACEOF
4422 5635
4423 ;; 5636 ;;
4424*-*-sysv*) 5637*-*-sysv*)
@@ -4428,113 +5641,148 @@ EOF
4428 LIBS="$LIBS -los -lprot -lcrypt_i -lx -ltinfo -lm" 5641 LIBS="$LIBS -los -lprot -lcrypt_i -lx -ltinfo -lm"
4429 RANLIB=true 5642 RANLIB=true
4430 no_dev_ptmx=1 5643 no_dev_ptmx=1
4431 cat >>confdefs.h <<\EOF 5644 cat >>confdefs.h <<\_ACEOF
4432#define BROKEN_SYS_TERMIO_H 1 5645#define BROKEN_SYS_TERMIO_H 1
4433EOF 5646_ACEOF
4434 5647
4435 cat >>confdefs.h <<\EOF 5648 cat >>confdefs.h <<\_ACEOF
4436#define USE_PIPES 1 5649#define USE_PIPES 1
4437EOF 5650_ACEOF
4438 5651
4439 cat >>confdefs.h <<\EOF 5652 cat >>confdefs.h <<\_ACEOF
4440#define HAVE_SECUREWARE 1 5653#define HAVE_SECUREWARE 1
4441EOF 5654_ACEOF
4442 5655
4443 cat >>confdefs.h <<\EOF 5656 cat >>confdefs.h <<\_ACEOF
4444#define DISABLE_SHADOW 1 5657#define DISABLE_SHADOW 1
4445EOF 5658_ACEOF
4446 5659
4447 cat >>confdefs.h <<\EOF 5660 cat >>confdefs.h <<\_ACEOF
4448#define BROKEN_SAVED_UIDS 1 5661#define BROKEN_SAVED_UIDS 1
4449EOF 5662_ACEOF
4450 5663
4451 cat >>confdefs.h <<\EOF 5664 cat >>confdefs.h <<\_ACEOF
4452#define SETEUID_BREAKS_SETUID 1 5665#define SETEUID_BREAKS_SETUID 1
4453EOF 5666_ACEOF
4454 5667
4455 cat >>confdefs.h <<\EOF 5668 cat >>confdefs.h <<\_ACEOF
4456#define BROKEN_SETREUID 1 5669#define BROKEN_SETREUID 1
4457EOF 5670_ACEOF
4458 5671
4459 cat >>confdefs.h <<\EOF 5672 cat >>confdefs.h <<\_ACEOF
4460#define BROKEN_SETREGID 1 5673#define BROKEN_SETREGID 1
4461EOF 5674_ACEOF
4462 5675
4463 cat >>confdefs.h <<\EOF 5676 cat >>confdefs.h <<\_ACEOF
4464#define WITH_ABBREV_NO_TTY 1 5677#define WITH_ABBREV_NO_TTY 1
4465EOF 5678_ACEOF
5679
5680
4466 5681
4467for ac_func in getluid setluid 5682for ac_func in getluid setluid
4468do 5683do
4469as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5684as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4470echo "$as_me:4470: checking for $ac_func" >&5 5685echo "$as_me:$LINENO: checking for $ac_func" >&5
4471echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5686echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4472if eval "test \"\${$as_ac_var+set}\" = set"; then 5687if eval "test \"\${$as_ac_var+set}\" = set"; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6 5688 echo $ECHO_N "(cached) $ECHO_C" >&6
4474else 5689else
4475 cat >conftest.$ac_ext <<_ACEOF 5690 cat >conftest.$ac_ext <<_ACEOF
4476#line 4476 "configure" 5691/* confdefs.h. */
4477#include "confdefs.h" 5692_ACEOF
5693cat confdefs.h >>conftest.$ac_ext
5694cat >>conftest.$ac_ext <<_ACEOF
5695/* end confdefs.h. */
5696/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5698#define $ac_func innocuous_$ac_func
5699
4478/* System header to define __stub macros and hopefully few prototypes, 5700/* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char $ac_func (); below. */ 5701 which can conflict with char $ac_func (); below.
4480#include <assert.h> 5702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5703 <limits.h> exists even on freestanding compilers. */
5704
5705#ifdef __STDC__
5706# include <limits.h>
5707#else
5708# include <assert.h>
5709#endif
5710
5711#undef $ac_func
5712
4481/* Override any gcc2 internal prototype to avoid an error. */ 5713/* Override any gcc2 internal prototype to avoid an error. */
4482#ifdef __cplusplus 5714#ifdef __cplusplus
4483extern "C" 5715extern "C"
5716{
4484#endif 5717#endif
4485/* We use char because int might match the return type of a gcc2 5718/* We use char because int might match the return type of a gcc2
4486 builtin and then its argument prototype would still apply. */ 5719 builtin and then its argument prototype would still apply. */
4487char $ac_func (); 5720char $ac_func ();
4488char (*f) ();
4489
4490int
4491main ()
4492{
4493/* The GNU C library defines this for functions which it implements 5721/* The GNU C library defines this for functions which it implements
4494 to always fail with ENOSYS. Some functions are actually named 5722 to always fail with ENOSYS. Some functions are actually named
4495 something starting with __ and the normal name is an alias. */ 5723 something starting with __ and the normal name is an alias. */
4496#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5724#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4497choke me 5725choke me
4498#else 5726#else
4499f = $ac_func; 5727char (*f) () = $ac_func;
5728#endif
5729#ifdef __cplusplus
5730}
4500#endif 5731#endif
4501 5732
5733int
5734main ()
5735{
5736return f != $ac_func;
4502 ; 5737 ;
4503 return 0; 5738 return 0;
4504} 5739}
4505_ACEOF 5740_ACEOF
4506rm -f conftest.$ac_objext conftest$ac_exeext 5741rm -f conftest.$ac_objext conftest$ac_exeext
4507if { (eval echo "$as_me:4507: \"$ac_link\"") >&5 5742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4508 (eval $ac_link) 2>&5 5743 (eval $ac_link) 2>conftest.er1
4509 ac_status=$? 5744 ac_status=$?
4510 echo "$as_me:4510: \$? = $ac_status" >&5 5745 grep -v '^ *+' conftest.er1 >conftest.err
5746 rm -f conftest.er1
5747 cat conftest.err >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } && 5749 (exit $ac_status); } &&
4512 { ac_try='test -s conftest$ac_exeext' 5750 { ac_try='test -z "$ac_c_werror_flag"
4513 { (eval echo "$as_me:4513: \"$ac_try\"") >&5 5751 || test ! -s conftest.err'
5752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 (eval $ac_try) 2>&5 5753 (eval $ac_try) 2>&5
4515 ac_status=$? 5754 ac_status=$?
4516 echo "$as_me:4516: \$? = $ac_status" >&5 5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); }; } &&
5757 { ac_try='test -s conftest$ac_exeext'
5758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759 (eval $ac_try) 2>&5
5760 ac_status=$?
5761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then 5762 (exit $ac_status); }; }; then
4518 eval "$as_ac_var=yes" 5763 eval "$as_ac_var=yes"
4519else 5764else
4520 echo "$as_me: failed program was:" >&5 5765 echo "$as_me: failed program was:" >&5
4521cat conftest.$ac_ext >&5 5766sed 's/^/| /' conftest.$ac_ext >&5
5767
4522eval "$as_ac_var=no" 5768eval "$as_ac_var=no"
4523fi 5769fi
4524rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5770rm -f conftest.err conftest.$ac_objext \
5771 conftest$ac_exeext conftest.$ac_ext
4525fi 5772fi
4526echo "$as_me:4526: result: `eval echo '${'$as_ac_var'}'`" >&5 5773echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4527echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5774echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4528if test `eval echo '${'$as_ac_var'}'` = yes; then 5775if test `eval echo '${'$as_ac_var'}'` = yes; then
4529 cat >>confdefs.h <<EOF 5776 cat >>confdefs.h <<_ACEOF
4530#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5777#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4531EOF 5778_ACEOF
4532 5779
4533fi 5780fi
4534done 5781done
4535 5782
4536 MANTYPE=man 5783 MANTYPE=man
4537 do_sco3_extra_lib_check=yes 5784 do_sco3_extra_lib_check=yes
5785 TEST_SHELL=ksh
4538 ;; 5786 ;;
4539*-*-sco3.2v5*) 5787*-*-sco3.2v5*)
4540 if test -z "$GCC"; then 5788 if test -z "$GCC"; then
@@ -4542,198 +5790,237 @@ done
4542 fi 5790 fi
4543 LIBS="$LIBS -lprot -lx -ltinfo -lm" 5791 LIBS="$LIBS -lprot -lx -ltinfo -lm"
4544 no_dev_ptmx=1 5792 no_dev_ptmx=1
4545 cat >>confdefs.h <<\EOF 5793 cat >>confdefs.h <<\_ACEOF
4546#define USE_PIPES 1 5794#define USE_PIPES 1
4547EOF 5795_ACEOF
4548 5796
4549 cat >>confdefs.h <<\EOF 5797 cat >>confdefs.h <<\_ACEOF
4550#define HAVE_SECUREWARE 1 5798#define HAVE_SECUREWARE 1
4551EOF 5799_ACEOF
4552 5800
4553 cat >>confdefs.h <<\EOF 5801 cat >>confdefs.h <<\_ACEOF
4554#define DISABLE_SHADOW 1 5802#define DISABLE_SHADOW 1
4555EOF 5803_ACEOF
4556 5804
4557 cat >>confdefs.h <<\EOF 5805 cat >>confdefs.h <<\_ACEOF
4558#define DISABLE_FD_PASSING 1 5806#define DISABLE_FD_PASSING 1
4559EOF 5807_ACEOF
4560 5808
4561 cat >>confdefs.h <<\EOF 5809 cat >>confdefs.h <<\_ACEOF
4562#define SETEUID_BREAKS_SETUID 1 5810#define SETEUID_BREAKS_SETUID 1
4563EOF 5811_ACEOF
4564 5812
4565 cat >>confdefs.h <<\EOF 5813 cat >>confdefs.h <<\_ACEOF
4566#define BROKEN_SETREUID 1 5814#define BROKEN_SETREUID 1
4567EOF 5815_ACEOF
4568 5816
4569 cat >>confdefs.h <<\EOF 5817 cat >>confdefs.h <<\_ACEOF
4570#define BROKEN_SETREGID 1 5818#define BROKEN_SETREGID 1
4571EOF 5819_ACEOF
4572 5820
4573 cat >>confdefs.h <<\EOF 5821 cat >>confdefs.h <<\_ACEOF
4574#define WITH_ABBREV_NO_TTY 1 5822#define WITH_ABBREV_NO_TTY 1
4575EOF 5823_ACEOF
5824
5825 cat >>confdefs.h <<\_ACEOF
5826#define BROKEN_UPDWTMPX 1
5827_ACEOF
5828
5829
4576 5830
4577for ac_func in getluid setluid 5831for ac_func in getluid setluid
4578do 5832do
4579as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5833as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4580echo "$as_me:4580: checking for $ac_func" >&5 5834echo "$as_me:$LINENO: checking for $ac_func" >&5
4581echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 5835echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4582if eval "test \"\${$as_ac_var+set}\" = set"; then 5836if eval "test \"\${$as_ac_var+set}\" = set"; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6 5837 echo $ECHO_N "(cached) $ECHO_C" >&6
4584else 5838else
4585 cat >conftest.$ac_ext <<_ACEOF 5839 cat >conftest.$ac_ext <<_ACEOF
4586#line 4586 "configure" 5840/* confdefs.h. */
4587#include "confdefs.h" 5841_ACEOF
5842cat confdefs.h >>conftest.$ac_ext
5843cat >>conftest.$ac_ext <<_ACEOF
5844/* end confdefs.h. */
5845/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5847#define $ac_func innocuous_$ac_func
5848
4588/* System header to define __stub macros and hopefully few prototypes, 5849/* System header to define __stub macros and hopefully few prototypes,
4589 which can conflict with char $ac_func (); below. */ 5850 which can conflict with char $ac_func (); below.
4590#include <assert.h> 5851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5852 <limits.h> exists even on freestanding compilers. */
5853
5854#ifdef __STDC__
5855# include <limits.h>
5856#else
5857# include <assert.h>
5858#endif
5859
5860#undef $ac_func
5861
4591/* Override any gcc2 internal prototype to avoid an error. */ 5862/* Override any gcc2 internal prototype to avoid an error. */
4592#ifdef __cplusplus 5863#ifdef __cplusplus
4593extern "C" 5864extern "C"
5865{
4594#endif 5866#endif
4595/* We use char because int might match the return type of a gcc2 5867/* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */ 5868 builtin and then its argument prototype would still apply. */
4597char $ac_func (); 5869char $ac_func ();
4598char (*f) ();
4599
4600int
4601main ()
4602{
4603/* The GNU C library defines this for functions which it implements 5870/* The GNU C library defines this for functions which it implements
4604 to always fail with ENOSYS. Some functions are actually named 5871 to always fail with ENOSYS. Some functions are actually named
4605 something starting with __ and the normal name is an alias. */ 5872 something starting with __ and the normal name is an alias. */
4606#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 5873#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4607choke me 5874choke me
4608#else 5875#else
4609f = $ac_func; 5876char (*f) () = $ac_func;
5877#endif
5878#ifdef __cplusplus
5879}
4610#endif 5880#endif
4611 5881
5882int
5883main ()
5884{
5885return f != $ac_func;
4612 ; 5886 ;
4613 return 0; 5887 return 0;
4614} 5888}
4615_ACEOF 5889_ACEOF
4616rm -f conftest.$ac_objext conftest$ac_exeext 5890rm -f conftest.$ac_objext conftest$ac_exeext
4617if { (eval echo "$as_me:4617: \"$ac_link\"") >&5 5891if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>&5 5892 (eval $ac_link) 2>conftest.er1
4619 ac_status=$? 5893 ac_status=$?
4620 echo "$as_me:4620: \$? = $ac_status" >&5 5894 grep -v '^ *+' conftest.er1 >conftest.err
5895 rm -f conftest.er1
5896 cat conftest.err >&5
5897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } && 5898 (exit $ac_status); } &&
4622 { ac_try='test -s conftest$ac_exeext' 5899 { ac_try='test -z "$ac_c_werror_flag"
4623 { (eval echo "$as_me:4623: \"$ac_try\"") >&5 5900 || test ! -s conftest.err'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5902 (eval $ac_try) 2>&5
5903 ac_status=$?
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; } &&
5906 { ac_try='test -s conftest$ac_exeext'
5907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624 (eval $ac_try) 2>&5 5908 (eval $ac_try) 2>&5
4625 ac_status=$? 5909 ac_status=$?
4626 echo "$as_me:4626: \$? = $ac_status" >&5 5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); }; }; then 5911 (exit $ac_status); }; }; then
4628 eval "$as_ac_var=yes" 5912 eval "$as_ac_var=yes"
4629else 5913else
4630 echo "$as_me: failed program was:" >&5 5914 echo "$as_me: failed program was:" >&5
4631cat conftest.$ac_ext >&5 5915sed 's/^/| /' conftest.$ac_ext >&5
5916
4632eval "$as_ac_var=no" 5917eval "$as_ac_var=no"
4633fi 5918fi
4634rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 5919rm -f conftest.err conftest.$ac_objext \
5920 conftest$ac_exeext conftest.$ac_ext
4635fi 5921fi
4636echo "$as_me:4636: result: `eval echo '${'$as_ac_var'}'`" >&5 5922echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4637echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 5923echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4638if test `eval echo '${'$as_ac_var'}'` = yes; then 5924if test `eval echo '${'$as_ac_var'}'` = yes; then
4639 cat >>confdefs.h <<EOF 5925 cat >>confdefs.h <<_ACEOF
4640#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 5926#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4641EOF 5927_ACEOF
4642 5928
4643fi 5929fi
4644done 5930done
4645 5931
4646 MANTYPE=man 5932 MANTYPE=man
5933 TEST_SHELL=ksh
4647 ;; 5934 ;;
4648*-*-unicosmk*) 5935*-*-unicosmk*)
4649 cat >>confdefs.h <<\EOF 5936 cat >>confdefs.h <<\_ACEOF
4650#define NO_SSH_LASTLOG 1 5937#define NO_SSH_LASTLOG 1
4651EOF 5938_ACEOF
4652 5939
4653 cat >>confdefs.h <<\EOF 5940 cat >>confdefs.h <<\_ACEOF
4654#define SETEUID_BREAKS_SETUID 1 5941#define SETEUID_BREAKS_SETUID 1
4655EOF 5942_ACEOF
4656 5943
4657 cat >>confdefs.h <<\EOF 5944 cat >>confdefs.h <<\_ACEOF
4658#define BROKEN_SETREUID 1 5945#define BROKEN_SETREUID 1
4659EOF 5946_ACEOF
4660 5947
4661 cat >>confdefs.h <<\EOF 5948 cat >>confdefs.h <<\_ACEOF
4662#define BROKEN_SETREGID 1 5949#define BROKEN_SETREGID 1
4663EOF 5950_ACEOF
4664 5951
4665 cat >>confdefs.h <<\EOF 5952 cat >>confdefs.h <<\_ACEOF
4666#define USE_PIPES 1 5953#define USE_PIPES 1
4667EOF 5954_ACEOF
4668 5955
4669 cat >>confdefs.h <<\EOF 5956 cat >>confdefs.h <<\_ACEOF
4670#define DISABLE_FD_PASSING 1 5957#define DISABLE_FD_PASSING 1
4671EOF 5958_ACEOF
4672 5959
4673 LDFLAGS="$LDFLAGS" 5960 LDFLAGS="$LDFLAGS"
4674 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" 5961 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4675 MANTYPE=cat 5962 MANTYPE=cat
4676 ;; 5963 ;;
4677*-*-unicosmp*) 5964*-*-unicosmp*)
4678 cat >>confdefs.h <<\EOF 5965 cat >>confdefs.h <<\_ACEOF
4679#define SETEUID_BREAKS_SETUID 1 5966#define SETEUID_BREAKS_SETUID 1
4680EOF 5967_ACEOF
4681 5968
4682 cat >>confdefs.h <<\EOF 5969 cat >>confdefs.h <<\_ACEOF
4683#define BROKEN_SETREUID 1 5970#define BROKEN_SETREUID 1
4684EOF 5971_ACEOF
4685 5972
4686 cat >>confdefs.h <<\EOF 5973 cat >>confdefs.h <<\_ACEOF
4687#define BROKEN_SETREGID 1 5974#define BROKEN_SETREGID 1
4688EOF 5975_ACEOF
4689 5976
4690 cat >>confdefs.h <<\EOF 5977 cat >>confdefs.h <<\_ACEOF
4691#define WITH_ABBREV_NO_TTY 1 5978#define WITH_ABBREV_NO_TTY 1
4692EOF 5979_ACEOF
4693 5980
4694 cat >>confdefs.h <<\EOF 5981 cat >>confdefs.h <<\_ACEOF
4695#define USE_PIPES 1 5982#define USE_PIPES 1
4696EOF 5983_ACEOF
4697 5984
4698 cat >>confdefs.h <<\EOF 5985 cat >>confdefs.h <<\_ACEOF
4699#define DISABLE_FD_PASSING 1 5986#define DISABLE_FD_PASSING 1
4700EOF 5987_ACEOF
4701 5988
4702 LDFLAGS="$LDFLAGS" 5989 LDFLAGS="$LDFLAGS"
4703 LIBS="$LIBS -lgen -lacid -ldb" 5990 LIBS="$LIBS -lgen -lacid -ldb"
4704 MANTYPE=cat 5991 MANTYPE=cat
4705 ;; 5992 ;;
4706*-*-unicos*) 5993*-*-unicos*)
4707 cat >>confdefs.h <<\EOF 5994 cat >>confdefs.h <<\_ACEOF
4708#define SETEUID_BREAKS_SETUID 1 5995#define SETEUID_BREAKS_SETUID 1
4709EOF 5996_ACEOF
4710 5997
4711 cat >>confdefs.h <<\EOF 5998 cat >>confdefs.h <<\_ACEOF
4712#define BROKEN_SETREUID 1 5999#define BROKEN_SETREUID 1
4713EOF 6000_ACEOF
4714 6001
4715 cat >>confdefs.h <<\EOF 6002 cat >>confdefs.h <<\_ACEOF
4716#define BROKEN_SETREGID 1 6003#define BROKEN_SETREGID 1
4717EOF 6004_ACEOF
4718 6005
4719 cat >>confdefs.h <<\EOF 6006 cat >>confdefs.h <<\_ACEOF
4720#define USE_PIPES 1 6007#define USE_PIPES 1
4721EOF 6008_ACEOF
4722 6009
4723 cat >>confdefs.h <<\EOF 6010 cat >>confdefs.h <<\_ACEOF
4724#define DISABLE_FD_PASSING 1 6011#define DISABLE_FD_PASSING 1
4725EOF 6012_ACEOF
4726 6013
4727 cat >>confdefs.h <<\EOF 6014 cat >>confdefs.h <<\_ACEOF
4728#define NO_SSH_LASTLOG 1 6015#define NO_SSH_LASTLOG 1
4729EOF 6016_ACEOF
4730 6017
4731 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal" 6018 LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
4732 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm" 6019 LIBS="$LIBS -lgen -lrsc -lshare -luex -lacm"
4733 MANTYPE=cat 6020 MANTYPE=cat
4734 ;; 6021 ;;
4735*-dec-osf*) 6022*-dec-osf*)
4736 echo "$as_me:4736: checking for Digital Unix SIA" >&5 6023 echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
4737echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6 6024echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6
4738 no_osfsia="" 6025 no_osfsia=""
4739 6026
@@ -4742,7 +6029,7 @@ if test "${with_osfsia+set}" = set; then
4742 withval="$with_osfsia" 6029 withval="$with_osfsia"
4743 6030
4744 if test "x$withval" = "xno" ; then 6031 if test "x$withval" = "xno" ; then
4745 echo "$as_me:4745: result: disabled" >&5 6032 echo "$as_me:$LINENO: result: disabled" >&5
4746echo "${ECHO_T}disabled" >&6 6033echo "${ECHO_T}disabled" >&6
4747 no_osfsia=1 6034 no_osfsia=1
4748 fi 6035 fi
@@ -4750,68 +6037,68 @@ echo "${ECHO_T}disabled" >&6
4750fi; 6037fi;
4751 if test -z "$no_osfsia" ; then 6038 if test -z "$no_osfsia" ; then
4752 if test -f /etc/sia/matrix.conf; then 6039 if test -f /etc/sia/matrix.conf; then
4753 echo "$as_me:4753: result: yes" >&5 6040 echo "$as_me:$LINENO: result: yes" >&5
4754echo "${ECHO_T}yes" >&6 6041echo "${ECHO_T}yes" >&6
4755 cat >>confdefs.h <<\EOF 6042 cat >>confdefs.h <<\_ACEOF
4756#define HAVE_OSF_SIA 1 6043#define HAVE_OSF_SIA 1
4757EOF 6044_ACEOF
4758 6045
4759 cat >>confdefs.h <<\EOF 6046 cat >>confdefs.h <<\_ACEOF
4760#define DISABLE_LOGIN 1 6047#define DISABLE_LOGIN 1
4761EOF 6048_ACEOF
4762 6049
4763 cat >>confdefs.h <<\EOF 6050 cat >>confdefs.h <<\_ACEOF
4764#define DISABLE_FD_PASSING 1 6051#define DISABLE_FD_PASSING 1
4765EOF 6052_ACEOF
4766 6053
4767 LIBS="$LIBS -lsecurity -ldb -lm -laud" 6054 LIBS="$LIBS -lsecurity -ldb -lm -laud"
4768 else 6055 else
4769 echo "$as_me:4769: result: no" >&5 6056 echo "$as_me:$LINENO: result: no" >&5
4770echo "${ECHO_T}no" >&6 6057echo "${ECHO_T}no" >&6
4771 cat >>confdefs.h <<\EOF 6058 cat >>confdefs.h <<\_ACEOF
4772#define LOCKED_PASSWD_SUBSTR "Nologin" 6059#define LOCKED_PASSWD_SUBSTR "Nologin"
4773EOF 6060_ACEOF
4774 6061
4775 fi 6062 fi
4776 fi 6063 fi
4777 cat >>confdefs.h <<\EOF 6064 cat >>confdefs.h <<\_ACEOF
4778#define BROKEN_GETADDRINFO 1 6065#define BROKEN_GETADDRINFO 1
4779EOF 6066_ACEOF
4780 6067
4781 cat >>confdefs.h <<\EOF 6068 cat >>confdefs.h <<\_ACEOF
4782#define SETEUID_BREAKS_SETUID 1 6069#define SETEUID_BREAKS_SETUID 1
4783EOF 6070_ACEOF
4784 6071
4785 cat >>confdefs.h <<\EOF 6072 cat >>confdefs.h <<\_ACEOF
4786#define BROKEN_SETREUID 1 6073#define BROKEN_SETREUID 1
4787EOF 6074_ACEOF
4788 6075
4789 cat >>confdefs.h <<\EOF 6076 cat >>confdefs.h <<\_ACEOF
4790#define BROKEN_SETREGID 1 6077#define BROKEN_SETREGID 1
4791EOF 6078_ACEOF
4792 6079
4793 ;; 6080 ;;
4794 6081
4795*-*-nto-qnx) 6082*-*-nto-qnx)
4796 cat >>confdefs.h <<\EOF 6083 cat >>confdefs.h <<\_ACEOF
4797#define USE_PIPES 1 6084#define USE_PIPES 1
4798EOF 6085_ACEOF
4799 6086
4800 cat >>confdefs.h <<\EOF 6087 cat >>confdefs.h <<\_ACEOF
4801#define NO_X11_UNIX_SOCKETS 1 6088#define NO_X11_UNIX_SOCKETS 1
4802EOF 6089_ACEOF
4803 6090
4804 cat >>confdefs.h <<\EOF 6091 cat >>confdefs.h <<\_ACEOF
4805#define MISSING_NFDBITS 1 6092#define MISSING_NFDBITS 1
4806EOF 6093_ACEOF
4807 6094
4808 cat >>confdefs.h <<\EOF 6095 cat >>confdefs.h <<\_ACEOF
4809#define MISSING_HOWMANY 1 6096#define MISSING_HOWMANY 1
4810EOF 6097_ACEOF
4811 6098
4812 cat >>confdefs.h <<\EOF 6099 cat >>confdefs.h <<\_ACEOF
4813#define MISSING_FD_MASK 1 6100#define MISSING_FD_MASK 1
4814EOF 6101_ACEOF
4815 6102
4816 ;; 6103 ;;
4817esac 6104esac
@@ -4826,6 +6113,7 @@ if test "${with_cflags+set}" = set; then
4826 CFLAGS="$CFLAGS $withval" 6113 CFLAGS="$CFLAGS $withval"
4827 fi 6114 fi
4828 6115
6116
4829fi; 6117fi;
4830 6118
4831# Check whether --with-cppflags or --without-cppflags was given. 6119# Check whether --with-cppflags or --without-cppflags was given.
@@ -4836,6 +6124,7 @@ if test "${with_cppflags+set}" = set; then
4836 CPPFLAGS="$CPPFLAGS $withval" 6124 CPPFLAGS="$CPPFLAGS $withval"
4837 fi 6125 fi
4838 6126
6127
4839fi; 6128fi;
4840 6129
4841# Check whether --with-ldflags or --without-ldflags was given. 6130# Check whether --with-ldflags or --without-ldflags was given.
@@ -4846,6 +6135,7 @@ if test "${with_ldflags+set}" = set; then
4846 LDFLAGS="$LDFLAGS $withval" 6135 LDFLAGS="$LDFLAGS $withval"
4847 fi 6136 fi
4848 6137
6138
4849fi; 6139fi;
4850 6140
4851# Check whether --with-libs or --without-libs was given. 6141# Check whether --with-libs or --without-libs was given.
@@ -4856,85 +6146,459 @@ if test "${with_libs+set}" = set; then
4856 LIBS="$LIBS $withval" 6146 LIBS="$LIBS $withval"
4857 fi 6147 fi
4858 6148
6149
4859fi; 6150fi;
4860 6151
4861echo "$as_me:4861: checking compiler and flags for sanity" >&5 6152echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
4862echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6 6153echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6
4863if test "$cross_compiling" = yes; then 6154if test "$cross_compiling" = yes; then
4864 { { echo "$as_me:4864: error: cannot run test program while cross compiling" >&5 6155 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4865echo "$as_me: error: cannot run test program while cross compiling" >&2;} 6156See \`config.log' for more details." >&5
6157echo "$as_me: error: cannot run test program while cross compiling
6158See \`config.log' for more details." >&2;}
4866 { (exit 1); exit 1; }; } 6159 { (exit 1); exit 1; }; }
4867else 6160else
4868 cat >conftest.$ac_ext <<_ACEOF 6161 cat >conftest.$ac_ext <<_ACEOF
4869#line 4869 "configure" 6162/* confdefs.h. */
4870#include "confdefs.h" 6163_ACEOF
6164cat confdefs.h >>conftest.$ac_ext
6165cat >>conftest.$ac_ext <<_ACEOF
6166/* end confdefs.h. */
4871 6167
4872#include <stdio.h> 6168#include <stdio.h>
4873int main(){exit(0);} 6169int main(){exit(0);}
4874 6170
4875_ACEOF 6171_ACEOF
4876rm -f conftest$ac_exeext 6172rm -f conftest$ac_exeext
4877if { (eval echo "$as_me:4877: \"$ac_link\"") >&5 6173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4878 (eval $ac_link) 2>&5 6174 (eval $ac_link) 2>&5
4879 ac_status=$? 6175 ac_status=$?
4880 echo "$as_me:4880: \$? = $ac_status" >&5 6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 6177 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4882 { (eval echo "$as_me:4882: \"$ac_try\"") >&5 6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 (eval $ac_try) 2>&5 6179 (eval $ac_try) 2>&5
4884 ac_status=$? 6180 ac_status=$?
4885 echo "$as_me:4885: \$? = $ac_status" >&5 6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); }; }; then 6182 (exit $ac_status); }; }; then
4887 echo "$as_me:4887: result: yes" >&5 6183 echo "$as_me:$LINENO: result: yes" >&5
4888echo "${ECHO_T}yes" >&6 6184echo "${ECHO_T}yes" >&6
4889else 6185else
4890 echo "$as_me: program exited with status $ac_status" >&5 6186 echo "$as_me: program exited with status $ac_status" >&5
4891echo "$as_me: failed program was:" >&5 6187echo "$as_me: failed program was:" >&5
4892cat conftest.$ac_ext >&5 6188sed 's/^/| /' conftest.$ac_ext >&5
4893 6189
4894 echo "$as_me:4894: result: no" >&5 6190( exit $ac_status )
6191
6192 echo "$as_me:$LINENO: result: no" >&5
4895echo "${ECHO_T}no" >&6 6193echo "${ECHO_T}no" >&6
4896 { { echo "$as_me:4896: error: *** compiler cannot create working executables, check config.log ***" >&5 6194 { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5
4897echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 6195echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
4898 { (exit 1); exit 1; }; } 6196 { (exit 1); exit 1; }; }
4899 6197
6198
4900fi 6199fi
4901rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 6200rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4902fi 6201fi
4903 6202
4904# Checks for header files. 6203# Checks for header files.
4905 6204
4906for ac_header in bstring.h crypt.h endian.h features.h floatingpoint.h \ 6205echo "$as_me:$LINENO: checking for egrep" >&5
4907 getopt.h glob.h ia.h lastlog.h limits.h login.h \ 6206echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4908 login_cap.h maillock.h netdb.h netgroup.h \ 6207if test "${ac_cv_prog_egrep+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6209else
6210 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6211 then ac_cv_prog_egrep='grep -E'
6212 else ac_cv_prog_egrep='egrep'
6213 fi
6214fi
6215echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6216echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6217 EGREP=$ac_cv_prog_egrep
6218
6219
6220echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6221echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6222if test "${ac_cv_header_stdc+set}" = set; then
6223 echo $ECHO_N "(cached) $ECHO_C" >&6
6224else
6225 cat >conftest.$ac_ext <<_ACEOF
6226/* confdefs.h. */
6227_ACEOF
6228cat confdefs.h >>conftest.$ac_ext
6229cat >>conftest.$ac_ext <<_ACEOF
6230/* end confdefs.h. */
6231#include <stdlib.h>
6232#include <stdarg.h>
6233#include <string.h>
6234#include <float.h>
6235
6236int
6237main ()
6238{
6239
6240 ;
6241 return 0;
6242}
6243_ACEOF
6244rm -f conftest.$ac_objext
6245if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6246 (eval $ac_compile) 2>conftest.er1
6247 ac_status=$?
6248 grep -v '^ *+' conftest.er1 >conftest.err
6249 rm -f conftest.er1
6250 cat conftest.err >&5
6251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } &&
6253 { ac_try='test -z "$ac_c_werror_flag"
6254 || test ! -s conftest.err'
6255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6256 (eval $ac_try) 2>&5
6257 ac_status=$?
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); }; } &&
6260 { ac_try='test -s conftest.$ac_objext'
6261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 (eval $ac_try) 2>&5
6263 ac_status=$?
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); }; }; then
6266 ac_cv_header_stdc=yes
6267else
6268 echo "$as_me: failed program was:" >&5
6269sed 's/^/| /' conftest.$ac_ext >&5
6270
6271ac_cv_header_stdc=no
6272fi
6273rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6274
6275if test $ac_cv_header_stdc = yes; then
6276 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6277 cat >conftest.$ac_ext <<_ACEOF
6278/* confdefs.h. */
6279_ACEOF
6280cat confdefs.h >>conftest.$ac_ext
6281cat >>conftest.$ac_ext <<_ACEOF
6282/* end confdefs.h. */
6283#include <string.h>
6284
6285_ACEOF
6286if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6287 $EGREP "memchr" >/dev/null 2>&1; then
6288 :
6289else
6290 ac_cv_header_stdc=no
6291fi
6292rm -f conftest*
6293
6294fi
6295
6296if test $ac_cv_header_stdc = yes; then
6297 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6298 cat >conftest.$ac_ext <<_ACEOF
6299/* confdefs.h. */
6300_ACEOF
6301cat confdefs.h >>conftest.$ac_ext
6302cat >>conftest.$ac_ext <<_ACEOF
6303/* end confdefs.h. */
6304#include <stdlib.h>
6305
6306_ACEOF
6307if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6308 $EGREP "free" >/dev/null 2>&1; then
6309 :
6310else
6311 ac_cv_header_stdc=no
6312fi
6313rm -f conftest*
6314
6315fi
6316
6317if test $ac_cv_header_stdc = yes; then
6318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6319 if test "$cross_compiling" = yes; then
6320 :
6321else
6322 cat >conftest.$ac_ext <<_ACEOF
6323/* confdefs.h. */
6324_ACEOF
6325cat confdefs.h >>conftest.$ac_ext
6326cat >>conftest.$ac_ext <<_ACEOF
6327/* end confdefs.h. */
6328#include <ctype.h>
6329#if ((' ' & 0x0FF) == 0x020)
6330# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6331# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6332#else
6333# define ISLOWER(c) \
6334 (('a' <= (c) && (c) <= 'i') \
6335 || ('j' <= (c) && (c) <= 'r') \
6336 || ('s' <= (c) && (c) <= 'z'))
6337# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6338#endif
6339
6340#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6341int
6342main ()
6343{
6344 int i;
6345 for (i = 0; i < 256; i++)
6346 if (XOR (islower (i), ISLOWER (i))
6347 || toupper (i) != TOUPPER (i))
6348 exit(2);
6349 exit (0);
6350}
6351_ACEOF
6352rm -f conftest$ac_exeext
6353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6354 (eval $ac_link) 2>&5
6355 ac_status=$?
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6359 (eval $ac_try) 2>&5
6360 ac_status=$?
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); }; }; then
6363 :
6364else
6365 echo "$as_me: program exited with status $ac_status" >&5
6366echo "$as_me: failed program was:" >&5
6367sed 's/^/| /' conftest.$ac_ext >&5
6368
6369( exit $ac_status )
6370ac_cv_header_stdc=no
6371fi
6372rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6373fi
6374fi
6375fi
6376echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6377echo "${ECHO_T}$ac_cv_header_stdc" >&6
6378if test $ac_cv_header_stdc = yes; then
6379
6380cat >>confdefs.h <<\_ACEOF
6381#define STDC_HEADERS 1
6382_ACEOF
6383
6384fi
6385
6386# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6397 inttypes.h stdint.h unistd.h
6398do
6399as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6400echo "$as_me:$LINENO: checking for $ac_header" >&5
6401echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6402if eval "test \"\${$as_ac_Header+set}\" = set"; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6404else
6405 cat >conftest.$ac_ext <<_ACEOF
6406/* confdefs.h. */
6407_ACEOF
6408cat confdefs.h >>conftest.$ac_ext
6409cat >>conftest.$ac_ext <<_ACEOF
6410/* end confdefs.h. */
6411$ac_includes_default
6412
6413#include <$ac_header>
6414_ACEOF
6415rm -f conftest.$ac_objext
6416if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6417 (eval $ac_compile) 2>conftest.er1
6418 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 eval "$as_ac_Header=yes"
6438else
6439 echo "$as_me: failed program was:" >&5
6440sed 's/^/| /' conftest.$ac_ext >&5
6441
6442eval "$as_ac_Header=no"
6443fi
6444rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6445fi
6446echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6447echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6448if test `eval echo '${'$as_ac_Header'}'` = yes; then
6449 cat >>confdefs.h <<_ACEOF
6450#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6451_ACEOF
6452
6453fi
6454
6455done
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514for ac_header in bstring.h crypt.h dirent.h endian.h features.h \
6515 floatingpoint.h getopt.h glob.h ia.h lastlog.h limits.h login.h \
6516 login_cap.h maillock.h ndir.h netdb.h netgroup.h \
4909 netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \ 6517 netinet/in_systm.h pam/pam_appl.h paths.h pty.h readpassphrase.h \
4910 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ 6518 rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \
4911 strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ 6519 strings.h sys/dir.h sys/strtio.h sys/audit.h sys/bitypes.h \
4912 sys/cdefs.h sys/mman.h sys/prctl.h sys/pstat.h sys/ptms.h \ 6520 sys/bsdtty.h sys/cdefs.h sys/mman.h sys/ndir.h sys/prctl.h \
4913 sys/select.h sys/stat.h sys/stream.h sys/stropts.h \ 6521 sys/pstat.h sys/ptms.h sys/select.h sys/stat.h sys/stream.h \
4914 sys/sysmacros.h sys/time.h sys/timers.h sys/un.h time.h tmpdir.h \ 6522 sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h sys/un.h \
4915 ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h 6523 time.h tmpdir.h ttyent.h usersec.h util.h utime.h utmp.h utmpx.h vis.h
4916do 6524do
4917as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6525as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4918echo "$as_me:4918: checking for $ac_header" >&5 6526if eval "test \"\${$as_ac_Header+set}\" = set"; then
6527 echo "$as_me:$LINENO: checking for $ac_header" >&5
4919echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 6528echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4920if eval "test \"\${$as_ac_Header+set}\" = set"; then 6529if eval "test \"\${$as_ac_Header+set}\" = set"; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6 6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6531fi
6532echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6533echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4922else 6534else
4923 cat >conftest.$ac_ext <<_ACEOF 6535 # Is the header compilable?
4924#line 4924 "configure" 6536echo "$as_me:$LINENO: checking $ac_header usability" >&5
4925#include "confdefs.h" 6537echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6538cat >conftest.$ac_ext <<_ACEOF
6539/* confdefs.h. */
6540_ACEOF
6541cat confdefs.h >>conftest.$ac_ext
6542cat >>conftest.$ac_ext <<_ACEOF
6543/* end confdefs.h. */
6544$ac_includes_default
4926#include <$ac_header> 6545#include <$ac_header>
4927_ACEOF 6546_ACEOF
4928if { (eval echo "$as_me:4928: \"$ac_cpp conftest.$ac_ext\"") >&5 6547rm -f conftest.$ac_objext
6548if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6549 (eval $ac_compile) 2>conftest.er1
6550 ac_status=$?
6551 grep -v '^ *+' conftest.er1 >conftest.err
6552 rm -f conftest.er1
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } &&
6556 { ac_try='test -z "$ac_c_werror_flag"
6557 || test ! -s conftest.err'
6558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6559 (eval $ac_try) 2>&5
6560 ac_status=$?
6561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6562 (exit $ac_status); }; } &&
6563 { ac_try='test -s conftest.$ac_objext'
6564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6565 (eval $ac_try) 2>&5
6566 ac_status=$?
6567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6568 (exit $ac_status); }; }; then
6569 ac_header_compiler=yes
6570else
6571 echo "$as_me: failed program was:" >&5
6572sed 's/^/| /' conftest.$ac_ext >&5
6573
6574ac_header_compiler=no
6575fi
6576rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6577echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6578echo "${ECHO_T}$ac_header_compiler" >&6
6579
6580# Is the header present?
6581echo "$as_me:$LINENO: checking $ac_header presence" >&5
6582echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6583cat >conftest.$ac_ext <<_ACEOF
6584/* confdefs.h. */
6585_ACEOF
6586cat confdefs.h >>conftest.$ac_ext
6587cat >>conftest.$ac_ext <<_ACEOF
6588/* end confdefs.h. */
6589#include <$ac_header>
6590_ACEOF
6591if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 6592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930 ac_status=$? 6593 ac_status=$?
4931 egrep -v '^ *\+' conftest.er1 >conftest.err 6594 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1 6595 rm -f conftest.er1
4933 cat conftest.err >&5 6596 cat conftest.err >&5
4934 echo "$as_me:4934: \$? = $ac_status" >&5 6597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev/null; then 6598 (exit $ac_status); } >/dev/null; then
4936 if test -s conftest.err; then 6599 if test -s conftest.err; then
4937 ac_cpp_err=$ac_c_preproc_warn_flag 6600 ac_cpp_err=$ac_c_preproc_warn_flag
6601 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4938 else 6602 else
4939 ac_cpp_err= 6603 ac_cpp_err=
4940 fi 6604 fi
@@ -4942,88 +6606,166 @@ else
4942 ac_cpp_err=yes 6606 ac_cpp_err=yes
4943fi 6607fi
4944if test -z "$ac_cpp_err"; then 6608if test -z "$ac_cpp_err"; then
4945 eval "$as_ac_Header=yes" 6609 ac_header_preproc=yes
4946else 6610else
4947 echo "$as_me: failed program was:" >&5 6611 echo "$as_me: failed program was:" >&5
4948 cat conftest.$ac_ext >&5 6612sed 's/^/| /' conftest.$ac_ext >&5
4949 eval "$as_ac_Header=no" 6613
6614 ac_header_preproc=no
4950fi 6615fi
4951rm -f conftest.err conftest.$ac_ext 6616rm -f conftest.err conftest.$ac_ext
6617echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6618echo "${ECHO_T}$ac_header_preproc" >&6
6619
6620# So? What about this header?
6621case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6622 yes:no: )
6623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6624echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6626echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6627 ac_header_preproc=yes
6628 ;;
6629 no:yes:* )
6630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6631echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6633echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6635echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6637echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6639echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6641echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6642 (
6643 cat <<\_ASBOX
6644## ------------------------------------------ ##
6645## Report this to the AC_PACKAGE_NAME lists. ##
6646## ------------------------------------------ ##
6647_ASBOX
6648 ) |
6649 sed "s/^/$as_me: WARNING: /" >&2
6650 ;;
6651esac
6652echo "$as_me:$LINENO: checking for $ac_header" >&5
6653echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6654if eval "test \"\${$as_ac_Header+set}\" = set"; then
6655 echo $ECHO_N "(cached) $ECHO_C" >&6
6656else
6657 eval "$as_ac_Header=\$ac_header_preproc"
4952fi 6658fi
4953echo "$as_me:4953: result: `eval echo '${'$as_ac_Header'}'`" >&5 6659echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4954echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 6660echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6661
6662fi
4955if test `eval echo '${'$as_ac_Header'}'` = yes; then 6663if test `eval echo '${'$as_ac_Header'}'` = yes; then
4956 cat >>confdefs.h <<EOF 6664 cat >>confdefs.h <<_ACEOF
4957#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6665#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4958EOF 6666_ACEOF
4959 6667
4960fi 6668fi
6669
4961done 6670done
4962 6671
6672
4963# Checks for libraries. 6673# Checks for libraries.
4964echo "$as_me:4964: checking for yp_match" >&5 6674echo "$as_me:$LINENO: checking for yp_match" >&5
4965echo $ECHO_N "checking for yp_match... $ECHO_C" >&6 6675echo $ECHO_N "checking for yp_match... $ECHO_C" >&6
4966if test "${ac_cv_func_yp_match+set}" = set; then 6676if test "${ac_cv_func_yp_match+set}" = set; then
4967 echo $ECHO_N "(cached) $ECHO_C" >&6 6677 echo $ECHO_N "(cached) $ECHO_C" >&6
4968else 6678else
4969 cat >conftest.$ac_ext <<_ACEOF 6679 cat >conftest.$ac_ext <<_ACEOF
4970#line 4970 "configure" 6680/* confdefs.h. */
4971#include "confdefs.h" 6681_ACEOF
6682cat confdefs.h >>conftest.$ac_ext
6683cat >>conftest.$ac_ext <<_ACEOF
6684/* end confdefs.h. */
6685/* Define yp_match to an innocuous variant, in case <limits.h> declares yp_match.
6686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6687#define yp_match innocuous_yp_match
6688
4972/* System header to define __stub macros and hopefully few prototypes, 6689/* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char yp_match (); below. */ 6690 which can conflict with char yp_match (); below.
4974#include <assert.h> 6691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6692 <limits.h> exists even on freestanding compilers. */
6693
6694#ifdef __STDC__
6695# include <limits.h>
6696#else
6697# include <assert.h>
6698#endif
6699
6700#undef yp_match
6701
4975/* Override any gcc2 internal prototype to avoid an error. */ 6702/* Override any gcc2 internal prototype to avoid an error. */
4976#ifdef __cplusplus 6703#ifdef __cplusplus
4977extern "C" 6704extern "C"
6705{
4978#endif 6706#endif
4979/* We use char because int might match the return type of a gcc2 6707/* We use char because int might match the return type of a gcc2
4980 builtin and then its argument prototype would still apply. */ 6708 builtin and then its argument prototype would still apply. */
4981char yp_match (); 6709char yp_match ();
4982char (*f) ();
4983
4984int
4985main ()
4986{
4987/* The GNU C library defines this for functions which it implements 6710/* The GNU C library defines this for functions which it implements
4988 to always fail with ENOSYS. Some functions are actually named 6711 to always fail with ENOSYS. Some functions are actually named
4989 something starting with __ and the normal name is an alias. */ 6712 something starting with __ and the normal name is an alias. */
4990#if defined (__stub_yp_match) || defined (__stub___yp_match) 6713#if defined (__stub_yp_match) || defined (__stub___yp_match)
4991choke me 6714choke me
4992#else 6715#else
4993f = yp_match; 6716char (*f) () = yp_match;
6717#endif
6718#ifdef __cplusplus
6719}
4994#endif 6720#endif
4995 6721
6722int
6723main ()
6724{
6725return f != yp_match;
4996 ; 6726 ;
4997 return 0; 6727 return 0;
4998} 6728}
4999_ACEOF 6729_ACEOF
5000rm -f conftest.$ac_objext conftest$ac_exeext 6730rm -f conftest.$ac_objext conftest$ac_exeext
5001if { (eval echo "$as_me:5001: \"$ac_link\"") >&5 6731if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5002 (eval $ac_link) 2>&5 6732 (eval $ac_link) 2>conftest.er1
5003 ac_status=$? 6733 ac_status=$?
5004 echo "$as_me:5004: \$? = $ac_status" >&5 6734 grep -v '^ *+' conftest.er1 >conftest.err
6735 rm -f conftest.er1
6736 cat conftest.err >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } && 6738 (exit $ac_status); } &&
5006 { ac_try='test -s conftest$ac_exeext' 6739 { ac_try='test -z "$ac_c_werror_flag"
5007 { (eval echo "$as_me:5007: \"$ac_try\"") >&5 6740 || test ! -s conftest.err'
6741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5008 (eval $ac_try) 2>&5 6742 (eval $ac_try) 2>&5
5009 ac_status=$? 6743 ac_status=$?
5010 echo "$as_me:5010: \$? = $ac_status" >&5 6744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745 (exit $ac_status); }; } &&
6746 { ac_try='test -s conftest$ac_exeext'
6747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 (eval $ac_try) 2>&5
6749 ac_status=$?
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then 6751 (exit $ac_status); }; }; then
5012 ac_cv_func_yp_match=yes 6752 ac_cv_func_yp_match=yes
5013else 6753else
5014 echo "$as_me: failed program was:" >&5 6754 echo "$as_me: failed program was:" >&5
5015cat conftest.$ac_ext >&5 6755sed 's/^/| /' conftest.$ac_ext >&5
6756
5016ac_cv_func_yp_match=no 6757ac_cv_func_yp_match=no
5017fi 6758fi
5018rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6759rm -f conftest.err conftest.$ac_objext \
6760 conftest$ac_exeext conftest.$ac_ext
5019fi 6761fi
5020echo "$as_me:5020: result: $ac_cv_func_yp_match" >&5 6762echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
5021echo "${ECHO_T}$ac_cv_func_yp_match" >&6 6763echo "${ECHO_T}$ac_cv_func_yp_match" >&6
5022if test $ac_cv_func_yp_match = yes; then 6764if test $ac_cv_func_yp_match = yes; then
5023 : 6765 :
5024else 6766else
5025 6767
5026echo "$as_me:5026: checking for yp_match in -lnsl" >&5 6768echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
5027echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6 6769echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6
5028if test "${ac_cv_lib_nsl_yp_match+set}" = set; then 6770if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
5029 echo $ECHO_N "(cached) $ECHO_C" >&6 6771 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5031,8 +6773,11 @@ else
5031 ac_check_lib_save_LIBS=$LIBS 6773 ac_check_lib_save_LIBS=$LIBS
5032LIBS="-lnsl $LIBS" 6774LIBS="-lnsl $LIBS"
5033cat >conftest.$ac_ext <<_ACEOF 6775cat >conftest.$ac_ext <<_ACEOF
5034#line 5034 "configure" 6776/* confdefs.h. */
5035#include "confdefs.h" 6777_ACEOF
6778cat confdefs.h >>conftest.$ac_ext
6779cat >>conftest.$ac_ext <<_ACEOF
6780/* end confdefs.h. */
5036 6781
5037/* Override any gcc2 internal prototype to avoid an error. */ 6782/* Override any gcc2 internal prototype to avoid an error. */
5038#ifdef __cplusplus 6783#ifdef __cplusplus
@@ -5050,32 +6795,44 @@ yp_match ();
5050} 6795}
5051_ACEOF 6796_ACEOF
5052rm -f conftest.$ac_objext conftest$ac_exeext 6797rm -f conftest.$ac_objext conftest$ac_exeext
5053if { (eval echo "$as_me:5053: \"$ac_link\"") >&5 6798if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5054 (eval $ac_link) 2>&5 6799 (eval $ac_link) 2>conftest.er1
5055 ac_status=$? 6800 ac_status=$?
5056 echo "$as_me:5056: \$? = $ac_status" >&5 6801 grep -v '^ *+' conftest.er1 >conftest.err
6802 rm -f conftest.er1
6803 cat conftest.err >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } && 6805 (exit $ac_status); } &&
5058 { ac_try='test -s conftest$ac_exeext' 6806 { ac_try='test -z "$ac_c_werror_flag"
5059 { (eval echo "$as_me:5059: \"$ac_try\"") >&5 6807 || test ! -s conftest.err'
6808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 (eval $ac_try) 2>&5
6810 ac_status=$?
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); }; } &&
6813 { ac_try='test -s conftest$ac_exeext'
6814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 (eval $ac_try) 2>&5 6815 (eval $ac_try) 2>&5
5061 ac_status=$? 6816 ac_status=$?
5062 echo "$as_me:5062: \$? = $ac_status" >&5 6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); }; }; then 6818 (exit $ac_status); }; }; then
5064 ac_cv_lib_nsl_yp_match=yes 6819 ac_cv_lib_nsl_yp_match=yes
5065else 6820else
5066 echo "$as_me: failed program was:" >&5 6821 echo "$as_me: failed program was:" >&5
5067cat conftest.$ac_ext >&5 6822sed 's/^/| /' conftest.$ac_ext >&5
6823
5068ac_cv_lib_nsl_yp_match=no 6824ac_cv_lib_nsl_yp_match=no
5069fi 6825fi
5070rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6826rm -f conftest.err conftest.$ac_objext \
6827 conftest$ac_exeext conftest.$ac_ext
5071LIBS=$ac_check_lib_save_LIBS 6828LIBS=$ac_check_lib_save_LIBS
5072fi 6829fi
5073echo "$as_me:5073: result: $ac_cv_lib_nsl_yp_match" >&5 6830echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
5074echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6 6831echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6
5075if test $ac_cv_lib_nsl_yp_match = yes; then 6832if test $ac_cv_lib_nsl_yp_match = yes; then
5076 cat >>confdefs.h <<EOF 6833 cat >>confdefs.h <<_ACEOF
5077#define HAVE_LIBNSL 1 6834#define HAVE_LIBNSL 1
5078EOF 6835_ACEOF
5079 6836
5080 LIBS="-lnsl $LIBS" 6837 LIBS="-lnsl $LIBS"
5081 6838
@@ -5083,69 +6840,101 @@ fi
5083 6840
5084fi 6841fi
5085 6842
5086echo "$as_me:5086: checking for setsockopt" >&5 6843echo "$as_me:$LINENO: checking for setsockopt" >&5
5087echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6 6844echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
5088if test "${ac_cv_func_setsockopt+set}" = set; then 6845if test "${ac_cv_func_setsockopt+set}" = set; then
5089 echo $ECHO_N "(cached) $ECHO_C" >&6 6846 echo $ECHO_N "(cached) $ECHO_C" >&6
5090else 6847else
5091 cat >conftest.$ac_ext <<_ACEOF 6848 cat >conftest.$ac_ext <<_ACEOF
5092#line 5092 "configure" 6849/* confdefs.h. */
5093#include "confdefs.h" 6850_ACEOF
6851cat confdefs.h >>conftest.$ac_ext
6852cat >>conftest.$ac_ext <<_ACEOF
6853/* end confdefs.h. */
6854/* Define setsockopt to an innocuous variant, in case <limits.h> declares setsockopt.
6855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6856#define setsockopt innocuous_setsockopt
6857
5094/* System header to define __stub macros and hopefully few prototypes, 6858/* System header to define __stub macros and hopefully few prototypes,
5095 which can conflict with char setsockopt (); below. */ 6859 which can conflict with char setsockopt (); below.
5096#include <assert.h> 6860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6861 <limits.h> exists even on freestanding compilers. */
6862
6863#ifdef __STDC__
6864# include <limits.h>
6865#else
6866# include <assert.h>
6867#endif
6868
6869#undef setsockopt
6870
5097/* Override any gcc2 internal prototype to avoid an error. */ 6871/* Override any gcc2 internal prototype to avoid an error. */
5098#ifdef __cplusplus 6872#ifdef __cplusplus
5099extern "C" 6873extern "C"
6874{
5100#endif 6875#endif
5101/* We use char because int might match the return type of a gcc2 6876/* We use char because int might match the return type of a gcc2
5102 builtin and then its argument prototype would still apply. */ 6877 builtin and then its argument prototype would still apply. */
5103char setsockopt (); 6878char setsockopt ();
5104char (*f) ();
5105
5106int
5107main ()
5108{
5109/* The GNU C library defines this for functions which it implements 6879/* The GNU C library defines this for functions which it implements
5110 to always fail with ENOSYS. Some functions are actually named 6880 to always fail with ENOSYS. Some functions are actually named
5111 something starting with __ and the normal name is an alias. */ 6881 something starting with __ and the normal name is an alias. */
5112#if defined (__stub_setsockopt) || defined (__stub___setsockopt) 6882#if defined (__stub_setsockopt) || defined (__stub___setsockopt)
5113choke me 6883choke me
5114#else 6884#else
5115f = setsockopt; 6885char (*f) () = setsockopt;
6886#endif
6887#ifdef __cplusplus
6888}
5116#endif 6889#endif
5117 6890
6891int
6892main ()
6893{
6894return f != setsockopt;
5118 ; 6895 ;
5119 return 0; 6896 return 0;
5120} 6897}
5121_ACEOF 6898_ACEOF
5122rm -f conftest.$ac_objext conftest$ac_exeext 6899rm -f conftest.$ac_objext conftest$ac_exeext
5123if { (eval echo "$as_me:5123: \"$ac_link\"") >&5 6900if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 (eval $ac_link) 2>&5 6901 (eval $ac_link) 2>conftest.er1
5125 ac_status=$? 6902 ac_status=$?
5126 echo "$as_me:5126: \$? = $ac_status" >&5 6903 grep -v '^ *+' conftest.er1 >conftest.err
6904 rm -f conftest.er1
6905 cat conftest.err >&5
6906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && 6907 (exit $ac_status); } &&
5128 { ac_try='test -s conftest$ac_exeext' 6908 { ac_try='test -z "$ac_c_werror_flag"
5129 { (eval echo "$as_me:5129: \"$ac_try\"") >&5 6909 || test ! -s conftest.err'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5130 (eval $ac_try) 2>&5 6911 (eval $ac_try) 2>&5
5131 ac_status=$? 6912 ac_status=$?
5132 echo "$as_me:5132: \$? = $ac_status" >&5 6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; } &&
6915 { ac_try='test -s conftest$ac_exeext'
6916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 (eval $ac_try) 2>&5
6918 ac_status=$?
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); }; }; then 6920 (exit $ac_status); }; }; then
5134 ac_cv_func_setsockopt=yes 6921 ac_cv_func_setsockopt=yes
5135else 6922else
5136 echo "$as_me: failed program was:" >&5 6923 echo "$as_me: failed program was:" >&5
5137cat conftest.$ac_ext >&5 6924sed 's/^/| /' conftest.$ac_ext >&5
6925
5138ac_cv_func_setsockopt=no 6926ac_cv_func_setsockopt=no
5139fi 6927fi
5140rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6928rm -f conftest.err conftest.$ac_objext \
6929 conftest$ac_exeext conftest.$ac_ext
5141fi 6930fi
5142echo "$as_me:5142: result: $ac_cv_func_setsockopt" >&5 6931echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
5143echo "${ECHO_T}$ac_cv_func_setsockopt" >&6 6932echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
5144if test $ac_cv_func_setsockopt = yes; then 6933if test $ac_cv_func_setsockopt = yes; then
5145 : 6934 :
5146else 6935else
5147 6936
5148echo "$as_me:5148: checking for setsockopt in -lsocket" >&5 6937echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
5149echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6 6938echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
5150if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 6939if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6 6940 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5153,8 +6942,11 @@ else
5153 ac_check_lib_save_LIBS=$LIBS 6942 ac_check_lib_save_LIBS=$LIBS
5154LIBS="-lsocket $LIBS" 6943LIBS="-lsocket $LIBS"
5155cat >conftest.$ac_ext <<_ACEOF 6944cat >conftest.$ac_ext <<_ACEOF
5156#line 5156 "configure" 6945/* confdefs.h. */
5157#include "confdefs.h" 6946_ACEOF
6947cat confdefs.h >>conftest.$ac_ext
6948cat >>conftest.$ac_ext <<_ACEOF
6949/* end confdefs.h. */
5158 6950
5159/* Override any gcc2 internal prototype to avoid an error. */ 6951/* Override any gcc2 internal prototype to avoid an error. */
5160#ifdef __cplusplus 6952#ifdef __cplusplus
@@ -5172,32 +6964,44 @@ setsockopt ();
5172} 6964}
5173_ACEOF 6965_ACEOF
5174rm -f conftest.$ac_objext conftest$ac_exeext 6966rm -f conftest.$ac_objext conftest$ac_exeext
5175if { (eval echo "$as_me:5175: \"$ac_link\"") >&5 6967if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 (eval $ac_link) 2>&5 6968 (eval $ac_link) 2>conftest.er1
5177 ac_status=$? 6969 ac_status=$?
5178 echo "$as_me:5178: \$? = $ac_status" >&5 6970 grep -v '^ *+' conftest.er1 >conftest.err
6971 rm -f conftest.er1
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); } && 6974 (exit $ac_status); } &&
5180 { ac_try='test -s conftest$ac_exeext' 6975 { ac_try='test -z "$ac_c_werror_flag"
5181 { (eval echo "$as_me:5181: \"$ac_try\"") >&5 6976 || test ! -s conftest.err'
6977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 (eval $ac_try) 2>&5 6978 (eval $ac_try) 2>&5
5183 ac_status=$? 6979 ac_status=$?
5184 echo "$as_me:5184: \$? = $ac_status" >&5 6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; } &&
6982 { ac_try='test -s conftest$ac_exeext'
6983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6984 (eval $ac_try) 2>&5
6985 ac_status=$?
6986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); }; }; then 6987 (exit $ac_status); }; }; then
5186 ac_cv_lib_socket_setsockopt=yes 6988 ac_cv_lib_socket_setsockopt=yes
5187else 6989else
5188 echo "$as_me: failed program was:" >&5 6990 echo "$as_me: failed program was:" >&5
5189cat conftest.$ac_ext >&5 6991sed 's/^/| /' conftest.$ac_ext >&5
6992
5190ac_cv_lib_socket_setsockopt=no 6993ac_cv_lib_socket_setsockopt=no
5191fi 6994fi
5192rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 6995rm -f conftest.err conftest.$ac_objext \
6996 conftest$ac_exeext conftest.$ac_ext
5193LIBS=$ac_check_lib_save_LIBS 6997LIBS=$ac_check_lib_save_LIBS
5194fi 6998fi
5195echo "$as_me:5195: result: $ac_cv_lib_socket_setsockopt" >&5 6999echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
5196echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6 7000echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
5197if test $ac_cv_lib_socket_setsockopt = yes; then 7001if test $ac_cv_lib_socket_setsockopt = yes; then
5198 cat >>confdefs.h <<EOF 7002 cat >>confdefs.h <<_ACEOF
5199#define HAVE_LIBSOCKET 1 7003#define HAVE_LIBSOCKET 1
5200EOF 7004_ACEOF
5201 7005
5202 LIBS="-lsocket $LIBS" 7006 LIBS="-lsocket $LIBS"
5203 7007
@@ -5205,9 +7009,10 @@ fi
5205 7009
5206fi 7010fi
5207 7011
7012
5208if test "x$with_tcp_wrappers" != "xno" ; then 7013if test "x$with_tcp_wrappers" != "xno" ; then
5209 if test "x$do_sco3_extra_lib_check" = "xyes" ; then 7014 if test "x$do_sco3_extra_lib_check" = "xyes" ; then
5210 echo "$as_me:5210: checking for innetgr in -lrpc" >&5 7015 echo "$as_me:$LINENO: checking for innetgr in -lrpc" >&5
5211echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6 7016echo $ECHO_N "checking for innetgr in -lrpc... $ECHO_C" >&6
5212if test "${ac_cv_lib_rpc_innetgr+set}" = set; then 7017if test "${ac_cv_lib_rpc_innetgr+set}" = set; then
5213 echo $ECHO_N "(cached) $ECHO_C" >&6 7018 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5215,8 +7020,11 @@ else
5215 ac_check_lib_save_LIBS=$LIBS 7020 ac_check_lib_save_LIBS=$LIBS
5216LIBS="-lrpc -lyp -lrpc $LIBS" 7021LIBS="-lrpc -lyp -lrpc $LIBS"
5217cat >conftest.$ac_ext <<_ACEOF 7022cat >conftest.$ac_ext <<_ACEOF
5218#line 5218 "configure" 7023/* confdefs.h. */
5219#include "confdefs.h" 7024_ACEOF
7025cat confdefs.h >>conftest.$ac_ext
7026cat >>conftest.$ac_ext <<_ACEOF
7027/* end confdefs.h. */
5220 7028
5221/* Override any gcc2 internal prototype to avoid an error. */ 7029/* Override any gcc2 internal prototype to avoid an error. */
5222#ifdef __cplusplus 7030#ifdef __cplusplus
@@ -5234,27 +7042,39 @@ innetgr ();
5234} 7042}
5235_ACEOF 7043_ACEOF
5236rm -f conftest.$ac_objext conftest$ac_exeext 7044rm -f conftest.$ac_objext conftest$ac_exeext
5237if { (eval echo "$as_me:5237: \"$ac_link\"") >&5 7045if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5238 (eval $ac_link) 2>&5 7046 (eval $ac_link) 2>conftest.er1
5239 ac_status=$? 7047 ac_status=$?
5240 echo "$as_me:5240: \$? = $ac_status" >&5 7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); } && 7052 (exit $ac_status); } &&
5242 { ac_try='test -s conftest$ac_exeext' 7053 { ac_try='test -z "$ac_c_werror_flag"
5243 { (eval echo "$as_me:5243: \"$ac_try\"") >&5 7054 || test ! -s conftest.err'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 (eval $ac_try) 2>&5 7056 (eval $ac_try) 2>&5
5245 ac_status=$? 7057 ac_status=$?
5246 echo "$as_me:5246: \$? = $ac_status" >&5 7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try='test -s conftest$ac_exeext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 (eval $ac_try) 2>&5
7063 ac_status=$?
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }; }; then 7065 (exit $ac_status); }; }; then
5248 ac_cv_lib_rpc_innetgr=yes 7066 ac_cv_lib_rpc_innetgr=yes
5249else 7067else
5250 echo "$as_me: failed program was:" >&5 7068 echo "$as_me: failed program was:" >&5
5251cat conftest.$ac_ext >&5 7069sed 's/^/| /' conftest.$ac_ext >&5
7070
5252ac_cv_lib_rpc_innetgr=no 7071ac_cv_lib_rpc_innetgr=no
5253fi 7072fi
5254rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7073rm -f conftest.err conftest.$ac_objext \
7074 conftest$ac_exeext conftest.$ac_ext
5255LIBS=$ac_check_lib_save_LIBS 7075LIBS=$ac_check_lib_save_LIBS
5256fi 7076fi
5257echo "$as_me:5257: result: $ac_cv_lib_rpc_innetgr" >&5 7077echo "$as_me:$LINENO: result: $ac_cv_lib_rpc_innetgr" >&5
5258echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6 7078echo "${ECHO_T}$ac_cv_lib_rpc_innetgr" >&6
5259if test $ac_cv_lib_rpc_innetgr = yes; then 7079if test $ac_cv_lib_rpc_innetgr = yes; then
5260 LIBS="-lrpc -lyp -lrpc $LIBS" 7080 LIBS="-lrpc -lyp -lrpc $LIBS"
@@ -5263,95 +7083,184 @@ fi
5263 fi 7083 fi
5264fi 7084fi
5265 7085
7086
5266for ac_func in dirname 7087for ac_func in dirname
5267do 7088do
5268as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7089as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5269echo "$as_me:5269: checking for $ac_func" >&5 7090echo "$as_me:$LINENO: checking for $ac_func" >&5
5270echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 7091echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5271if eval "test \"\${$as_ac_var+set}\" = set"; then 7092if eval "test \"\${$as_ac_var+set}\" = set"; then
5272 echo $ECHO_N "(cached) $ECHO_C" >&6 7093 echo $ECHO_N "(cached) $ECHO_C" >&6
5273else 7094else
5274 cat >conftest.$ac_ext <<_ACEOF 7095 cat >conftest.$ac_ext <<_ACEOF
5275#line 5275 "configure" 7096/* confdefs.h. */
5276#include "confdefs.h" 7097_ACEOF
7098cat confdefs.h >>conftest.$ac_ext
7099cat >>conftest.$ac_ext <<_ACEOF
7100/* end confdefs.h. */
7101/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7103#define $ac_func innocuous_$ac_func
7104
5277/* System header to define __stub macros and hopefully few prototypes, 7105/* System header to define __stub macros and hopefully few prototypes,
5278 which can conflict with char $ac_func (); below. */ 7106 which can conflict with char $ac_func (); below.
5279#include <assert.h> 7107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7108 <limits.h> exists even on freestanding compilers. */
7109
7110#ifdef __STDC__
7111# include <limits.h>
7112#else
7113# include <assert.h>
7114#endif
7115
7116#undef $ac_func
7117
5280/* Override any gcc2 internal prototype to avoid an error. */ 7118/* Override any gcc2 internal prototype to avoid an error. */
5281#ifdef __cplusplus 7119#ifdef __cplusplus
5282extern "C" 7120extern "C"
7121{
5283#endif 7122#endif
5284/* We use char because int might match the return type of a gcc2 7123/* We use char because int might match the return type of a gcc2
5285 builtin and then its argument prototype would still apply. */ 7124 builtin and then its argument prototype would still apply. */
5286char $ac_func (); 7125char $ac_func ();
5287char (*f) ();
5288
5289int
5290main ()
5291{
5292/* The GNU C library defines this for functions which it implements 7126/* The GNU C library defines this for functions which it implements
5293 to always fail with ENOSYS. Some functions are actually named 7127 to always fail with ENOSYS. Some functions are actually named
5294 something starting with __ and the normal name is an alias. */ 7128 something starting with __ and the normal name is an alias. */
5295#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 7129#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5296choke me 7130choke me
5297#else 7131#else
5298f = $ac_func; 7132char (*f) () = $ac_func;
7133#endif
7134#ifdef __cplusplus
7135}
5299#endif 7136#endif
5300 7137
7138int
7139main ()
7140{
7141return f != $ac_func;
5301 ; 7142 ;
5302 return 0; 7143 return 0;
5303} 7144}
5304_ACEOF 7145_ACEOF
5305rm -f conftest.$ac_objext conftest$ac_exeext 7146rm -f conftest.$ac_objext conftest$ac_exeext
5306if { (eval echo "$as_me:5306: \"$ac_link\"") >&5 7147if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5307 (eval $ac_link) 2>&5 7148 (eval $ac_link) 2>conftest.er1
5308 ac_status=$? 7149 ac_status=$?
5309 echo "$as_me:5309: \$? = $ac_status" >&5 7150 grep -v '^ *+' conftest.er1 >conftest.err
7151 rm -f conftest.er1
7152 cat conftest.err >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } && 7154 (exit $ac_status); } &&
5311 { ac_try='test -s conftest$ac_exeext' 7155 { ac_try='test -z "$ac_c_werror_flag"
5312 { (eval echo "$as_me:5312: \"$ac_try\"") >&5 7156 || test ! -s conftest.err'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 (eval $ac_try) 2>&5 7158 (eval $ac_try) 2>&5
5314 ac_status=$? 7159 ac_status=$?
5315 echo "$as_me:5315: \$? = $ac_status" >&5 7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; } &&
7162 { ac_try='test -s conftest$ac_exeext'
7163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7164 (eval $ac_try) 2>&5
7165 ac_status=$?
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); }; }; then 7167 (exit $ac_status); }; }; then
5317 eval "$as_ac_var=yes" 7168 eval "$as_ac_var=yes"
5318else 7169else
5319 echo "$as_me: failed program was:" >&5 7170 echo "$as_me: failed program was:" >&5
5320cat conftest.$ac_ext >&5 7171sed 's/^/| /' conftest.$ac_ext >&5
7172
5321eval "$as_ac_var=no" 7173eval "$as_ac_var=no"
5322fi 7174fi
5323rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7175rm -f conftest.err conftest.$ac_objext \
7176 conftest$ac_exeext conftest.$ac_ext
5324fi 7177fi
5325echo "$as_me:5325: result: `eval echo '${'$as_ac_var'}'`" >&5 7178echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5326echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 7179echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5327if test `eval echo '${'$as_ac_var'}'` = yes; then 7180if test `eval echo '${'$as_ac_var'}'` = yes; then
5328 cat >>confdefs.h <<EOF 7181 cat >>confdefs.h <<_ACEOF
5329#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7182#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5330EOF 7183_ACEOF
5331 7184
5332for ac_header in libgen.h 7185for ac_header in libgen.h
5333do 7186do
5334as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7187as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5335echo "$as_me:5335: checking for $ac_header" >&5 7188if eval "test \"\${$as_ac_Header+set}\" = set"; then
7189 echo "$as_me:$LINENO: checking for $ac_header" >&5
5336echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7190echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5337if eval "test \"\${$as_ac_Header+set}\" = set"; then 7191if eval "test \"\${$as_ac_Header+set}\" = set"; then
5338 echo $ECHO_N "(cached) $ECHO_C" >&6 7192 echo $ECHO_N "(cached) $ECHO_C" >&6
7193fi
7194echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7195echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5339else 7196else
5340 cat >conftest.$ac_ext <<_ACEOF 7197 # Is the header compilable?
5341#line 5341 "configure" 7198echo "$as_me:$LINENO: checking $ac_header usability" >&5
5342#include "confdefs.h" 7199echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7200cat >conftest.$ac_ext <<_ACEOF
7201/* confdefs.h. */
7202_ACEOF
7203cat confdefs.h >>conftest.$ac_ext
7204cat >>conftest.$ac_ext <<_ACEOF
7205/* end confdefs.h. */
7206$ac_includes_default
7207#include <$ac_header>
7208_ACEOF
7209rm -f conftest.$ac_objext
7210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7211 (eval $ac_compile) 2>conftest.er1
7212 ac_status=$?
7213 grep -v '^ *+' conftest.er1 >conftest.err
7214 rm -f conftest.er1
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } &&
7218 { ac_try='test -z "$ac_c_werror_flag"
7219 || test ! -s conftest.err'
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7221 (eval $ac_try) 2>&5
7222 ac_status=$?
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; } &&
7225 { ac_try='test -s conftest.$ac_objext'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 (eval $ac_try) 2>&5
7228 ac_status=$?
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; }; then
7231 ac_header_compiler=yes
7232else
7233 echo "$as_me: failed program was:" >&5
7234sed 's/^/| /' conftest.$ac_ext >&5
7235
7236ac_header_compiler=no
7237fi
7238rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7239echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7240echo "${ECHO_T}$ac_header_compiler" >&6
7241
7242# Is the header present?
7243echo "$as_me:$LINENO: checking $ac_header presence" >&5
7244echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7245cat >conftest.$ac_ext <<_ACEOF
7246/* confdefs.h. */
7247_ACEOF
7248cat confdefs.h >>conftest.$ac_ext
7249cat >>conftest.$ac_ext <<_ACEOF
7250/* end confdefs.h. */
5343#include <$ac_header> 7251#include <$ac_header>
5344_ACEOF 7252_ACEOF
5345if { (eval echo "$as_me:5345: \"$ac_cpp conftest.$ac_ext\"") >&5 7253if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5346 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5347 ac_status=$? 7255 ac_status=$?
5348 egrep -v '^ *\+' conftest.er1 >conftest.err 7256 grep -v '^ *+' conftest.er1 >conftest.err
5349 rm -f conftest.er1 7257 rm -f conftest.er1
5350 cat conftest.err >&5 7258 cat conftest.err >&5
5351 echo "$as_me:5351: \$? = $ac_status" >&5 7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); } >/dev/null; then 7260 (exit $ac_status); } >/dev/null; then
5353 if test -s conftest.err; then 7261 if test -s conftest.err; then
5354 ac_cpp_err=$ac_c_preproc_warn_flag 7262 ac_cpp_err=$ac_c_preproc_warn_flag
7263 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5355 else 7264 else
5356 ac_cpp_err= 7265 ac_cpp_err=
5357 fi 7266 fi
@@ -5359,27 +7268,72 @@ else
5359 ac_cpp_err=yes 7268 ac_cpp_err=yes
5360fi 7269fi
5361if test -z "$ac_cpp_err"; then 7270if test -z "$ac_cpp_err"; then
5362 eval "$as_ac_Header=yes" 7271 ac_header_preproc=yes
5363else 7272else
5364 echo "$as_me: failed program was:" >&5 7273 echo "$as_me: failed program was:" >&5
5365 cat conftest.$ac_ext >&5 7274sed 's/^/| /' conftest.$ac_ext >&5
5366 eval "$as_ac_Header=no" 7275
7276 ac_header_preproc=no
5367fi 7277fi
5368rm -f conftest.err conftest.$ac_ext 7278rm -f conftest.err conftest.$ac_ext
7279echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7280echo "${ECHO_T}$ac_header_preproc" >&6
7281
7282# So? What about this header?
7283case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7284 yes:no: )
7285 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7286echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7288echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7289 ac_header_preproc=yes
7290 ;;
7291 no:yes:* )
7292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7293echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7295echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7297echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7299echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7301echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7303echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7304 (
7305 cat <<\_ASBOX
7306## ------------------------------------------ ##
7307## Report this to the AC_PACKAGE_NAME lists. ##
7308## ------------------------------------------ ##
7309_ASBOX
7310 ) |
7311 sed "s/^/$as_me: WARNING: /" >&2
7312 ;;
7313esac
7314echo "$as_me:$LINENO: checking for $ac_header" >&5
7315echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7316if eval "test \"\${$as_ac_Header+set}\" = set"; then
7317 echo $ECHO_N "(cached) $ECHO_C" >&6
7318else
7319 eval "$as_ac_Header=\$ac_header_preproc"
5369fi 7320fi
5370echo "$as_me:5370: result: `eval echo '${'$as_ac_Header'}'`" >&5 7321echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5371echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7322echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7323
7324fi
5372if test `eval echo '${'$as_ac_Header'}'` = yes; then 7325if test `eval echo '${'$as_ac_Header'}'` = yes; then
5373 cat >>confdefs.h <<EOF 7326 cat >>confdefs.h <<_ACEOF
5374#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7327#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5375EOF 7328_ACEOF
5376 7329
5377fi 7330fi
7331
5378done 7332done
5379 7333
5380else 7334else
5381 7335
5382 echo "$as_me:5382: checking for dirname in -lgen" >&5 7336 echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
5383echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6 7337echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6
5384if test "${ac_cv_lib_gen_dirname+set}" = set; then 7338if test "${ac_cv_lib_gen_dirname+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6 7339 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5387,8 +7341,11 @@ else
5387 ac_check_lib_save_LIBS=$LIBS 7341 ac_check_lib_save_LIBS=$LIBS
5388LIBS="-lgen $LIBS" 7342LIBS="-lgen $LIBS"
5389cat >conftest.$ac_ext <<_ACEOF 7343cat >conftest.$ac_ext <<_ACEOF
5390#line 5390 "configure" 7344/* confdefs.h. */
5391#include "confdefs.h" 7345_ACEOF
7346cat confdefs.h >>conftest.$ac_ext
7347cat >>conftest.$ac_ext <<_ACEOF
7348/* end confdefs.h. */
5392 7349
5393/* Override any gcc2 internal prototype to avoid an error. */ 7350/* Override any gcc2 internal prototype to avoid an error. */
5394#ifdef __cplusplus 7351#ifdef __cplusplus
@@ -5406,31 +7363,43 @@ dirname ();
5406} 7363}
5407_ACEOF 7364_ACEOF
5408rm -f conftest.$ac_objext conftest$ac_exeext 7365rm -f conftest.$ac_objext conftest$ac_exeext
5409if { (eval echo "$as_me:5409: \"$ac_link\"") >&5 7366if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5410 (eval $ac_link) 2>&5 7367 (eval $ac_link) 2>conftest.er1
5411 ac_status=$? 7368 ac_status=$?
5412 echo "$as_me:5412: \$? = $ac_status" >&5 7369 grep -v '^ *+' conftest.er1 >conftest.err
7370 rm -f conftest.er1
7371 cat conftest.err >&5
7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 (exit $ac_status); } && 7373 (exit $ac_status); } &&
5414 { ac_try='test -s conftest$ac_exeext' 7374 { ac_try='test -z "$ac_c_werror_flag"
5415 { (eval echo "$as_me:5415: \"$ac_try\"") >&5 7375 || test ! -s conftest.err'
7376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5416 (eval $ac_try) 2>&5 7377 (eval $ac_try) 2>&5
5417 ac_status=$? 7378 ac_status=$?
5418 echo "$as_me:5418: \$? = $ac_status" >&5 7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); }; } &&
7381 { ac_try='test -s conftest$ac_exeext'
7382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7383 (eval $ac_try) 2>&5
7384 ac_status=$?
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; }; then 7386 (exit $ac_status); }; }; then
5420 ac_cv_lib_gen_dirname=yes 7387 ac_cv_lib_gen_dirname=yes
5421else 7388else
5422 echo "$as_me: failed program was:" >&5 7389 echo "$as_me: failed program was:" >&5
5423cat conftest.$ac_ext >&5 7390sed 's/^/| /' conftest.$ac_ext >&5
7391
5424ac_cv_lib_gen_dirname=no 7392ac_cv_lib_gen_dirname=no
5425fi 7393fi
5426rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7394rm -f conftest.err conftest.$ac_objext \
7395 conftest$ac_exeext conftest.$ac_ext
5427LIBS=$ac_check_lib_save_LIBS 7396LIBS=$ac_check_lib_save_LIBS
5428fi 7397fi
5429echo "$as_me:5429: result: $ac_cv_lib_gen_dirname" >&5 7398echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
5430echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6 7399echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6
5431if test $ac_cv_lib_gen_dirname = yes; then 7400if test $ac_cv_lib_gen_dirname = yes; then
5432 7401
5433 echo "$as_me:5433: checking for broken dirname" >&5 7402 echo "$as_me:$LINENO: checking for broken dirname" >&5
5434echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6 7403echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6
5435if test "${ac_cv_have_broken_dirname+set}" = set; then 7404if test "${ac_cv_have_broken_dirname+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6 7405 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5439,13 +7408,18 @@ else
5439 save_LIBS="$LIBS" 7408 save_LIBS="$LIBS"
5440 LIBS="$LIBS -lgen" 7409 LIBS="$LIBS -lgen"
5441 if test "$cross_compiling" = yes; then 7410 if test "$cross_compiling" = yes; then
5442 { { echo "$as_me:5442: error: cannot run test program while cross compiling" >&5 7411 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5443echo "$as_me: error: cannot run test program while cross compiling" >&2;} 7412See \`config.log' for more details." >&5
7413echo "$as_me: error: cannot run test program while cross compiling
7414See \`config.log' for more details." >&2;}
5444 { (exit 1); exit 1; }; } 7415 { (exit 1); exit 1; }; }
5445else 7416else
5446 cat >conftest.$ac_ext <<_ACEOF 7417 cat >conftest.$ac_ext <<_ACEOF
5447#line 5447 "configure" 7418/* confdefs.h. */
5448#include "confdefs.h" 7419_ACEOF
7420cat confdefs.h >>conftest.$ac_ext
7421cat >>conftest.$ac_ext <<_ACEOF
7422/* end confdefs.h. */
5449 7423
5450#include <libgen.h> 7424#include <libgen.h>
5451#include <string.h> 7425#include <string.h>
@@ -5464,60 +7438,119 @@ int main(int argc, char **argv) {
5464 7438
5465_ACEOF 7439_ACEOF
5466rm -f conftest$ac_exeext 7440rm -f conftest$ac_exeext
5467if { (eval echo "$as_me:5467: \"$ac_link\"") >&5 7441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5468 (eval $ac_link) 2>&5 7442 (eval $ac_link) 2>&5
5469 ac_status=$? 7443 ac_status=$?
5470 echo "$as_me:5470: \$? = $ac_status" >&5 7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5471 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7445 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5472 { (eval echo "$as_me:5472: \"$ac_try\"") >&5 7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5473 (eval $ac_try) 2>&5 7447 (eval $ac_try) 2>&5
5474 ac_status=$? 7448 ac_status=$?
5475 echo "$as_me:5475: \$? = $ac_status" >&5 7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5476 (exit $ac_status); }; }; then 7450 (exit $ac_status); }; }; then
5477 ac_cv_have_broken_dirname="no" 7451 ac_cv_have_broken_dirname="no"
5478else 7452else
5479 echo "$as_me: program exited with status $ac_status" >&5 7453 echo "$as_me: program exited with status $ac_status" >&5
5480echo "$as_me: failed program was:" >&5 7454echo "$as_me: failed program was:" >&5
5481cat conftest.$ac_ext >&5 7455sed 's/^/| /' conftest.$ac_ext >&5
7456
7457( exit $ac_status )
5482 ac_cv_have_broken_dirname="yes" 7458 ac_cv_have_broken_dirname="yes"
5483 7459
5484fi 7460fi
5485rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7461rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5486fi 7462fi
5487 LIBS="$save_LIBS" 7463 LIBS="$save_LIBS"
5488 7464
5489fi 7465fi
5490echo "$as_me:5490: result: $ac_cv_have_broken_dirname" >&5 7466echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
5491echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6 7467echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6
5492 if test "x$ac_cv_have_broken_dirname" = "xno" ; then 7468 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
5493 LIBS="$LIBS -lgen" 7469 LIBS="$LIBS -lgen"
5494 cat >>confdefs.h <<\EOF 7470 cat >>confdefs.h <<\_ACEOF
5495#define HAVE_DIRNAME 1 7471#define HAVE_DIRNAME 1
5496EOF 7472_ACEOF
7473
5497 7474
5498for ac_header in libgen.h 7475for ac_header in libgen.h
5499do 7476do
5500as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7477as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5501echo "$as_me:5501: checking for $ac_header" >&5 7478if eval "test \"\${$as_ac_Header+set}\" = set"; then
7479 echo "$as_me:$LINENO: checking for $ac_header" >&5
5502echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 7480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5503if eval "test \"\${$as_ac_Header+set}\" = set"; then 7481if eval "test \"\${$as_ac_Header+set}\" = set"; then
5504 echo $ECHO_N "(cached) $ECHO_C" >&6 7482 echo $ECHO_N "(cached) $ECHO_C" >&6
7483fi
7484echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7485echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5505else 7486else
5506 cat >conftest.$ac_ext <<_ACEOF 7487 # Is the header compilable?
5507#line 5507 "configure" 7488echo "$as_me:$LINENO: checking $ac_header usability" >&5
5508#include "confdefs.h" 7489echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7490cat >conftest.$ac_ext <<_ACEOF
7491/* confdefs.h. */
7492_ACEOF
7493cat confdefs.h >>conftest.$ac_ext
7494cat >>conftest.$ac_ext <<_ACEOF
7495/* end confdefs.h. */
7496$ac_includes_default
5509#include <$ac_header> 7497#include <$ac_header>
5510_ACEOF 7498_ACEOF
5511if { (eval echo "$as_me:5511: \"$ac_cpp conftest.$ac_ext\"") >&5 7499rm -f conftest.$ac_objext
7500if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7501 (eval $ac_compile) 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } &&
7508 { ac_try='test -z "$ac_c_werror_flag"
7509 || test ! -s conftest.err'
7510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7511 (eval $ac_try) 2>&5
7512 ac_status=$?
7513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514 (exit $ac_status); }; } &&
7515 { ac_try='test -s conftest.$ac_objext'
7516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7517 (eval $ac_try) 2>&5
7518 ac_status=$?
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); }; }; then
7521 ac_header_compiler=yes
7522else
7523 echo "$as_me: failed program was:" >&5
7524sed 's/^/| /' conftest.$ac_ext >&5
7525
7526ac_header_compiler=no
7527fi
7528rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7529echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7530echo "${ECHO_T}$ac_header_compiler" >&6
7531
7532# Is the header present?
7533echo "$as_me:$LINENO: checking $ac_header presence" >&5
7534echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7535cat >conftest.$ac_ext <<_ACEOF
7536/* confdefs.h. */
7537_ACEOF
7538cat confdefs.h >>conftest.$ac_ext
7539cat >>conftest.$ac_ext <<_ACEOF
7540/* end confdefs.h. */
7541#include <$ac_header>
7542_ACEOF
7543if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 7544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5513 ac_status=$? 7545 ac_status=$?
5514 egrep -v '^ *\+' conftest.er1 >conftest.err 7546 grep -v '^ *+' conftest.er1 >conftest.err
5515 rm -f conftest.er1 7547 rm -f conftest.er1
5516 cat conftest.err >&5 7548 cat conftest.err >&5
5517 echo "$as_me:5517: \$? = $ac_status" >&5 7549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } >/dev/null; then 7550 (exit $ac_status); } >/dev/null; then
5519 if test -s conftest.err; then 7551 if test -s conftest.err; then
5520 ac_cpp_err=$ac_c_preproc_warn_flag 7552 ac_cpp_err=$ac_c_preproc_warn_flag
7553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5521 else 7554 else
5522 ac_cpp_err= 7555 ac_cpp_err=
5523 fi 7556 fi
@@ -5525,93 +7558,172 @@ else
5525 ac_cpp_err=yes 7558 ac_cpp_err=yes
5526fi 7559fi
5527if test -z "$ac_cpp_err"; then 7560if test -z "$ac_cpp_err"; then
5528 eval "$as_ac_Header=yes" 7561 ac_header_preproc=yes
5529else 7562else
5530 echo "$as_me: failed program was:" >&5 7563 echo "$as_me: failed program was:" >&5
5531 cat conftest.$ac_ext >&5 7564sed 's/^/| /' conftest.$ac_ext >&5
5532 eval "$as_ac_Header=no" 7565
7566 ac_header_preproc=no
5533fi 7567fi
5534rm -f conftest.err conftest.$ac_ext 7568rm -f conftest.err conftest.$ac_ext
7569echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7570echo "${ECHO_T}$ac_header_preproc" >&6
7571
7572# So? What about this header?
7573case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7574 yes:no: )
7575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7576echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7578echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7579 ac_header_preproc=yes
7580 ;;
7581 no:yes:* )
7582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7583echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7585echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7587echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7589echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7591echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7593echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7594 (
7595 cat <<\_ASBOX
7596## ------------------------------------------ ##
7597## Report this to the AC_PACKAGE_NAME lists. ##
7598## ------------------------------------------ ##
7599_ASBOX
7600 ) |
7601 sed "s/^/$as_me: WARNING: /" >&2
7602 ;;
7603esac
7604echo "$as_me:$LINENO: checking for $ac_header" >&5
7605echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7606if eval "test \"\${$as_ac_Header+set}\" = set"; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7608else
7609 eval "$as_ac_Header=\$ac_header_preproc"
5535fi 7610fi
5536echo "$as_me:5536: result: `eval echo '${'$as_ac_Header'}'`" >&5 7611echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5537echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 7612echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7613
7614fi
5538if test `eval echo '${'$as_ac_Header'}'` = yes; then 7615if test `eval echo '${'$as_ac_Header'}'` = yes; then
5539 cat >>confdefs.h <<EOF 7616 cat >>confdefs.h <<_ACEOF
5540#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7617#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5541EOF 7618_ACEOF
5542 7619
5543fi 7620fi
7621
5544done 7622done
5545 7623
5546 fi 7624 fi
5547 7625
5548fi 7626fi
5549 7627
7628
5550fi 7629fi
5551done 7630done
5552 7631
5553echo "$as_me:5553: checking for getspnam" >&5 7632
7633echo "$as_me:$LINENO: checking for getspnam" >&5
5554echo $ECHO_N "checking for getspnam... $ECHO_C" >&6 7634echo $ECHO_N "checking for getspnam... $ECHO_C" >&6
5555if test "${ac_cv_func_getspnam+set}" = set; then 7635if test "${ac_cv_func_getspnam+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6 7636 echo $ECHO_N "(cached) $ECHO_C" >&6
5557else 7637else
5558 cat >conftest.$ac_ext <<_ACEOF 7638 cat >conftest.$ac_ext <<_ACEOF
5559#line 5559 "configure" 7639/* confdefs.h. */
5560#include "confdefs.h" 7640_ACEOF
7641cat confdefs.h >>conftest.$ac_ext
7642cat >>conftest.$ac_ext <<_ACEOF
7643/* end confdefs.h. */
7644/* Define getspnam to an innocuous variant, in case <limits.h> declares getspnam.
7645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7646#define getspnam innocuous_getspnam
7647
5561/* System header to define __stub macros and hopefully few prototypes, 7648/* System header to define __stub macros and hopefully few prototypes,
5562 which can conflict with char getspnam (); below. */ 7649 which can conflict with char getspnam (); below.
5563#include <assert.h> 7650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7651 <limits.h> exists even on freestanding compilers. */
7652
7653#ifdef __STDC__
7654# include <limits.h>
7655#else
7656# include <assert.h>
7657#endif
7658
7659#undef getspnam
7660
5564/* Override any gcc2 internal prototype to avoid an error. */ 7661/* Override any gcc2 internal prototype to avoid an error. */
5565#ifdef __cplusplus 7662#ifdef __cplusplus
5566extern "C" 7663extern "C"
7664{
5567#endif 7665#endif
5568/* We use char because int might match the return type of a gcc2 7666/* We use char because int might match the return type of a gcc2
5569 builtin and then its argument prototype would still apply. */ 7667 builtin and then its argument prototype would still apply. */
5570char getspnam (); 7668char getspnam ();
5571char (*f) ();
5572
5573int
5574main ()
5575{
5576/* The GNU C library defines this for functions which it implements 7669/* The GNU C library defines this for functions which it implements
5577 to always fail with ENOSYS. Some functions are actually named 7670 to always fail with ENOSYS. Some functions are actually named
5578 something starting with __ and the normal name is an alias. */ 7671 something starting with __ and the normal name is an alias. */
5579#if defined (__stub_getspnam) || defined (__stub___getspnam) 7672#if defined (__stub_getspnam) || defined (__stub___getspnam)
5580choke me 7673choke me
5581#else 7674#else
5582f = getspnam; 7675char (*f) () = getspnam;
7676#endif
7677#ifdef __cplusplus
7678}
5583#endif 7679#endif
5584 7680
7681int
7682main ()
7683{
7684return f != getspnam;
5585 ; 7685 ;
5586 return 0; 7686 return 0;
5587} 7687}
5588_ACEOF 7688_ACEOF
5589rm -f conftest.$ac_objext conftest$ac_exeext 7689rm -f conftest.$ac_objext conftest$ac_exeext
5590if { (eval echo "$as_me:5590: \"$ac_link\"") >&5 7690if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5591 (eval $ac_link) 2>&5 7691 (eval $ac_link) 2>conftest.er1
5592 ac_status=$? 7692 ac_status=$?
5593 echo "$as_me:5593: \$? = $ac_status" >&5 7693 grep -v '^ *+' conftest.er1 >conftest.err
7694 rm -f conftest.er1
7695 cat conftest.err >&5
7696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && 7697 (exit $ac_status); } &&
5595 { ac_try='test -s conftest$ac_exeext' 7698 { ac_try='test -z "$ac_c_werror_flag"
5596 { (eval echo "$as_me:5596: \"$ac_try\"") >&5 7699 || test ! -s conftest.err'
7700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5597 (eval $ac_try) 2>&5 7701 (eval $ac_try) 2>&5
5598 ac_status=$? 7702 ac_status=$?
5599 echo "$as_me:5599: \$? = $ac_status" >&5 7703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 (exit $ac_status); }; } &&
7705 { ac_try='test -s conftest$ac_exeext'
7706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7707 (eval $ac_try) 2>&5
7708 ac_status=$?
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then 7710 (exit $ac_status); }; }; then
5601 ac_cv_func_getspnam=yes 7711 ac_cv_func_getspnam=yes
5602else 7712else
5603 echo "$as_me: failed program was:" >&5 7713 echo "$as_me: failed program was:" >&5
5604cat conftest.$ac_ext >&5 7714sed 's/^/| /' conftest.$ac_ext >&5
7715
5605ac_cv_func_getspnam=no 7716ac_cv_func_getspnam=no
5606fi 7717fi
5607rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7718rm -f conftest.err conftest.$ac_objext \
7719 conftest$ac_exeext conftest.$ac_ext
5608fi 7720fi
5609echo "$as_me:5609: result: $ac_cv_func_getspnam" >&5 7721echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
5610echo "${ECHO_T}$ac_cv_func_getspnam" >&6 7722echo "${ECHO_T}$ac_cv_func_getspnam" >&6
5611if test $ac_cv_func_getspnam = yes; then 7723if test $ac_cv_func_getspnam = yes; then
5612 : 7724 :
5613else 7725else
5614 echo "$as_me:5614: checking for getspnam in -lgen" >&5 7726 echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
5615echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6 7727echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
5616if test "${ac_cv_lib_gen_getspnam+set}" = set; then 7728if test "${ac_cv_lib_gen_getspnam+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6 7729 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5619,8 +7731,11 @@ else
5619 ac_check_lib_save_LIBS=$LIBS 7731 ac_check_lib_save_LIBS=$LIBS
5620LIBS="-lgen $LIBS" 7732LIBS="-lgen $LIBS"
5621cat >conftest.$ac_ext <<_ACEOF 7733cat >conftest.$ac_ext <<_ACEOF
5622#line 5622 "configure" 7734/* confdefs.h. */
5623#include "confdefs.h" 7735_ACEOF
7736cat confdefs.h >>conftest.$ac_ext
7737cat >>conftest.$ac_ext <<_ACEOF
7738/* end confdefs.h. */
5624 7739
5625/* Override any gcc2 internal prototype to avoid an error. */ 7740/* Override any gcc2 internal prototype to avoid an error. */
5626#ifdef __cplusplus 7741#ifdef __cplusplus
@@ -5638,27 +7753,39 @@ getspnam ();
5638} 7753}
5639_ACEOF 7754_ACEOF
5640rm -f conftest.$ac_objext conftest$ac_exeext 7755rm -f conftest.$ac_objext conftest$ac_exeext
5641if { (eval echo "$as_me:5641: \"$ac_link\"") >&5 7756if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5642 (eval $ac_link) 2>&5 7757 (eval $ac_link) 2>conftest.er1
5643 ac_status=$? 7758 ac_status=$?
5644 echo "$as_me:5644: \$? = $ac_status" >&5 7759 grep -v '^ *+' conftest.er1 >conftest.err
7760 rm -f conftest.er1
7761 cat conftest.err >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); } && 7763 (exit $ac_status); } &&
5646 { ac_try='test -s conftest$ac_exeext' 7764 { ac_try='test -z "$ac_c_werror_flag"
5647 { (eval echo "$as_me:5647: \"$ac_try\"") >&5 7765 || test ! -s conftest.err'
7766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648 (eval $ac_try) 2>&5 7767 (eval $ac_try) 2>&5
5649 ac_status=$? 7768 ac_status=$?
5650 echo "$as_me:5650: \$? = $ac_status" >&5 7769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7770 (exit $ac_status); }; } &&
7771 { ac_try='test -s conftest$ac_exeext'
7772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7773 (eval $ac_try) 2>&5
7774 ac_status=$?
7775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); }; }; then 7776 (exit $ac_status); }; }; then
5652 ac_cv_lib_gen_getspnam=yes 7777 ac_cv_lib_gen_getspnam=yes
5653else 7778else
5654 echo "$as_me: failed program was:" >&5 7779 echo "$as_me: failed program was:" >&5
5655cat conftest.$ac_ext >&5 7780sed 's/^/| /' conftest.$ac_ext >&5
7781
5656ac_cv_lib_gen_getspnam=no 7782ac_cv_lib_gen_getspnam=no
5657fi 7783fi
5658rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7784rm -f conftest.err conftest.$ac_objext \
7785 conftest$ac_exeext conftest.$ac_ext
5659LIBS=$ac_check_lib_save_LIBS 7786LIBS=$ac_check_lib_save_LIBS
5660fi 7787fi
5661echo "$as_me:5661: result: $ac_cv_lib_gen_getspnam" >&5 7788echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
5662echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6 7789echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
5663if test $ac_cv_lib_gen_getspnam = yes; then 7790if test $ac_cv_lib_gen_getspnam = yes; then
5664 LIBS="$LIBS -lgen" 7791 LIBS="$LIBS -lgen"
@@ -5666,7 +7793,7 @@ fi
5666 7793
5667fi 7794fi
5668 7795
5669echo "$as_me:5669: checking for library containing basename" >&5 7796echo "$as_me:$LINENO: checking for library containing basename" >&5
5670echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6 7797echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6
5671if test "${ac_cv_search_basename+set}" = set; then 7798if test "${ac_cv_search_basename+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6 7799 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5674,8 +7801,11 @@ else
5674 ac_func_search_save_LIBS=$LIBS 7801 ac_func_search_save_LIBS=$LIBS
5675ac_cv_search_basename=no 7802ac_cv_search_basename=no
5676cat >conftest.$ac_ext <<_ACEOF 7803cat >conftest.$ac_ext <<_ACEOF
5677#line 5677 "configure" 7804/* confdefs.h. */
5678#include "confdefs.h" 7805_ACEOF
7806cat confdefs.h >>conftest.$ac_ext
7807cat >>conftest.$ac_ext <<_ACEOF
7808/* end confdefs.h. */
5679 7809
5680/* Override any gcc2 internal prototype to avoid an error. */ 7810/* Override any gcc2 internal prototype to avoid an error. */
5681#ifdef __cplusplus 7811#ifdef __cplusplus
@@ -5693,29 +7823,44 @@ basename ();
5693} 7823}
5694_ACEOF 7824_ACEOF
5695rm -f conftest.$ac_objext conftest$ac_exeext 7825rm -f conftest.$ac_objext conftest$ac_exeext
5696if { (eval echo "$as_me:5696: \"$ac_link\"") >&5 7826if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5697 (eval $ac_link) 2>&5 7827 (eval $ac_link) 2>conftest.er1
5698 ac_status=$? 7828 ac_status=$?
5699 echo "$as_me:5699: \$? = $ac_status" >&5 7829 grep -v '^ *+' conftest.er1 >conftest.err
7830 rm -f conftest.er1
7831 cat conftest.err >&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } && 7833 (exit $ac_status); } &&
5701 { ac_try='test -s conftest$ac_exeext' 7834 { ac_try='test -z "$ac_c_werror_flag"
5702 { (eval echo "$as_me:5702: \"$ac_try\"") >&5 7835 || test ! -s conftest.err'
7836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5703 (eval $ac_try) 2>&5 7837 (eval $ac_try) 2>&5
5704 ac_status=$? 7838 ac_status=$?
5705 echo "$as_me:5705: \$? = $ac_status" >&5 7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; } &&
7841 { ac_try='test -s conftest$ac_exeext'
7842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7843 (eval $ac_try) 2>&5
7844 ac_status=$?
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; }; then 7846 (exit $ac_status); }; }; then
5707 ac_cv_search_basename="none required" 7847 ac_cv_search_basename="none required"
5708else 7848else
5709 echo "$as_me: failed program was:" >&5 7849 echo "$as_me: failed program was:" >&5
5710cat conftest.$ac_ext >&5 7850sed 's/^/| /' conftest.$ac_ext >&5
7851
5711fi 7852fi
5712rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7853rm -f conftest.err conftest.$ac_objext \
7854 conftest$ac_exeext conftest.$ac_ext
5713if test "$ac_cv_search_basename" = no; then 7855if test "$ac_cv_search_basename" = no; then
5714 for ac_lib in gen; do 7856 for ac_lib in gen; do
5715 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 7857 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5716 cat >conftest.$ac_ext <<_ACEOF 7858 cat >conftest.$ac_ext <<_ACEOF
5717#line 5717 "configure" 7859/* confdefs.h. */
5718#include "confdefs.h" 7860_ACEOF
7861cat confdefs.h >>conftest.$ac_ext
7862cat >>conftest.$ac_ext <<_ACEOF
7863/* end confdefs.h. */
5719 7864
5720/* Override any gcc2 internal prototype to avoid an error. */ 7865/* Override any gcc2 internal prototype to avoid an error. */
5721#ifdef __cplusplus 7866#ifdef __cplusplus
@@ -5733,44 +7878,58 @@ basename ();
5733} 7878}
5734_ACEOF 7879_ACEOF
5735rm -f conftest.$ac_objext conftest$ac_exeext 7880rm -f conftest.$ac_objext conftest$ac_exeext
5736if { (eval echo "$as_me:5736: \"$ac_link\"") >&5 7881if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5737 (eval $ac_link) 2>&5 7882 (eval $ac_link) 2>conftest.er1
5738 ac_status=$? 7883 ac_status=$?
5739 echo "$as_me:5739: \$? = $ac_status" >&5 7884 grep -v '^ *+' conftest.er1 >conftest.err
7885 rm -f conftest.er1
7886 cat conftest.err >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); } && 7888 (exit $ac_status); } &&
5741 { ac_try='test -s conftest$ac_exeext' 7889 { ac_try='test -z "$ac_c_werror_flag"
5742 { (eval echo "$as_me:5742: \"$ac_try\"") >&5 7890 || test ! -s conftest.err'
7891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5743 (eval $ac_try) 2>&5 7892 (eval $ac_try) 2>&5
5744 ac_status=$? 7893 ac_status=$?
5745 echo "$as_me:5745: \$? = $ac_status" >&5 7894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7895 (exit $ac_status); }; } &&
7896 { ac_try='test -s conftest$ac_exeext'
7897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7898 (eval $ac_try) 2>&5
7899 ac_status=$?
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }; }; then 7901 (exit $ac_status); }; }; then
5747 ac_cv_search_basename="-l$ac_lib" 7902 ac_cv_search_basename="-l$ac_lib"
5748break 7903break
5749else 7904else
5750 echo "$as_me: failed program was:" >&5 7905 echo "$as_me: failed program was:" >&5
5751cat conftest.$ac_ext >&5 7906sed 's/^/| /' conftest.$ac_ext >&5
7907
5752fi 7908fi
5753rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 7909rm -f conftest.err conftest.$ac_objext \
7910 conftest$ac_exeext conftest.$ac_ext
5754 done 7911 done
5755fi 7912fi
5756LIBS=$ac_func_search_save_LIBS 7913LIBS=$ac_func_search_save_LIBS
5757fi 7914fi
5758echo "$as_me:5758: result: $ac_cv_search_basename" >&5 7915echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
5759echo "${ECHO_T}$ac_cv_search_basename" >&6 7916echo "${ECHO_T}$ac_cv_search_basename" >&6
5760if test "$ac_cv_search_basename" != no; then 7917if test "$ac_cv_search_basename" != no; then
5761 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS" 7918 test "$ac_cv_search_basename" = "none required" || LIBS="$ac_cv_search_basename $LIBS"
5762 cat >>confdefs.h <<\EOF 7919 cat >>confdefs.h <<\_ACEOF
5763#define HAVE_BASENAME 1 7920#define HAVE_BASENAME 1
5764EOF 7921_ACEOF
5765 7922
5766fi 7923fi
5767 7924
7925
7926
5768# Check whether --with-zlib or --without-zlib was given. 7927# Check whether --with-zlib or --without-zlib was given.
5769if test "${with_zlib+set}" = set; then 7928if test "${with_zlib+set}" = set; then
5770 withval="$with_zlib" 7929 withval="$with_zlib"
5771 7930
5772 if test "x$withval" = "xno" ; then 7931 if test "x$withval" = "xno" ; then
5773 { { echo "$as_me:5773: error: *** zlib is required ***" >&5 7932 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
5774echo "$as_me: error: *** zlib is required ***" >&2;} 7933echo "$as_me: error: *** zlib is required ***" >&2;}
5775 { (exit 1); exit 1; }; } 7934 { (exit 1); exit 1; }; }
5776 fi 7935 fi
@@ -5793,9 +7952,11 @@ echo "$as_me: error: *** zlib is required ***" >&2;}
5793 CPPFLAGS="-I${withval} ${CPPFLAGS}" 7952 CPPFLAGS="-I${withval} ${CPPFLAGS}"
5794 fi 7953 fi
5795 7954
7955
5796fi; 7956fi;
5797 7957
5798echo "$as_me:5798: checking for deflate in -lz" >&5 7958
7959echo "$as_me:$LINENO: checking for deflate in -lz" >&5
5799echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6 7960echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
5800if test "${ac_cv_lib_z_deflate+set}" = set; then 7961if test "${ac_cv_lib_z_deflate+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6 7962 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -5803,8 +7964,11 @@ else
5803 ac_check_lib_save_LIBS=$LIBS 7964 ac_check_lib_save_LIBS=$LIBS
5804LIBS="-lz $LIBS" 7965LIBS="-lz $LIBS"
5805cat >conftest.$ac_ext <<_ACEOF 7966cat >conftest.$ac_ext <<_ACEOF
5806#line 5806 "configure" 7967/* confdefs.h. */
5807#include "confdefs.h" 7968_ACEOF
7969cat confdefs.h >>conftest.$ac_ext
7970cat >>conftest.$ac_ext <<_ACEOF
7971/* end confdefs.h. */
5808 7972
5809/* Override any gcc2 internal prototype to avoid an error. */ 7973/* Override any gcc2 internal prototype to avoid an error. */
5810#ifdef __cplusplus 7974#ifdef __cplusplus
@@ -5822,32 +7986,44 @@ deflate ();
5822} 7986}
5823_ACEOF 7987_ACEOF
5824rm -f conftest.$ac_objext conftest$ac_exeext 7988rm -f conftest.$ac_objext conftest$ac_exeext
5825if { (eval echo "$as_me:5825: \"$ac_link\"") >&5 7989if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5826 (eval $ac_link) 2>&5 7990 (eval $ac_link) 2>conftest.er1
5827 ac_status=$? 7991 ac_status=$?
5828 echo "$as_me:5828: \$? = $ac_status" >&5 7992 grep -v '^ *+' conftest.er1 >conftest.err
7993 rm -f conftest.er1
7994 cat conftest.err >&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } && 7996 (exit $ac_status); } &&
5830 { ac_try='test -s conftest$ac_exeext' 7997 { ac_try='test -z "$ac_c_werror_flag"
5831 { (eval echo "$as_me:5831: \"$ac_try\"") >&5 7998 || test ! -s conftest.err'
7999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5832 (eval $ac_try) 2>&5 8000 (eval $ac_try) 2>&5
5833 ac_status=$? 8001 ac_status=$?
5834 echo "$as_me:5834: \$? = $ac_status" >&5 8002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003 (exit $ac_status); }; } &&
8004 { ac_try='test -s conftest$ac_exeext'
8005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8006 (eval $ac_try) 2>&5
8007 ac_status=$?
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then 8009 (exit $ac_status); }; }; then
5836 ac_cv_lib_z_deflate=yes 8010 ac_cv_lib_z_deflate=yes
5837else 8011else
5838 echo "$as_me: failed program was:" >&5 8012 echo "$as_me: failed program was:" >&5
5839cat conftest.$ac_ext >&5 8013sed 's/^/| /' conftest.$ac_ext >&5
8014
5840ac_cv_lib_z_deflate=no 8015ac_cv_lib_z_deflate=no
5841fi 8016fi
5842rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8017rm -f conftest.err conftest.$ac_objext \
8018 conftest$ac_exeext conftest.$ac_ext
5843LIBS=$ac_check_lib_save_LIBS 8019LIBS=$ac_check_lib_save_LIBS
5844fi 8020fi
5845echo "$as_me:5845: result: $ac_cv_lib_z_deflate" >&5 8021echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
5846echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6 8022echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
5847if test $ac_cv_lib_z_deflate = yes; then 8023if test $ac_cv_lib_z_deflate = yes; then
5848 cat >>confdefs.h <<EOF 8024 cat >>confdefs.h <<_ACEOF
5849#define HAVE_LIBZ 1 8025#define HAVE_LIBZ 1
5850EOF 8026_ACEOF
5851 8027
5852 LIBS="-lz $LIBS" 8028 LIBS="-lz $LIBS"
5853 8029
@@ -5864,8 +8040,11 @@ else
5864 CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}" 8040 CPPFLAGS="-I/usr/local/include ${saved_CPPFLAGS}"
5865 LIBS="$LIBS -lz" 8041 LIBS="$LIBS -lz"
5866 cat >conftest.$ac_ext <<_ACEOF 8042 cat >conftest.$ac_ext <<_ACEOF
5867#line 5867 "configure" 8043/* confdefs.h. */
5868#include "confdefs.h" 8044_ACEOF
8045cat confdefs.h >>conftest.$ac_ext
8046cat >>conftest.$ac_ext <<_ACEOF
8047/* end confdefs.h. */
5869 8048
5870/* Override any gcc2 internal prototype to avoid an error. */ 8049/* Override any gcc2 internal prototype to avoid an error. */
5871#ifdef __cplusplus 8050#ifdef __cplusplus
@@ -5883,54 +8062,124 @@ deflate ();
5883} 8062}
5884_ACEOF 8063_ACEOF
5885rm -f conftest.$ac_objext conftest$ac_exeext 8064rm -f conftest.$ac_objext conftest$ac_exeext
5886if { (eval echo "$as_me:5886: \"$ac_link\"") >&5 8065if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5887 (eval $ac_link) 2>&5 8066 (eval $ac_link) 2>conftest.er1
5888 ac_status=$? 8067 ac_status=$?
5889 echo "$as_me:5889: \$? = $ac_status" >&5 8068 grep -v '^ *+' conftest.er1 >conftest.err
8069 rm -f conftest.er1
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } && 8072 (exit $ac_status); } &&
5891 { ac_try='test -s conftest$ac_exeext' 8073 { ac_try='test -z "$ac_c_werror_flag"
5892 { (eval echo "$as_me:5892: \"$ac_try\"") >&5 8074 || test ! -s conftest.err'
8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8076 (eval $ac_try) 2>&5
8077 ac_status=$?
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); }; } &&
8080 { ac_try='test -s conftest$ac_exeext'
8081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5893 (eval $ac_try) 2>&5 8082 (eval $ac_try) 2>&5
5894 ac_status=$? 8083 ac_status=$?
5895 echo "$as_me:5895: \$? = $ac_status" >&5 8084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; }; then 8085 (exit $ac_status); }; }; then
5897 cat >>confdefs.h <<\EOF 8086 cat >>confdefs.h <<\_ACEOF
5898#define HAVE_LIBZ 1 8087#define HAVE_LIBZ 1
5899EOF 8088_ACEOF
5900 8089
5901else 8090else
5902 echo "$as_me: failed program was:" >&5 8091 echo "$as_me: failed program was:" >&5
5903cat conftest.$ac_ext >&5 8092sed 's/^/| /' conftest.$ac_ext >&5
8093
5904 8094
5905 { { echo "$as_me:5905: error: *** zlib missing - please install first or check config.log ***" >&5 8095 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
5906echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} 8096echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
5907 { (exit 1); exit 1; }; } 8097 { (exit 1); exit 1; }; }
5908 8098
8099
5909fi 8100fi
5910rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8101rm -f conftest.err conftest.$ac_objext \
8102 conftest$ac_exeext conftest.$ac_ext
8103
5911 8104
5912fi 8105fi
5913 8106
5914echo "$as_me:5914: checking for zlib.h" >&5 8107if test "${ac_cv_header_zlib_h+set}" = set; then
8108 echo "$as_me:$LINENO: checking for zlib.h" >&5
5915echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6 8109echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5916if test "${ac_cv_header_zlib_h+set}" = set; then 8110if test "${ac_cv_header_zlib_h+set}" = set; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6 8111 echo $ECHO_N "(cached) $ECHO_C" >&6
8112fi
8113echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
8114echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5918else 8115else
5919 cat >conftest.$ac_ext <<_ACEOF 8116 # Is the header compilable?
5920#line 5920 "configure" 8117echo "$as_me:$LINENO: checking zlib.h usability" >&5
5921#include "confdefs.h" 8118echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
8119cat >conftest.$ac_ext <<_ACEOF
8120/* confdefs.h. */
8121_ACEOF
8122cat confdefs.h >>conftest.$ac_ext
8123cat >>conftest.$ac_ext <<_ACEOF
8124/* end confdefs.h. */
8125$ac_includes_default
5922#include <zlib.h> 8126#include <zlib.h>
5923_ACEOF 8127_ACEOF
5924if { (eval echo "$as_me:5924: \"$ac_cpp conftest.$ac_ext\"") >&5 8128rm -f conftest.$ac_objext
8129if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8130 (eval $ac_compile) 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } &&
8137 { ac_try='test -z "$ac_c_werror_flag"
8138 || test ! -s conftest.err'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8140 (eval $ac_try) 2>&5
8141 ac_status=$?
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; } &&
8144 { ac_try='test -s conftest.$ac_objext'
8145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8146 (eval $ac_try) 2>&5
8147 ac_status=$?
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); }; }; then
8150 ac_header_compiler=yes
8151else
8152 echo "$as_me: failed program was:" >&5
8153sed 's/^/| /' conftest.$ac_ext >&5
8154
8155ac_header_compiler=no
8156fi
8157rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8158echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8159echo "${ECHO_T}$ac_header_compiler" >&6
8160
8161# Is the header present?
8162echo "$as_me:$LINENO: checking zlib.h presence" >&5
8163echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
8164cat >conftest.$ac_ext <<_ACEOF
8165/* confdefs.h. */
8166_ACEOF
8167cat confdefs.h >>conftest.$ac_ext
8168cat >>conftest.$ac_ext <<_ACEOF
8169/* end confdefs.h. */
8170#include <zlib.h>
8171_ACEOF
8172if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5925 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5926 ac_status=$? 8174 ac_status=$?
5927 egrep -v '^ *\+' conftest.er1 >conftest.err 8175 grep -v '^ *+' conftest.er1 >conftest.err
5928 rm -f conftest.er1 8176 rm -f conftest.er1
5929 cat conftest.err >&5 8177 cat conftest.err >&5
5930 echo "$as_me:5930: \$? = $ac_status" >&5 8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } >/dev/null; then 8179 (exit $ac_status); } >/dev/null; then
5932 if test -s conftest.err; then 8180 if test -s conftest.err; then
5933 ac_cpp_err=$ac_c_preproc_warn_flag 8181 ac_cpp_err=$ac_c_preproc_warn_flag
8182 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5934 else 8183 else
5935 ac_cpp_err= 8184 ac_cpp_err=
5936 fi 8185 fi
@@ -5938,24 +8187,71 @@ else
5938 ac_cpp_err=yes 8187 ac_cpp_err=yes
5939fi 8188fi
5940if test -z "$ac_cpp_err"; then 8189if test -z "$ac_cpp_err"; then
5941 ac_cv_header_zlib_h=yes 8190 ac_header_preproc=yes
5942else 8191else
5943 echo "$as_me: failed program was:" >&5 8192 echo "$as_me: failed program was:" >&5
5944 cat conftest.$ac_ext >&5 8193sed 's/^/| /' conftest.$ac_ext >&5
5945 ac_cv_header_zlib_h=no 8194
8195 ac_header_preproc=no
5946fi 8196fi
5947rm -f conftest.err conftest.$ac_ext 8197rm -f conftest.err conftest.$ac_ext
8198echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8199echo "${ECHO_T}$ac_header_preproc" >&6
8200
8201# So? What about this header?
8202case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8203 yes:no: )
8204 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8205echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8206 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
8207echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
8208 ac_header_preproc=yes
8209 ;;
8210 no:yes:* )
8211 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
8212echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
8213 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
8214echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
8216echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
8217 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
8218echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
8219 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
8220echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
8221 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
8222echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
8223 (
8224 cat <<\_ASBOX
8225## ------------------------------------------ ##
8226## Report this to the AC_PACKAGE_NAME lists. ##
8227## ------------------------------------------ ##
8228_ASBOX
8229 ) |
8230 sed "s/^/$as_me: WARNING: /" >&2
8231 ;;
8232esac
8233echo "$as_me:$LINENO: checking for zlib.h" >&5
8234echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
8235if test "${ac_cv_header_zlib_h+set}" = set; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8237else
8238 ac_cv_header_zlib_h=$ac_header_preproc
5948fi 8239fi
5949echo "$as_me:5949: result: $ac_cv_header_zlib_h" >&5 8240echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5950echo "${ECHO_T}$ac_cv_header_zlib_h" >&6 8241echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
8242
8243fi
5951if test $ac_cv_header_zlib_h = yes; then 8244if test $ac_cv_header_zlib_h = yes; then
5952 : 8245 :
5953else 8246else
5954 { { echo "$as_me:5954: error: *** zlib.h missing - please install first or check config.log ***" >&5 8247 { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5
5955echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;} 8248echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;}
5956 { (exit 1); exit 1; }; } 8249 { (exit 1); exit 1; }; }
5957fi 8250fi
5958 8251
8252
8253
8254
5959# Check whether --with-zlib-version-check or --without-zlib-version-check was given. 8255# Check whether --with-zlib-version-check or --without-zlib-version-check was given.
5960if test "${with_zlib_version_check+set}" = set; then 8256if test "${with_zlib_version_check+set}" = set; then
5961 withval="$with_zlib_version_check" 8257 withval="$with_zlib_version_check"
@@ -5963,18 +8259,24 @@ if test "${with_zlib_version_check+set}" = set; then
5963 zlib_check_nonfatal=1 8259 zlib_check_nonfatal=1
5964 fi 8260 fi
5965 8261
8262
5966fi; 8263fi;
5967 8264
5968echo "$as_me:5968: checking for zlib 1.1.4 or greater" >&5 8265echo "$as_me:$LINENO: checking for zlib 1.1.4 or greater" >&5
5969echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6 8266echo $ECHO_N "checking for zlib 1.1.4 or greater... $ECHO_C" >&6
5970if test "$cross_compiling" = yes; then 8267if test "$cross_compiling" = yes; then
5971 { { echo "$as_me:5971: error: cannot run test program while cross compiling" >&5 8268 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
5972echo "$as_me: error: cannot run test program while cross compiling" >&2;} 8269See \`config.log' for more details." >&5
8270echo "$as_me: error: cannot run test program while cross compiling
8271See \`config.log' for more details." >&2;}
5973 { (exit 1); exit 1; }; } 8272 { (exit 1); exit 1; }; }
5974else 8273else
5975 cat >conftest.$ac_ext <<_ACEOF 8274 cat >conftest.$ac_ext <<_ACEOF
5976#line 5976 "configure" 8275/* confdefs.h. */
5977#include "confdefs.h" 8276_ACEOF
8277cat confdefs.h >>conftest.$ac_ext
8278cat >>conftest.$ac_ext <<_ACEOF
8279/* end confdefs.h. */
5978 8280
5979#include <zlib.h> 8281#include <zlib.h>
5980int main() 8282int main()
@@ -5990,26 +8292,28 @@ int main()
5990 8292
5991_ACEOF 8293_ACEOF
5992rm -f conftest$ac_exeext 8294rm -f conftest$ac_exeext
5993if { (eval echo "$as_me:5993: \"$ac_link\"") >&5 8295if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5994 (eval $ac_link) 2>&5 8296 (eval $ac_link) 2>&5
5995 ac_status=$? 8297 ac_status=$?
5996 echo "$as_me:5996: \$? = $ac_status" >&5 8298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 8299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5998 { (eval echo "$as_me:5998: \"$ac_try\"") >&5 8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 (eval $ac_try) 2>&5 8301 (eval $ac_try) 2>&5
6000 ac_status=$? 8302 ac_status=$?
6001 echo "$as_me:6001: \$? = $ac_status" >&5 8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; }; then 8304 (exit $ac_status); }; }; then
6003 echo "$as_me:6003: result: yes" >&5 8305 echo "$as_me:$LINENO: result: yes" >&5
6004echo "${ECHO_T}yes" >&6 8306echo "${ECHO_T}yes" >&6
6005else 8307else
6006 echo "$as_me: program exited with status $ac_status" >&5 8308 echo "$as_me: program exited with status $ac_status" >&5
6007echo "$as_me: failed program was:" >&5 8309echo "$as_me: failed program was:" >&5
6008cat conftest.$ac_ext >&5 8310sed 's/^/| /' conftest.$ac_ext >&5
6009 echo "$as_me:6009: result: no" >&5 8311
8312( exit $ac_status )
8313 echo "$as_me:$LINENO: result: no" >&5
6010echo "${ECHO_T}no" >&6 8314echo "${ECHO_T}no" >&6
6011 if test -z "$zlib_check_nonfatal" ; then 8315 if test -z "$zlib_check_nonfatal" ; then
6012 { { echo "$as_me:6012: error: *** zlib too old - check config.log *** 8316 { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log ***
6013Your reported zlib version has known security problems. It's possible your 8317Your reported zlib version has known security problems. It's possible your
6014vendor has fixed these problems without changing the version number. If you 8318vendor has fixed these problems without changing the version number. If you
6015are sure this is the case, you can disable the check by running 8319are sure this is the case, you can disable the check by running
@@ -6023,76 +8327,109 @@ are sure this is the case, you can disable the check by running
6023If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;} 8327If you are in doubt, upgrade zlib to version 1.1.4 or greater." >&2;}
6024 { (exit 1); exit 1; }; } 8328 { (exit 1); exit 1; }; }
6025 else 8329 else
6026 { echo "$as_me:6026: WARNING: zlib version may have security problems" >&5 8330 { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5
6027echo "$as_me: WARNING: zlib version may have security problems" >&2;} 8331echo "$as_me: WARNING: zlib version may have security problems" >&2;}
6028 fi 8332 fi
6029 8333
8334
6030fi 8335fi
6031rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 8336rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6032fi 8337fi
6033 8338
6034echo "$as_me:6034: checking for strcasecmp" >&5 8339echo "$as_me:$LINENO: checking for strcasecmp" >&5
6035echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6 8340echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6
6036if test "${ac_cv_func_strcasecmp+set}" = set; then 8341if test "${ac_cv_func_strcasecmp+set}" = set; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6 8342 echo $ECHO_N "(cached) $ECHO_C" >&6
6038else 8343else
6039 cat >conftest.$ac_ext <<_ACEOF 8344 cat >conftest.$ac_ext <<_ACEOF
6040#line 6040 "configure" 8345/* confdefs.h. */
6041#include "confdefs.h" 8346_ACEOF
8347cat confdefs.h >>conftest.$ac_ext
8348cat >>conftest.$ac_ext <<_ACEOF
8349/* end confdefs.h. */
8350/* Define strcasecmp to an innocuous variant, in case <limits.h> declares strcasecmp.
8351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8352#define strcasecmp innocuous_strcasecmp
8353
6042/* System header to define __stub macros and hopefully few prototypes, 8354/* System header to define __stub macros and hopefully few prototypes,
6043 which can conflict with char strcasecmp (); below. */ 8355 which can conflict with char strcasecmp (); below.
6044#include <assert.h> 8356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8357 <limits.h> exists even on freestanding compilers. */
8358
8359#ifdef __STDC__
8360# include <limits.h>
8361#else
8362# include <assert.h>
8363#endif
8364
8365#undef strcasecmp
8366
6045/* Override any gcc2 internal prototype to avoid an error. */ 8367/* Override any gcc2 internal prototype to avoid an error. */
6046#ifdef __cplusplus 8368#ifdef __cplusplus
6047extern "C" 8369extern "C"
8370{
6048#endif 8371#endif
6049/* We use char because int might match the return type of a gcc2 8372/* We use char because int might match the return type of a gcc2
6050 builtin and then its argument prototype would still apply. */ 8373 builtin and then its argument prototype would still apply. */
6051char strcasecmp (); 8374char strcasecmp ();
6052char (*f) ();
6053
6054int
6055main ()
6056{
6057/* The GNU C library defines this for functions which it implements 8375/* The GNU C library defines this for functions which it implements
6058 to always fail with ENOSYS. Some functions are actually named 8376 to always fail with ENOSYS. Some functions are actually named
6059 something starting with __ and the normal name is an alias. */ 8377 something starting with __ and the normal name is an alias. */
6060#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp) 8378#if defined (__stub_strcasecmp) || defined (__stub___strcasecmp)
6061choke me 8379choke me
6062#else 8380#else
6063f = strcasecmp; 8381char (*f) () = strcasecmp;
8382#endif
8383#ifdef __cplusplus
8384}
6064#endif 8385#endif
6065 8386
8387int
8388main ()
8389{
8390return f != strcasecmp;
6066 ; 8391 ;
6067 return 0; 8392 return 0;
6068} 8393}
6069_ACEOF 8394_ACEOF
6070rm -f conftest.$ac_objext conftest$ac_exeext 8395rm -f conftest.$ac_objext conftest$ac_exeext
6071if { (eval echo "$as_me:6071: \"$ac_link\"") >&5 8396if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6072 (eval $ac_link) 2>&5 8397 (eval $ac_link) 2>conftest.er1
6073 ac_status=$? 8398 ac_status=$?
6074 echo "$as_me:6074: \$? = $ac_status" >&5 8399 grep -v '^ *+' conftest.er1 >conftest.err
8400 rm -f conftest.er1
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } && 8403 (exit $ac_status); } &&
6076 { ac_try='test -s conftest$ac_exeext' 8404 { ac_try='test -z "$ac_c_werror_flag"
6077 { (eval echo "$as_me:6077: \"$ac_try\"") >&5 8405 || test ! -s conftest.err'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5 8407 (eval $ac_try) 2>&5
6079 ac_status=$? 8408 ac_status=$?
6080 echo "$as_me:6080: \$? = $ac_status" >&5 8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; } &&
8411 { ac_try='test -s conftest$ac_exeext'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8413 (eval $ac_try) 2>&5
8414 ac_status=$?
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; }; then 8416 (exit $ac_status); }; }; then
6082 ac_cv_func_strcasecmp=yes 8417 ac_cv_func_strcasecmp=yes
6083else 8418else
6084 echo "$as_me: failed program was:" >&5 8419 echo "$as_me: failed program was:" >&5
6085cat conftest.$ac_ext >&5 8420sed 's/^/| /' conftest.$ac_ext >&5
8421
6086ac_cv_func_strcasecmp=no 8422ac_cv_func_strcasecmp=no
6087fi 8423fi
6088rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8424rm -f conftest.err conftest.$ac_objext \
8425 conftest$ac_exeext conftest.$ac_ext
6089fi 8426fi
6090echo "$as_me:6090: result: $ac_cv_func_strcasecmp" >&5 8427echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
6091echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6 8428echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6
6092if test $ac_cv_func_strcasecmp = yes; then 8429if test $ac_cv_func_strcasecmp = yes; then
6093 : 8430 :
6094else 8431else
6095 echo "$as_me:6095: checking for strcasecmp in -lresolv" >&5 8432 echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
6096echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6 8433echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6
6097if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then 8434if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
6098 echo $ECHO_N "(cached) $ECHO_C" >&6 8435 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6100,8 +8437,11 @@ else
6100 ac_check_lib_save_LIBS=$LIBS 8437 ac_check_lib_save_LIBS=$LIBS
6101LIBS="-lresolv $LIBS" 8438LIBS="-lresolv $LIBS"
6102cat >conftest.$ac_ext <<_ACEOF 8439cat >conftest.$ac_ext <<_ACEOF
6103#line 6103 "configure" 8440/* confdefs.h. */
6104#include "confdefs.h" 8441_ACEOF
8442cat confdefs.h >>conftest.$ac_ext
8443cat >>conftest.$ac_ext <<_ACEOF
8444/* end confdefs.h. */
6105 8445
6106/* Override any gcc2 internal prototype to avoid an error. */ 8446/* Override any gcc2 internal prototype to avoid an error. */
6107#ifdef __cplusplus 8447#ifdef __cplusplus
@@ -6119,96 +8459,141 @@ strcasecmp ();
6119} 8459}
6120_ACEOF 8460_ACEOF
6121rm -f conftest.$ac_objext conftest$ac_exeext 8461rm -f conftest.$ac_objext conftest$ac_exeext
6122if { (eval echo "$as_me:6122: \"$ac_link\"") >&5 8462if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6123 (eval $ac_link) 2>&5 8463 (eval $ac_link) 2>conftest.er1
6124 ac_status=$? 8464 ac_status=$?
6125 echo "$as_me:6125: \$? = $ac_status" >&5 8465 grep -v '^ *+' conftest.er1 >conftest.err
8466 rm -f conftest.er1
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } && 8469 (exit $ac_status); } &&
6127 { ac_try='test -s conftest$ac_exeext' 8470 { ac_try='test -z "$ac_c_werror_flag"
6128 { (eval echo "$as_me:6128: \"$ac_try\"") >&5 8471 || test ! -s conftest.err'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 (eval $ac_try) 2>&5 8473 (eval $ac_try) 2>&5
6130 ac_status=$? 8474 ac_status=$?
6131 echo "$as_me:6131: \$? = $ac_status" >&5 8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; } &&
8477 { ac_try='test -s conftest$ac_exeext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 (eval $ac_try) 2>&5
8480 ac_status=$?
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; }; then 8482 (exit $ac_status); }; }; then
6133 ac_cv_lib_resolv_strcasecmp=yes 8483 ac_cv_lib_resolv_strcasecmp=yes
6134else 8484else
6135 echo "$as_me: failed program was:" >&5 8485 echo "$as_me: failed program was:" >&5
6136cat conftest.$ac_ext >&5 8486sed 's/^/| /' conftest.$ac_ext >&5
8487
6137ac_cv_lib_resolv_strcasecmp=no 8488ac_cv_lib_resolv_strcasecmp=no
6138fi 8489fi
6139rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8490rm -f conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
6140LIBS=$ac_check_lib_save_LIBS 8492LIBS=$ac_check_lib_save_LIBS
6141fi 8493fi
6142echo "$as_me:6142: result: $ac_cv_lib_resolv_strcasecmp" >&5 8494echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
6143echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6 8495echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6
6144if test $ac_cv_lib_resolv_strcasecmp = yes; then 8496if test $ac_cv_lib_resolv_strcasecmp = yes; then
6145 LIBS="$LIBS -lresolv" 8497 LIBS="$LIBS -lresolv"
6146fi 8498fi
6147 8499
8500
6148fi 8501fi
6149 8502
6150echo "$as_me:6150: checking for utimes" >&5 8503echo "$as_me:$LINENO: checking for utimes" >&5
6151echo $ECHO_N "checking for utimes... $ECHO_C" >&6 8504echo $ECHO_N "checking for utimes... $ECHO_C" >&6
6152if test "${ac_cv_func_utimes+set}" = set; then 8505if test "${ac_cv_func_utimes+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6 8506 echo $ECHO_N "(cached) $ECHO_C" >&6
6154else 8507else
6155 cat >conftest.$ac_ext <<_ACEOF 8508 cat >conftest.$ac_ext <<_ACEOF
6156#line 6156 "configure" 8509/* confdefs.h. */
6157#include "confdefs.h" 8510_ACEOF
8511cat confdefs.h >>conftest.$ac_ext
8512cat >>conftest.$ac_ext <<_ACEOF
8513/* end confdefs.h. */
8514/* Define utimes to an innocuous variant, in case <limits.h> declares utimes.
8515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8516#define utimes innocuous_utimes
8517
6158/* System header to define __stub macros and hopefully few prototypes, 8518/* System header to define __stub macros and hopefully few prototypes,
6159 which can conflict with char utimes (); below. */ 8519 which can conflict with char utimes (); below.
6160#include <assert.h> 8520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8521 <limits.h> exists even on freestanding compilers. */
8522
8523#ifdef __STDC__
8524# include <limits.h>
8525#else
8526# include <assert.h>
8527#endif
8528
8529#undef utimes
8530
6161/* Override any gcc2 internal prototype to avoid an error. */ 8531/* Override any gcc2 internal prototype to avoid an error. */
6162#ifdef __cplusplus 8532#ifdef __cplusplus
6163extern "C" 8533extern "C"
8534{
6164#endif 8535#endif
6165/* We use char because int might match the return type of a gcc2 8536/* We use char because int might match the return type of a gcc2
6166 builtin and then its argument prototype would still apply. */ 8537 builtin and then its argument prototype would still apply. */
6167char utimes (); 8538char utimes ();
6168char (*f) ();
6169
6170int
6171main ()
6172{
6173/* The GNU C library defines this for functions which it implements 8539/* The GNU C library defines this for functions which it implements
6174 to always fail with ENOSYS. Some functions are actually named 8540 to always fail with ENOSYS. Some functions are actually named
6175 something starting with __ and the normal name is an alias. */ 8541 something starting with __ and the normal name is an alias. */
6176#if defined (__stub_utimes) || defined (__stub___utimes) 8542#if defined (__stub_utimes) || defined (__stub___utimes)
6177choke me 8543choke me
6178#else 8544#else
6179f = utimes; 8545char (*f) () = utimes;
8546#endif
8547#ifdef __cplusplus
8548}
6180#endif 8549#endif
6181 8550
8551int
8552main ()
8553{
8554return f != utimes;
6182 ; 8555 ;
6183 return 0; 8556 return 0;
6184} 8557}
6185_ACEOF 8558_ACEOF
6186rm -f conftest.$ac_objext conftest$ac_exeext 8559rm -f conftest.$ac_objext conftest$ac_exeext
6187if { (eval echo "$as_me:6187: \"$ac_link\"") >&5 8560if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6188 (eval $ac_link) 2>&5 8561 (eval $ac_link) 2>conftest.er1
6189 ac_status=$? 8562 ac_status=$?
6190 echo "$as_me:6190: \$? = $ac_status" >&5 8563 grep -v '^ *+' conftest.er1 >conftest.err
8564 rm -f conftest.er1
8565 cat conftest.err >&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } && 8567 (exit $ac_status); } &&
6192 { ac_try='test -s conftest$ac_exeext' 8568 { ac_try='test -z "$ac_c_werror_flag"
6193 { (eval echo "$as_me:6193: \"$ac_try\"") >&5 8569 || test ! -s conftest.err'
8570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6194 (eval $ac_try) 2>&5 8571 (eval $ac_try) 2>&5
6195 ac_status=$? 8572 ac_status=$?
6196 echo "$as_me:6196: \$? = $ac_status" >&5 8573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574 (exit $ac_status); }; } &&
8575 { ac_try='test -s conftest$ac_exeext'
8576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8577 (eval $ac_try) 2>&5
8578 ac_status=$?
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then 8580 (exit $ac_status); }; }; then
6198 ac_cv_func_utimes=yes 8581 ac_cv_func_utimes=yes
6199else 8582else
6200 echo "$as_me: failed program was:" >&5 8583 echo "$as_me: failed program was:" >&5
6201cat conftest.$ac_ext >&5 8584sed 's/^/| /' conftest.$ac_ext >&5
8585
6202ac_cv_func_utimes=no 8586ac_cv_func_utimes=no
6203fi 8587fi
6204rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8588rm -f conftest.err conftest.$ac_objext \
8589 conftest$ac_exeext conftest.$ac_ext
6205fi 8590fi
6206echo "$as_me:6206: result: $ac_cv_func_utimes" >&5 8591echo "$as_me:$LINENO: result: $ac_cv_func_utimes" >&5
6207echo "${ECHO_T}$ac_cv_func_utimes" >&6 8592echo "${ECHO_T}$ac_cv_func_utimes" >&6
6208if test $ac_cv_func_utimes = yes; then 8593if test $ac_cv_func_utimes = yes; then
6209 : 8594 :
6210else 8595else
6211 echo "$as_me:6211: checking for utimes in -lc89" >&5 8596 echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
6212echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6 8597echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6
6213if test "${ac_cv_lib_c89_utimes+set}" = set; then 8598if test "${ac_cv_lib_c89_utimes+set}" = set; then
6214 echo $ECHO_N "(cached) $ECHO_C" >&6 8599 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6216,8 +8601,11 @@ else
6216 ac_check_lib_save_LIBS=$LIBS 8601 ac_check_lib_save_LIBS=$LIBS
6217LIBS="-lc89 $LIBS" 8602LIBS="-lc89 $LIBS"
6218cat >conftest.$ac_ext <<_ACEOF 8603cat >conftest.$ac_ext <<_ACEOF
6219#line 6219 "configure" 8604/* confdefs.h. */
6220#include "confdefs.h" 8605_ACEOF
8606cat confdefs.h >>conftest.$ac_ext
8607cat >>conftest.$ac_ext <<_ACEOF
8608/* end confdefs.h. */
6221 8609
6222/* Override any gcc2 internal prototype to avoid an error. */ 8610/* Override any gcc2 internal prototype to avoid an error. */
6223#ifdef __cplusplus 8611#ifdef __cplusplus
@@ -6235,61 +8623,132 @@ utimes ();
6235} 8623}
6236_ACEOF 8624_ACEOF
6237rm -f conftest.$ac_objext conftest$ac_exeext 8625rm -f conftest.$ac_objext conftest$ac_exeext
6238if { (eval echo "$as_me:6238: \"$ac_link\"") >&5 8626if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6239 (eval $ac_link) 2>&5 8627 (eval $ac_link) 2>conftest.er1
6240 ac_status=$? 8628 ac_status=$?
6241 echo "$as_me:6241: \$? = $ac_status" >&5 8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } && 8633 (exit $ac_status); } &&
6243 { ac_try='test -s conftest$ac_exeext' 8634 { ac_try='test -z "$ac_c_werror_flag"
6244 { (eval echo "$as_me:6244: \"$ac_try\"") >&5 8635 || test ! -s conftest.err'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8637 (eval $ac_try) 2>&5
8638 ac_status=$?
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; } &&
8641 { ac_try='test -s conftest$ac_exeext'
8642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6245 (eval $ac_try) 2>&5 8643 (eval $ac_try) 2>&5
6246 ac_status=$? 8644 ac_status=$?
6247 echo "$as_me:6247: \$? = $ac_status" >&5 8645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); }; }; then 8646 (exit $ac_status); }; }; then
6249 ac_cv_lib_c89_utimes=yes 8647 ac_cv_lib_c89_utimes=yes
6250else 8648else
6251 echo "$as_me: failed program was:" >&5 8649 echo "$as_me: failed program was:" >&5
6252cat conftest.$ac_ext >&5 8650sed 's/^/| /' conftest.$ac_ext >&5
8651
6253ac_cv_lib_c89_utimes=no 8652ac_cv_lib_c89_utimes=no
6254fi 8653fi
6255rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8654rm -f conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
6256LIBS=$ac_check_lib_save_LIBS 8656LIBS=$ac_check_lib_save_LIBS
6257fi 8657fi
6258echo "$as_me:6258: result: $ac_cv_lib_c89_utimes" >&5 8658echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
6259echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6 8659echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6
6260if test $ac_cv_lib_c89_utimes = yes; then 8660if test $ac_cv_lib_c89_utimes = yes; then
6261 cat >>confdefs.h <<\EOF 8661 cat >>confdefs.h <<\_ACEOF
6262#define HAVE_UTIMES 1 8662#define HAVE_UTIMES 1
6263EOF 8663_ACEOF
6264 8664
6265 LIBS="$LIBS -lc89" 8665 LIBS="$LIBS -lc89"
6266fi 8666fi
6267 8667
8668
6268fi 8669fi
6269 8670
8671
8672
6270for ac_header in libutil.h 8673for ac_header in libutil.h
6271do 8674do
6272as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8675as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6273echo "$as_me:6273: checking for $ac_header" >&5 8676if eval "test \"\${$as_ac_Header+set}\" = set"; then
8677 echo "$as_me:$LINENO: checking for $ac_header" >&5
6274echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 8678echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6275if eval "test \"\${$as_ac_Header+set}\" = set"; then 8679if eval "test \"\${$as_ac_Header+set}\" = set"; then
6276 echo $ECHO_N "(cached) $ECHO_C" >&6 8680 echo $ECHO_N "(cached) $ECHO_C" >&6
8681fi
8682echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8683echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6277else 8684else
6278 cat >conftest.$ac_ext <<_ACEOF 8685 # Is the header compilable?
6279#line 6279 "configure" 8686echo "$as_me:$LINENO: checking $ac_header usability" >&5
6280#include "confdefs.h" 8687echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8688cat >conftest.$ac_ext <<_ACEOF
8689/* confdefs.h. */
8690_ACEOF
8691cat confdefs.h >>conftest.$ac_ext
8692cat >>conftest.$ac_ext <<_ACEOF
8693/* end confdefs.h. */
8694$ac_includes_default
6281#include <$ac_header> 8695#include <$ac_header>
6282_ACEOF 8696_ACEOF
6283if { (eval echo "$as_me:6283: \"$ac_cpp conftest.$ac_ext\"") >&5 8697rm -f conftest.$ac_objext
8698if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8699 (eval $ac_compile) 2>conftest.er1
8700 ac_status=$?
8701 grep -v '^ *+' conftest.er1 >conftest.err
8702 rm -f conftest.er1
8703 cat conftest.err >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); } &&
8706 { ac_try='test -z "$ac_c_werror_flag"
8707 || test ! -s conftest.err'
8708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709 (eval $ac_try) 2>&5
8710 ac_status=$?
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); }; } &&
8713 { ac_try='test -s conftest.$ac_objext'
8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715 (eval $ac_try) 2>&5
8716 ac_status=$?
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; }; then
8719 ac_header_compiler=yes
8720else
8721 echo "$as_me: failed program was:" >&5
8722sed 's/^/| /' conftest.$ac_ext >&5
8723
8724ac_header_compiler=no
8725fi
8726rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8727echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8728echo "${ECHO_T}$ac_header_compiler" >&6
8729
8730# Is the header present?
8731echo "$as_me:$LINENO: checking $ac_header presence" >&5
8732echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8733cat >conftest.$ac_ext <<_ACEOF
8734/* confdefs.h. */
8735_ACEOF
8736cat confdefs.h >>conftest.$ac_ext
8737cat >>conftest.$ac_ext <<_ACEOF
8738/* end confdefs.h. */
8739#include <$ac_header>
8740_ACEOF
8741if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 8742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6285 ac_status=$? 8743 ac_status=$?
6286 egrep -v '^ *\+' conftest.er1 >conftest.err 8744 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1 8745 rm -f conftest.er1
6288 cat conftest.err >&5 8746 cat conftest.err >&5
6289 echo "$as_me:6289: \$? = $ac_status" >&5 8747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } >/dev/null; then 8748 (exit $ac_status); } >/dev/null; then
6291 if test -s conftest.err; then 8749 if test -s conftest.err; then
6292 ac_cpp_err=$ac_c_preproc_warn_flag 8750 ac_cpp_err=$ac_c_preproc_warn_flag
8751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6293 else 8752 else
6294 ac_cpp_err= 8753 ac_cpp_err=
6295 fi 8754 fi
@@ -6297,25 +8756,70 @@ else
6297 ac_cpp_err=yes 8756 ac_cpp_err=yes
6298fi 8757fi
6299if test -z "$ac_cpp_err"; then 8758if test -z "$ac_cpp_err"; then
6300 eval "$as_ac_Header=yes" 8759 ac_header_preproc=yes
6301else 8760else
6302 echo "$as_me: failed program was:" >&5 8761 echo "$as_me: failed program was:" >&5
6303 cat conftest.$ac_ext >&5 8762sed 's/^/| /' conftest.$ac_ext >&5
6304 eval "$as_ac_Header=no" 8763
8764 ac_header_preproc=no
6305fi 8765fi
6306rm -f conftest.err conftest.$ac_ext 8766rm -f conftest.err conftest.$ac_ext
8767echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8768echo "${ECHO_T}$ac_header_preproc" >&6
8769
8770# So? What about this header?
8771case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8772 yes:no: )
8773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8774echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8776echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8777 ac_header_preproc=yes
8778 ;;
8779 no:yes:* )
8780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8781echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8783echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8785echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8787echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8789echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8791echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8792 (
8793 cat <<\_ASBOX
8794## ------------------------------------------ ##
8795## Report this to the AC_PACKAGE_NAME lists. ##
8796## ------------------------------------------ ##
8797_ASBOX
8798 ) |
8799 sed "s/^/$as_me: WARNING: /" >&2
8800 ;;
8801esac
8802echo "$as_me:$LINENO: checking for $ac_header" >&5
8803echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8804if eval "test \"\${$as_ac_Header+set}\" = set"; then
8805 echo $ECHO_N "(cached) $ECHO_C" >&6
8806else
8807 eval "$as_ac_Header=\$ac_header_preproc"
6307fi 8808fi
6308echo "$as_me:6308: result: `eval echo '${'$as_ac_Header'}'`" >&5 8809echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6309echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 8810echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8811
8812fi
6310if test `eval echo '${'$as_ac_Header'}'` = yes; then 8813if test `eval echo '${'$as_ac_Header'}'` = yes; then
6311 cat >>confdefs.h <<EOF 8814 cat >>confdefs.h <<_ACEOF
6312#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8815#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6313EOF 8816_ACEOF
6314 8817
6315fi 8818fi
8819
6316done 8820done
6317 8821
6318echo "$as_me:6318: checking for library containing login" >&5 8822echo "$as_me:$LINENO: checking for library containing login" >&5
6319echo $ECHO_N "checking for library containing login... $ECHO_C" >&6 8823echo $ECHO_N "checking for library containing login... $ECHO_C" >&6
6320if test "${ac_cv_search_login+set}" = set; then 8824if test "${ac_cv_search_login+set}" = set; then
6321 echo $ECHO_N "(cached) $ECHO_C" >&6 8825 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6323,8 +8827,11 @@ else
6323 ac_func_search_save_LIBS=$LIBS 8827 ac_func_search_save_LIBS=$LIBS
6324ac_cv_search_login=no 8828ac_cv_search_login=no
6325cat >conftest.$ac_ext <<_ACEOF 8829cat >conftest.$ac_ext <<_ACEOF
6326#line 6326 "configure" 8830/* confdefs.h. */
6327#include "confdefs.h" 8831_ACEOF
8832cat confdefs.h >>conftest.$ac_ext
8833cat >>conftest.$ac_ext <<_ACEOF
8834/* end confdefs.h. */
6328 8835
6329/* Override any gcc2 internal prototype to avoid an error. */ 8836/* Override any gcc2 internal prototype to avoid an error. */
6330#ifdef __cplusplus 8837#ifdef __cplusplus
@@ -6342,29 +8849,44 @@ login ();
6342} 8849}
6343_ACEOF 8850_ACEOF
6344rm -f conftest.$ac_objext conftest$ac_exeext 8851rm -f conftest.$ac_objext conftest$ac_exeext
6345if { (eval echo "$as_me:6345: \"$ac_link\"") >&5 8852if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6346 (eval $ac_link) 2>&5 8853 (eval $ac_link) 2>conftest.er1
6347 ac_status=$? 8854 ac_status=$?
6348 echo "$as_me:6348: \$? = $ac_status" >&5 8855 grep -v '^ *+' conftest.er1 >conftest.err
8856 rm -f conftest.er1
8857 cat conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); } && 8859 (exit $ac_status); } &&
6350 { ac_try='test -s conftest$ac_exeext' 8860 { ac_try='test -z "$ac_c_werror_flag"
6351 { (eval echo "$as_me:6351: \"$ac_try\"") >&5 8861 || test ! -s conftest.err'
8862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6352 (eval $ac_try) 2>&5 8863 (eval $ac_try) 2>&5
6353 ac_status=$? 8864 ac_status=$?
6354 echo "$as_me:6354: \$? = $ac_status" >&5 8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); }; } &&
8867 { ac_try='test -s conftest$ac_exeext'
8868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 (eval $ac_try) 2>&5
8870 ac_status=$?
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then 8872 (exit $ac_status); }; }; then
6356 ac_cv_search_login="none required" 8873 ac_cv_search_login="none required"
6357else 8874else
6358 echo "$as_me: failed program was:" >&5 8875 echo "$as_me: failed program was:" >&5
6359cat conftest.$ac_ext >&5 8876sed 's/^/| /' conftest.$ac_ext >&5
8877
6360fi 8878fi
6361rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8879rm -f conftest.err conftest.$ac_objext \
8880 conftest$ac_exeext conftest.$ac_ext
6362if test "$ac_cv_search_login" = no; then 8881if test "$ac_cv_search_login" = no; then
6363 for ac_lib in util bsd; do 8882 for ac_lib in util bsd; do
6364 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 8883 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6365 cat >conftest.$ac_ext <<_ACEOF 8884 cat >conftest.$ac_ext <<_ACEOF
6366#line 6366 "configure" 8885/* confdefs.h. */
6367#include "confdefs.h" 8886_ACEOF
8887cat confdefs.h >>conftest.$ac_ext
8888cat >>conftest.$ac_ext <<_ACEOF
8889/* end confdefs.h. */
6368 8890
6369/* Override any gcc2 internal prototype to avoid an error. */ 8891/* Override any gcc2 internal prototype to avoid an error. */
6370#ifdef __cplusplus 8892#ifdef __cplusplus
@@ -6382,176 +8904,257 @@ login ();
6382} 8904}
6383_ACEOF 8905_ACEOF
6384rm -f conftest.$ac_objext conftest$ac_exeext 8906rm -f conftest.$ac_objext conftest$ac_exeext
6385if { (eval echo "$as_me:6385: \"$ac_link\"") >&5 8907if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6386 (eval $ac_link) 2>&5 8908 (eval $ac_link) 2>conftest.er1
6387 ac_status=$? 8909 ac_status=$?
6388 echo "$as_me:6388: \$? = $ac_status" >&5 8910 grep -v '^ *+' conftest.er1 >conftest.err
8911 rm -f conftest.er1
8912 cat conftest.err >&5
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } && 8914 (exit $ac_status); } &&
6390 { ac_try='test -s conftest$ac_exeext' 8915 { ac_try='test -z "$ac_c_werror_flag"
6391 { (eval echo "$as_me:6391: \"$ac_try\"") >&5 8916 || test ! -s conftest.err'
8917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392 (eval $ac_try) 2>&5 8918 (eval $ac_try) 2>&5
6393 ac_status=$? 8919 ac_status=$?
6394 echo "$as_me:6394: \$? = $ac_status" >&5 8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); }; } &&
8922 { ac_try='test -s conftest$ac_exeext'
8923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8924 (eval $ac_try) 2>&5
8925 ac_status=$?
8926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); }; }; then 8927 (exit $ac_status); }; }; then
6396 ac_cv_search_login="-l$ac_lib" 8928 ac_cv_search_login="-l$ac_lib"
6397break 8929break
6398else 8930else
6399 echo "$as_me: failed program was:" >&5 8931 echo "$as_me: failed program was:" >&5
6400cat conftest.$ac_ext >&5 8932sed 's/^/| /' conftest.$ac_ext >&5
8933
6401fi 8934fi
6402rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 8935rm -f conftest.err conftest.$ac_objext \
8936 conftest$ac_exeext conftest.$ac_ext
6403 done 8937 done
6404fi 8938fi
6405LIBS=$ac_func_search_save_LIBS 8939LIBS=$ac_func_search_save_LIBS
6406fi 8940fi
6407echo "$as_me:6407: result: $ac_cv_search_login" >&5 8941echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
6408echo "${ECHO_T}$ac_cv_search_login" >&6 8942echo "${ECHO_T}$ac_cv_search_login" >&6
6409if test "$ac_cv_search_login" != no; then 8943if test "$ac_cv_search_login" != no; then
6410 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS" 8944 test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
6411 cat >>confdefs.h <<\EOF 8945 cat >>confdefs.h <<\_ACEOF
6412#define HAVE_LOGIN 1 8946#define HAVE_LOGIN 1
6413EOF 8947_ACEOF
6414 8948
6415fi 8949fi
6416 8950
8951
8952
8953
6417for ac_func in logout updwtmp logwtmp 8954for ac_func in logout updwtmp logwtmp
6418do 8955do
6419as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8956as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6420echo "$as_me:6420: checking for $ac_func" >&5 8957echo "$as_me:$LINENO: checking for $ac_func" >&5
6421echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 8958echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6422if eval "test \"\${$as_ac_var+set}\" = set"; then 8959if eval "test \"\${$as_ac_var+set}\" = set"; then
6423 echo $ECHO_N "(cached) $ECHO_C" >&6 8960 echo $ECHO_N "(cached) $ECHO_C" >&6
6424else 8961else
6425 cat >conftest.$ac_ext <<_ACEOF 8962 cat >conftest.$ac_ext <<_ACEOF
6426#line 6426 "configure" 8963/* confdefs.h. */
6427#include "confdefs.h" 8964_ACEOF
8965cat confdefs.h >>conftest.$ac_ext
8966cat >>conftest.$ac_ext <<_ACEOF
8967/* end confdefs.h. */
8968/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8970#define $ac_func innocuous_$ac_func
8971
6428/* System header to define __stub macros and hopefully few prototypes, 8972/* System header to define __stub macros and hopefully few prototypes,
6429 which can conflict with char $ac_func (); below. */ 8973 which can conflict with char $ac_func (); below.
6430#include <assert.h> 8974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8975 <limits.h> exists even on freestanding compilers. */
8976
8977#ifdef __STDC__
8978# include <limits.h>
8979#else
8980# include <assert.h>
8981#endif
8982
8983#undef $ac_func
8984
6431/* Override any gcc2 internal prototype to avoid an error. */ 8985/* Override any gcc2 internal prototype to avoid an error. */
6432#ifdef __cplusplus 8986#ifdef __cplusplus
6433extern "C" 8987extern "C"
8988{
6434#endif 8989#endif
6435/* We use char because int might match the return type of a gcc2 8990/* We use char because int might match the return type of a gcc2
6436 builtin and then its argument prototype would still apply. */ 8991 builtin and then its argument prototype would still apply. */
6437char $ac_func (); 8992char $ac_func ();
6438char (*f) ();
6439
6440int
6441main ()
6442{
6443/* The GNU C library defines this for functions which it implements 8993/* The GNU C library defines this for functions which it implements
6444 to always fail with ENOSYS. Some functions are actually named 8994 to always fail with ENOSYS. Some functions are actually named
6445 something starting with __ and the normal name is an alias. */ 8995 something starting with __ and the normal name is an alias. */
6446#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 8996#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6447choke me 8997choke me
6448#else 8998#else
6449f = $ac_func; 8999char (*f) () = $ac_func;
9000#endif
9001#ifdef __cplusplus
9002}
6450#endif 9003#endif
6451 9004
9005int
9006main ()
9007{
9008return f != $ac_func;
6452 ; 9009 ;
6453 return 0; 9010 return 0;
6454} 9011}
6455_ACEOF 9012_ACEOF
6456rm -f conftest.$ac_objext conftest$ac_exeext 9013rm -f conftest.$ac_objext conftest$ac_exeext
6457if { (eval echo "$as_me:6457: \"$ac_link\"") >&5 9014if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6458 (eval $ac_link) 2>&5 9015 (eval $ac_link) 2>conftest.er1
6459 ac_status=$? 9016 ac_status=$?
6460 echo "$as_me:6460: \$? = $ac_status" >&5 9017 grep -v '^ *+' conftest.er1 >conftest.err
9018 rm -f conftest.er1
9019 cat conftest.err >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6461 (exit $ac_status); } && 9021 (exit $ac_status); } &&
6462 { ac_try='test -s conftest$ac_exeext' 9022 { ac_try='test -z "$ac_c_werror_flag"
6463 { (eval echo "$as_me:6463: \"$ac_try\"") >&5 9023 || test ! -s conftest.err'
9024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 (eval $ac_try) 2>&5 9025 (eval $ac_try) 2>&5
6465 ac_status=$? 9026 ac_status=$?
6466 echo "$as_me:6466: \$? = $ac_status" >&5 9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); }; } &&
9029 { ac_try='test -s conftest$ac_exeext'
9030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9031 (eval $ac_try) 2>&5
9032 ac_status=$?
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6467 (exit $ac_status); }; }; then 9034 (exit $ac_status); }; }; then
6468 eval "$as_ac_var=yes" 9035 eval "$as_ac_var=yes"
6469else 9036else
6470 echo "$as_me: failed program was:" >&5 9037 echo "$as_me: failed program was:" >&5
6471cat conftest.$ac_ext >&5 9038sed 's/^/| /' conftest.$ac_ext >&5
9039
6472eval "$as_ac_var=no" 9040eval "$as_ac_var=no"
6473fi 9041fi
6474rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9042rm -f conftest.err conftest.$ac_objext \
9043 conftest$ac_exeext conftest.$ac_ext
6475fi 9044fi
6476echo "$as_me:6476: result: `eval echo '${'$as_ac_var'}'`" >&5 9045echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6477echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9046echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6478if test `eval echo '${'$as_ac_var'}'` = yes; then 9047if test `eval echo '${'$as_ac_var'}'` = yes; then
6479 cat >>confdefs.h <<EOF 9048 cat >>confdefs.h <<_ACEOF
6480#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9049#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6481EOF 9050_ACEOF
6482 9051
6483fi 9052fi
6484done 9053done
6485 9054
9055
9056
6486for ac_func in strftime 9057for ac_func in strftime
6487do 9058do
6488as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9059as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6489echo "$as_me:6489: checking for $ac_func" >&5 9060echo "$as_me:$LINENO: checking for $ac_func" >&5
6490echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9061echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6491if eval "test \"\${$as_ac_var+set}\" = set"; then 9062if eval "test \"\${$as_ac_var+set}\" = set"; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6 9063 echo $ECHO_N "(cached) $ECHO_C" >&6
6493else 9064else
6494 cat >conftest.$ac_ext <<_ACEOF 9065 cat >conftest.$ac_ext <<_ACEOF
6495#line 6495 "configure" 9066/* confdefs.h. */
6496#include "confdefs.h" 9067_ACEOF
9068cat confdefs.h >>conftest.$ac_ext
9069cat >>conftest.$ac_ext <<_ACEOF
9070/* end confdefs.h. */
9071/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9073#define $ac_func innocuous_$ac_func
9074
6497/* System header to define __stub macros and hopefully few prototypes, 9075/* System header to define __stub macros and hopefully few prototypes,
6498 which can conflict with char $ac_func (); below. */ 9076 which can conflict with char $ac_func (); below.
6499#include <assert.h> 9077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9078 <limits.h> exists even on freestanding compilers. */
9079
9080#ifdef __STDC__
9081# include <limits.h>
9082#else
9083# include <assert.h>
9084#endif
9085
9086#undef $ac_func
9087
6500/* Override any gcc2 internal prototype to avoid an error. */ 9088/* Override any gcc2 internal prototype to avoid an error. */
6501#ifdef __cplusplus 9089#ifdef __cplusplus
6502extern "C" 9090extern "C"
9091{
6503#endif 9092#endif
6504/* We use char because int might match the return type of a gcc2 9093/* We use char because int might match the return type of a gcc2
6505 builtin and then its argument prototype would still apply. */ 9094 builtin and then its argument prototype would still apply. */
6506char $ac_func (); 9095char $ac_func ();
6507char (*f) ();
6508
6509int
6510main ()
6511{
6512/* The GNU C library defines this for functions which it implements 9096/* The GNU C library defines this for functions which it implements
6513 to always fail with ENOSYS. Some functions are actually named 9097 to always fail with ENOSYS. Some functions are actually named
6514 something starting with __ and the normal name is an alias. */ 9098 something starting with __ and the normal name is an alias. */
6515#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9099#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6516choke me 9100choke me
6517#else 9101#else
6518f = $ac_func; 9102char (*f) () = $ac_func;
9103#endif
9104#ifdef __cplusplus
9105}
6519#endif 9106#endif
6520 9107
9108int
9109main ()
9110{
9111return f != $ac_func;
6521 ; 9112 ;
6522 return 0; 9113 return 0;
6523} 9114}
6524_ACEOF 9115_ACEOF
6525rm -f conftest.$ac_objext conftest$ac_exeext 9116rm -f conftest.$ac_objext conftest$ac_exeext
6526if { (eval echo "$as_me:6526: \"$ac_link\"") >&5 9117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6527 (eval $ac_link) 2>&5 9118 (eval $ac_link) 2>conftest.er1
6528 ac_status=$? 9119 ac_status=$?
6529 echo "$as_me:6529: \$? = $ac_status" >&5 9120 grep -v '^ *+' conftest.er1 >conftest.err
9121 rm -f conftest.er1
9122 cat conftest.err >&5
9123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); } && 9124 (exit $ac_status); } &&
6531 { ac_try='test -s conftest$ac_exeext' 9125 { ac_try='test -z "$ac_c_werror_flag"
6532 { (eval echo "$as_me:6532: \"$ac_try\"") >&5 9126 || test ! -s conftest.err'
9127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9128 (eval $ac_try) 2>&5
9129 ac_status=$?
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); }; } &&
9132 { ac_try='test -s conftest$ac_exeext'
9133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6533 (eval $ac_try) 2>&5 9134 (eval $ac_try) 2>&5
6534 ac_status=$? 9135 ac_status=$?
6535 echo "$as_me:6535: \$? = $ac_status" >&5 9136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6536 (exit $ac_status); }; }; then 9137 (exit $ac_status); }; }; then
6537 eval "$as_ac_var=yes" 9138 eval "$as_ac_var=yes"
6538else 9139else
6539 echo "$as_me: failed program was:" >&5 9140 echo "$as_me: failed program was:" >&5
6540cat conftest.$ac_ext >&5 9141sed 's/^/| /' conftest.$ac_ext >&5
9142
6541eval "$as_ac_var=no" 9143eval "$as_ac_var=no"
6542fi 9144fi
6543rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9145rm -f conftest.err conftest.$ac_objext \
9146 conftest$ac_exeext conftest.$ac_ext
6544fi 9147fi
6545echo "$as_me:6545: result: `eval echo '${'$as_ac_var'}'`" >&5 9148echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6546echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9149echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6547if test `eval echo '${'$as_ac_var'}'` = yes; then 9150if test `eval echo '${'$as_ac_var'}'` = yes; then
6548 cat >>confdefs.h <<EOF 9151 cat >>confdefs.h <<_ACEOF
6549#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9152#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6550EOF 9153_ACEOF
6551 9154
6552else 9155else
6553 # strftime is in -lintl on SCO UNIX. 9156 # strftime is in -lintl on SCO UNIX.
6554echo "$as_me:6554: checking for strftime in -lintl" >&5 9157echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
6555echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 9158echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
6556if test "${ac_cv_lib_intl_strftime+set}" = set; then 9159if test "${ac_cv_lib_intl_strftime+set}" = set; then
6557 echo $ECHO_N "(cached) $ECHO_C" >&6 9160 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -6559,8 +9162,11 @@ else
6559 ac_check_lib_save_LIBS=$LIBS 9162 ac_check_lib_save_LIBS=$LIBS
6560LIBS="-lintl $LIBS" 9163LIBS="-lintl $LIBS"
6561cat >conftest.$ac_ext <<_ACEOF 9164cat >conftest.$ac_ext <<_ACEOF
6562#line 6562 "configure" 9165/* confdefs.h. */
6563#include "confdefs.h" 9166_ACEOF
9167cat confdefs.h >>conftest.$ac_ext
9168cat >>conftest.$ac_ext <<_ACEOF
9169/* end confdefs.h. */
6564 9170
6565/* Override any gcc2 internal prototype to avoid an error. */ 9171/* Override any gcc2 internal prototype to avoid an error. */
6566#ifdef __cplusplus 9172#ifdef __cplusplus
@@ -6578,32 +9184,44 @@ strftime ();
6578} 9184}
6579_ACEOF 9185_ACEOF
6580rm -f conftest.$ac_objext conftest$ac_exeext 9186rm -f conftest.$ac_objext conftest$ac_exeext
6581if { (eval echo "$as_me:6581: \"$ac_link\"") >&5 9187if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6582 (eval $ac_link) 2>&5 9188 (eval $ac_link) 2>conftest.er1
6583 ac_status=$? 9189 ac_status=$?
6584 echo "$as_me:6584: \$? = $ac_status" >&5 9190 grep -v '^ *+' conftest.er1 >conftest.err
9191 rm -f conftest.er1
9192 cat conftest.err >&5
9193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); } && 9194 (exit $ac_status); } &&
6586 { ac_try='test -s conftest$ac_exeext' 9195 { ac_try='test -z "$ac_c_werror_flag"
6587 { (eval echo "$as_me:6587: \"$ac_try\"") >&5 9196 || test ! -s conftest.err'
9197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 (eval $ac_try) 2>&5
9199 ac_status=$?
9200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201 (exit $ac_status); }; } &&
9202 { ac_try='test -s conftest$ac_exeext'
9203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 (eval $ac_try) 2>&5 9204 (eval $ac_try) 2>&5
6589 ac_status=$? 9205 ac_status=$?
6590 echo "$as_me:6590: \$? = $ac_status" >&5 9206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); }; }; then 9207 (exit $ac_status); }; }; then
6592 ac_cv_lib_intl_strftime=yes 9208 ac_cv_lib_intl_strftime=yes
6593else 9209else
6594 echo "$as_me: failed program was:" >&5 9210 echo "$as_me: failed program was:" >&5
6595cat conftest.$ac_ext >&5 9211sed 's/^/| /' conftest.$ac_ext >&5
9212
6596ac_cv_lib_intl_strftime=no 9213ac_cv_lib_intl_strftime=no
6597fi 9214fi
6598rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9215rm -f conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
6599LIBS=$ac_check_lib_save_LIBS 9217LIBS=$ac_check_lib_save_LIBS
6600fi 9218fi
6601echo "$as_me:6601: result: $ac_cv_lib_intl_strftime" >&5 9219echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
6602echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 9220echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
6603if test $ac_cv_lib_intl_strftime = yes; then 9221if test $ac_cv_lib_intl_strftime = yes; then
6604 cat >>confdefs.h <<\EOF 9222 cat >>confdefs.h <<\_ACEOF
6605#define HAVE_STRFTIME 1 9223#define HAVE_STRFTIME 1
6606EOF 9224_ACEOF
6607 9225
6608LIBS="-lintl $LIBS" 9226LIBS="-lintl $LIBS"
6609fi 9227fi
@@ -6611,12 +9229,16 @@ fi
6611fi 9229fi
6612done 9230done
6613 9231
9232
6614# Check for ALTDIRFUNC glob() extension 9233# Check for ALTDIRFUNC glob() extension
6615echo "$as_me:6615: checking for GLOB_ALTDIRFUNC support" >&5 9234echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
6616echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6 9235echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6
6617cat >conftest.$ac_ext <<_ACEOF 9236cat >conftest.$ac_ext <<_ACEOF
6618#line 6618 "configure" 9237/* confdefs.h. */
6619#include "confdefs.h" 9238_ACEOF
9239cat confdefs.h >>conftest.$ac_ext
9240cat >>conftest.$ac_ext <<_ACEOF
9241/* end confdefs.h. */
6620 9242
6621 #include <glob.h> 9243 #include <glob.h>
6622 #ifdef GLOB_ALTDIRFUNC 9244 #ifdef GLOB_ALTDIRFUNC
@@ -6625,62 +9247,74 @@ cat >conftest.$ac_ext <<_ACEOF
6625 9247
6626_ACEOF 9248_ACEOF
6627if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9249if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6628 egrep "FOUNDIT" >/dev/null 2>&1; then 9250 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6629 9251
6630 cat >>confdefs.h <<\EOF 9252 cat >>confdefs.h <<\_ACEOF
6631#define GLOB_HAS_ALTDIRFUNC 1 9253#define GLOB_HAS_ALTDIRFUNC 1
6632EOF 9254_ACEOF
6633 9255
6634 echo "$as_me:6634: result: yes" >&5 9256 echo "$as_me:$LINENO: result: yes" >&5
6635echo "${ECHO_T}yes" >&6 9257echo "${ECHO_T}yes" >&6
6636 9258
6637else 9259else
6638 9260
6639 echo "$as_me:6639: result: no" >&5 9261 echo "$as_me:$LINENO: result: no" >&5
6640echo "${ECHO_T}no" >&6 9262echo "${ECHO_T}no" >&6
6641 9263
9264
6642fi 9265fi
6643rm -f conftest* 9266rm -f conftest*
6644 9267
9268
6645# Check for g.gl_matchc glob() extension 9269# Check for g.gl_matchc glob() extension
6646echo "$as_me:6646: checking for gl_matchc field in glob_t" >&5 9270echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
6647echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6 9271echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6
6648cat >conftest.$ac_ext <<_ACEOF 9272cat >conftest.$ac_ext <<_ACEOF
6649#line 6649 "configure" 9273/* confdefs.h. */
6650#include "confdefs.h" 9274_ACEOF
9275cat confdefs.h >>conftest.$ac_ext
9276cat >>conftest.$ac_ext <<_ACEOF
9277/* end confdefs.h. */
6651 9278
6652 #include <glob.h> 9279 #include <glob.h>
6653 int main(void){glob_t g; g.gl_matchc = 1;} 9280 int main(void){glob_t g; g.gl_matchc = 1;}
6654 9281
6655_ACEOF 9282_ACEOF
6656if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9283if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6657 egrep "FOUNDIT" >/dev/null 2>&1; then 9284 $EGREP "FOUNDIT" >/dev/null 2>&1; then
6658 9285
6659 cat >>confdefs.h <<\EOF 9286 cat >>confdefs.h <<\_ACEOF
6660#define GLOB_HAS_GL_MATCHC 1 9287#define GLOB_HAS_GL_MATCHC 1
6661EOF 9288_ACEOF
6662 9289
6663 echo "$as_me:6663: result: yes" >&5 9290 echo "$as_me:$LINENO: result: yes" >&5
6664echo "${ECHO_T}yes" >&6 9291echo "${ECHO_T}yes" >&6
6665 9292
6666else 9293else
6667 9294
6668 echo "$as_me:6668: result: no" >&5 9295 echo "$as_me:$LINENO: result: no" >&5
6669echo "${ECHO_T}no" >&6 9296echo "${ECHO_T}no" >&6
6670 9297
9298
6671fi 9299fi
6672rm -f conftest* 9300rm -f conftest*
6673 9301
6674echo "$as_me:6674: checking whether struct dirent allocates space for d_name" >&5 9302
9303echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
6675echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6 9304echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6
6676if test "$cross_compiling" = yes; then 9305if test "$cross_compiling" = yes; then
6677 { { echo "$as_me:6677: error: cannot run test program while cross compiling" >&5 9306 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6678echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9307See \`config.log' for more details." >&5
9308echo "$as_me: error: cannot run test program while cross compiling
9309See \`config.log' for more details." >&2;}
6679 { (exit 1); exit 1; }; } 9310 { (exit 1); exit 1; }; }
6680else 9311else
6681 cat >conftest.$ac_ext <<_ACEOF 9312 cat >conftest.$ac_ext <<_ACEOF
6682#line 6682 "configure" 9313/* confdefs.h. */
6683#include "confdefs.h" 9314_ACEOF
9315cat confdefs.h >>conftest.$ac_ext
9316cat >>conftest.$ac_ext <<_ACEOF
9317/* end confdefs.h. */
6684 9318
6685#include <sys/types.h> 9319#include <sys/types.h>
6686#include <dirent.h> 9320#include <dirent.h>
@@ -6688,31 +9322,49 @@ int main(void){struct dirent d;exit(sizeof(d.d_name)<=sizeof(char));}
6688 9322
6689_ACEOF 9323_ACEOF
6690rm -f conftest$ac_exeext 9324rm -f conftest$ac_exeext
6691if { (eval echo "$as_me:6691: \"$ac_link\"") >&5 9325if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6692 (eval $ac_link) 2>&5 9326 (eval $ac_link) 2>&5
6693 ac_status=$? 9327 ac_status=$?
6694 echo "$as_me:6694: \$? = $ac_status" >&5 9328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6696 { (eval echo "$as_me:6696: \"$ac_try\"") >&5 9330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 (eval $ac_try) 2>&5 9331 (eval $ac_try) 2>&5
6698 ac_status=$? 9332 ac_status=$?
6699 echo "$as_me:6699: \$? = $ac_status" >&5 9333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then 9334 (exit $ac_status); }; }; then
6701 echo "$as_me:6701: result: yes" >&5 9335 echo "$as_me:$LINENO: result: yes" >&5
6702echo "${ECHO_T}yes" >&6 9336echo "${ECHO_T}yes" >&6
6703else 9337else
6704 echo "$as_me: program exited with status $ac_status" >&5 9338 echo "$as_me: program exited with status $ac_status" >&5
6705echo "$as_me: failed program was:" >&5 9339echo "$as_me: failed program was:" >&5
6706cat conftest.$ac_ext >&5 9340sed 's/^/| /' conftest.$ac_ext >&5
9341
9342( exit $ac_status )
6707 9343
6708 echo "$as_me:6708: result: no" >&5 9344 echo "$as_me:$LINENO: result: no" >&5
6709echo "${ECHO_T}no" >&6 9345echo "${ECHO_T}no" >&6
6710 cat >>confdefs.h <<\EOF 9346 cat >>confdefs.h <<\_ACEOF
6711#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 9347#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
6712EOF 9348_ACEOF
9349
9350
6713 9351
6714fi 9352fi
6715rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9353rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9354fi
9355
9356echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
9357echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6
9358if test -d "/proc/$$/fd" ; then
9359 cat >>confdefs.h <<\_ACEOF
9360#define HAVE_PROC_PID 1
9361_ACEOF
9362
9363 echo "$as_me:$LINENO: result: yes" >&5
9364echo "${ECHO_T}yes" >&6
9365else
9366 echo "$as_me:$LINENO: result: no" >&5
9367echo "${ECHO_T}no" >&6
6716fi 9368fi
6717 9369
6718# Check whether user wants S/Key support 9370# Check whether user wants S/Key support
@@ -6729,23 +9381,28 @@ if test "${with_skey+set}" = set; then
6729 LDFLAGS="$LDFLAGS -L${withval}/lib" 9381 LDFLAGS="$LDFLAGS -L${withval}/lib"
6730 fi 9382 fi
6731 9383
6732 cat >>confdefs.h <<\EOF 9384 cat >>confdefs.h <<\_ACEOF
6733#define SKEY 1 9385#define SKEY 1
6734EOF 9386_ACEOF
6735 9387
6736 LIBS="-lskey $LIBS" 9388 LIBS="-lskey $LIBS"
6737 SKEY_MSG="yes" 9389 SKEY_MSG="yes"
6738 9390
6739 echo "$as_me:6739: checking for s/key support" >&5 9391 echo "$as_me:$LINENO: checking for s/key support" >&5
6740echo $ECHO_N "checking for s/key support... $ECHO_C" >&6 9392echo $ECHO_N "checking for s/key support... $ECHO_C" >&6
6741 if test "$cross_compiling" = yes; then 9393 if test "$cross_compiling" = yes; then
6742 { { echo "$as_me:6742: error: cannot run test program while cross compiling" >&5 9394 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6743echo "$as_me: error: cannot run test program while cross compiling" >&2;} 9395See \`config.log' for more details." >&5
9396echo "$as_me: error: cannot run test program while cross compiling
9397See \`config.log' for more details." >&2;}
6744 { (exit 1); exit 1; }; } 9398 { (exit 1); exit 1; }; }
6745else 9399else
6746 cat >conftest.$ac_ext <<_ACEOF 9400 cat >conftest.$ac_ext <<_ACEOF
6747#line 6747 "configure" 9401/* confdefs.h. */
6748#include "confdefs.h" 9402_ACEOF
9403cat confdefs.h >>conftest.$ac_ext
9404cat >>conftest.$ac_ext <<_ACEOF
9405/* end confdefs.h. */
6749 9406
6750#include <stdio.h> 9407#include <stdio.h>
6751#include <skey.h> 9408#include <skey.h>
@@ -6753,37 +9410,42 @@ int main() { char *ff = skey_keyinfo(""); ff=""; exit(0); }
6753 9410
6754_ACEOF 9411_ACEOF
6755rm -f conftest$ac_exeext 9412rm -f conftest$ac_exeext
6756if { (eval echo "$as_me:6756: \"$ac_link\"") >&5 9413if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6757 (eval $ac_link) 2>&5 9414 (eval $ac_link) 2>&5
6758 ac_status=$? 9415 ac_status=$?
6759 echo "$as_me:6759: \$? = $ac_status" >&5 9416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6761 { (eval echo "$as_me:6761: \"$ac_try\"") >&5 9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 (eval $ac_try) 2>&5 9419 (eval $ac_try) 2>&5
6763 ac_status=$? 9420 ac_status=$?
6764 echo "$as_me:6764: \$? = $ac_status" >&5 9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; }; then 9422 (exit $ac_status); }; }; then
6766 echo "$as_me:6766: result: yes" >&5 9423 echo "$as_me:$LINENO: result: yes" >&5
6767echo "${ECHO_T}yes" >&6 9424echo "${ECHO_T}yes" >&6
6768else 9425else
6769 echo "$as_me: program exited with status $ac_status" >&5 9426 echo "$as_me: program exited with status $ac_status" >&5
6770echo "$as_me: failed program was:" >&5 9427echo "$as_me: failed program was:" >&5
6771cat conftest.$ac_ext >&5 9428sed 's/^/| /' conftest.$ac_ext >&5
9429
9430( exit $ac_status )
6772 9431
6773 echo "$as_me:6773: result: no" >&5 9432 echo "$as_me:$LINENO: result: no" >&5
6774echo "${ECHO_T}no" >&6 9433echo "${ECHO_T}no" >&6
6775 { { echo "$as_me:6775: error: ** Incomplete or missing s/key libraries." >&5 9434 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
6776echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} 9435echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
6777 { (exit 1); exit 1; }; } 9436 { (exit 1); exit 1; }; }
6778 9437
6779fi 9438fi
6780rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9439rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6781fi 9440fi
6782 echo "$as_me:6782: checking if skeychallenge takes 4 arguments" >&5 9441 echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
6783echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6 9442echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6
6784 cat >conftest.$ac_ext <<_ACEOF 9443 cat >conftest.$ac_ext <<_ACEOF
6785#line 6785 "configure" 9444/* confdefs.h. */
6786#include "confdefs.h" 9445_ACEOF
9446cat confdefs.h >>conftest.$ac_ext
9447cat >>conftest.$ac_ext <<_ACEOF
9448/* end confdefs.h. */
6787#include <stdio.h> 9449#include <stdio.h>
6788 #include <skey.h> 9450 #include <skey.h>
6789int 9451int
@@ -6795,33 +9457,45 @@ main ()
6795} 9457}
6796_ACEOF 9458_ACEOF
6797rm -f conftest.$ac_objext 9459rm -f conftest.$ac_objext
6798if { (eval echo "$as_me:6798: \"$ac_compile\"") >&5 9460if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6799 (eval $ac_compile) 2>&5 9461 (eval $ac_compile) 2>conftest.er1
6800 ac_status=$? 9462 ac_status=$?
6801 echo "$as_me:6801: \$? = $ac_status" >&5 9463 grep -v '^ *+' conftest.er1 >conftest.err
9464 rm -f conftest.er1
9465 cat conftest.err >&5
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } && 9467 (exit $ac_status); } &&
6803 { ac_try='test -s conftest.$ac_objext' 9468 { ac_try='test -z "$ac_c_werror_flag"
6804 { (eval echo "$as_me:6804: \"$ac_try\"") >&5 9469 || test ! -s conftest.err'
9470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805 (eval $ac_try) 2>&5 9471 (eval $ac_try) 2>&5
6806 ac_status=$? 9472 ac_status=$?
6807 echo "$as_me:6807: \$? = $ac_status" >&5 9473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); }; } &&
9475 { ac_try='test -s conftest.$ac_objext'
9476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9477 (eval $ac_try) 2>&5
9478 ac_status=$?
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808 (exit $ac_status); }; }; then 9480 (exit $ac_status); }; }; then
6809 echo "$as_me:6809: result: yes" >&5 9481 echo "$as_me:$LINENO: result: yes" >&5
6810echo "${ECHO_T}yes" >&6 9482echo "${ECHO_T}yes" >&6
6811 cat >>confdefs.h <<\EOF 9483 cat >>confdefs.h <<\_ACEOF
6812#define SKEYCHALLENGE_4ARG 1 9484#define SKEYCHALLENGE_4ARG 1
6813EOF 9485_ACEOF
6814 9486
6815else 9487else
6816 echo "$as_me: failed program was:" >&5 9488 echo "$as_me: failed program was:" >&5
6817cat conftest.$ac_ext >&5 9489sed 's/^/| /' conftest.$ac_ext >&5
6818echo "$as_me:6818: result: no" >&5 9490
9491echo "$as_me:$LINENO: result: no" >&5
6819echo "${ECHO_T}no" >&6 9492echo "${ECHO_T}no" >&6
6820 9493
6821fi 9494fi
6822rm -f conftest.$ac_objext conftest.$ac_ext 9495rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6823 fi 9496 fi
6824 9497
9498
6825fi; 9499fi;
6826 9500
6827# Check whether user wants TCP wrappers support 9501# Check whether user wants TCP wrappers support
@@ -6857,11 +9531,14 @@ if test "${with_tcp_wrappers+set}" = set; then
6857 fi 9531 fi
6858 LIBWRAP="-lwrap" 9532 LIBWRAP="-lwrap"
6859 LIBS="$LIBWRAP $LIBS" 9533 LIBS="$LIBWRAP $LIBS"
6860 echo "$as_me:6860: checking for libwrap" >&5 9534 echo "$as_me:$LINENO: checking for libwrap" >&5
6861echo $ECHO_N "checking for libwrap... $ECHO_C" >&6 9535echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
6862 cat >conftest.$ac_ext <<_ACEOF 9536 cat >conftest.$ac_ext <<_ACEOF
6863#line 6863 "configure" 9537/* confdefs.h. */
6864#include "confdefs.h" 9538_ACEOF
9539cat confdefs.h >>conftest.$ac_ext
9540cat >>conftest.$ac_ext <<_ACEOF
9541/* end confdefs.h. */
6865 9542
6866#include <sys/types.h> 9543#include <sys/types.h>
6867#include <sys/socket.h> 9544#include <sys/socket.h>
@@ -6878,45 +9555,137 @@ hosts_access(0);
6878} 9555}
6879_ACEOF 9556_ACEOF
6880rm -f conftest.$ac_objext conftest$ac_exeext 9557rm -f conftest.$ac_objext conftest$ac_exeext
6881if { (eval echo "$as_me:6881: \"$ac_link\"") >&5 9558if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6882 (eval $ac_link) 2>&5 9559 (eval $ac_link) 2>conftest.er1
6883 ac_status=$? 9560 ac_status=$?
6884 echo "$as_me:6884: \$? = $ac_status" >&5 9561 grep -v '^ *+' conftest.er1 >conftest.err
9562 rm -f conftest.er1
9563 cat conftest.err >&5
9564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && 9565 (exit $ac_status); } &&
6886 { ac_try='test -s conftest$ac_exeext' 9566 { ac_try='test -z "$ac_c_werror_flag"
6887 { (eval echo "$as_me:6887: \"$ac_try\"") >&5 9567 || test ! -s conftest.err'
9568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 (eval $ac_try) 2>&5 9569 (eval $ac_try) 2>&5
6889 ac_status=$? 9570 ac_status=$?
6890 echo "$as_me:6890: \$? = $ac_status" >&5 9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); }; } &&
9573 { ac_try='test -s conftest$ac_exeext'
9574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 (eval $ac_try) 2>&5
9576 ac_status=$?
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); }; }; then 9578 (exit $ac_status); }; }; then
6892 9579
6893 echo "$as_me:6893: result: yes" >&5 9580 echo "$as_me:$LINENO: result: yes" >&5
6894echo "${ECHO_T}yes" >&6 9581echo "${ECHO_T}yes" >&6
6895 cat >>confdefs.h <<\EOF 9582 cat >>confdefs.h <<\_ACEOF
6896#define LIBWRAP 1 9583#define LIBWRAP 1
6897EOF 9584_ACEOF
9585
6898 9586
6899 TCPW_MSG="yes" 9587 TCPW_MSG="yes"
6900 9588
6901else 9589else
6902 echo "$as_me: failed program was:" >&5 9590 echo "$as_me: failed program was:" >&5
6903cat conftest.$ac_ext >&5 9591sed 's/^/| /' conftest.$ac_ext >&5
9592
6904 9593
6905 { { echo "$as_me:6905: error: *** libwrap missing" >&5 9594 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
6906echo "$as_me: error: *** libwrap missing" >&2;} 9595echo "$as_me: error: *** libwrap missing" >&2;}
6907 { (exit 1); exit 1; }; } 9596 { (exit 1); exit 1; }; }
6908 9597
9598
6909fi 9599fi
6910rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9600rm -f conftest.err conftest.$ac_objext \
9601 conftest$ac_exeext conftest.$ac_ext
6911 LIBS="$saved_LIBS" 9602 LIBS="$saved_LIBS"
6912 fi 9603 fi
6913 9604
9605
6914fi; 9606fi;
6915 9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
6916for ac_func in \ 9685for ac_func in \
6917 arc4random __b64_ntop b64_ntop __b64_pton b64_pton \ 9686 arc4random __b64_ntop b64_ntop __b64_pton b64_pton bcopy \
6918 bcopy bindresvport_sa clock fchmod fchown freeaddrinfo futimes \ 9687 bindresvport_sa clock closefrom dirfd fchmod fchown freeaddrinfo \
6919 getaddrinfo getcwd getgrouplist getnameinfo getopt \ 9688 futimes getaddrinfo getcwd getgrouplist getnameinfo getopt \
6920 getpeereid _getpty getrlimit getttyent glob inet_aton \ 9689 getpeereid _getpty getrlimit getttyent glob inet_aton \
6921 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \ 9690 inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove \
6922 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \ 9691 mkdtemp mmap ngetaddrinfo nsleep ogetaddrinfo openlog_r openpty \
@@ -6929,147 +9698,215 @@ for ac_func in \
6929 9698
6930do 9699do
6931as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9700as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6932echo "$as_me:6932: checking for $ac_func" >&5 9701echo "$as_me:$LINENO: checking for $ac_func" >&5
6933echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9702echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6934if eval "test \"\${$as_ac_var+set}\" = set"; then 9703if eval "test \"\${$as_ac_var+set}\" = set"; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6 9704 echo $ECHO_N "(cached) $ECHO_C" >&6
6936else 9705else
6937 cat >conftest.$ac_ext <<_ACEOF 9706 cat >conftest.$ac_ext <<_ACEOF
6938#line 6938 "configure" 9707/* confdefs.h. */
6939#include "confdefs.h" 9708_ACEOF
9709cat confdefs.h >>conftest.$ac_ext
9710cat >>conftest.$ac_ext <<_ACEOF
9711/* end confdefs.h. */
9712/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9714#define $ac_func innocuous_$ac_func
9715
6940/* System header to define __stub macros and hopefully few prototypes, 9716/* System header to define __stub macros and hopefully few prototypes,
6941 which can conflict with char $ac_func (); below. */ 9717 which can conflict with char $ac_func (); below.
6942#include <assert.h> 9718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9719 <limits.h> exists even on freestanding compilers. */
9720
9721#ifdef __STDC__
9722# include <limits.h>
9723#else
9724# include <assert.h>
9725#endif
9726
9727#undef $ac_func
9728
6943/* Override any gcc2 internal prototype to avoid an error. */ 9729/* Override any gcc2 internal prototype to avoid an error. */
6944#ifdef __cplusplus 9730#ifdef __cplusplus
6945extern "C" 9731extern "C"
9732{
6946#endif 9733#endif
6947/* We use char because int might match the return type of a gcc2 9734/* We use char because int might match the return type of a gcc2
6948 builtin and then its argument prototype would still apply. */ 9735 builtin and then its argument prototype would still apply. */
6949char $ac_func (); 9736char $ac_func ();
6950char (*f) ();
6951
6952int
6953main ()
6954{
6955/* The GNU C library defines this for functions which it implements 9737/* The GNU C library defines this for functions which it implements
6956 to always fail with ENOSYS. Some functions are actually named 9738 to always fail with ENOSYS. Some functions are actually named
6957 something starting with __ and the normal name is an alias. */ 9739 something starting with __ and the normal name is an alias. */
6958#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9740#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6959choke me 9741choke me
6960#else 9742#else
6961f = $ac_func; 9743char (*f) () = $ac_func;
9744#endif
9745#ifdef __cplusplus
9746}
6962#endif 9747#endif
6963 9748
9749int
9750main ()
9751{
9752return f != $ac_func;
6964 ; 9753 ;
6965 return 0; 9754 return 0;
6966} 9755}
6967_ACEOF 9756_ACEOF
6968rm -f conftest.$ac_objext conftest$ac_exeext 9757rm -f conftest.$ac_objext conftest$ac_exeext
6969if { (eval echo "$as_me:6969: \"$ac_link\"") >&5 9758if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6970 (eval $ac_link) 2>&5 9759 (eval $ac_link) 2>conftest.er1
6971 ac_status=$? 9760 ac_status=$?
6972 echo "$as_me:6972: \$? = $ac_status" >&5 9761 grep -v '^ *+' conftest.er1 >conftest.err
9762 rm -f conftest.er1
9763 cat conftest.err >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && 9765 (exit $ac_status); } &&
6974 { ac_try='test -s conftest$ac_exeext' 9766 { ac_try='test -z "$ac_c_werror_flag"
6975 { (eval echo "$as_me:6975: \"$ac_try\"") >&5 9767 || test ! -s conftest.err'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976 (eval $ac_try) 2>&5 9769 (eval $ac_try) 2>&5
6977 ac_status=$? 9770 ac_status=$?
6978 echo "$as_me:6978: \$? = $ac_status" >&5 9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; } &&
9773 { ac_try='test -s conftest$ac_exeext'
9774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775 (eval $ac_try) 2>&5
9776 ac_status=$?
9777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 (exit $ac_status); }; }; then 9778 (exit $ac_status); }; }; then
6980 eval "$as_ac_var=yes" 9779 eval "$as_ac_var=yes"
6981else 9780else
6982 echo "$as_me: failed program was:" >&5 9781 echo "$as_me: failed program was:" >&5
6983cat conftest.$ac_ext >&5 9782sed 's/^/| /' conftest.$ac_ext >&5
9783
6984eval "$as_ac_var=no" 9784eval "$as_ac_var=no"
6985fi 9785fi
6986rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9786rm -f conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
6987fi 9788fi
6988echo "$as_me:6988: result: `eval echo '${'$as_ac_var'}'`" >&5 9789echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6989echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9790echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6990if test `eval echo '${'$as_ac_var'}'` = yes; then 9791if test `eval echo '${'$as_ac_var'}'` = yes; then
6991 cat >>confdefs.h <<EOF 9792 cat >>confdefs.h <<_ACEOF
6992#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9793#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6993EOF 9794_ACEOF
6994 9795
6995fi 9796fi
6996done 9797done
6997 9798
9799
6998# IRIX has a const char return value for gai_strerror() 9800# IRIX has a const char return value for gai_strerror()
6999 9801
7000for ac_func in gai_strerror 9802for ac_func in gai_strerror
7001do 9803do
7002as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9804as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7003echo "$as_me:7003: checking for $ac_func" >&5 9805echo "$as_me:$LINENO: checking for $ac_func" >&5
7004echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 9806echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7005if eval "test \"\${$as_ac_var+set}\" = set"; then 9807if eval "test \"\${$as_ac_var+set}\" = set"; then
7006 echo $ECHO_N "(cached) $ECHO_C" >&6 9808 echo $ECHO_N "(cached) $ECHO_C" >&6
7007else 9809else
7008 cat >conftest.$ac_ext <<_ACEOF 9810 cat >conftest.$ac_ext <<_ACEOF
7009#line 7009 "configure" 9811/* confdefs.h. */
7010#include "confdefs.h" 9812_ACEOF
9813cat confdefs.h >>conftest.$ac_ext
9814cat >>conftest.$ac_ext <<_ACEOF
9815/* end confdefs.h. */
9816/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9818#define $ac_func innocuous_$ac_func
9819
7011/* System header to define __stub macros and hopefully few prototypes, 9820/* System header to define __stub macros and hopefully few prototypes,
7012 which can conflict with char $ac_func (); below. */ 9821 which can conflict with char $ac_func (); below.
7013#include <assert.h> 9822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9823 <limits.h> exists even on freestanding compilers. */
9824
9825#ifdef __STDC__
9826# include <limits.h>
9827#else
9828# include <assert.h>
9829#endif
9830
9831#undef $ac_func
9832
7014/* Override any gcc2 internal prototype to avoid an error. */ 9833/* Override any gcc2 internal prototype to avoid an error. */
7015#ifdef __cplusplus 9834#ifdef __cplusplus
7016extern "C" 9835extern "C"
9836{
7017#endif 9837#endif
7018/* We use char because int might match the return type of a gcc2 9838/* We use char because int might match the return type of a gcc2
7019 builtin and then its argument prototype would still apply. */ 9839 builtin and then its argument prototype would still apply. */
7020char $ac_func (); 9840char $ac_func ();
7021char (*f) ();
7022
7023int
7024main ()
7025{
7026/* The GNU C library defines this for functions which it implements 9841/* The GNU C library defines this for functions which it implements
7027 to always fail with ENOSYS. Some functions are actually named 9842 to always fail with ENOSYS. Some functions are actually named
7028 something starting with __ and the normal name is an alias. */ 9843 something starting with __ and the normal name is an alias. */
7029#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 9844#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7030choke me 9845choke me
7031#else 9846#else
7032f = $ac_func; 9847char (*f) () = $ac_func;
9848#endif
9849#ifdef __cplusplus
9850}
7033#endif 9851#endif
7034 9852
9853int
9854main ()
9855{
9856return f != $ac_func;
7035 ; 9857 ;
7036 return 0; 9858 return 0;
7037} 9859}
7038_ACEOF 9860_ACEOF
7039rm -f conftest.$ac_objext conftest$ac_exeext 9861rm -f conftest.$ac_objext conftest$ac_exeext
7040if { (eval echo "$as_me:7040: \"$ac_link\"") >&5 9862if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7041 (eval $ac_link) 2>&5 9863 (eval $ac_link) 2>conftest.er1
7042 ac_status=$? 9864 ac_status=$?
7043 echo "$as_me:7043: \$? = $ac_status" >&5 9865 grep -v '^ *+' conftest.er1 >conftest.err
9866 rm -f conftest.er1
9867 cat conftest.err >&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7044 (exit $ac_status); } && 9869 (exit $ac_status); } &&
7045 { ac_try='test -s conftest$ac_exeext' 9870 { ac_try='test -z "$ac_c_werror_flag"
7046 { (eval echo "$as_me:7046: \"$ac_try\"") >&5 9871 || test ! -s conftest.err'
9872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7047 (eval $ac_try) 2>&5 9873 (eval $ac_try) 2>&5
7048 ac_status=$? 9874 ac_status=$?
7049 echo "$as_me:7049: \$? = $ac_status" >&5 9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); }; } &&
9877 { ac_try='test -s conftest$ac_exeext'
9878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9879 (eval $ac_try) 2>&5
9880 ac_status=$?
9881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); }; }; then 9882 (exit $ac_status); }; }; then
7051 eval "$as_ac_var=yes" 9883 eval "$as_ac_var=yes"
7052else 9884else
7053 echo "$as_me: failed program was:" >&5 9885 echo "$as_me: failed program was:" >&5
7054cat conftest.$ac_ext >&5 9886sed 's/^/| /' conftest.$ac_ext >&5
9887
7055eval "$as_ac_var=no" 9888eval "$as_ac_var=no"
7056fi 9889fi
7057rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 9890rm -f conftest.err conftest.$ac_objext \
9891 conftest$ac_exeext conftest.$ac_ext
7058fi 9892fi
7059echo "$as_me:7059: result: `eval echo '${'$as_ac_var'}'`" >&5 9893echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7060echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 9894echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7061if test `eval echo '${'$as_ac_var'}'` = yes; then 9895if test `eval echo '${'$as_ac_var'}'` = yes; then
7062 cat >>confdefs.h <<EOF 9896 cat >>confdefs.h <<_ACEOF
7063#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9897#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7064EOF 9898_ACEOF
7065 9899
7066 cat >>confdefs.h <<\EOF 9900 cat >>confdefs.h <<\_ACEOF
7067#define HAVE_GAI_STRERROR 1 9901#define HAVE_GAI_STRERROR 1
7068EOF 9902_ACEOF
7069 9903
7070 cat >conftest.$ac_ext <<_ACEOF 9904 cat >conftest.$ac_ext <<_ACEOF
7071#line 7071 "configure" 9905/* confdefs.h. */
7072#include "confdefs.h" 9906_ACEOF
9907cat confdefs.h >>conftest.$ac_ext
9908cat >>conftest.$ac_ext <<_ACEOF
9909/* end confdefs.h. */
7073 9910
7074#include <sys/types.h> 9911#include <sys/types.h>
7075#include <sys/socket.h> 9912#include <sys/socket.h>
@@ -7088,31 +9925,44 @@ str = gai_strerror(0);
7088} 9925}
7089_ACEOF 9926_ACEOF
7090rm -f conftest.$ac_objext 9927rm -f conftest.$ac_objext
7091if { (eval echo "$as_me:7091: \"$ac_compile\"") >&5 9928if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7092 (eval $ac_compile) 2>&5 9929 (eval $ac_compile) 2>conftest.er1
7093 ac_status=$? 9930 ac_status=$?
7094 echo "$as_me:7094: \$? = $ac_status" >&5 9931 grep -v '^ *+' conftest.er1 >conftest.err
9932 rm -f conftest.er1
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); } && 9935 (exit $ac_status); } &&
7096 { ac_try='test -s conftest.$ac_objext' 9936 { ac_try='test -z "$ac_c_werror_flag"
7097 { (eval echo "$as_me:7097: \"$ac_try\"") >&5 9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 (eval $ac_try) 2>&5 9939 (eval $ac_try) 2>&5
7099 ac_status=$? 9940 ac_status=$?
7100 echo "$as_me:7100: \$? = $ac_status" >&5 9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try='test -s conftest.$ac_objext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 (eval $ac_try) 2>&5
9946 ac_status=$?
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); }; }; then 9948 (exit $ac_status); }; }; then
7102 9949
7103cat >>confdefs.h <<\EOF 9950
9951cat >>confdefs.h <<\_ACEOF
7104#define HAVE_CONST_GAI_STRERROR_PROTO 1 9952#define HAVE_CONST_GAI_STRERROR_PROTO 1
7105EOF 9953_ACEOF
7106 9954
7107else 9955else
7108 echo "$as_me: failed program was:" >&5 9956 echo "$as_me: failed program was:" >&5
7109cat conftest.$ac_ext >&5 9957sed 's/^/| /' conftest.$ac_ext >&5
9958
7110fi 9959fi
7111rm -f conftest.$ac_objext conftest.$ac_ext 9960rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7112fi 9961fi
7113done 9962done
7114 9963
7115echo "$as_me:7115: checking for library containing nanosleep" >&5 9964
9965echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
7116echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6 9966echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
7117if test "${ac_cv_search_nanosleep+set}" = set; then 9967if test "${ac_cv_search_nanosleep+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6 9968 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -7120,8 +9970,11 @@ else
7120 ac_func_search_save_LIBS=$LIBS 9970 ac_func_search_save_LIBS=$LIBS
7121ac_cv_search_nanosleep=no 9971ac_cv_search_nanosleep=no
7122cat >conftest.$ac_ext <<_ACEOF 9972cat >conftest.$ac_ext <<_ACEOF
7123#line 7123 "configure" 9973/* confdefs.h. */
7124#include "confdefs.h" 9974_ACEOF
9975cat confdefs.h >>conftest.$ac_ext
9976cat >>conftest.$ac_ext <<_ACEOF
9977/* end confdefs.h. */
7125 9978
7126/* Override any gcc2 internal prototype to avoid an error. */ 9979/* Override any gcc2 internal prototype to avoid an error. */
7127#ifdef __cplusplus 9980#ifdef __cplusplus
@@ -7139,29 +9992,44 @@ nanosleep ();
7139} 9992}
7140_ACEOF 9993_ACEOF
7141rm -f conftest.$ac_objext conftest$ac_exeext 9994rm -f conftest.$ac_objext conftest$ac_exeext
7142if { (eval echo "$as_me:7142: \"$ac_link\"") >&5 9995if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7143 (eval $ac_link) 2>&5 9996 (eval $ac_link) 2>conftest.er1
7144 ac_status=$? 9997 ac_status=$?
7145 echo "$as_me:7145: \$? = $ac_status" >&5 9998 grep -v '^ *+' conftest.er1 >conftest.err
9999 rm -f conftest.er1
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); } && 10002 (exit $ac_status); } &&
7147 { ac_try='test -s conftest$ac_exeext' 10003 { ac_try='test -z "$ac_c_werror_flag"
7148 { (eval echo "$as_me:7148: \"$ac_try\"") >&5 10004 || test ! -s conftest.err'
10005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 (eval $ac_try) 2>&5 10006 (eval $ac_try) 2>&5
7150 ac_status=$? 10007 ac_status=$?
7151 echo "$as_me:7151: \$? = $ac_status" >&5 10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); }; } &&
10010 { ac_try='test -s conftest$ac_exeext'
10011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10012 (eval $ac_try) 2>&5
10013 ac_status=$?
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152 (exit $ac_status); }; }; then 10015 (exit $ac_status); }; }; then
7153 ac_cv_search_nanosleep="none required" 10016 ac_cv_search_nanosleep="none required"
7154else 10017else
7155 echo "$as_me: failed program was:" >&5 10018 echo "$as_me: failed program was:" >&5
7156cat conftest.$ac_ext >&5 10019sed 's/^/| /' conftest.$ac_ext >&5
10020
7157fi 10021fi
7158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10022rm -f conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
7159if test "$ac_cv_search_nanosleep" = no; then 10024if test "$ac_cv_search_nanosleep" = no; then
7160 for ac_lib in rt posix4; do 10025 for ac_lib in rt posix4; do
7161 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 10026 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7162 cat >conftest.$ac_ext <<_ACEOF 10027 cat >conftest.$ac_ext <<_ACEOF
7163#line 7163 "configure" 10028/* confdefs.h. */
7164#include "confdefs.h" 10029_ACEOF
10030cat confdefs.h >>conftest.$ac_ext
10031cat >>conftest.$ac_ext <<_ACEOF
10032/* end confdefs.h. */
7165 10033
7166/* Override any gcc2 internal prototype to avoid an error. */ 10034/* Override any gcc2 internal prototype to avoid an error. */
7167#ifdef __cplusplus 10035#ifdef __cplusplus
@@ -7179,231 +10047,62 @@ nanosleep ();
7179} 10047}
7180_ACEOF 10048_ACEOF
7181rm -f conftest.$ac_objext conftest$ac_exeext 10049rm -f conftest.$ac_objext conftest$ac_exeext
7182if { (eval echo "$as_me:7182: \"$ac_link\"") >&5 10050if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7183 (eval $ac_link) 2>&5 10051 (eval $ac_link) 2>conftest.er1
7184 ac_status=$? 10052 ac_status=$?
7185 echo "$as_me:7185: \$? = $ac_status" >&5 10053 grep -v '^ *+' conftest.er1 >conftest.err
10054 rm -f conftest.er1
10055 cat conftest.err >&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } && 10057 (exit $ac_status); } &&
7187 { ac_try='test -s conftest$ac_exeext' 10058 { ac_try='test -z "$ac_c_werror_flag"
7188 { (eval echo "$as_me:7188: \"$ac_try\"") >&5 10059 || test ! -s conftest.err'
10060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189 (eval $ac_try) 2>&5 10061 (eval $ac_try) 2>&5
7190 ac_status=$? 10062 ac_status=$?
7191 echo "$as_me:7191: \$? = $ac_status" >&5 10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); }; } &&
10065 { ac_try='test -s conftest$ac_exeext'
10066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 (eval $ac_try) 2>&5
10068 ac_status=$?
10069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192 (exit $ac_status); }; }; then 10070 (exit $ac_status); }; }; then
7193 ac_cv_search_nanosleep="-l$ac_lib" 10071 ac_cv_search_nanosleep="-l$ac_lib"
7194break 10072break
7195else 10073else
7196 echo "$as_me: failed program was:" >&5 10074 echo "$as_me: failed program was:" >&5
7197cat conftest.$ac_ext >&5 10075sed 's/^/| /' conftest.$ac_ext >&5
10076
7198fi 10077fi
7199rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10078rm -f conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
7200 done 10080 done
7201fi 10081fi
7202LIBS=$ac_func_search_save_LIBS 10082LIBS=$ac_func_search_save_LIBS
7203fi 10083fi
7204echo "$as_me:7204: result: $ac_cv_search_nanosleep" >&5 10084echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
7205echo "${ECHO_T}$ac_cv_search_nanosleep" >&6 10085echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
7206if test "$ac_cv_search_nanosleep" != no; then 10086if test "$ac_cv_search_nanosleep" != no; then
7207 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS" 10087 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
7208 cat >>confdefs.h <<\EOF 10088 cat >>confdefs.h <<\_ACEOF
7209#define HAVE_NANOSLEEP 1 10089#define HAVE_NANOSLEEP 1
7210EOF
7211
7212fi
7213
7214echo "$as_me:7214: checking for ANSI C header files" >&5
7215echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7216if test "${ac_cv_header_stdc+set}" = set; then
7217 echo $ECHO_N "(cached) $ECHO_C" >&6
7218else
7219 cat >conftest.$ac_ext <<_ACEOF
7220#line 7220 "configure"
7221#include "confdefs.h"
7222#include <stdlib.h>
7223#include <stdarg.h>
7224#include <string.h>
7225#include <float.h>
7226
7227_ACEOF
7228if { (eval echo "$as_me:7228: \"$ac_cpp conftest.$ac_ext\"") >&5
7229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7230 ac_status=$?
7231 egrep -v '^ *\+' conftest.er1 >conftest.err
7232 rm -f conftest.er1
7233 cat conftest.err >&5
7234 echo "$as_me:7234: \$? = $ac_status" >&5
7235 (exit $ac_status); } >/dev/null; then
7236 if test -s conftest.err; then
7237 ac_cpp_err=$ac_c_preproc_warn_flag
7238 else
7239 ac_cpp_err=
7240 fi
7241else
7242 ac_cpp_err=yes
7243fi
7244if test -z "$ac_cpp_err"; then
7245 ac_cv_header_stdc=yes
7246else
7247 echo "$as_me: failed program was:" >&5
7248 cat conftest.$ac_ext >&5
7249 ac_cv_header_stdc=no
7250fi
7251rm -f conftest.err conftest.$ac_ext
7252
7253if test $ac_cv_header_stdc = yes; then
7254 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7255 cat >conftest.$ac_ext <<_ACEOF
7256#line 7256 "configure"
7257#include "confdefs.h"
7258#include <string.h>
7259
7260_ACEOF
7261if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7262 egrep "memchr" >/dev/null 2>&1; then
7263 :
7264else
7265 ac_cv_header_stdc=no
7266fi
7267rm -f conftest*
7268
7269fi
7270
7271if test $ac_cv_header_stdc = yes; then
7272 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7273 cat >conftest.$ac_ext <<_ACEOF
7274#line 7274 "configure"
7275#include "confdefs.h"
7276#include <stdlib.h>
7277
7278_ACEOF
7279if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7280 egrep "free" >/dev/null 2>&1; then
7281 :
7282else
7283 ac_cv_header_stdc=no
7284fi
7285rm -f conftest*
7286
7287fi
7288
7289if test $ac_cv_header_stdc = yes; then
7290 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7291 if test "$cross_compiling" = yes; then
7292 :
7293else
7294 cat >conftest.$ac_ext <<_ACEOF
7295#line 7295 "configure"
7296#include "confdefs.h"
7297#include <ctype.h>
7298#if ((' ' & 0x0FF) == 0x020)
7299# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7300# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7301#else
7302# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
7303 || ('j' <= (c) && (c) <= 'r') \
7304 || ('s' <= (c) && (c) <= 'z'))
7305# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7306#endif
7307
7308#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7309int
7310main ()
7311{
7312 int i;
7313 for (i = 0; i < 256; i++)
7314 if (XOR (islower (i), ISLOWER (i))
7315 || toupper (i) != TOUPPER (i))
7316 exit(2);
7317 exit (0);
7318}
7319_ACEOF 10090_ACEOF
7320rm -f conftest$ac_exeext
7321if { (eval echo "$as_me:7321: \"$ac_link\"") >&5
7322 (eval $ac_link) 2>&5
7323 ac_status=$?
7324 echo "$as_me:7324: \$? = $ac_status" >&5
7325 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7326 { (eval echo "$as_me:7326: \"$ac_try\"") >&5
7327 (eval $ac_try) 2>&5
7328 ac_status=$?
7329 echo "$as_me:7329: \$? = $ac_status" >&5
7330 (exit $ac_status); }; }; then
7331 :
7332else
7333 echo "$as_me: program exited with status $ac_status" >&5
7334echo "$as_me: failed program was:" >&5
7335cat conftest.$ac_ext >&5
7336ac_cv_header_stdc=no
7337fi
7338rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7339fi
7340fi
7341fi
7342echo "$as_me:7342: result: $ac_cv_header_stdc" >&5
7343echo "${ECHO_T}$ac_cv_header_stdc" >&6
7344if test $ac_cv_header_stdc = yes; then
7345
7346cat >>confdefs.h <<\EOF
7347#define STDC_HEADERS 1
7348EOF
7349 10091
7350fi 10092fi
7351 10093
7352# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7353 10094
7354for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 10095echo "$as_me:$LINENO: checking whether strsep is declared" >&5
7355 inttypes.h stdint.h unistd.h
7356do
7357as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7358echo "$as_me:7358: checking for $ac_header" >&5
7359echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7360if eval "test \"\${$as_ac_Header+set}\" = set"; then
7361 echo $ECHO_N "(cached) $ECHO_C" >&6
7362else
7363 cat >conftest.$ac_ext <<_ACEOF
7364#line 7364 "configure"
7365#include "confdefs.h"
7366$ac_includes_default
7367#include <$ac_header>
7368_ACEOF
7369rm -f conftest.$ac_objext
7370if { (eval echo "$as_me:7370: \"$ac_compile\"") >&5
7371 (eval $ac_compile) 2>&5
7372 ac_status=$?
7373 echo "$as_me:7373: \$? = $ac_status" >&5
7374 (exit $ac_status); } &&
7375 { ac_try='test -s conftest.$ac_objext'
7376 { (eval echo "$as_me:7376: \"$ac_try\"") >&5
7377 (eval $ac_try) 2>&5
7378 ac_status=$?
7379 echo "$as_me:7379: \$? = $ac_status" >&5
7380 (exit $ac_status); }; }; then
7381 eval "$as_ac_Header=yes"
7382else
7383 echo "$as_me: failed program was:" >&5
7384cat conftest.$ac_ext >&5
7385eval "$as_ac_Header=no"
7386fi
7387rm -f conftest.$ac_objext conftest.$ac_ext
7388fi
7389echo "$as_me:7389: result: `eval echo '${'$as_ac_Header'}'`" >&5
7390echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7391if test `eval echo '${'$as_ac_Header'}'` = yes; then
7392 cat >>confdefs.h <<EOF
7393#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7394EOF
7395
7396fi
7397done
7398
7399echo "$as_me:7399: checking whether strsep is declared" >&5
7400echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6 10096echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6
7401if test "${ac_cv_have_decl_strsep+set}" = set; then 10097if test "${ac_cv_have_decl_strsep+set}" = set; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6 10098 echo $ECHO_N "(cached) $ECHO_C" >&6
7403else 10099else
7404 cat >conftest.$ac_ext <<_ACEOF 10100 cat >conftest.$ac_ext <<_ACEOF
7405#line 7405 "configure" 10101/* confdefs.h. */
7406#include "confdefs.h" 10102_ACEOF
10103cat confdefs.h >>conftest.$ac_ext
10104cat >>conftest.$ac_ext <<_ACEOF
10105/* end confdefs.h. */
7407$ac_includes_default 10106$ac_includes_default
7408int 10107int
7409main () 10108main ()
@@ -7417,108 +10116,154 @@ main ()
7417} 10116}
7418_ACEOF 10117_ACEOF
7419rm -f conftest.$ac_objext 10118rm -f conftest.$ac_objext
7420if { (eval echo "$as_me:7420: \"$ac_compile\"") >&5 10119if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7421 (eval $ac_compile) 2>&5 10120 (eval $ac_compile) 2>conftest.er1
7422 ac_status=$? 10121 ac_status=$?
7423 echo "$as_me:7423: \$? = $ac_status" >&5 10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } && 10126 (exit $ac_status); } &&
7425 { ac_try='test -s conftest.$ac_objext' 10127 { ac_try='test -z "$ac_c_werror_flag"
7426 { (eval echo "$as_me:7426: \"$ac_try\"") >&5 10128 || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7427 (eval $ac_try) 2>&5 10130 (eval $ac_try) 2>&5
7428 ac_status=$? 10131 ac_status=$?
7429 echo "$as_me:7429: \$? = $ac_status" >&5 10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try='test -s conftest.$ac_objext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10137 ac_status=$?
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7430 (exit $ac_status); }; }; then 10139 (exit $ac_status); }; }; then
7431 ac_cv_have_decl_strsep=yes 10140 ac_cv_have_decl_strsep=yes
7432else 10141else
7433 echo "$as_me: failed program was:" >&5 10142 echo "$as_me: failed program was:" >&5
7434cat conftest.$ac_ext >&5 10143sed 's/^/| /' conftest.$ac_ext >&5
10144
7435ac_cv_have_decl_strsep=no 10145ac_cv_have_decl_strsep=no
7436fi 10146fi
7437rm -f conftest.$ac_objext conftest.$ac_ext 10147rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7438fi 10148fi
7439echo "$as_me:7439: result: $ac_cv_have_decl_strsep" >&5 10149echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
7440echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6 10150echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6
7441if test $ac_cv_have_decl_strsep = yes; then 10151if test $ac_cv_have_decl_strsep = yes; then
7442 10152
7443for ac_func in strsep 10153for ac_func in strsep
7444do 10154do
7445as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10155as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7446echo "$as_me:7446: checking for $ac_func" >&5 10156echo "$as_me:$LINENO: checking for $ac_func" >&5
7447echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10157echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7448if eval "test \"\${$as_ac_var+set}\" = set"; then 10158if eval "test \"\${$as_ac_var+set}\" = set"; then
7449 echo $ECHO_N "(cached) $ECHO_C" >&6 10159 echo $ECHO_N "(cached) $ECHO_C" >&6
7450else 10160else
7451 cat >conftest.$ac_ext <<_ACEOF 10161 cat >conftest.$ac_ext <<_ACEOF
7452#line 7452 "configure" 10162/* confdefs.h. */
7453#include "confdefs.h" 10163_ACEOF
10164cat confdefs.h >>conftest.$ac_ext
10165cat >>conftest.$ac_ext <<_ACEOF
10166/* end confdefs.h. */
10167/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10169#define $ac_func innocuous_$ac_func
10170
7454/* System header to define __stub macros and hopefully few prototypes, 10171/* System header to define __stub macros and hopefully few prototypes,
7455 which can conflict with char $ac_func (); below. */ 10172 which can conflict with char $ac_func (); below.
7456#include <assert.h> 10173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10174 <limits.h> exists even on freestanding compilers. */
10175
10176#ifdef __STDC__
10177# include <limits.h>
10178#else
10179# include <assert.h>
10180#endif
10181
10182#undef $ac_func
10183
7457/* Override any gcc2 internal prototype to avoid an error. */ 10184/* Override any gcc2 internal prototype to avoid an error. */
7458#ifdef __cplusplus 10185#ifdef __cplusplus
7459extern "C" 10186extern "C"
10187{
7460#endif 10188#endif
7461/* We use char because int might match the return type of a gcc2 10189/* We use char because int might match the return type of a gcc2
7462 builtin and then its argument prototype would still apply. */ 10190 builtin and then its argument prototype would still apply. */
7463char $ac_func (); 10191char $ac_func ();
7464char (*f) ();
7465
7466int
7467main ()
7468{
7469/* The GNU C library defines this for functions which it implements 10192/* The GNU C library defines this for functions which it implements
7470 to always fail with ENOSYS. Some functions are actually named 10193 to always fail with ENOSYS. Some functions are actually named
7471 something starting with __ and the normal name is an alias. */ 10194 something starting with __ and the normal name is an alias. */
7472#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10195#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7473choke me 10196choke me
7474#else 10197#else
7475f = $ac_func; 10198char (*f) () = $ac_func;
10199#endif
10200#ifdef __cplusplus
10201}
7476#endif 10202#endif
7477 10203
10204int
10205main ()
10206{
10207return f != $ac_func;
7478 ; 10208 ;
7479 return 0; 10209 return 0;
7480} 10210}
7481_ACEOF 10211_ACEOF
7482rm -f conftest.$ac_objext conftest$ac_exeext 10212rm -f conftest.$ac_objext conftest$ac_exeext
7483if { (eval echo "$as_me:7483: \"$ac_link\"") >&5 10213if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7484 (eval $ac_link) 2>&5 10214 (eval $ac_link) 2>conftest.er1
7485 ac_status=$? 10215 ac_status=$?
7486 echo "$as_me:7486: \$? = $ac_status" >&5 10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487 (exit $ac_status); } && 10220 (exit $ac_status); } &&
7488 { ac_try='test -s conftest$ac_exeext' 10221 { ac_try='test -z "$ac_c_werror_flag"
7489 { (eval echo "$as_me:7489: \"$ac_try\"") >&5 10222 || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest$ac_exeext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7490 (eval $ac_try) 2>&5 10230 (eval $ac_try) 2>&5
7491 ac_status=$? 10231 ac_status=$?
7492 echo "$as_me:7492: \$? = $ac_status" >&5 10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7493 (exit $ac_status); }; }; then 10233 (exit $ac_status); }; }; then
7494 eval "$as_ac_var=yes" 10234 eval "$as_ac_var=yes"
7495else 10235else
7496 echo "$as_me: failed program was:" >&5 10236 echo "$as_me: failed program was:" >&5
7497cat conftest.$ac_ext >&5 10237sed 's/^/| /' conftest.$ac_ext >&5
10238
7498eval "$as_ac_var=no" 10239eval "$as_ac_var=no"
7499fi 10240fi
7500rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10241rm -f conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
7501fi 10243fi
7502echo "$as_me:7502: result: `eval echo '${'$as_ac_var'}'`" >&5 10244echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7503echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10245echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7504if test `eval echo '${'$as_ac_var'}'` = yes; then 10246if test `eval echo '${'$as_ac_var'}'` = yes; then
7505 cat >>confdefs.h <<EOF 10247 cat >>confdefs.h <<_ACEOF
7506#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10248#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7507EOF 10249_ACEOF
7508 10250
7509fi 10251fi
7510done 10252done
7511 10253
7512fi 10254fi
7513 10255
7514echo "$as_me:7514: checking whether getrusage is declared" >&5 10256echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
7515echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6 10257echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
7516if test "${ac_cv_have_decl_getrusage+set}" = set; then 10258if test "${ac_cv_have_decl_getrusage+set}" = set; then
7517 echo $ECHO_N "(cached) $ECHO_C" >&6 10259 echo $ECHO_N "(cached) $ECHO_C" >&6
7518else 10260else
7519 cat >conftest.$ac_ext <<_ACEOF 10261 cat >conftest.$ac_ext <<_ACEOF
7520#line 7520 "configure" 10262/* confdefs.h. */
7521#include "confdefs.h" 10263_ACEOF
10264cat confdefs.h >>conftest.$ac_ext
10265cat >>conftest.$ac_ext <<_ACEOF
10266/* end confdefs.h. */
7522$ac_includes_default 10267$ac_includes_default
7523int 10268int
7524main () 10269main ()
@@ -7532,110 +10277,158 @@ main ()
7532} 10277}
7533_ACEOF 10278_ACEOF
7534rm -f conftest.$ac_objext 10279rm -f conftest.$ac_objext
7535if { (eval echo "$as_me:7535: \"$ac_compile\"") >&5 10280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7536 (eval $ac_compile) 2>&5 10281 (eval $ac_compile) 2>conftest.er1
7537 ac_status=$? 10282 ac_status=$?
7538 echo "$as_me:7538: \$? = $ac_status" >&5 10283 grep -v '^ *+' conftest.er1 >conftest.err
10284 rm -f conftest.er1
10285 cat conftest.err >&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7539 (exit $ac_status); } && 10287 (exit $ac_status); } &&
7540 { ac_try='test -s conftest.$ac_objext' 10288 { ac_try='test -z "$ac_c_werror_flag"
7541 { (eval echo "$as_me:7541: \"$ac_try\"") >&5 10289 || test ! -s conftest.err'
10290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 (eval $ac_try) 2>&5 10291 (eval $ac_try) 2>&5
7543 ac_status=$? 10292 ac_status=$?
7544 echo "$as_me:7544: \$? = $ac_status" >&5 10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); }; } &&
10295 { ac_try='test -s conftest.$ac_objext'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10298 ac_status=$?
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; }; then 10300 (exit $ac_status); }; }; then
7546 ac_cv_have_decl_getrusage=yes 10301 ac_cv_have_decl_getrusage=yes
7547else 10302else
7548 echo "$as_me: failed program was:" >&5 10303 echo "$as_me: failed program was:" >&5
7549cat conftest.$ac_ext >&5 10304sed 's/^/| /' conftest.$ac_ext >&5
10305
7550ac_cv_have_decl_getrusage=no 10306ac_cv_have_decl_getrusage=no
7551fi 10307fi
7552rm -f conftest.$ac_objext conftest.$ac_ext 10308rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7553fi 10309fi
7554echo "$as_me:7554: result: $ac_cv_have_decl_getrusage" >&5 10310echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
7555echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6 10311echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
7556if test $ac_cv_have_decl_getrusage = yes; then 10312if test $ac_cv_have_decl_getrusage = yes; then
7557 10313
7558for ac_func in getrusage 10314for ac_func in getrusage
7559do 10315do
7560as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10316as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7561echo "$as_me:7561: checking for $ac_func" >&5 10317echo "$as_me:$LINENO: checking for $ac_func" >&5
7562echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10318echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7563if eval "test \"\${$as_ac_var+set}\" = set"; then 10319if eval "test \"\${$as_ac_var+set}\" = set"; then
7564 echo $ECHO_N "(cached) $ECHO_C" >&6 10320 echo $ECHO_N "(cached) $ECHO_C" >&6
7565else 10321else
7566 cat >conftest.$ac_ext <<_ACEOF 10322 cat >conftest.$ac_ext <<_ACEOF
7567#line 7567 "configure" 10323/* confdefs.h. */
7568#include "confdefs.h" 10324_ACEOF
10325cat confdefs.h >>conftest.$ac_ext
10326cat >>conftest.$ac_ext <<_ACEOF
10327/* end confdefs.h. */
10328/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10330#define $ac_func innocuous_$ac_func
10331
7569/* System header to define __stub macros and hopefully few prototypes, 10332/* System header to define __stub macros and hopefully few prototypes,
7570 which can conflict with char $ac_func (); below. */ 10333 which can conflict with char $ac_func (); below.
7571#include <assert.h> 10334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10335 <limits.h> exists even on freestanding compilers. */
10336
10337#ifdef __STDC__
10338# include <limits.h>
10339#else
10340# include <assert.h>
10341#endif
10342
10343#undef $ac_func
10344
7572/* Override any gcc2 internal prototype to avoid an error. */ 10345/* Override any gcc2 internal prototype to avoid an error. */
7573#ifdef __cplusplus 10346#ifdef __cplusplus
7574extern "C" 10347extern "C"
10348{
7575#endif 10349#endif
7576/* We use char because int might match the return type of a gcc2 10350/* We use char because int might match the return type of a gcc2
7577 builtin and then its argument prototype would still apply. */ 10351 builtin and then its argument prototype would still apply. */
7578char $ac_func (); 10352char $ac_func ();
7579char (*f) ();
7580
7581int
7582main ()
7583{
7584/* The GNU C library defines this for functions which it implements 10353/* The GNU C library defines this for functions which it implements
7585 to always fail with ENOSYS. Some functions are actually named 10354 to always fail with ENOSYS. Some functions are actually named
7586 something starting with __ and the normal name is an alias. */ 10355 something starting with __ and the normal name is an alias. */
7587#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10356#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7588choke me 10357choke me
7589#else 10358#else
7590f = $ac_func; 10359char (*f) () = $ac_func;
10360#endif
10361#ifdef __cplusplus
10362}
7591#endif 10363#endif
7592 10364
10365int
10366main ()
10367{
10368return f != $ac_func;
7593 ; 10369 ;
7594 return 0; 10370 return 0;
7595} 10371}
7596_ACEOF 10372_ACEOF
7597rm -f conftest.$ac_objext conftest$ac_exeext 10373rm -f conftest.$ac_objext conftest$ac_exeext
7598if { (eval echo "$as_me:7598: \"$ac_link\"") >&5 10374if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7599 (eval $ac_link) 2>&5 10375 (eval $ac_link) 2>conftest.er1
7600 ac_status=$? 10376 ac_status=$?
7601 echo "$as_me:7601: \$? = $ac_status" >&5 10377 grep -v '^ *+' conftest.er1 >conftest.err
10378 rm -f conftest.er1
10379 cat conftest.err >&5
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602 (exit $ac_status); } && 10381 (exit $ac_status); } &&
7603 { ac_try='test -s conftest$ac_exeext' 10382 { ac_try='test -z "$ac_c_werror_flag"
7604 { (eval echo "$as_me:7604: \"$ac_try\"") >&5 10383 || test ! -s conftest.err'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; } &&
10389 { ac_try='test -s conftest$ac_exeext'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7605 (eval $ac_try) 2>&5 10391 (eval $ac_try) 2>&5
7606 ac_status=$? 10392 ac_status=$?
7607 echo "$as_me:7607: \$? = $ac_status" >&5 10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7608 (exit $ac_status); }; }; then 10394 (exit $ac_status); }; }; then
7609 eval "$as_ac_var=yes" 10395 eval "$as_ac_var=yes"
7610else 10396else
7611 echo "$as_me: failed program was:" >&5 10397 echo "$as_me: failed program was:" >&5
7612cat conftest.$ac_ext >&5 10398sed 's/^/| /' conftest.$ac_ext >&5
10399
7613eval "$as_ac_var=no" 10400eval "$as_ac_var=no"
7614fi 10401fi
7615rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10402rm -f conftest.err conftest.$ac_objext \
10403 conftest$ac_exeext conftest.$ac_ext
7616fi 10404fi
7617echo "$as_me:7617: result: `eval echo '${'$as_ac_var'}'`" >&5 10405echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7618echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10406echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7619if test `eval echo '${'$as_ac_var'}'` = yes; then 10407if test `eval echo '${'$as_ac_var'}'` = yes; then
7620 cat >>confdefs.h <<EOF 10408 cat >>confdefs.h <<_ACEOF
7621#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10409#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7622EOF 10410_ACEOF
7623 10411
7624fi 10412fi
7625done 10413done
7626 10414
7627fi 10415fi
7628 10416
7629echo "$as_me:7629: checking whether tcsendbreak is declared" >&5 10417
10418echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5
7630echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6 10419echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6
7631if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then 10420if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
7632 echo $ECHO_N "(cached) $ECHO_C" >&6 10421 echo $ECHO_N "(cached) $ECHO_C" >&6
7633else 10422else
7634 cat >conftest.$ac_ext <<_ACEOF 10423 cat >conftest.$ac_ext <<_ACEOF
7635#line 7635 "configure" 10424/* confdefs.h. */
7636#include "confdefs.h" 10425_ACEOF
10426cat confdefs.h >>conftest.$ac_ext
10427cat >>conftest.$ac_ext <<_ACEOF
10428/* end confdefs.h. */
7637#include <termios.h> 10429#include <termios.h>
7638 10430
10431
7639int 10432int
7640main () 10433main ()
7641{ 10434{
@@ -7648,181 +10441,337 @@ main ()
7648} 10441}
7649_ACEOF 10442_ACEOF
7650rm -f conftest.$ac_objext 10443rm -f conftest.$ac_objext
7651if { (eval echo "$as_me:7651: \"$ac_compile\"") >&5 10444if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7652 (eval $ac_compile) 2>&5 10445 (eval $ac_compile) 2>conftest.er1
7653 ac_status=$? 10446 ac_status=$?
7654 echo "$as_me:7654: \$? = $ac_status" >&5 10447 grep -v '^ *+' conftest.er1 >conftest.err
10448 rm -f conftest.er1
10449 cat conftest.err >&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7655 (exit $ac_status); } && 10451 (exit $ac_status); } &&
7656 { ac_try='test -s conftest.$ac_objext' 10452 { ac_try='test -z "$ac_c_werror_flag"
7657 { (eval echo "$as_me:7657: \"$ac_try\"") >&5 10453 || test ! -s conftest.err'
10454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10455 (eval $ac_try) 2>&5
10456 ac_status=$?
10457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10458 (exit $ac_status); }; } &&
10459 { ac_try='test -s conftest.$ac_objext'
10460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7658 (eval $ac_try) 2>&5 10461 (eval $ac_try) 2>&5
7659 ac_status=$? 10462 ac_status=$?
7660 echo "$as_me:7660: \$? = $ac_status" >&5 10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7661 (exit $ac_status); }; }; then 10464 (exit $ac_status); }; }; then
7662 ac_cv_have_decl_tcsendbreak=yes 10465 ac_cv_have_decl_tcsendbreak=yes
7663else 10466else
7664 echo "$as_me: failed program was:" >&5 10467 echo "$as_me: failed program was:" >&5
7665cat conftest.$ac_ext >&5 10468sed 's/^/| /' conftest.$ac_ext >&5
10469
7666ac_cv_have_decl_tcsendbreak=no 10470ac_cv_have_decl_tcsendbreak=no
7667fi 10471fi
7668rm -f conftest.$ac_objext conftest.$ac_ext 10472rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7669fi 10473fi
7670echo "$as_me:7670: result: $ac_cv_have_decl_tcsendbreak" >&5 10474echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5
7671echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6 10475echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6
7672if test $ac_cv_have_decl_tcsendbreak = yes; then 10476if test $ac_cv_have_decl_tcsendbreak = yes; then
7673 cat >>confdefs.h <<\EOF 10477 cat >>confdefs.h <<\_ACEOF
7674#define HAVE_TCSENDBREAK 1 10478#define HAVE_TCSENDBREAK 1
7675EOF 10479_ACEOF
7676 10480
7677else 10481else
7678 10482
7679for ac_func in tcsendbreak 10483for ac_func in tcsendbreak
7680do 10484do
7681as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10485as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7682echo "$as_me:7682: checking for $ac_func" >&5 10486echo "$as_me:$LINENO: checking for $ac_func" >&5
7683echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10487echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7684if eval "test \"\${$as_ac_var+set}\" = set"; then 10488if eval "test \"\${$as_ac_var+set}\" = set"; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6 10489 echo $ECHO_N "(cached) $ECHO_C" >&6
7686else 10490else
7687 cat >conftest.$ac_ext <<_ACEOF 10491 cat >conftest.$ac_ext <<_ACEOF
7688#line 7688 "configure" 10492/* confdefs.h. */
7689#include "confdefs.h" 10493_ACEOF
10494cat confdefs.h >>conftest.$ac_ext
10495cat >>conftest.$ac_ext <<_ACEOF
10496/* end confdefs.h. */
10497/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10499#define $ac_func innocuous_$ac_func
10500
7690/* System header to define __stub macros and hopefully few prototypes, 10501/* System header to define __stub macros and hopefully few prototypes,
7691 which can conflict with char $ac_func (); below. */ 10502 which can conflict with char $ac_func (); below.
7692#include <assert.h> 10503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10504 <limits.h> exists even on freestanding compilers. */
10505
10506#ifdef __STDC__
10507# include <limits.h>
10508#else
10509# include <assert.h>
10510#endif
10511
10512#undef $ac_func
10513
7693/* Override any gcc2 internal prototype to avoid an error. */ 10514/* Override any gcc2 internal prototype to avoid an error. */
7694#ifdef __cplusplus 10515#ifdef __cplusplus
7695extern "C" 10516extern "C"
10517{
7696#endif 10518#endif
7697/* We use char because int might match the return type of a gcc2 10519/* We use char because int might match the return type of a gcc2
7698 builtin and then its argument prototype would still apply. */ 10520 builtin and then its argument prototype would still apply. */
7699char $ac_func (); 10521char $ac_func ();
7700char (*f) ();
7701
7702int
7703main ()
7704{
7705/* The GNU C library defines this for functions which it implements 10522/* The GNU C library defines this for functions which it implements
7706 to always fail with ENOSYS. Some functions are actually named 10523 to always fail with ENOSYS. Some functions are actually named
7707 something starting with __ and the normal name is an alias. */ 10524 something starting with __ and the normal name is an alias. */
7708#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10525#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7709choke me 10526choke me
7710#else 10527#else
7711f = $ac_func; 10528char (*f) () = $ac_func;
10529#endif
10530#ifdef __cplusplus
10531}
7712#endif 10532#endif
7713 10533
10534int
10535main ()
10536{
10537return f != $ac_func;
7714 ; 10538 ;
7715 return 0; 10539 return 0;
7716} 10540}
7717_ACEOF 10541_ACEOF
7718rm -f conftest.$ac_objext conftest$ac_exeext 10542rm -f conftest.$ac_objext conftest$ac_exeext
7719if { (eval echo "$as_me:7719: \"$ac_link\"") >&5 10543if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7720 (eval $ac_link) 2>&5 10544 (eval $ac_link) 2>conftest.er1
7721 ac_status=$? 10545 ac_status=$?
7722 echo "$as_me:7722: \$? = $ac_status" >&5 10546 grep -v '^ *+' conftest.er1 >conftest.err
10547 rm -f conftest.er1
10548 cat conftest.err >&5
10549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } && 10550 (exit $ac_status); } &&
7724 { ac_try='test -s conftest$ac_exeext' 10551 { ac_try='test -z "$ac_c_werror_flag"
7725 { (eval echo "$as_me:7725: \"$ac_try\"") >&5 10552 || test ! -s conftest.err'
10553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10554 (eval $ac_try) 2>&5
10555 ac_status=$?
10556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10557 (exit $ac_status); }; } &&
10558 { ac_try='test -s conftest$ac_exeext'
10559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7726 (eval $ac_try) 2>&5 10560 (eval $ac_try) 2>&5
7727 ac_status=$? 10561 ac_status=$?
7728 echo "$as_me:7728: \$? = $ac_status" >&5 10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; }; then 10563 (exit $ac_status); }; }; then
7730 eval "$as_ac_var=yes" 10564 eval "$as_ac_var=yes"
7731else 10565else
7732 echo "$as_me: failed program was:" >&5 10566 echo "$as_me: failed program was:" >&5
7733cat conftest.$ac_ext >&5 10567sed 's/^/| /' conftest.$ac_ext >&5
10568
7734eval "$as_ac_var=no" 10569eval "$as_ac_var=no"
7735fi 10570fi
7736rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10571rm -f conftest.err conftest.$ac_objext \
10572 conftest$ac_exeext conftest.$ac_ext
7737fi 10573fi
7738echo "$as_me:7738: result: `eval echo '${'$as_ac_var'}'`" >&5 10574echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7739echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10575echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7740if test `eval echo '${'$as_ac_var'}'` = yes; then 10576if test `eval echo '${'$as_ac_var'}'` = yes; then
7741 cat >>confdefs.h <<EOF 10577 cat >>confdefs.h <<_ACEOF
7742#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10578#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7743EOF 10579_ACEOF
7744 10580
7745fi 10581fi
7746done 10582done
7747 10583
7748fi 10584fi
7749 10585
10586
10587echo "$as_me:$LINENO: checking whether h_errno is declared" >&5
10588echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6
10589if test "${ac_cv_have_decl_h_errno+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10591else
10592 cat >conftest.$ac_ext <<_ACEOF
10593/* confdefs.h. */
10594_ACEOF
10595cat confdefs.h >>conftest.$ac_ext
10596cat >>conftest.$ac_ext <<_ACEOF
10597/* end confdefs.h. */
10598#include <netdb.h>
10599
10600int
10601main ()
10602{
10603#ifndef h_errno
10604 char *p = (char *) h_errno;
10605#endif
10606
10607 ;
10608 return 0;
10609}
10610_ACEOF
10611rm -f conftest.$ac_objext
10612if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10613 (eval $ac_compile) 2>conftest.er1
10614 ac_status=$?
10615 grep -v '^ *+' conftest.er1 >conftest.err
10616 rm -f conftest.er1
10617 cat conftest.err >&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10624 ac_status=$?
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try='test -s conftest.$ac_objext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10630 ac_status=$?
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_have_decl_h_errno=yes
10634else
10635 echo "$as_me: failed program was:" >&5
10636sed 's/^/| /' conftest.$ac_ext >&5
10637
10638ac_cv_have_decl_h_errno=no
10639fi
10640rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10641fi
10642echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5
10643echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6
10644if test $ac_cv_have_decl_h_errno = yes; then
10645
10646cat >>confdefs.h <<_ACEOF
10647#define HAVE_DECL_H_ERRNO 1
10648_ACEOF
10649
10650
10651else
10652 cat >>confdefs.h <<_ACEOF
10653#define HAVE_DECL_H_ERRNO 0
10654_ACEOF
10655
10656
10657fi
10658
10659
10660
10661
7750for ac_func in setresuid 10662for ac_func in setresuid
7751do 10663do
7752as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10664as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7753echo "$as_me:7753: checking for $ac_func" >&5 10665echo "$as_me:$LINENO: checking for $ac_func" >&5
7754echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10666echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7755if eval "test \"\${$as_ac_var+set}\" = set"; then 10667if eval "test \"\${$as_ac_var+set}\" = set"; then
7756 echo $ECHO_N "(cached) $ECHO_C" >&6 10668 echo $ECHO_N "(cached) $ECHO_C" >&6
7757else 10669else
7758 cat >conftest.$ac_ext <<_ACEOF 10670 cat >conftest.$ac_ext <<_ACEOF
7759#line 7759 "configure" 10671/* confdefs.h. */
7760#include "confdefs.h" 10672_ACEOF
10673cat confdefs.h >>conftest.$ac_ext
10674cat >>conftest.$ac_ext <<_ACEOF
10675/* end confdefs.h. */
10676/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10678#define $ac_func innocuous_$ac_func
10679
7761/* System header to define __stub macros and hopefully few prototypes, 10680/* System header to define __stub macros and hopefully few prototypes,
7762 which can conflict with char $ac_func (); below. */ 10681 which can conflict with char $ac_func (); below.
7763#include <assert.h> 10682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10683 <limits.h> exists even on freestanding compilers. */
10684
10685#ifdef __STDC__
10686# include <limits.h>
10687#else
10688# include <assert.h>
10689#endif
10690
10691#undef $ac_func
10692
7764/* Override any gcc2 internal prototype to avoid an error. */ 10693/* Override any gcc2 internal prototype to avoid an error. */
7765#ifdef __cplusplus 10694#ifdef __cplusplus
7766extern "C" 10695extern "C"
10696{
7767#endif 10697#endif
7768/* We use char because int might match the return type of a gcc2 10698/* We use char because int might match the return type of a gcc2
7769 builtin and then its argument prototype would still apply. */ 10699 builtin and then its argument prototype would still apply. */
7770char $ac_func (); 10700char $ac_func ();
7771char (*f) ();
7772
7773int
7774main ()
7775{
7776/* The GNU C library defines this for functions which it implements 10701/* The GNU C library defines this for functions which it implements
7777 to always fail with ENOSYS. Some functions are actually named 10702 to always fail with ENOSYS. Some functions are actually named
7778 something starting with __ and the normal name is an alias. */ 10703 something starting with __ and the normal name is an alias. */
7779#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10704#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7780choke me 10705choke me
7781#else 10706#else
7782f = $ac_func; 10707char (*f) () = $ac_func;
10708#endif
10709#ifdef __cplusplus
10710}
7783#endif 10711#endif
7784 10712
10713int
10714main ()
10715{
10716return f != $ac_func;
7785 ; 10717 ;
7786 return 0; 10718 return 0;
7787} 10719}
7788_ACEOF 10720_ACEOF
7789rm -f conftest.$ac_objext conftest$ac_exeext 10721rm -f conftest.$ac_objext conftest$ac_exeext
7790if { (eval echo "$as_me:7790: \"$ac_link\"") >&5 10722if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7791 (eval $ac_link) 2>&5 10723 (eval $ac_link) 2>conftest.er1
7792 ac_status=$? 10724 ac_status=$?
7793 echo "$as_me:7793: \$? = $ac_status" >&5 10725 grep -v '^ *+' conftest.er1 >conftest.err
10726 rm -f conftest.er1
10727 cat conftest.err >&5
10728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); } && 10729 (exit $ac_status); } &&
7795 { ac_try='test -s conftest$ac_exeext' 10730 { ac_try='test -z "$ac_c_werror_flag"
7796 { (eval echo "$as_me:7796: \"$ac_try\"") >&5 10731 || test ! -s conftest.err'
10732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10733 (eval $ac_try) 2>&5
10734 ac_status=$?
10735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10736 (exit $ac_status); }; } &&
10737 { ac_try='test -s conftest$ac_exeext'
10738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7797 (eval $ac_try) 2>&5 10739 (eval $ac_try) 2>&5
7798 ac_status=$? 10740 ac_status=$?
7799 echo "$as_me:7799: \$? = $ac_status" >&5 10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7800 (exit $ac_status); }; }; then 10742 (exit $ac_status); }; }; then
7801 eval "$as_ac_var=yes" 10743 eval "$as_ac_var=yes"
7802else 10744else
7803 echo "$as_me: failed program was:" >&5 10745 echo "$as_me: failed program was:" >&5
7804cat conftest.$ac_ext >&5 10746sed 's/^/| /' conftest.$ac_ext >&5
10747
7805eval "$as_ac_var=no" 10748eval "$as_ac_var=no"
7806fi 10749fi
7807rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10750rm -f conftest.err conftest.$ac_objext \
10751 conftest$ac_exeext conftest.$ac_ext
7808fi 10752fi
7809echo "$as_me:7809: result: `eval echo '${'$as_ac_var'}'`" >&5 10753echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7810echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10754echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7811if test `eval echo '${'$as_ac_var'}'` = yes; then 10755if test `eval echo '${'$as_ac_var'}'` = yes; then
7812 cat >>confdefs.h <<EOF 10756 cat >>confdefs.h <<_ACEOF
7813#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10757#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7814EOF 10758_ACEOF
7815 10759
7816 echo "$as_me:7816: checking if setresuid seems to work" >&5 10760 echo "$as_me:$LINENO: checking if setresuid seems to work" >&5
7817echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6 10761echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6
7818 if test "$cross_compiling" = yes; then 10762 if test "$cross_compiling" = yes; then
7819 { { echo "$as_me:7819: error: cannot run test program while cross compiling" >&5 10763 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7820echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10764See \`config.log' for more details." >&5
10765echo "$as_me: error: cannot run test program while cross compiling
10766See \`config.log' for more details." >&2;}
7821 { (exit 1); exit 1; }; } 10767 { (exit 1); exit 1; }; }
7822else 10768else
7823 cat >conftest.$ac_ext <<_ACEOF 10769 cat >conftest.$ac_ext <<_ACEOF
7824#line 7824 "configure" 10770/* confdefs.h. */
7825#include "confdefs.h" 10771_ACEOF
10772cat confdefs.h >>conftest.$ac_ext
10773cat >>conftest.$ac_ext <<_ACEOF
10774/* end confdefs.h. */
7826 10775
7827#include <stdlib.h> 10776#include <stdlib.h>
7828#include <errno.h> 10777#include <errno.h>
@@ -7830,112 +10779,153 @@ int main(){errno=0; setresuid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);}
7830 10779
7831_ACEOF 10780_ACEOF
7832rm -f conftest$ac_exeext 10781rm -f conftest$ac_exeext
7833if { (eval echo "$as_me:7833: \"$ac_link\"") >&5 10782if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7834 (eval $ac_link) 2>&5 10783 (eval $ac_link) 2>&5
7835 ac_status=$? 10784 ac_status=$?
7836 echo "$as_me:7836: \$? = $ac_status" >&5 10785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7838 { (eval echo "$as_me:7838: \"$ac_try\"") >&5 10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7839 (eval $ac_try) 2>&5 10788 (eval $ac_try) 2>&5
7840 ac_status=$? 10789 ac_status=$?
7841 echo "$as_me:7841: \$? = $ac_status" >&5 10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); }; }; then 10791 (exit $ac_status); }; }; then
7843 echo "$as_me:7843: result: yes" >&5 10792 echo "$as_me:$LINENO: result: yes" >&5
7844echo "${ECHO_T}yes" >&6 10793echo "${ECHO_T}yes" >&6
7845else 10794else
7846 echo "$as_me: program exited with status $ac_status" >&5 10795 echo "$as_me: program exited with status $ac_status" >&5
7847echo "$as_me: failed program was:" >&5 10796echo "$as_me: failed program was:" >&5
7848cat conftest.$ac_ext >&5 10797sed 's/^/| /' conftest.$ac_ext >&5
7849cat >>confdefs.h <<\EOF 10798
10799( exit $ac_status )
10800cat >>confdefs.h <<\_ACEOF
7850#define BROKEN_SETRESUID 1 10801#define BROKEN_SETRESUID 1
7851EOF 10802_ACEOF
7852 10803
7853 echo "$as_me:7853: result: not implemented" >&5 10804 echo "$as_me:$LINENO: result: not implemented" >&5
7854echo "${ECHO_T}not implemented" >&6 10805echo "${ECHO_T}not implemented" >&6
7855 10806
7856fi 10807fi
7857rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10808rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7858fi 10809fi
7859 10810
7860fi 10811fi
7861done 10812done
7862 10813
10814
10815
7863for ac_func in setresgid 10816for ac_func in setresgid
7864do 10817do
7865as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10818as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7866echo "$as_me:7866: checking for $ac_func" >&5 10819echo "$as_me:$LINENO: checking for $ac_func" >&5
7867echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10820echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7868if eval "test \"\${$as_ac_var+set}\" = set"; then 10821if eval "test \"\${$as_ac_var+set}\" = set"; then
7869 echo $ECHO_N "(cached) $ECHO_C" >&6 10822 echo $ECHO_N "(cached) $ECHO_C" >&6
7870else 10823else
7871 cat >conftest.$ac_ext <<_ACEOF 10824 cat >conftest.$ac_ext <<_ACEOF
7872#line 7872 "configure" 10825/* confdefs.h. */
7873#include "confdefs.h" 10826_ACEOF
10827cat confdefs.h >>conftest.$ac_ext
10828cat >>conftest.$ac_ext <<_ACEOF
10829/* end confdefs.h. */
10830/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10832#define $ac_func innocuous_$ac_func
10833
7874/* System header to define __stub macros and hopefully few prototypes, 10834/* System header to define __stub macros and hopefully few prototypes,
7875 which can conflict with char $ac_func (); below. */ 10835 which can conflict with char $ac_func (); below.
7876#include <assert.h> 10836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10837 <limits.h> exists even on freestanding compilers. */
10838
10839#ifdef __STDC__
10840# include <limits.h>
10841#else
10842# include <assert.h>
10843#endif
10844
10845#undef $ac_func
10846
7877/* Override any gcc2 internal prototype to avoid an error. */ 10847/* Override any gcc2 internal prototype to avoid an error. */
7878#ifdef __cplusplus 10848#ifdef __cplusplus
7879extern "C" 10849extern "C"
10850{
7880#endif 10851#endif
7881/* We use char because int might match the return type of a gcc2 10852/* We use char because int might match the return type of a gcc2
7882 builtin and then its argument prototype would still apply. */ 10853 builtin and then its argument prototype would still apply. */
7883char $ac_func (); 10854char $ac_func ();
7884char (*f) ();
7885
7886int
7887main ()
7888{
7889/* The GNU C library defines this for functions which it implements 10855/* The GNU C library defines this for functions which it implements
7890 to always fail with ENOSYS. Some functions are actually named 10856 to always fail with ENOSYS. Some functions are actually named
7891 something starting with __ and the normal name is an alias. */ 10857 something starting with __ and the normal name is an alias. */
7892#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 10858#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7893choke me 10859choke me
7894#else 10860#else
7895f = $ac_func; 10861char (*f) () = $ac_func;
10862#endif
10863#ifdef __cplusplus
10864}
7896#endif 10865#endif
7897 10866
10867int
10868main ()
10869{
10870return f != $ac_func;
7898 ; 10871 ;
7899 return 0; 10872 return 0;
7900} 10873}
7901_ACEOF 10874_ACEOF
7902rm -f conftest.$ac_objext conftest$ac_exeext 10875rm -f conftest.$ac_objext conftest$ac_exeext
7903if { (eval echo "$as_me:7903: \"$ac_link\"") >&5 10876if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7904 (eval $ac_link) 2>&5 10877 (eval $ac_link) 2>conftest.er1
7905 ac_status=$? 10878 ac_status=$?
7906 echo "$as_me:7906: \$? = $ac_status" >&5 10879 grep -v '^ *+' conftest.er1 >conftest.err
10880 rm -f conftest.er1
10881 cat conftest.err >&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } && 10883 (exit $ac_status); } &&
7908 { ac_try='test -s conftest$ac_exeext' 10884 { ac_try='test -z "$ac_c_werror_flag"
7909 { (eval echo "$as_me:7909: \"$ac_try\"") >&5 10885 || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7910 (eval $ac_try) 2>&5 10887 (eval $ac_try) 2>&5
7911 ac_status=$? 10888 ac_status=$?
7912 echo "$as_me:7912: \$? = $ac_status" >&5 10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try='test -s conftest$ac_exeext'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10894 ac_status=$?
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); }; }; then 10896 (exit $ac_status); }; }; then
7914 eval "$as_ac_var=yes" 10897 eval "$as_ac_var=yes"
7915else 10898else
7916 echo "$as_me: failed program was:" >&5 10899 echo "$as_me: failed program was:" >&5
7917cat conftest.$ac_ext >&5 10900sed 's/^/| /' conftest.$ac_ext >&5
10901
7918eval "$as_ac_var=no" 10902eval "$as_ac_var=no"
7919fi 10903fi
7920rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 10904rm -f conftest.err conftest.$ac_objext \
10905 conftest$ac_exeext conftest.$ac_ext
7921fi 10906fi
7922echo "$as_me:7922: result: `eval echo '${'$as_ac_var'}'`" >&5 10907echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7923echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 10908echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7924if test `eval echo '${'$as_ac_var'}'` = yes; then 10909if test `eval echo '${'$as_ac_var'}'` = yes; then
7925 cat >>confdefs.h <<EOF 10910 cat >>confdefs.h <<_ACEOF
7926#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10911#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7927EOF 10912_ACEOF
7928 10913
7929 echo "$as_me:7929: checking if setresgid seems to work" >&5 10914 echo "$as_me:$LINENO: checking if setresgid seems to work" >&5
7930echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6 10915echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6
7931 if test "$cross_compiling" = yes; then 10916 if test "$cross_compiling" = yes; then
7932 { { echo "$as_me:7932: error: cannot run test program while cross compiling" >&5 10917 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
7933echo "$as_me: error: cannot run test program while cross compiling" >&2;} 10918See \`config.log' for more details." >&5
10919echo "$as_me: error: cannot run test program while cross compiling
10920See \`config.log' for more details." >&2;}
7934 { (exit 1); exit 1; }; } 10921 { (exit 1); exit 1; }; }
7935else 10922else
7936 cat >conftest.$ac_ext <<_ACEOF 10923 cat >conftest.$ac_ext <<_ACEOF
7937#line 7937 "configure" 10924/* confdefs.h. */
7938#include "confdefs.h" 10925_ACEOF
10926cat confdefs.h >>conftest.$ac_ext
10927cat >>conftest.$ac_ext <<_ACEOF
10928/* end confdefs.h. */
7939 10929
7940#include <stdlib.h> 10930#include <stdlib.h>
7941#include <errno.h> 10931#include <errno.h>
@@ -7943,446 +10933,658 @@ int main(){errno=0; setresgid(0,0,0); if (errno==ENOSYS) exit(1); else exit(0);}
7943 10933
7944_ACEOF 10934_ACEOF
7945rm -f conftest$ac_exeext 10935rm -f conftest$ac_exeext
7946if { (eval echo "$as_me:7946: \"$ac_link\"") >&5 10936if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7947 (eval $ac_link) 2>&5 10937 (eval $ac_link) 2>&5
7948 ac_status=$? 10938 ac_status=$?
7949 echo "$as_me:7949: \$? = $ac_status" >&5 10939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10940 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7951 { (eval echo "$as_me:7951: \"$ac_try\"") >&5 10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 (eval $ac_try) 2>&5 10942 (eval $ac_try) 2>&5
7953 ac_status=$? 10943 ac_status=$?
7954 echo "$as_me:7954: \$? = $ac_status" >&5 10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); }; }; then 10945 (exit $ac_status); }; }; then
7956 echo "$as_me:7956: result: yes" >&5 10946 echo "$as_me:$LINENO: result: yes" >&5
7957echo "${ECHO_T}yes" >&6 10947echo "${ECHO_T}yes" >&6
7958else 10948else
7959 echo "$as_me: program exited with status $ac_status" >&5 10949 echo "$as_me: program exited with status $ac_status" >&5
7960echo "$as_me: failed program was:" >&5 10950echo "$as_me: failed program was:" >&5
7961cat conftest.$ac_ext >&5 10951sed 's/^/| /' conftest.$ac_ext >&5
7962cat >>confdefs.h <<\EOF 10952
10953( exit $ac_status )
10954cat >>confdefs.h <<\_ACEOF
7963#define BROKEN_SETRESGID 1 10955#define BROKEN_SETRESGID 1
7964EOF 10956_ACEOF
7965 10957
7966 echo "$as_me:7966: result: not implemented" >&5 10958 echo "$as_me:$LINENO: result: not implemented" >&5
7967echo "${ECHO_T}not implemented" >&6 10959echo "${ECHO_T}not implemented" >&6
7968 10960
7969fi 10961fi
7970rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10962rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7971fi 10963fi
7972 10964
7973fi 10965fi
7974done 10966done
7975 10967
10968
10969
10970
7976for ac_func in gettimeofday time 10971for ac_func in gettimeofday time
7977do 10972do
7978as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10973as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7979echo "$as_me:7979: checking for $ac_func" >&5 10974echo "$as_me:$LINENO: checking for $ac_func" >&5
7980echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 10975echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7981if eval "test \"\${$as_ac_var+set}\" = set"; then 10976if eval "test \"\${$as_ac_var+set}\" = set"; then
7982 echo $ECHO_N "(cached) $ECHO_C" >&6 10977 echo $ECHO_N "(cached) $ECHO_C" >&6
7983else 10978else
7984 cat >conftest.$ac_ext <<_ACEOF 10979 cat >conftest.$ac_ext <<_ACEOF
7985#line 7985 "configure" 10980/* confdefs.h. */
7986#include "confdefs.h" 10981_ACEOF
10982cat confdefs.h >>conftest.$ac_ext
10983cat >>conftest.$ac_ext <<_ACEOF
10984/* end confdefs.h. */
10985/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10987#define $ac_func innocuous_$ac_func
10988
7987/* System header to define __stub macros and hopefully few prototypes, 10989/* System header to define __stub macros and hopefully few prototypes,
7988 which can conflict with char $ac_func (); below. */ 10990 which can conflict with char $ac_func (); below.
7989#include <assert.h> 10991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10992 <limits.h> exists even on freestanding compilers. */
10993
10994#ifdef __STDC__
10995# include <limits.h>
10996#else
10997# include <assert.h>
10998#endif
10999
11000#undef $ac_func
11001
7990/* Override any gcc2 internal prototype to avoid an error. */ 11002/* Override any gcc2 internal prototype to avoid an error. */
7991#ifdef __cplusplus 11003#ifdef __cplusplus
7992extern "C" 11004extern "C"
11005{
7993#endif 11006#endif
7994/* We use char because int might match the return type of a gcc2 11007/* We use char because int might match the return type of a gcc2
7995 builtin and then its argument prototype would still apply. */ 11008 builtin and then its argument prototype would still apply. */
7996char $ac_func (); 11009char $ac_func ();
7997char (*f) ();
7998
7999int
8000main ()
8001{
8002/* The GNU C library defines this for functions which it implements 11010/* The GNU C library defines this for functions which it implements
8003 to always fail with ENOSYS. Some functions are actually named 11011 to always fail with ENOSYS. Some functions are actually named
8004 something starting with __ and the normal name is an alias. */ 11012 something starting with __ and the normal name is an alias. */
8005#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11013#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8006choke me 11014choke me
8007#else 11015#else
8008f = $ac_func; 11016char (*f) () = $ac_func;
11017#endif
11018#ifdef __cplusplus
11019}
8009#endif 11020#endif
8010 11021
11022int
11023main ()
11024{
11025return f != $ac_func;
8011 ; 11026 ;
8012 return 0; 11027 return 0;
8013} 11028}
8014_ACEOF 11029_ACEOF
8015rm -f conftest.$ac_objext conftest$ac_exeext 11030rm -f conftest.$ac_objext conftest$ac_exeext
8016if { (eval echo "$as_me:8016: \"$ac_link\"") >&5 11031if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8017 (eval $ac_link) 2>&5 11032 (eval $ac_link) 2>conftest.er1
8018 ac_status=$? 11033 ac_status=$?
8019 echo "$as_me:8019: \$? = $ac_status" >&5 11034 grep -v '^ *+' conftest.er1 >conftest.err
11035 rm -f conftest.er1
11036 cat conftest.err >&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8020 (exit $ac_status); } && 11038 (exit $ac_status); } &&
8021 { ac_try='test -s conftest$ac_exeext' 11039 { ac_try='test -z "$ac_c_werror_flag"
8022 { (eval echo "$as_me:8022: \"$ac_try\"") >&5 11040 || test ! -s conftest.err'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8023 (eval $ac_try) 2>&5 11042 (eval $ac_try) 2>&5
8024 ac_status=$? 11043 ac_status=$?
8025 echo "$as_me:8025: \$? = $ac_status" >&5 11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; } &&
11046 { ac_try='test -s conftest$ac_exeext'
11047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048 (eval $ac_try) 2>&5
11049 ac_status=$?
11050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 (exit $ac_status); }; }; then 11051 (exit $ac_status); }; }; then
8027 eval "$as_ac_var=yes" 11052 eval "$as_ac_var=yes"
8028else 11053else
8029 echo "$as_me: failed program was:" >&5 11054 echo "$as_me: failed program was:" >&5
8030cat conftest.$ac_ext >&5 11055sed 's/^/| /' conftest.$ac_ext >&5
11056
8031eval "$as_ac_var=no" 11057eval "$as_ac_var=no"
8032fi 11058fi
8033rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11059rm -f conftest.err conftest.$ac_objext \
11060 conftest$ac_exeext conftest.$ac_ext
8034fi 11061fi
8035echo "$as_me:8035: result: `eval echo '${'$as_ac_var'}'`" >&5 11062echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8036echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11063echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8037if test `eval echo '${'$as_ac_var'}'` = yes; then 11064if test `eval echo '${'$as_ac_var'}'` = yes; then
8038 cat >>confdefs.h <<EOF 11065 cat >>confdefs.h <<_ACEOF
8039#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11066#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8040EOF 11067_ACEOF
8041 11068
8042fi 11069fi
8043done 11070done
8044 11071
11072
11073
11074
11075
11076
11077
8045for ac_func in endutent getutent getutid getutline pututline setutent 11078for ac_func in endutent getutent getutid getutline pututline setutent
8046do 11079do
8047as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11080as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8048echo "$as_me:8048: checking for $ac_func" >&5 11081echo "$as_me:$LINENO: checking for $ac_func" >&5
8049echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11082echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8050if eval "test \"\${$as_ac_var+set}\" = set"; then 11083if eval "test \"\${$as_ac_var+set}\" = set"; then
8051 echo $ECHO_N "(cached) $ECHO_C" >&6 11084 echo $ECHO_N "(cached) $ECHO_C" >&6
8052else 11085else
8053 cat >conftest.$ac_ext <<_ACEOF 11086 cat >conftest.$ac_ext <<_ACEOF
8054#line 8054 "configure" 11087/* confdefs.h. */
8055#include "confdefs.h" 11088_ACEOF
11089cat confdefs.h >>conftest.$ac_ext
11090cat >>conftest.$ac_ext <<_ACEOF
11091/* end confdefs.h. */
11092/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11094#define $ac_func innocuous_$ac_func
11095
8056/* System header to define __stub macros and hopefully few prototypes, 11096/* System header to define __stub macros and hopefully few prototypes,
8057 which can conflict with char $ac_func (); below. */ 11097 which can conflict with char $ac_func (); below.
8058#include <assert.h> 11098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11099 <limits.h> exists even on freestanding compilers. */
11100
11101#ifdef __STDC__
11102# include <limits.h>
11103#else
11104# include <assert.h>
11105#endif
11106
11107#undef $ac_func
11108
8059/* Override any gcc2 internal prototype to avoid an error. */ 11109/* Override any gcc2 internal prototype to avoid an error. */
8060#ifdef __cplusplus 11110#ifdef __cplusplus
8061extern "C" 11111extern "C"
11112{
8062#endif 11113#endif
8063/* We use char because int might match the return type of a gcc2 11114/* We use char because int might match the return type of a gcc2
8064 builtin and then its argument prototype would still apply. */ 11115 builtin and then its argument prototype would still apply. */
8065char $ac_func (); 11116char $ac_func ();
8066char (*f) ();
8067
8068int
8069main ()
8070{
8071/* The GNU C library defines this for functions which it implements 11117/* The GNU C library defines this for functions which it implements
8072 to always fail with ENOSYS. Some functions are actually named 11118 to always fail with ENOSYS. Some functions are actually named
8073 something starting with __ and the normal name is an alias. */ 11119 something starting with __ and the normal name is an alias. */
8074#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11120#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8075choke me 11121choke me
8076#else 11122#else
8077f = $ac_func; 11123char (*f) () = $ac_func;
11124#endif
11125#ifdef __cplusplus
11126}
8078#endif 11127#endif
8079 11128
11129int
11130main ()
11131{
11132return f != $ac_func;
8080 ; 11133 ;
8081 return 0; 11134 return 0;
8082} 11135}
8083_ACEOF 11136_ACEOF
8084rm -f conftest.$ac_objext conftest$ac_exeext 11137rm -f conftest.$ac_objext conftest$ac_exeext
8085if { (eval echo "$as_me:8085: \"$ac_link\"") >&5 11138if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8086 (eval $ac_link) 2>&5 11139 (eval $ac_link) 2>conftest.er1
8087 ac_status=$? 11140 ac_status=$?
8088 echo "$as_me:8088: \$? = $ac_status" >&5 11141 grep -v '^ *+' conftest.er1 >conftest.err
11142 rm -f conftest.er1
11143 cat conftest.err >&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8089 (exit $ac_status); } && 11145 (exit $ac_status); } &&
8090 { ac_try='test -s conftest$ac_exeext' 11146 { ac_try='test -z "$ac_c_werror_flag"
8091 { (eval echo "$as_me:8091: \"$ac_try\"") >&5 11147 || test ! -s conftest.err'
11148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11149 (eval $ac_try) 2>&5
11150 ac_status=$?
11151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11152 (exit $ac_status); }; } &&
11153 { ac_try='test -s conftest$ac_exeext'
11154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8092 (eval $ac_try) 2>&5 11155 (eval $ac_try) 2>&5
8093 ac_status=$? 11156 ac_status=$?
8094 echo "$as_me:8094: \$? = $ac_status" >&5 11157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095 (exit $ac_status); }; }; then 11158 (exit $ac_status); }; }; then
8096 eval "$as_ac_var=yes" 11159 eval "$as_ac_var=yes"
8097else 11160else
8098 echo "$as_me: failed program was:" >&5 11161 echo "$as_me: failed program was:" >&5
8099cat conftest.$ac_ext >&5 11162sed 's/^/| /' conftest.$ac_ext >&5
11163
8100eval "$as_ac_var=no" 11164eval "$as_ac_var=no"
8101fi 11165fi
8102rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11166rm -f conftest.err conftest.$ac_objext \
11167 conftest$ac_exeext conftest.$ac_ext
8103fi 11168fi
8104echo "$as_me:8104: result: `eval echo '${'$as_ac_var'}'`" >&5 11169echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8105echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11170echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8106if test `eval echo '${'$as_ac_var'}'` = yes; then 11171if test `eval echo '${'$as_ac_var'}'` = yes; then
8107 cat >>confdefs.h <<EOF 11172 cat >>confdefs.h <<_ACEOF
8108#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11173#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8109EOF 11174_ACEOF
8110 11175
8111fi 11176fi
8112done 11177done
8113 11178
11179
8114for ac_func in utmpname 11180for ac_func in utmpname
8115do 11181do
8116as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11182as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8117echo "$as_me:8117: checking for $ac_func" >&5 11183echo "$as_me:$LINENO: checking for $ac_func" >&5
8118echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11184echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8119if eval "test \"\${$as_ac_var+set}\" = set"; then 11185if eval "test \"\${$as_ac_var+set}\" = set"; then
8120 echo $ECHO_N "(cached) $ECHO_C" >&6 11186 echo $ECHO_N "(cached) $ECHO_C" >&6
8121else 11187else
8122 cat >conftest.$ac_ext <<_ACEOF 11188 cat >conftest.$ac_ext <<_ACEOF
8123#line 8123 "configure" 11189/* confdefs.h. */
8124#include "confdefs.h" 11190_ACEOF
11191cat confdefs.h >>conftest.$ac_ext
11192cat >>conftest.$ac_ext <<_ACEOF
11193/* end confdefs.h. */
11194/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11196#define $ac_func innocuous_$ac_func
11197
8125/* System header to define __stub macros and hopefully few prototypes, 11198/* System header to define __stub macros and hopefully few prototypes,
8126 which can conflict with char $ac_func (); below. */ 11199 which can conflict with char $ac_func (); below.
8127#include <assert.h> 11200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11201 <limits.h> exists even on freestanding compilers. */
11202
11203#ifdef __STDC__
11204# include <limits.h>
11205#else
11206# include <assert.h>
11207#endif
11208
11209#undef $ac_func
11210
8128/* Override any gcc2 internal prototype to avoid an error. */ 11211/* Override any gcc2 internal prototype to avoid an error. */
8129#ifdef __cplusplus 11212#ifdef __cplusplus
8130extern "C" 11213extern "C"
11214{
8131#endif 11215#endif
8132/* We use char because int might match the return type of a gcc2 11216/* We use char because int might match the return type of a gcc2
8133 builtin and then its argument prototype would still apply. */ 11217 builtin and then its argument prototype would still apply. */
8134char $ac_func (); 11218char $ac_func ();
8135char (*f) ();
8136
8137int
8138main ()
8139{
8140/* The GNU C library defines this for functions which it implements 11219/* The GNU C library defines this for functions which it implements
8141 to always fail with ENOSYS. Some functions are actually named 11220 to always fail with ENOSYS. Some functions are actually named
8142 something starting with __ and the normal name is an alias. */ 11221 something starting with __ and the normal name is an alias. */
8143#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11222#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8144choke me 11223choke me
8145#else 11224#else
8146f = $ac_func; 11225char (*f) () = $ac_func;
11226#endif
11227#ifdef __cplusplus
11228}
8147#endif 11229#endif
8148 11230
11231int
11232main ()
11233{
11234return f != $ac_func;
8149 ; 11235 ;
8150 return 0; 11236 return 0;
8151} 11237}
8152_ACEOF 11238_ACEOF
8153rm -f conftest.$ac_objext conftest$ac_exeext 11239rm -f conftest.$ac_objext conftest$ac_exeext
8154if { (eval echo "$as_me:8154: \"$ac_link\"") >&5 11240if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>&5 11241 (eval $ac_link) 2>conftest.er1
8156 ac_status=$? 11242 ac_status=$?
8157 echo "$as_me:8157: \$? = $ac_status" >&5 11243 grep -v '^ *+' conftest.er1 >conftest.err
11244 rm -f conftest.er1
11245 cat conftest.err >&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8158 (exit $ac_status); } && 11247 (exit $ac_status); } &&
8159 { ac_try='test -s conftest$ac_exeext' 11248 { ac_try='test -z "$ac_c_werror_flag"
8160 { (eval echo "$as_me:8160: \"$ac_try\"") >&5 11249 || test ! -s conftest.err'
11250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8161 (eval $ac_try) 2>&5 11251 (eval $ac_try) 2>&5
8162 ac_status=$? 11252 ac_status=$?
8163 echo "$as_me:8163: \$? = $ac_status" >&5 11253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254 (exit $ac_status); }; } &&
11255 { ac_try='test -s conftest$ac_exeext'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11258 ac_status=$?
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then 11260 (exit $ac_status); }; }; then
8165 eval "$as_ac_var=yes" 11261 eval "$as_ac_var=yes"
8166else 11262else
8167 echo "$as_me: failed program was:" >&5 11263 echo "$as_me: failed program was:" >&5
8168cat conftest.$ac_ext >&5 11264sed 's/^/| /' conftest.$ac_ext >&5
11265
8169eval "$as_ac_var=no" 11266eval "$as_ac_var=no"
8170fi 11267fi
8171rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11268rm -f conftest.err conftest.$ac_objext \
11269 conftest$ac_exeext conftest.$ac_ext
8172fi 11270fi
8173echo "$as_me:8173: result: `eval echo '${'$as_ac_var'}'`" >&5 11271echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8174echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11272echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8175if test `eval echo '${'$as_ac_var'}'` = yes; then 11273if test `eval echo '${'$as_ac_var'}'` = yes; then
8176 cat >>confdefs.h <<EOF 11274 cat >>confdefs.h <<_ACEOF
8177#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11275#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8178EOF 11276_ACEOF
8179 11277
8180fi 11278fi
8181done 11279done
8182 11280
11281
11282
11283
11284
11285
8183for ac_func in endutxent getutxent getutxid getutxline pututxline 11286for ac_func in endutxent getutxent getutxid getutxline pututxline
8184do 11287do
8185as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11288as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8186echo "$as_me:8186: checking for $ac_func" >&5 11289echo "$as_me:$LINENO: checking for $ac_func" >&5
8187echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11290echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8188if eval "test \"\${$as_ac_var+set}\" = set"; then 11291if eval "test \"\${$as_ac_var+set}\" = set"; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6 11292 echo $ECHO_N "(cached) $ECHO_C" >&6
8190else 11293else
8191 cat >conftest.$ac_ext <<_ACEOF 11294 cat >conftest.$ac_ext <<_ACEOF
8192#line 8192 "configure" 11295/* confdefs.h. */
8193#include "confdefs.h" 11296_ACEOF
11297cat confdefs.h >>conftest.$ac_ext
11298cat >>conftest.$ac_ext <<_ACEOF
11299/* end confdefs.h. */
11300/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11302#define $ac_func innocuous_$ac_func
11303
8194/* System header to define __stub macros and hopefully few prototypes, 11304/* System header to define __stub macros and hopefully few prototypes,
8195 which can conflict with char $ac_func (); below. */ 11305 which can conflict with char $ac_func (); below.
8196#include <assert.h> 11306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11307 <limits.h> exists even on freestanding compilers. */
11308
11309#ifdef __STDC__
11310# include <limits.h>
11311#else
11312# include <assert.h>
11313#endif
11314
11315#undef $ac_func
11316
8197/* Override any gcc2 internal prototype to avoid an error. */ 11317/* Override any gcc2 internal prototype to avoid an error. */
8198#ifdef __cplusplus 11318#ifdef __cplusplus
8199extern "C" 11319extern "C"
11320{
8200#endif 11321#endif
8201/* We use char because int might match the return type of a gcc2 11322/* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */ 11323 builtin and then its argument prototype would still apply. */
8203char $ac_func (); 11324char $ac_func ();
8204char (*f) ();
8205
8206int
8207main ()
8208{
8209/* The GNU C library defines this for functions which it implements 11325/* The GNU C library defines this for functions which it implements
8210 to always fail with ENOSYS. Some functions are actually named 11326 to always fail with ENOSYS. Some functions are actually named
8211 something starting with __ and the normal name is an alias. */ 11327 something starting with __ and the normal name is an alias. */
8212#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11328#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8213choke me 11329choke me
8214#else 11330#else
8215f = $ac_func; 11331char (*f) () = $ac_func;
11332#endif
11333#ifdef __cplusplus
11334}
8216#endif 11335#endif
8217 11336
11337int
11338main ()
11339{
11340return f != $ac_func;
8218 ; 11341 ;
8219 return 0; 11342 return 0;
8220} 11343}
8221_ACEOF 11344_ACEOF
8222rm -f conftest.$ac_objext conftest$ac_exeext 11345rm -f conftest.$ac_objext conftest$ac_exeext
8223if { (eval echo "$as_me:8223: \"$ac_link\"") >&5 11346if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8224 (eval $ac_link) 2>&5 11347 (eval $ac_link) 2>conftest.er1
8225 ac_status=$? 11348 ac_status=$?
8226 echo "$as_me:8226: \$? = $ac_status" >&5 11349 grep -v '^ *+' conftest.er1 >conftest.err
11350 rm -f conftest.er1
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8227 (exit $ac_status); } && 11353 (exit $ac_status); } &&
8228 { ac_try='test -s conftest$ac_exeext' 11354 { ac_try='test -z "$ac_c_werror_flag"
8229 { (eval echo "$as_me:8229: \"$ac_try\"") >&5 11355 || test ! -s conftest.err'
11356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11357 (eval $ac_try) 2>&5
11358 ac_status=$?
11359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11360 (exit $ac_status); }; } &&
11361 { ac_try='test -s conftest$ac_exeext'
11362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 (eval $ac_try) 2>&5 11363 (eval $ac_try) 2>&5
8231 ac_status=$? 11364 ac_status=$?
8232 echo "$as_me:8232: \$? = $ac_status" >&5 11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; }; then 11366 (exit $ac_status); }; }; then
8234 eval "$as_ac_var=yes" 11367 eval "$as_ac_var=yes"
8235else 11368else
8236 echo "$as_me: failed program was:" >&5 11369 echo "$as_me: failed program was:" >&5
8237cat conftest.$ac_ext >&5 11370sed 's/^/| /' conftest.$ac_ext >&5
11371
8238eval "$as_ac_var=no" 11372eval "$as_ac_var=no"
8239fi 11373fi
8240rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11374rm -f conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
8241fi 11376fi
8242echo "$as_me:8242: result: `eval echo '${'$as_ac_var'}'`" >&5 11377echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8243echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11378echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8244if test `eval echo '${'$as_ac_var'}'` = yes; then 11379if test `eval echo '${'$as_ac_var'}'` = yes; then
8245 cat >>confdefs.h <<EOF 11380 cat >>confdefs.h <<_ACEOF
8246#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11381#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8247EOF 11382_ACEOF
8248 11383
8249fi 11384fi
8250done 11385done
8251 11386
11387
11388
8252for ac_func in setutxent utmpxname 11389for ac_func in setutxent utmpxname
8253do 11390do
8254as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11391as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8255echo "$as_me:8255: checking for $ac_func" >&5 11392echo "$as_me:$LINENO: checking for $ac_func" >&5
8256echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 11393echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8257if eval "test \"\${$as_ac_var+set}\" = set"; then 11394if eval "test \"\${$as_ac_var+set}\" = set"; then
8258 echo $ECHO_N "(cached) $ECHO_C" >&6 11395 echo $ECHO_N "(cached) $ECHO_C" >&6
8259else 11396else
8260 cat >conftest.$ac_ext <<_ACEOF 11397 cat >conftest.$ac_ext <<_ACEOF
8261#line 8261 "configure" 11398/* confdefs.h. */
8262#include "confdefs.h" 11399_ACEOF
11400cat confdefs.h >>conftest.$ac_ext
11401cat >>conftest.$ac_ext <<_ACEOF
11402/* end confdefs.h. */
11403/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11405#define $ac_func innocuous_$ac_func
11406
8263/* System header to define __stub macros and hopefully few prototypes, 11407/* System header to define __stub macros and hopefully few prototypes,
8264 which can conflict with char $ac_func (); below. */ 11408 which can conflict with char $ac_func (); below.
8265#include <assert.h> 11409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11410 <limits.h> exists even on freestanding compilers. */
11411
11412#ifdef __STDC__
11413# include <limits.h>
11414#else
11415# include <assert.h>
11416#endif
11417
11418#undef $ac_func
11419
8266/* Override any gcc2 internal prototype to avoid an error. */ 11420/* Override any gcc2 internal prototype to avoid an error. */
8267#ifdef __cplusplus 11421#ifdef __cplusplus
8268extern "C" 11422extern "C"
11423{
8269#endif 11424#endif
8270/* We use char because int might match the return type of a gcc2 11425/* We use char because int might match the return type of a gcc2
8271 builtin and then its argument prototype would still apply. */ 11426 builtin and then its argument prototype would still apply. */
8272char $ac_func (); 11427char $ac_func ();
8273char (*f) ();
8274
8275int
8276main ()
8277{
8278/* The GNU C library defines this for functions which it implements 11428/* The GNU C library defines this for functions which it implements
8279 to always fail with ENOSYS. Some functions are actually named 11429 to always fail with ENOSYS. Some functions are actually named
8280 something starting with __ and the normal name is an alias. */ 11430 something starting with __ and the normal name is an alias. */
8281#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 11431#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8282choke me 11432choke me
8283#else 11433#else
8284f = $ac_func; 11434char (*f) () = $ac_func;
11435#endif
11436#ifdef __cplusplus
11437}
8285#endif 11438#endif
8286 11439
11440int
11441main ()
11442{
11443return f != $ac_func;
8287 ; 11444 ;
8288 return 0; 11445 return 0;
8289} 11446}
8290_ACEOF 11447_ACEOF
8291rm -f conftest.$ac_objext conftest$ac_exeext 11448rm -f conftest.$ac_objext conftest$ac_exeext
8292if { (eval echo "$as_me:8292: \"$ac_link\"") >&5 11449if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8293 (eval $ac_link) 2>&5 11450 (eval $ac_link) 2>conftest.er1
8294 ac_status=$? 11451 ac_status=$?
8295 echo "$as_me:8295: \$? = $ac_status" >&5 11452 grep -v '^ *+' conftest.er1 >conftest.err
11453 rm -f conftest.er1
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); } && 11456 (exit $ac_status); } &&
8297 { ac_try='test -s conftest$ac_exeext' 11457 { ac_try='test -z "$ac_c_werror_flag"
8298 { (eval echo "$as_me:8298: \"$ac_try\"") >&5 11458 || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 (eval $ac_try) 2>&5 11460 (eval $ac_try) 2>&5
8300 ac_status=$? 11461 ac_status=$?
8301 echo "$as_me:8301: \$? = $ac_status" >&5 11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try='test -s conftest$ac_exeext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11467 ac_status=$?
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then 11469 (exit $ac_status); }; }; then
8303 eval "$as_ac_var=yes" 11470 eval "$as_ac_var=yes"
8304else 11471else
8305 echo "$as_me: failed program was:" >&5 11472 echo "$as_me: failed program was:" >&5
8306cat conftest.$ac_ext >&5 11473sed 's/^/| /' conftest.$ac_ext >&5
11474
8307eval "$as_ac_var=no" 11475eval "$as_ac_var=no"
8308fi 11476fi
8309rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11477rm -f conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
8310fi 11479fi
8311echo "$as_me:8311: result: `eval echo '${'$as_ac_var'}'`" >&5 11480echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8312echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 11481echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8313if test `eval echo '${'$as_ac_var'}'` = yes; then 11482if test `eval echo '${'$as_ac_var'}'` = yes; then
8314 cat >>confdefs.h <<EOF 11483 cat >>confdefs.h <<_ACEOF
8315#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11484#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8316EOF 11485_ACEOF
8317 11486
8318fi 11487fi
8319done 11488done
8320 11489
8321echo "$as_me:8321: checking for daemon" >&5 11490
11491echo "$as_me:$LINENO: checking for daemon" >&5
8322echo $ECHO_N "checking for daemon... $ECHO_C" >&6 11492echo $ECHO_N "checking for daemon... $ECHO_C" >&6
8323if test "${ac_cv_func_daemon+set}" = set; then 11493if test "${ac_cv_func_daemon+set}" = set; then
8324 echo $ECHO_N "(cached) $ECHO_C" >&6 11494 echo $ECHO_N "(cached) $ECHO_C" >&6
8325else 11495else
8326 cat >conftest.$ac_ext <<_ACEOF 11496 cat >conftest.$ac_ext <<_ACEOF
8327#line 8327 "configure" 11497/* confdefs.h. */
8328#include "confdefs.h" 11498_ACEOF
11499cat confdefs.h >>conftest.$ac_ext
11500cat >>conftest.$ac_ext <<_ACEOF
11501/* end confdefs.h. */
11502/* Define daemon to an innocuous variant, in case <limits.h> declares daemon.
11503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11504#define daemon innocuous_daemon
11505
8329/* System header to define __stub macros and hopefully few prototypes, 11506/* System header to define __stub macros and hopefully few prototypes,
8330 which can conflict with char daemon (); below. */ 11507 which can conflict with char daemon (); below.
8331#include <assert.h> 11508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11509 <limits.h> exists even on freestanding compilers. */
11510
11511#ifdef __STDC__
11512# include <limits.h>
11513#else
11514# include <assert.h>
11515#endif
11516
11517#undef daemon
11518
8332/* Override any gcc2 internal prototype to avoid an error. */ 11519/* Override any gcc2 internal prototype to avoid an error. */
8333#ifdef __cplusplus 11520#ifdef __cplusplus
8334extern "C" 11521extern "C"
11522{
8335#endif 11523#endif
8336/* We use char because int might match the return type of a gcc2 11524/* We use char because int might match the return type of a gcc2
8337 builtin and then its argument prototype would still apply. */ 11525 builtin and then its argument prototype would still apply. */
8338char daemon (); 11526char daemon ();
8339char (*f) ();
8340
8341int
8342main ()
8343{
8344/* The GNU C library defines this for functions which it implements 11527/* The GNU C library defines this for functions which it implements
8345 to always fail with ENOSYS. Some functions are actually named 11528 to always fail with ENOSYS. Some functions are actually named
8346 something starting with __ and the normal name is an alias. */ 11529 something starting with __ and the normal name is an alias. */
8347#if defined (__stub_daemon) || defined (__stub___daemon) 11530#if defined (__stub_daemon) || defined (__stub___daemon)
8348choke me 11531choke me
8349#else 11532#else
8350f = daemon; 11533char (*f) () = daemon;
11534#endif
11535#ifdef __cplusplus
11536}
8351#endif 11537#endif
8352 11538
11539int
11540main ()
11541{
11542return f != daemon;
8353 ; 11543 ;
8354 return 0; 11544 return 0;
8355} 11545}
8356_ACEOF 11546_ACEOF
8357rm -f conftest.$ac_objext conftest$ac_exeext 11547rm -f conftest.$ac_objext conftest$ac_exeext
8358if { (eval echo "$as_me:8358: \"$ac_link\"") >&5 11548if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359 (eval $ac_link) 2>&5 11549 (eval $ac_link) 2>conftest.er1
8360 ac_status=$? 11550 ac_status=$?
8361 echo "$as_me:8361: \$? = $ac_status" >&5 11551 grep -v '^ *+' conftest.er1 >conftest.err
11552 rm -f conftest.er1
11553 cat conftest.err >&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } && 11555 (exit $ac_status); } &&
8363 { ac_try='test -s conftest$ac_exeext' 11556 { ac_try='test -z "$ac_c_werror_flag"
8364 { (eval echo "$as_me:8364: \"$ac_try\"") >&5 11557 || test ! -s conftest.err'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; } &&
11563 { ac_try='test -s conftest$ac_exeext'
11564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8365 (eval $ac_try) 2>&5 11565 (eval $ac_try) 2>&5
8366 ac_status=$? 11566 ac_status=$?
8367 echo "$as_me:8367: \$? = $ac_status" >&5 11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then 11568 (exit $ac_status); }; }; then
8369 ac_cv_func_daemon=yes 11569 ac_cv_func_daemon=yes
8370else 11570else
8371 echo "$as_me: failed program was:" >&5 11571 echo "$as_me: failed program was:" >&5
8372cat conftest.$ac_ext >&5 11572sed 's/^/| /' conftest.$ac_ext >&5
11573
8373ac_cv_func_daemon=no 11574ac_cv_func_daemon=no
8374fi 11575fi
8375rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11576rm -f conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
8376fi 11578fi
8377echo "$as_me:8377: result: $ac_cv_func_daemon" >&5 11579echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
8378echo "${ECHO_T}$ac_cv_func_daemon" >&6 11580echo "${ECHO_T}$ac_cv_func_daemon" >&6
8379if test $ac_cv_func_daemon = yes; then 11581if test $ac_cv_func_daemon = yes; then
8380 cat >>confdefs.h <<\EOF 11582 cat >>confdefs.h <<\_ACEOF
8381#define HAVE_DAEMON 1 11583#define HAVE_DAEMON 1
8382EOF 11584_ACEOF
8383 11585
8384else 11586else
8385 echo "$as_me:8385: checking for daemon in -lbsd" >&5 11587 echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
8386echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6 11588echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6
8387if test "${ac_cv_lib_bsd_daemon+set}" = set; then 11589if test "${ac_cv_lib_bsd_daemon+set}" = set; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6 11590 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8390,8 +11592,11 @@ else
8390 ac_check_lib_save_LIBS=$LIBS 11592 ac_check_lib_save_LIBS=$LIBS
8391LIBS="-lbsd $LIBS" 11593LIBS="-lbsd $LIBS"
8392cat >conftest.$ac_ext <<_ACEOF 11594cat >conftest.$ac_ext <<_ACEOF
8393#line 8393 "configure" 11595/* confdefs.h. */
8394#include "confdefs.h" 11596_ACEOF
11597cat confdefs.h >>conftest.$ac_ext
11598cat >>conftest.$ac_ext <<_ACEOF
11599/* end confdefs.h. */
8395 11600
8396/* Override any gcc2 internal prototype to avoid an error. */ 11601/* Override any gcc2 internal prototype to avoid an error. */
8397#ifdef __cplusplus 11602#ifdef __cplusplus
@@ -8409,102 +11614,148 @@ daemon ();
8409} 11614}
8410_ACEOF 11615_ACEOF
8411rm -f conftest.$ac_objext conftest$ac_exeext 11616rm -f conftest.$ac_objext conftest$ac_exeext
8412if { (eval echo "$as_me:8412: \"$ac_link\"") >&5 11617if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8413 (eval $ac_link) 2>&5 11618 (eval $ac_link) 2>conftest.er1
8414 ac_status=$? 11619 ac_status=$?
8415 echo "$as_me:8415: \$? = $ac_status" >&5 11620 grep -v '^ *+' conftest.er1 >conftest.err
11621 rm -f conftest.er1
11622 cat conftest.err >&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } && 11624 (exit $ac_status); } &&
8417 { ac_try='test -s conftest$ac_exeext' 11625 { ac_try='test -z "$ac_c_werror_flag"
8418 { (eval echo "$as_me:8418: \"$ac_try\"") >&5 11626 || test ! -s conftest.err'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8419 (eval $ac_try) 2>&5 11628 (eval $ac_try) 2>&5
8420 ac_status=$? 11629 ac_status=$?
8421 echo "$as_me:8421: \$? = $ac_status" >&5 11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; } &&
11632 { ac_try='test -s conftest$ac_exeext'
11633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11634 (eval $ac_try) 2>&5
11635 ac_status=$?
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; }; then 11637 (exit $ac_status); }; }; then
8423 ac_cv_lib_bsd_daemon=yes 11638 ac_cv_lib_bsd_daemon=yes
8424else 11639else
8425 echo "$as_me: failed program was:" >&5 11640 echo "$as_me: failed program was:" >&5
8426cat conftest.$ac_ext >&5 11641sed 's/^/| /' conftest.$ac_ext >&5
11642
8427ac_cv_lib_bsd_daemon=no 11643ac_cv_lib_bsd_daemon=no
8428fi 11644fi
8429rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11645rm -f conftest.err conftest.$ac_objext \
11646 conftest$ac_exeext conftest.$ac_ext
8430LIBS=$ac_check_lib_save_LIBS 11647LIBS=$ac_check_lib_save_LIBS
8431fi 11648fi
8432echo "$as_me:8432: result: $ac_cv_lib_bsd_daemon" >&5 11649echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
8433echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6 11650echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6
8434if test $ac_cv_lib_bsd_daemon = yes; then 11651if test $ac_cv_lib_bsd_daemon = yes; then
8435 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\EOF 11652 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
8436#define HAVE_DAEMON 1 11653#define HAVE_DAEMON 1
8437EOF 11654_ACEOF
8438 11655
8439fi 11656fi
8440 11657
11658
8441fi 11659fi
8442 11660
8443echo "$as_me:8443: checking for getpagesize" >&5 11661
11662echo "$as_me:$LINENO: checking for getpagesize" >&5
8444echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6 11663echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6
8445if test "${ac_cv_func_getpagesize+set}" = set; then 11664if test "${ac_cv_func_getpagesize+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6 11665 echo $ECHO_N "(cached) $ECHO_C" >&6
8447else 11666else
8448 cat >conftest.$ac_ext <<_ACEOF 11667 cat >conftest.$ac_ext <<_ACEOF
8449#line 8449 "configure" 11668/* confdefs.h. */
8450#include "confdefs.h" 11669_ACEOF
11670cat confdefs.h >>conftest.$ac_ext
11671cat >>conftest.$ac_ext <<_ACEOF
11672/* end confdefs.h. */
11673/* Define getpagesize to an innocuous variant, in case <limits.h> declares getpagesize.
11674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11675#define getpagesize innocuous_getpagesize
11676
8451/* System header to define __stub macros and hopefully few prototypes, 11677/* System header to define __stub macros and hopefully few prototypes,
8452 which can conflict with char getpagesize (); below. */ 11678 which can conflict with char getpagesize (); below.
8453#include <assert.h> 11679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11680 <limits.h> exists even on freestanding compilers. */
11681
11682#ifdef __STDC__
11683# include <limits.h>
11684#else
11685# include <assert.h>
11686#endif
11687
11688#undef getpagesize
11689
8454/* Override any gcc2 internal prototype to avoid an error. */ 11690/* Override any gcc2 internal prototype to avoid an error. */
8455#ifdef __cplusplus 11691#ifdef __cplusplus
8456extern "C" 11692extern "C"
11693{
8457#endif 11694#endif
8458/* We use char because int might match the return type of a gcc2 11695/* We use char because int might match the return type of a gcc2
8459 builtin and then its argument prototype would still apply. */ 11696 builtin and then its argument prototype would still apply. */
8460char getpagesize (); 11697char getpagesize ();
8461char (*f) ();
8462
8463int
8464main ()
8465{
8466/* The GNU C library defines this for functions which it implements 11698/* The GNU C library defines this for functions which it implements
8467 to always fail with ENOSYS. Some functions are actually named 11699 to always fail with ENOSYS. Some functions are actually named
8468 something starting with __ and the normal name is an alias. */ 11700 something starting with __ and the normal name is an alias. */
8469#if defined (__stub_getpagesize) || defined (__stub___getpagesize) 11701#if defined (__stub_getpagesize) || defined (__stub___getpagesize)
8470choke me 11702choke me
8471#else 11703#else
8472f = getpagesize; 11704char (*f) () = getpagesize;
11705#endif
11706#ifdef __cplusplus
11707}
8473#endif 11708#endif
8474 11709
11710int
11711main ()
11712{
11713return f != getpagesize;
8475 ; 11714 ;
8476 return 0; 11715 return 0;
8477} 11716}
8478_ACEOF 11717_ACEOF
8479rm -f conftest.$ac_objext conftest$ac_exeext 11718rm -f conftest.$ac_objext conftest$ac_exeext
8480if { (eval echo "$as_me:8480: \"$ac_link\"") >&5 11719if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8481 (eval $ac_link) 2>&5 11720 (eval $ac_link) 2>conftest.er1
8482 ac_status=$? 11721 ac_status=$?
8483 echo "$as_me:8483: \$? = $ac_status" >&5 11722 grep -v '^ *+' conftest.er1 >conftest.err
11723 rm -f conftest.er1
11724 cat conftest.err >&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } && 11726 (exit $ac_status); } &&
8485 { ac_try='test -s conftest$ac_exeext' 11727 { ac_try='test -z "$ac_c_werror_flag"
8486 { (eval echo "$as_me:8486: \"$ac_try\"") >&5 11728 || test ! -s conftest.err'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8487 (eval $ac_try) 2>&5 11730 (eval $ac_try) 2>&5
8488 ac_status=$? 11731 ac_status=$?
8489 echo "$as_me:8489: \$? = $ac_status" >&5 11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11737 ac_status=$?
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; }; then 11739 (exit $ac_status); }; }; then
8491 ac_cv_func_getpagesize=yes 11740 ac_cv_func_getpagesize=yes
8492else 11741else
8493 echo "$as_me: failed program was:" >&5 11742 echo "$as_me: failed program was:" >&5
8494cat conftest.$ac_ext >&5 11743sed 's/^/| /' conftest.$ac_ext >&5
11744
8495ac_cv_func_getpagesize=no 11745ac_cv_func_getpagesize=no
8496fi 11746fi
8497rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11747rm -f conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
8498fi 11749fi
8499echo "$as_me:8499: result: $ac_cv_func_getpagesize" >&5 11750echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
8500echo "${ECHO_T}$ac_cv_func_getpagesize" >&6 11751echo "${ECHO_T}$ac_cv_func_getpagesize" >&6
8501if test $ac_cv_func_getpagesize = yes; then 11752if test $ac_cv_func_getpagesize = yes; then
8502 cat >>confdefs.h <<\EOF 11753 cat >>confdefs.h <<\_ACEOF
8503#define HAVE_GETPAGESIZE 1 11754#define HAVE_GETPAGESIZE 1
8504EOF 11755_ACEOF
8505 11756
8506else 11757else
8507 echo "$as_me:8507: checking for getpagesize in -lucb" >&5 11758 echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
8508echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6 11759echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6
8509if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then 11760if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
8510 echo $ECHO_N "(cached) $ECHO_C" >&6 11761 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -8512,8 +11763,11 @@ else
8512 ac_check_lib_save_LIBS=$LIBS 11763 ac_check_lib_save_LIBS=$LIBS
8513LIBS="-lucb $LIBS" 11764LIBS="-lucb $LIBS"
8514cat >conftest.$ac_ext <<_ACEOF 11765cat >conftest.$ac_ext <<_ACEOF
8515#line 8515 "configure" 11766/* confdefs.h. */
8516#include "confdefs.h" 11767_ACEOF
11768cat confdefs.h >>conftest.$ac_ext
11769cat >>conftest.$ac_ext <<_ACEOF
11770/* end confdefs.h. */
8517 11771
8518/* Override any gcc2 internal prototype to avoid an error. */ 11772/* Override any gcc2 internal prototype to avoid an error. */
8519#ifdef __cplusplus 11773#ifdef __cplusplus
@@ -8531,101 +11785,185 @@ getpagesize ();
8531} 11785}
8532_ACEOF 11786_ACEOF
8533rm -f conftest.$ac_objext conftest$ac_exeext 11787rm -f conftest.$ac_objext conftest$ac_exeext
8534if { (eval echo "$as_me:8534: \"$ac_link\"") >&5 11788if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8535 (eval $ac_link) 2>&5 11789 (eval $ac_link) 2>conftest.er1
8536 ac_status=$? 11790 ac_status=$?
8537 echo "$as_me:8537: \$? = $ac_status" >&5 11791 grep -v '^ *+' conftest.er1 >conftest.err
11792 rm -f conftest.er1
11793 cat conftest.err >&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } && 11795 (exit $ac_status); } &&
8539 { ac_try='test -s conftest$ac_exeext' 11796 { ac_try='test -z "$ac_c_werror_flag"
8540 { (eval echo "$as_me:8540: \"$ac_try\"") >&5 11797 || test ! -s conftest.err'
11798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11799 (eval $ac_try) 2>&5
11800 ac_status=$?
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); }; } &&
11803 { ac_try='test -s conftest$ac_exeext'
11804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8541 (eval $ac_try) 2>&5 11805 (eval $ac_try) 2>&5
8542 ac_status=$? 11806 ac_status=$?
8543 echo "$as_me:8543: \$? = $ac_status" >&5 11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); }; }; then 11808 (exit $ac_status); }; }; then
8545 ac_cv_lib_ucb_getpagesize=yes 11809 ac_cv_lib_ucb_getpagesize=yes
8546else 11810else
8547 echo "$as_me: failed program was:" >&5 11811 echo "$as_me: failed program was:" >&5
8548cat conftest.$ac_ext >&5 11812sed 's/^/| /' conftest.$ac_ext >&5
11813
8549ac_cv_lib_ucb_getpagesize=no 11814ac_cv_lib_ucb_getpagesize=no
8550fi 11815fi
8551rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 11816rm -f conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
8552LIBS=$ac_check_lib_save_LIBS 11818LIBS=$ac_check_lib_save_LIBS
8553fi 11819fi
8554echo "$as_me:8554: result: $ac_cv_lib_ucb_getpagesize" >&5 11820echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
8555echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6 11821echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6
8556if test $ac_cv_lib_ucb_getpagesize = yes; then 11822if test $ac_cv_lib_ucb_getpagesize = yes; then
8557 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\EOF 11823 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
8558#define HAVE_GETPAGESIZE 1 11824#define HAVE_GETPAGESIZE 1
8559EOF 11825_ACEOF
8560 11826
8561fi 11827fi
8562 11828
11829
8563fi 11830fi
8564 11831
11832
8565# Check for broken snprintf 11833# Check for broken snprintf
8566if test "x$ac_cv_func_snprintf" = "xyes" ; then 11834if test "x$ac_cv_func_snprintf" = "xyes" ; then
8567 echo "$as_me:8567: checking whether snprintf correctly terminates long strings" >&5 11835 echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
8568echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6 11836echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6
8569 if test "$cross_compiling" = yes; then 11837 if test "$cross_compiling" = yes; then
8570 { { echo "$as_me:8570: error: cannot run test program while cross compiling" >&5 11838 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8571echo "$as_me: error: cannot run test program while cross compiling" >&2;} 11839See \`config.log' for more details." >&5
11840echo "$as_me: error: cannot run test program while cross compiling
11841See \`config.log' for more details." >&2;}
8572 { (exit 1); exit 1; }; } 11842 { (exit 1); exit 1; }; }
8573else 11843else
8574 cat >conftest.$ac_ext <<_ACEOF 11844 cat >conftest.$ac_ext <<_ACEOF
8575#line 8575 "configure" 11845/* confdefs.h. */
8576#include "confdefs.h" 11846_ACEOF
11847cat confdefs.h >>conftest.$ac_ext
11848cat >>conftest.$ac_ext <<_ACEOF
11849/* end confdefs.h. */
8577 11850
8578#include <stdio.h> 11851#include <stdio.h>
8579int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');} 11852int main(void){char b[5];snprintf(b,5,"123456789");exit(b[4]!='\0');}
8580 11853
8581_ACEOF 11854_ACEOF
8582rm -f conftest$ac_exeext 11855rm -f conftest$ac_exeext
8583if { (eval echo "$as_me:8583: \"$ac_link\"") >&5 11856if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8584 (eval $ac_link) 2>&5 11857 (eval $ac_link) 2>&5
8585 ac_status=$? 11858 ac_status=$?
8586 echo "$as_me:8586: \$? = $ac_status" >&5 11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11860 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8588 { (eval echo "$as_me:8588: \"$ac_try\"") >&5 11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8589 (eval $ac_try) 2>&5 11862 (eval $ac_try) 2>&5
8590 ac_status=$? 11863 ac_status=$?
8591 echo "$as_me:8591: \$? = $ac_status" >&5 11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8592 (exit $ac_status); }; }; then 11865 (exit $ac_status); }; }; then
8593 echo "$as_me:8593: result: yes" >&5 11866 echo "$as_me:$LINENO: result: yes" >&5
8594echo "${ECHO_T}yes" >&6 11867echo "${ECHO_T}yes" >&6
8595else 11868else
8596 echo "$as_me: program exited with status $ac_status" >&5 11869 echo "$as_me: program exited with status $ac_status" >&5
8597echo "$as_me: failed program was:" >&5 11870echo "$as_me: failed program was:" >&5
8598cat conftest.$ac_ext >&5 11871sed 's/^/| /' conftest.$ac_ext >&5
11872
11873( exit $ac_status )
8599 11874
8600 echo "$as_me:8600: result: no" >&5 11875 echo "$as_me:$LINENO: result: no" >&5
8601echo "${ECHO_T}no" >&6 11876echo "${ECHO_T}no" >&6
8602 cat >>confdefs.h <<\EOF 11877 cat >>confdefs.h <<\_ACEOF
8603#define BROKEN_SNPRINTF 1 11878#define BROKEN_SNPRINTF 1
8604EOF 11879_ACEOF
8605 11880
8606 { echo "$as_me:8606: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 11881 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
8607echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 11882echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
8608 11883
11884
11885fi
11886rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8609fi 11887fi
8610rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8611fi 11888fi
11889
11890# Check for missing getpeereid (or equiv) support
11891NO_PEERCHECK=""
11892if test "x$ac_cv_func_getpeereid" != "xyes" ; then
11893 echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5
11894echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6
11895 cat >conftest.$ac_ext <<_ACEOF
11896/* confdefs.h. */
11897_ACEOF
11898cat confdefs.h >>conftest.$ac_ext
11899cat >>conftest.$ac_ext <<_ACEOF
11900/* end confdefs.h. */
11901#include <sys/types.h>
11902 #include <sys/socket.h>
11903int
11904main ()
11905{
11906int i = SO_PEERCRED;
11907 ;
11908 return 0;
11909}
11910_ACEOF
11911rm -f conftest.$ac_objext
11912if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11913 (eval $ac_compile) 2>conftest.er1
11914 ac_status=$?
11915 grep -v '^ *+' conftest.er1 >conftest.err
11916 rm -f conftest.er1
11917 cat conftest.err >&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try='test -z "$ac_c_werror_flag"
11921 || test ! -s conftest.err'
11922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923 (eval $ac_try) 2>&5
11924 ac_status=$?
11925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926 (exit $ac_status); }; } &&
11927 { ac_try='test -s conftest.$ac_objext'
11928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11929 (eval $ac_try) 2>&5
11930 ac_status=$?
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); }; }; then
11933 echo "$as_me:$LINENO: result: yes" >&5
11934echo "${ECHO_T}yes" >&6
11935else
11936 echo "$as_me: failed program was:" >&5
11937sed 's/^/| /' conftest.$ac_ext >&5
11938
11939echo "$as_me:$LINENO: result: no" >&5
11940echo "${ECHO_T}no" >&6
11941 NO_PEERCHECK=1
11942
11943fi
11944rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8612fi 11945fi
8613 11946
8614if test "x$ac_cv_func_mkdtemp" = "xyes" ; then 11947if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
8615echo "$as_me:8615: checking for (overly) strict mkstemp" >&5 11948echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
8616echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6 11949echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6
8617if test "$cross_compiling" = yes; then 11950if test "$cross_compiling" = yes; then
8618 11951
8619 echo "$as_me:8619: result: yes" >&5 11952 echo "$as_me:$LINENO: result: yes" >&5
8620echo "${ECHO_T}yes" >&6 11953echo "${ECHO_T}yes" >&6
8621 cat >>confdefs.h <<\EOF 11954 cat >>confdefs.h <<\_ACEOF
8622#define HAVE_STRICT_MKSTEMP 1 11955#define HAVE_STRICT_MKSTEMP 1
8623EOF 11956_ACEOF
11957
11958
8624 11959
8625else 11960else
8626 cat >conftest.$ac_ext <<_ACEOF 11961 cat >conftest.$ac_ext <<_ACEOF
8627#line 8627 "configure" 11962/* confdefs.h. */
8628#include "confdefs.h" 11963_ACEOF
11964cat confdefs.h >>conftest.$ac_ext
11965cat >>conftest.$ac_ext <<_ACEOF
11966/* end confdefs.h. */
8629 11967
8630#include <stdlib.h> 11968#include <stdlib.h>
8631main() { char template[]="conftest.mkstemp-test"; 11969main() { char template[]="conftest.mkstemp-test";
@@ -8636,47 +11974,55 @@ unlink(template); exit(0);
8636 11974
8637_ACEOF 11975_ACEOF
8638rm -f conftest$ac_exeext 11976rm -f conftest$ac_exeext
8639if { (eval echo "$as_me:8639: \"$ac_link\"") >&5 11977if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>&5 11978 (eval $ac_link) 2>&5
8641 ac_status=$? 11979 ac_status=$?
8642 echo "$as_me:8642: \$? = $ac_status" >&5 11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8644 { (eval echo "$as_me:8644: \"$ac_try\"") >&5 11982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8645 (eval $ac_try) 2>&5 11983 (eval $ac_try) 2>&5
8646 ac_status=$? 11984 ac_status=$?
8647 echo "$as_me:8647: \$? = $ac_status" >&5 11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648 (exit $ac_status); }; }; then 11986 (exit $ac_status); }; }; then
8649 11987
8650 echo "$as_me:8650: result: no" >&5 11988 echo "$as_me:$LINENO: result: no" >&5
8651echo "${ECHO_T}no" >&6 11989echo "${ECHO_T}no" >&6
8652 11990
8653else 11991else
8654 echo "$as_me: program exited with status $ac_status" >&5 11992 echo "$as_me: program exited with status $ac_status" >&5
8655echo "$as_me: failed program was:" >&5 11993echo "$as_me: failed program was:" >&5
8656cat conftest.$ac_ext >&5 11994sed 's/^/| /' conftest.$ac_ext >&5
8657 11995
8658 echo "$as_me:8658: result: yes" >&5 11996( exit $ac_status )
11997
11998 echo "$as_me:$LINENO: result: yes" >&5
8659echo "${ECHO_T}yes" >&6 11999echo "${ECHO_T}yes" >&6
8660 cat >>confdefs.h <<\EOF 12000 cat >>confdefs.h <<\_ACEOF
8661#define HAVE_STRICT_MKSTEMP 1 12001#define HAVE_STRICT_MKSTEMP 1
8662EOF 12002_ACEOF
12003
8663 12004
8664fi 12005fi
8665rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12006rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8666fi 12007fi
8667fi 12008fi
8668 12009
8669if test ! -z "$check_for_openpty_ctty_bug"; then 12010if test ! -z "$check_for_openpty_ctty_bug"; then
8670 echo "$as_me:8670: checking if openpty correctly handles controlling tty" >&5 12011 echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
8671echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6 12012echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6
8672 if test "$cross_compiling" = yes; then 12013 if test "$cross_compiling" = yes; then
8673 { { echo "$as_me:8673: error: cannot run test program while cross compiling" >&5 12014 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8674echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12015See \`config.log' for more details." >&5
12016echo "$as_me: error: cannot run test program while cross compiling
12017See \`config.log' for more details." >&2;}
8675 { (exit 1); exit 1; }; } 12018 { (exit 1); exit 1; }; }
8676else 12019else
8677 cat >conftest.$ac_ext <<_ACEOF 12020 cat >conftest.$ac_ext <<_ACEOF
8678#line 8678 "configure" 12021/* confdefs.h. */
8679#include "confdefs.h" 12022_ACEOF
12023cat confdefs.h >>conftest.$ac_ext
12024cat >>conftest.$ac_ext <<_ACEOF
12025/* end confdefs.h. */
8680 12026
8681#include <stdio.h> 12027#include <stdio.h>
8682#include <sys/fcntl.h> 12028#include <sys/fcntl.h>
@@ -8712,47 +12058,56 @@ main()
8712 12058
8713_ACEOF 12059_ACEOF
8714rm -f conftest$ac_exeext 12060rm -f conftest$ac_exeext
8715if { (eval echo "$as_me:8715: \"$ac_link\"") >&5 12061if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8716 (eval $ac_link) 2>&5 12062 (eval $ac_link) 2>&5
8717 ac_status=$? 12063 ac_status=$?
8718 echo "$as_me:8718: \$? = $ac_status" >&5 12064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12065 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8720 { (eval echo "$as_me:8720: \"$ac_try\"") >&5 12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8721 (eval $ac_try) 2>&5 12067 (eval $ac_try) 2>&5
8722 ac_status=$? 12068 ac_status=$?
8723 echo "$as_me:8723: \$? = $ac_status" >&5 12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); }; }; then 12070 (exit $ac_status); }; }; then
8725 12071
8726 echo "$as_me:8726: result: yes" >&5 12072 echo "$as_me:$LINENO: result: yes" >&5
8727echo "${ECHO_T}yes" >&6 12073echo "${ECHO_T}yes" >&6
8728 12074
8729else 12075else
8730 echo "$as_me: program exited with status $ac_status" >&5 12076 echo "$as_me: program exited with status $ac_status" >&5
8731echo "$as_me: failed program was:" >&5 12077echo "$as_me: failed program was:" >&5
8732cat conftest.$ac_ext >&5 12078sed 's/^/| /' conftest.$ac_ext >&5
12079
12080( exit $ac_status )
8733 12081
8734 echo "$as_me:8734: result: no" >&5 12082 echo "$as_me:$LINENO: result: no" >&5
8735echo "${ECHO_T}no" >&6 12083echo "${ECHO_T}no" >&6
8736 cat >>confdefs.h <<\EOF 12084 cat >>confdefs.h <<\_ACEOF
8737#define SSHD_ACQUIRES_CTTY 1 12085#define SSHD_ACQUIRES_CTTY 1
8738EOF 12086_ACEOF
12087
12088
8739 12089
8740fi 12090fi
8741rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12091rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8742fi 12092fi
8743fi 12093fi
8744 12094
8745if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_hpux_broken_getaddrinfo" = "x1"; then 12095if test "x$ac_cv_func_getaddrinfo" = "xyes" -a "x$check_for_hpux_broken_getaddrinfo" = "x1"; then
8746 echo "$as_me:8746: checking if getaddrinfo seems to work" >&5 12096 echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
8747echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6 12097echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6
8748 if test "$cross_compiling" = yes; then 12098 if test "$cross_compiling" = yes; then
8749 { { echo "$as_me:8749: error: cannot run test program while cross compiling" >&5 12099 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8750echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12100See \`config.log' for more details." >&5
12101echo "$as_me: error: cannot run test program while cross compiling
12102See \`config.log' for more details." >&2;}
8751 { (exit 1); exit 1; }; } 12103 { (exit 1); exit 1; }; }
8752else 12104else
8753 cat >conftest.$ac_ext <<_ACEOF 12105 cat >conftest.$ac_ext <<_ACEOF
8754#line 8754 "configure" 12106/* confdefs.h. */
8755#include "confdefs.h" 12107_ACEOF
12108cat confdefs.h >>conftest.$ac_ext
12109cat >>conftest.$ac_ext <<_ACEOF
12110/* end confdefs.h. */
8756 12111
8757#include <stdio.h> 12112#include <stdio.h>
8758#include <sys/socket.h> 12113#include <sys/socket.h>
@@ -8810,45 +12165,52 @@ main(void)
8810 12165
8811_ACEOF 12166_ACEOF
8812rm -f conftest$ac_exeext 12167rm -f conftest$ac_exeext
8813if { (eval echo "$as_me:8813: \"$ac_link\"") >&5 12168if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8814 (eval $ac_link) 2>&5 12169 (eval $ac_link) 2>&5
8815 ac_status=$? 12170 ac_status=$?
8816 echo "$as_me:8816: \$? = $ac_status" >&5 12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8818 { (eval echo "$as_me:8818: \"$ac_try\"") >&5 12173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8819 (eval $ac_try) 2>&5 12174 (eval $ac_try) 2>&5
8820 ac_status=$? 12175 ac_status=$?
8821 echo "$as_me:8821: \$? = $ac_status" >&5 12176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); }; }; then 12177 (exit $ac_status); }; }; then
8823 12178
8824 echo "$as_me:8824: result: yes" >&5 12179 echo "$as_me:$LINENO: result: yes" >&5
8825echo "${ECHO_T}yes" >&6 12180echo "${ECHO_T}yes" >&6
8826 12181
8827else 12182else
8828 echo "$as_me: program exited with status $ac_status" >&5 12183 echo "$as_me: program exited with status $ac_status" >&5
8829echo "$as_me: failed program was:" >&5 12184echo "$as_me: failed program was:" >&5
8830cat conftest.$ac_ext >&5 12185sed 's/^/| /' conftest.$ac_ext >&5
8831 12186
8832 echo "$as_me:8832: result: no" >&5 12187( exit $ac_status )
12188
12189 echo "$as_me:$LINENO: result: no" >&5
8833echo "${ECHO_T}no" >&6 12190echo "${ECHO_T}no" >&6
8834 cat >>confdefs.h <<\EOF 12191 cat >>confdefs.h <<\_ACEOF
8835#define BROKEN_GETADDRINFO 1 12192#define BROKEN_GETADDRINFO 1
8836EOF 12193_ACEOF
12194
12195
8837 12196
8838fi 12197fi
8839rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12198rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8840fi 12199fi
8841fi 12200fi
8842 12201
8843echo "$as_me:8843: checking whether getpgrp takes no argument" >&5 12202echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
8844echo $ECHO_N "checking whether getpgrp takes no argument... $ECHO_C" >&6 12203echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6
8845if test "${ac_cv_func_getpgrp_void+set}" = set; then 12204if test "${ac_cv_func_getpgrp_void+set}" = set; then
8846 echo $ECHO_N "(cached) $ECHO_C" >&6 12205 echo $ECHO_N "(cached) $ECHO_C" >&6
8847else 12206else
8848 # Use it with a single arg. 12207 # Use it with a single arg.
8849cat >conftest.$ac_ext <<_ACEOF 12208cat >conftest.$ac_ext <<_ACEOF
8850#line 8850 "configure" 12209/* confdefs.h. */
8851#include "confdefs.h" 12210_ACEOF
12211cat confdefs.h >>conftest.$ac_ext
12212cat >>conftest.$ac_ext <<_ACEOF
12213/* end confdefs.h. */
8852$ac_includes_default 12214$ac_includes_default
8853int 12215int
8854main () 12216main ()
@@ -8859,152 +12221,48 @@ getpgrp (0);
8859} 12221}
8860_ACEOF 12222_ACEOF
8861rm -f conftest.$ac_objext 12223rm -f conftest.$ac_objext
8862if { (eval echo "$as_me:8862: \"$ac_compile\"") >&5 12224if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8863 (eval $ac_compile) 2>&5 12225 (eval $ac_compile) 2>conftest.er1
8864 ac_status=$? 12226 ac_status=$?
8865 echo "$as_me:8865: \$? = $ac_status" >&5 12227 grep -v '^ *+' conftest.er1 >conftest.err
12228 rm -f conftest.er1
12229 cat conftest.err >&5
12230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); } && 12231 (exit $ac_status); } &&
8867 { ac_try='test -s conftest.$ac_objext' 12232 { ac_try='test -z "$ac_c_werror_flag"
8868 { (eval echo "$as_me:8868: \"$ac_try\"") >&5 12233 || test ! -s conftest.err'
12234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 (eval $ac_try) 2>&5 12235 (eval $ac_try) 2>&5
8870 ac_status=$? 12236 ac_status=$?
8871 echo "$as_me:8871: \$? = $ac_status" >&5 12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }; }; then 12238 (exit $ac_status); }; } &&
8873 ac_func_getpgrp_1=yes 12239 { ac_try='test -s conftest.$ac_objext'
8874else 12240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me: failed program was:" >&5
8876cat conftest.$ac_ext >&5
8877ac_func_getpgrp_1=no
8878fi
8879rm -f conftest.$ac_objext conftest.$ac_ext
8880# Use it with no arg.
8881cat >conftest.$ac_ext <<_ACEOF
8882#line 8882 "configure"
8883#include "confdefs.h"
8884$ac_includes_default
8885int
8886main ()
8887{
8888getpgrp ();
8889 ;
8890 return 0;
8891}
8892_ACEOF
8893rm -f conftest.$ac_objext
8894if { (eval echo "$as_me:8894: \"$ac_compile\"") >&5
8895 (eval $ac_compile) 2>&5
8896 ac_status=$?
8897 echo "$as_me:8897: \$? = $ac_status" >&5
8898 (exit $ac_status); } &&
8899 { ac_try='test -s conftest.$ac_objext'
8900 { (eval echo "$as_me:8900: \"$ac_try\"") >&5
8901 (eval $ac_try) 2>&5 12241 (eval $ac_try) 2>&5
8902 ac_status=$? 12242 ac_status=$?
8903 echo "$as_me:8903: \$? = $ac_status" >&5 12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; }; then 12244 (exit $ac_status); }; }; then
8905 ac_func_getpgrp_0=yes 12245 ac_cv_func_getpgrp_void=no
8906else 12246else
8907 echo "$as_me: failed program was:" >&5 12247 echo "$as_me: failed program was:" >&5
8908cat conftest.$ac_ext >&5 12248sed 's/^/| /' conftest.$ac_ext >&5
8909ac_func_getpgrp_0=no
8910fi
8911rm -f conftest.$ac_objext conftest.$ac_ext
8912# If both static checks agree, we are done.
8913case $ac_func_getpgrp_0:$ac_func_getpgrp_1 in
8914 yes:no) ac_cv_func_getpgrp_void=yes;;
8915 no:yes) ac_cv_func_getpgrp_void=false;;
8916 *) if test "$cross_compiling" = yes; then
8917 { { echo "$as_me:8917: error: cannot check getpgrp if cross compiling" >&5
8918echo "$as_me: error: cannot check getpgrp if cross compiling" >&2;}
8919 { (exit 1); exit 1; }; }
8920else
8921 cat >conftest.$ac_ext <<_ACEOF
8922#line 8922 "configure"
8923#include "confdefs.h"
8924$ac_includes_default
8925
8926/*
8927 * If this system has a BSD-style getpgrp(),
8928 * which takes a pid argument, exit unsuccessfully.
8929 *
8930 * Snarfed from Chet Ramey's bash pgrp.c test program
8931 */
8932 12249
8933int pid; 12250ac_cv_func_getpgrp_void=yes
8934int pg1, pg2, pg3, pg4;
8935int ng, np, s, child;
8936
8937int
8938main ()
8939{
8940 pid = getpid ();
8941 pg1 = getpgrp (0);
8942 pg2 = getpgrp ();
8943 pg3 = getpgrp (pid);
8944 pg4 = getpgrp (1);
8945
8946 /* If all of these values are the same, it's pretty sure that we're
8947 on a system that ignores getpgrp's first argument. */
8948 if (pg2 == pg4 && pg1 == pg3 && pg2 == pg3)
8949 exit (0);
8950
8951 child = fork ();
8952 if (child < 0)
8953 exit(1);
8954 else if (child == 0)
8955 {
8956 np = getpid ();
8957 /* If this is Sys V, this will not work; pgrp will be set to np
8958 because setpgrp just changes a pgrp to be the same as the
8959 pid. */
8960 setpgrp (np, pg1);
8961 ng = getpgrp (0); /* Same result for Sys V and BSD */
8962 if (ng == pg1)
8963 exit (1);
8964 else
8965 exit (0);
8966 }
8967 else
8968 {
8969 wait (&s);
8970 exit (s>>8);
8971 }
8972}
8973
8974_ACEOF
8975rm -f conftest$ac_exeext
8976if { (eval echo "$as_me:8976: \"$ac_link\"") >&5
8977 (eval $ac_link) 2>&5
8978 ac_status=$?
8979 echo "$as_me:8979: \$? = $ac_status" >&5
8980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8981 { (eval echo "$as_me:8981: \"$ac_try\"") >&5
8982 (eval $ac_try) 2>&5
8983 ac_status=$?
8984 echo "$as_me:8984: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 ac_cv_func_getpgrp_void=yes
8987else
8988 echo "$as_me: program exited with status $ac_status" >&5
8989echo "$as_me: failed program was:" >&5
8990cat conftest.$ac_ext >&5
8991ac_cv_func_getpgrp_void=no
8992fi 12251fi
8993rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12252rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8994fi;;
8995esac # $ac_func_getpgrp_0:$ac_func_getpgrp_1
8996 12253
8997fi 12254fi
8998echo "$as_me:8998: result: $ac_cv_func_getpgrp_void" >&5 12255echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
8999echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6 12256echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6
9000if test $ac_cv_func_getpgrp_void = yes; then 12257if test $ac_cv_func_getpgrp_void = yes; then
9001 12258
9002cat >>confdefs.h <<\EOF 12259cat >>confdefs.h <<\_ACEOF
9003#define GETPGRP_VOID 1 12260#define GETPGRP_VOID 1
9004EOF 12261_ACEOF
9005 12262
9006fi 12263fi
9007 12264
12265
9008# Check for PAM libs 12266# Check for PAM libs
9009PAM_MSG="no" 12267PAM_MSG="no"
9010 12268
@@ -9015,12 +12273,13 @@ if test "${with_pam+set}" = set; then
9015 if test "x$withval" != "xno" ; then 12273 if test "x$withval" != "xno" ; then
9016 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ 12274 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \
9017 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then 12275 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then
9018 { { echo "$as_me:9018: error: PAM headers not found" >&5 12276 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5
9019echo "$as_me: error: PAM headers not found" >&2;} 12277echo "$as_me: error: PAM headers not found" >&2;}
9020 { (exit 1); exit 1; }; } 12278 { (exit 1); exit 1; }; }
9021 fi 12279 fi
9022 12280
9023echo "$as_me:9023: checking for dlopen in -ldl" >&5 12281
12282echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9024echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 12283echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9025if test "${ac_cv_lib_dl_dlopen+set}" = set; then 12284if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9026 echo $ECHO_N "(cached) $ECHO_C" >&6 12285 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9028,8 +12287,11 @@ else
9028 ac_check_lib_save_LIBS=$LIBS 12287 ac_check_lib_save_LIBS=$LIBS
9029LIBS="-ldl $LIBS" 12288LIBS="-ldl $LIBS"
9030cat >conftest.$ac_ext <<_ACEOF 12289cat >conftest.$ac_ext <<_ACEOF
9031#line 9031 "configure" 12290/* confdefs.h. */
9032#include "confdefs.h" 12291_ACEOF
12292cat confdefs.h >>conftest.$ac_ext
12293cat >>conftest.$ac_ext <<_ACEOF
12294/* end confdefs.h. */
9033 12295
9034/* Override any gcc2 internal prototype to avoid an error. */ 12296/* Override any gcc2 internal prototype to avoid an error. */
9035#ifdef __cplusplus 12297#ifdef __cplusplus
@@ -9047,38 +12309,51 @@ dlopen ();
9047} 12309}
9048_ACEOF 12310_ACEOF
9049rm -f conftest.$ac_objext conftest$ac_exeext 12311rm -f conftest.$ac_objext conftest$ac_exeext
9050if { (eval echo "$as_me:9050: \"$ac_link\"") >&5 12312if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9051 (eval $ac_link) 2>&5 12313 (eval $ac_link) 2>conftest.er1
9052 ac_status=$? 12314 ac_status=$?
9053 echo "$as_me:9053: \$? = $ac_status" >&5 12315 grep -v '^ *+' conftest.er1 >conftest.err
12316 rm -f conftest.er1
12317 cat conftest.err >&5
12318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054 (exit $ac_status); } && 12319 (exit $ac_status); } &&
9055 { ac_try='test -s conftest$ac_exeext' 12320 { ac_try='test -z "$ac_c_werror_flag"
9056 { (eval echo "$as_me:9056: \"$ac_try\"") >&5 12321 || test ! -s conftest.err'
12322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9057 (eval $ac_try) 2>&5 12323 (eval $ac_try) 2>&5
9058 ac_status=$? 12324 ac_status=$?
9059 echo "$as_me:9059: \$? = $ac_status" >&5 12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); }; } &&
12327 { ac_try='test -s conftest$ac_exeext'
12328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 (eval $ac_try) 2>&5
12330 ac_status=$?
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9060 (exit $ac_status); }; }; then 12332 (exit $ac_status); }; }; then
9061 ac_cv_lib_dl_dlopen=yes 12333 ac_cv_lib_dl_dlopen=yes
9062else 12334else
9063 echo "$as_me: failed program was:" >&5 12335 echo "$as_me: failed program was:" >&5
9064cat conftest.$ac_ext >&5 12336sed 's/^/| /' conftest.$ac_ext >&5
12337
9065ac_cv_lib_dl_dlopen=no 12338ac_cv_lib_dl_dlopen=no
9066fi 12339fi
9067rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12340rm -f conftest.err conftest.$ac_objext \
12341 conftest$ac_exeext conftest.$ac_ext
9068LIBS=$ac_check_lib_save_LIBS 12342LIBS=$ac_check_lib_save_LIBS
9069fi 12343fi
9070echo "$as_me:9070: result: $ac_cv_lib_dl_dlopen" >&5 12344echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9071echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 12345echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9072if test $ac_cv_lib_dl_dlopen = yes; then 12346if test $ac_cv_lib_dl_dlopen = yes; then
9073 cat >>confdefs.h <<EOF 12347 cat >>confdefs.h <<_ACEOF
9074#define HAVE_LIBDL 1 12348#define HAVE_LIBDL 1
9075EOF 12349_ACEOF
9076 12350
9077 LIBS="-ldl $LIBS" 12351 LIBS="-ldl $LIBS"
9078 12352
9079fi 12353fi
9080 12354
9081echo "$as_me:9081: checking for pam_set_item in -lpam" >&5 12355
12356echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
9082echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6 12357echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6
9083if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then 12358if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
9084 echo $ECHO_N "(cached) $ECHO_C" >&6 12359 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9086,8 +12361,11 @@ else
9086 ac_check_lib_save_LIBS=$LIBS 12361 ac_check_lib_save_LIBS=$LIBS
9087LIBS="-lpam $LIBS" 12362LIBS="-lpam $LIBS"
9088cat >conftest.$ac_ext <<_ACEOF 12363cat >conftest.$ac_ext <<_ACEOF
9089#line 9089 "configure" 12364/* confdefs.h. */
9090#include "confdefs.h" 12365_ACEOF
12366cat confdefs.h >>conftest.$ac_ext
12367cat >>conftest.$ac_ext <<_ACEOF
12368/* end confdefs.h. */
9091 12369
9092/* Override any gcc2 internal prototype to avoid an error. */ 12370/* Override any gcc2 internal prototype to avoid an error. */
9093#ifdef __cplusplus 12371#ifdef __cplusplus
@@ -9105,184 +12383,263 @@ pam_set_item ();
9105} 12383}
9106_ACEOF 12384_ACEOF
9107rm -f conftest.$ac_objext conftest$ac_exeext 12385rm -f conftest.$ac_objext conftest$ac_exeext
9108if { (eval echo "$as_me:9108: \"$ac_link\"") >&5 12386if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9109 (eval $ac_link) 2>&5 12387 (eval $ac_link) 2>conftest.er1
9110 ac_status=$? 12388 ac_status=$?
9111 echo "$as_me:9111: \$? = $ac_status" >&5 12389 grep -v '^ *+' conftest.er1 >conftest.err
12390 rm -f conftest.er1
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); } && 12393 (exit $ac_status); } &&
9113 { ac_try='test -s conftest$ac_exeext' 12394 { ac_try='test -z "$ac_c_werror_flag"
9114 { (eval echo "$as_me:9114: \"$ac_try\"") >&5 12395 || test ! -s conftest.err'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9115 (eval $ac_try) 2>&5 12397 (eval $ac_try) 2>&5
9116 ac_status=$? 12398 ac_status=$?
9117 echo "$as_me:9117: \$? = $ac_status" >&5 12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; } &&
12401 { ac_try='test -s conftest$ac_exeext'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; }; then 12406 (exit $ac_status); }; }; then
9119 ac_cv_lib_pam_pam_set_item=yes 12407 ac_cv_lib_pam_pam_set_item=yes
9120else 12408else
9121 echo "$as_me: failed program was:" >&5 12409 echo "$as_me: failed program was:" >&5
9122cat conftest.$ac_ext >&5 12410sed 's/^/| /' conftest.$ac_ext >&5
12411
9123ac_cv_lib_pam_pam_set_item=no 12412ac_cv_lib_pam_pam_set_item=no
9124fi 12413fi
9125rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12414rm -f conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
9126LIBS=$ac_check_lib_save_LIBS 12416LIBS=$ac_check_lib_save_LIBS
9127fi 12417fi
9128echo "$as_me:9128: result: $ac_cv_lib_pam_pam_set_item" >&5 12418echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
9129echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6 12419echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6
9130if test $ac_cv_lib_pam_pam_set_item = yes; then 12420if test $ac_cv_lib_pam_pam_set_item = yes; then
9131 cat >>confdefs.h <<EOF 12421 cat >>confdefs.h <<_ACEOF
9132#define HAVE_LIBPAM 1 12422#define HAVE_LIBPAM 1
9133EOF 12423_ACEOF
9134 12424
9135 LIBS="-lpam $LIBS" 12425 LIBS="-lpam $LIBS"
9136 12426
9137else 12427else
9138 { { echo "$as_me:9138: error: *** libpam missing" >&5 12428 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5
9139echo "$as_me: error: *** libpam missing" >&2;} 12429echo "$as_me: error: *** libpam missing" >&2;}
9140 { (exit 1); exit 1; }; } 12430 { (exit 1); exit 1; }; }
9141fi 12431fi
9142 12432
12433
9143for ac_func in pam_getenvlist 12434for ac_func in pam_getenvlist
9144do 12435do
9145as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12436as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9146echo "$as_me:9146: checking for $ac_func" >&5 12437echo "$as_me:$LINENO: checking for $ac_func" >&5
9147echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12438echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9148if eval "test \"\${$as_ac_var+set}\" = set"; then 12439if eval "test \"\${$as_ac_var+set}\" = set"; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6 12440 echo $ECHO_N "(cached) $ECHO_C" >&6
9150else 12441else
9151 cat >conftest.$ac_ext <<_ACEOF 12442 cat >conftest.$ac_ext <<_ACEOF
9152#line 9152 "configure" 12443/* confdefs.h. */
9153#include "confdefs.h" 12444_ACEOF
12445cat confdefs.h >>conftest.$ac_ext
12446cat >>conftest.$ac_ext <<_ACEOF
12447/* end confdefs.h. */
12448/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12450#define $ac_func innocuous_$ac_func
12451
9154/* System header to define __stub macros and hopefully few prototypes, 12452/* System header to define __stub macros and hopefully few prototypes,
9155 which can conflict with char $ac_func (); below. */ 12453 which can conflict with char $ac_func (); below.
9156#include <assert.h> 12454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12455 <limits.h> exists even on freestanding compilers. */
12456
12457#ifdef __STDC__
12458# include <limits.h>
12459#else
12460# include <assert.h>
12461#endif
12462
12463#undef $ac_func
12464
9157/* Override any gcc2 internal prototype to avoid an error. */ 12465/* Override any gcc2 internal prototype to avoid an error. */
9158#ifdef __cplusplus 12466#ifdef __cplusplus
9159extern "C" 12467extern "C"
12468{
9160#endif 12469#endif
9161/* We use char because int might match the return type of a gcc2 12470/* We use char because int might match the return type of a gcc2
9162 builtin and then its argument prototype would still apply. */ 12471 builtin and then its argument prototype would still apply. */
9163char $ac_func (); 12472char $ac_func ();
9164char (*f) ();
9165
9166int
9167main ()
9168{
9169/* The GNU C library defines this for functions which it implements 12473/* The GNU C library defines this for functions which it implements
9170 to always fail with ENOSYS. Some functions are actually named 12474 to always fail with ENOSYS. Some functions are actually named
9171 something starting with __ and the normal name is an alias. */ 12475 something starting with __ and the normal name is an alias. */
9172#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12476#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9173choke me 12477choke me
9174#else 12478#else
9175f = $ac_func; 12479char (*f) () = $ac_func;
12480#endif
12481#ifdef __cplusplus
12482}
9176#endif 12483#endif
9177 12484
12485int
12486main ()
12487{
12488return f != $ac_func;
9178 ; 12489 ;
9179 return 0; 12490 return 0;
9180} 12491}
9181_ACEOF 12492_ACEOF
9182rm -f conftest.$ac_objext conftest$ac_exeext 12493rm -f conftest.$ac_objext conftest$ac_exeext
9183if { (eval echo "$as_me:9183: \"$ac_link\"") >&5 12494if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9184 (eval $ac_link) 2>&5 12495 (eval $ac_link) 2>conftest.er1
9185 ac_status=$? 12496 ac_status=$?
9186 echo "$as_me:9186: \$? = $ac_status" >&5 12497 grep -v '^ *+' conftest.er1 >conftest.err
12498 rm -f conftest.er1
12499 cat conftest.err >&5
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } && 12501 (exit $ac_status); } &&
9188 { ac_try='test -s conftest$ac_exeext' 12502 { ac_try='test -z "$ac_c_werror_flag"
9189 { (eval echo "$as_me:9189: \"$ac_try\"") >&5 12503 || test ! -s conftest.err'
12504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 (eval $ac_try) 2>&5 12505 (eval $ac_try) 2>&5
9191 ac_status=$? 12506 ac_status=$?
9192 echo "$as_me:9192: \$? = $ac_status" >&5 12507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; } &&
12509 { ac_try='test -s conftest$ac_exeext'
12510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12511 (eval $ac_try) 2>&5
12512 ac_status=$?
12513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); }; }; then 12514 (exit $ac_status); }; }; then
9194 eval "$as_ac_var=yes" 12515 eval "$as_ac_var=yes"
9195else 12516else
9196 echo "$as_me: failed program was:" >&5 12517 echo "$as_me: failed program was:" >&5
9197cat conftest.$ac_ext >&5 12518sed 's/^/| /' conftest.$ac_ext >&5
12519
9198eval "$as_ac_var=no" 12520eval "$as_ac_var=no"
9199fi 12521fi
9200rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12522rm -f conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
9201fi 12524fi
9202echo "$as_me:9202: result: `eval echo '${'$as_ac_var'}'`" >&5 12525echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9203echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12526echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9204if test `eval echo '${'$as_ac_var'}'` = yes; then 12527if test `eval echo '${'$as_ac_var'}'` = yes; then
9205 cat >>confdefs.h <<EOF 12528 cat >>confdefs.h <<_ACEOF
9206#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12529#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9207EOF 12530_ACEOF
9208 12531
9209fi 12532fi
9210done 12533done
9211 12534
12535
9212for ac_func in pam_putenv 12536for ac_func in pam_putenv
9213do 12537do
9214as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12538as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9215echo "$as_me:9215: checking for $ac_func" >&5 12539echo "$as_me:$LINENO: checking for $ac_func" >&5
9216echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 12540echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9217if eval "test \"\${$as_ac_var+set}\" = set"; then 12541if eval "test \"\${$as_ac_var+set}\" = set"; then
9218 echo $ECHO_N "(cached) $ECHO_C" >&6 12542 echo $ECHO_N "(cached) $ECHO_C" >&6
9219else 12543else
9220 cat >conftest.$ac_ext <<_ACEOF 12544 cat >conftest.$ac_ext <<_ACEOF
9221#line 9221 "configure" 12545/* confdefs.h. */
9222#include "confdefs.h" 12546_ACEOF
12547cat confdefs.h >>conftest.$ac_ext
12548cat >>conftest.$ac_ext <<_ACEOF
12549/* end confdefs.h. */
12550/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12552#define $ac_func innocuous_$ac_func
12553
9223/* System header to define __stub macros and hopefully few prototypes, 12554/* System header to define __stub macros and hopefully few prototypes,
9224 which can conflict with char $ac_func (); below. */ 12555 which can conflict with char $ac_func (); below.
9225#include <assert.h> 12556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12557 <limits.h> exists even on freestanding compilers. */
12558
12559#ifdef __STDC__
12560# include <limits.h>
12561#else
12562# include <assert.h>
12563#endif
12564
12565#undef $ac_func
12566
9226/* Override any gcc2 internal prototype to avoid an error. */ 12567/* Override any gcc2 internal prototype to avoid an error. */
9227#ifdef __cplusplus 12568#ifdef __cplusplus
9228extern "C" 12569extern "C"
12570{
9229#endif 12571#endif
9230/* We use char because int might match the return type of a gcc2 12572/* We use char because int might match the return type of a gcc2
9231 builtin and then its argument prototype would still apply. */ 12573 builtin and then its argument prototype would still apply. */
9232char $ac_func (); 12574char $ac_func ();
9233char (*f) ();
9234
9235int
9236main ()
9237{
9238/* The GNU C library defines this for functions which it implements 12575/* The GNU C library defines this for functions which it implements
9239 to always fail with ENOSYS. Some functions are actually named 12576 to always fail with ENOSYS. Some functions are actually named
9240 something starting with __ and the normal name is an alias. */ 12577 something starting with __ and the normal name is an alias. */
9241#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 12578#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9242choke me 12579choke me
9243#else 12580#else
9244f = $ac_func; 12581char (*f) () = $ac_func;
12582#endif
12583#ifdef __cplusplus
12584}
9245#endif 12585#endif
9246 12586
12587int
12588main ()
12589{
12590return f != $ac_func;
9247 ; 12591 ;
9248 return 0; 12592 return 0;
9249} 12593}
9250_ACEOF 12594_ACEOF
9251rm -f conftest.$ac_objext conftest$ac_exeext 12595rm -f conftest.$ac_objext conftest$ac_exeext
9252if { (eval echo "$as_me:9252: \"$ac_link\"") >&5 12596if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253 (eval $ac_link) 2>&5 12597 (eval $ac_link) 2>conftest.er1
9254 ac_status=$? 12598 ac_status=$?
9255 echo "$as_me:9255: \$? = $ac_status" >&5 12599 grep -v '^ *+' conftest.er1 >conftest.err
12600 rm -f conftest.er1
12601 cat conftest.err >&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); } && 12603 (exit $ac_status); } &&
9257 { ac_try='test -s conftest$ac_exeext' 12604 { ac_try='test -z "$ac_c_werror_flag"
9258 { (eval echo "$as_me:9258: \"$ac_try\"") >&5 12605 || test ! -s conftest.err'
12606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 (eval $ac_try) 2>&5 12607 (eval $ac_try) 2>&5
9260 ac_status=$? 12608 ac_status=$?
9261 echo "$as_me:9261: \$? = $ac_status" >&5 12609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12610 (exit $ac_status); }; } &&
12611 { ac_try='test -s conftest$ac_exeext'
12612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12613 (eval $ac_try) 2>&5
12614 ac_status=$?
12615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9262 (exit $ac_status); }; }; then 12616 (exit $ac_status); }; }; then
9263 eval "$as_ac_var=yes" 12617 eval "$as_ac_var=yes"
9264else 12618else
9265 echo "$as_me: failed program was:" >&5 12619 echo "$as_me: failed program was:" >&5
9266cat conftest.$ac_ext >&5 12620sed 's/^/| /' conftest.$ac_ext >&5
12621
9267eval "$as_ac_var=no" 12622eval "$as_ac_var=no"
9268fi 12623fi
9269rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12624rm -f conftest.err conftest.$ac_objext \
12625 conftest$ac_exeext conftest.$ac_ext
9270fi 12626fi
9271echo "$as_me:9271: result: `eval echo '${'$as_ac_var'}'`" >&5 12627echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9272echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 12628echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9273if test `eval echo '${'$as_ac_var'}'` = yes; then 12629if test `eval echo '${'$as_ac_var'}'` = yes; then
9274 cat >>confdefs.h <<EOF 12630 cat >>confdefs.h <<_ACEOF
9275#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12631#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9276EOF 12632_ACEOF
9277 12633
9278fi 12634fi
9279done 12635done
9280 12636
12637
9281 PAM_MSG="yes" 12638 PAM_MSG="yes"
9282 12639
9283 cat >>confdefs.h <<\EOF 12640 cat >>confdefs.h <<\_ACEOF
9284#define USE_PAM 1 12641#define USE_PAM 1
9285EOF 12642_ACEOF
9286 12643
9287 if test $ac_cv_lib_dl_dlopen = yes; then 12644 if test $ac_cv_lib_dl_dlopen = yes; then
9288 LIBPAM="-lpam -ldl" 12645 LIBPAM="-lpam -ldl"
@@ -9292,16 +12649,20 @@ EOF
9292 12649
9293 fi 12650 fi
9294 12651
12652
9295fi; 12653fi;
9296 12654
9297# Check for older PAM 12655# Check for older PAM
9298if test "x$PAM_MSG" = "xyes" ; then 12656if test "x$PAM_MSG" = "xyes" ; then
9299 # Check PAM strerror arguments (old PAM) 12657 # Check PAM strerror arguments (old PAM)
9300 echo "$as_me:9300: checking whether pam_strerror takes only one argument" >&5 12658 echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
9301echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6 12659echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6
9302 cat >conftest.$ac_ext <<_ACEOF 12660 cat >conftest.$ac_ext <<_ACEOF
9303#line 9303 "configure" 12661/* confdefs.h. */
9304#include "confdefs.h" 12662_ACEOF
12663cat confdefs.h >>conftest.$ac_ext
12664cat >>conftest.$ac_ext <<_ACEOF
12665/* end confdefs.h. */
9305 12666
9306#include <stdlib.h> 12667#include <stdlib.h>
9307#if defined(HAVE_SECURITY_PAM_APPL_H) 12668#if defined(HAVE_SECURITY_PAM_APPL_H)
@@ -9319,33 +12680,45 @@ main ()
9319} 12680}
9320_ACEOF 12681_ACEOF
9321rm -f conftest.$ac_objext 12682rm -f conftest.$ac_objext
9322if { (eval echo "$as_me:9322: \"$ac_compile\"") >&5 12683if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9323 (eval $ac_compile) 2>&5 12684 (eval $ac_compile) 2>conftest.er1
9324 ac_status=$? 12685 ac_status=$?
9325 echo "$as_me:9325: \$? = $ac_status" >&5 12686 grep -v '^ *+' conftest.er1 >conftest.err
12687 rm -f conftest.er1
12688 cat conftest.err >&5
12689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } && 12690 (exit $ac_status); } &&
9327 { ac_try='test -s conftest.$ac_objext' 12691 { ac_try='test -z "$ac_c_werror_flag"
9328 { (eval echo "$as_me:9328: \"$ac_try\"") >&5 12692 || test ! -s conftest.err'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9329 (eval $ac_try) 2>&5 12694 (eval $ac_try) 2>&5
9330 ac_status=$? 12695 ac_status=$?
9331 echo "$as_me:9331: \$? = $ac_status" >&5 12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; } &&
12698 { ac_try='test -s conftest.$ac_objext'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12701 ac_status=$?
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then 12703 (exit $ac_status); }; }; then
9333 echo "$as_me:9333: result: no" >&5 12704 echo "$as_me:$LINENO: result: no" >&5
9334echo "${ECHO_T}no" >&6 12705echo "${ECHO_T}no" >&6
9335else 12706else
9336 echo "$as_me: failed program was:" >&5 12707 echo "$as_me: failed program was:" >&5
9337cat conftest.$ac_ext >&5 12708sed 's/^/| /' conftest.$ac_ext >&5
12709
9338 12710
9339 cat >>confdefs.h <<\EOF 12711 cat >>confdefs.h <<\_ACEOF
9340#define HAVE_OLD_PAM 1 12712#define HAVE_OLD_PAM 1
9341EOF 12713_ACEOF
9342 12714
9343 echo "$as_me:9343: result: yes" >&5 12715 echo "$as_me:$LINENO: result: yes" >&5
9344echo "${ECHO_T}yes" >&6 12716echo "${ECHO_T}yes" >&6
9345 PAM_MSG="yes (old library)" 12717 PAM_MSG="yes (old library)"
9346 12718
12719
9347fi 12720fi
9348rm -f conftest.$ac_objext conftest.$ac_ext 12721rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9349fi 12722fi
9350 12723
9351# Search for OpenSSL 12724# Search for OpenSSL
@@ -9377,11 +12750,15 @@ if test "${with_ssl_dir+set}" = set; then
9377 fi 12750 fi
9378 fi 12751 fi
9379 12752
12753
9380fi; 12754fi;
9381LIBS="-lcrypto $LIBS" 12755LIBS="-lcrypto $LIBS"
9382cat >conftest.$ac_ext <<_ACEOF 12756cat >conftest.$ac_ext <<_ACEOF
9383#line 9383 "configure" 12757/* confdefs.h. */
9384#include "confdefs.h" 12758_ACEOF
12759cat confdefs.h >>conftest.$ac_ext
12760cat >>conftest.$ac_ext <<_ACEOF
12761/* end confdefs.h. */
9385 12762
9386/* Override any gcc2 internal prototype to avoid an error. */ 12763/* Override any gcc2 internal prototype to avoid an error. */
9387#ifdef __cplusplus 12764#ifdef __cplusplus
@@ -9399,24 +12776,35 @@ RAND_add ();
9399} 12776}
9400_ACEOF 12777_ACEOF
9401rm -f conftest.$ac_objext conftest$ac_exeext 12778rm -f conftest.$ac_objext conftest$ac_exeext
9402if { (eval echo "$as_me:9402: \"$ac_link\"") >&5 12779if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9403 (eval $ac_link) 2>&5 12780 (eval $ac_link) 2>conftest.er1
9404 ac_status=$? 12781 ac_status=$?
9405 echo "$as_me:9405: \$? = $ac_status" >&5 12782 grep -v '^ *+' conftest.er1 >conftest.err
12783 rm -f conftest.er1
12784 cat conftest.err >&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 (exit $ac_status); } && 12786 (exit $ac_status); } &&
9407 { ac_try='test -s conftest$ac_exeext' 12787 { ac_try='test -z "$ac_c_werror_flag"
9408 { (eval echo "$as_me:9408: \"$ac_try\"") >&5 12788 || test ! -s conftest.err'
12789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12790 (eval $ac_try) 2>&5
12791 ac_status=$?
12792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12793 (exit $ac_status); }; } &&
12794 { ac_try='test -s conftest$ac_exeext'
12795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9409 (eval $ac_try) 2>&5 12796 (eval $ac_try) 2>&5
9410 ac_status=$? 12797 ac_status=$?
9411 echo "$as_me:9411: \$? = $ac_status" >&5 12798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); }; }; then 12799 (exit $ac_status); }; }; then
9413 cat >>confdefs.h <<\EOF 12800 cat >>confdefs.h <<\_ACEOF
9414#define HAVE_OPENSSL 1 12801#define HAVE_OPENSSL 1
9415EOF 12802_ACEOF
9416 12803
9417else 12804else
9418 echo "$as_me: failed program was:" >&5 12805 echo "$as_me: failed program was:" >&5
9419cat conftest.$ac_ext >&5 12806sed 's/^/| /' conftest.$ac_ext >&5
12807
9420 12808
9421 if test -n "${need_dash_r}"; then 12809 if test -n "${need_dash_r}"; then
9422 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}" 12810 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib ${saved_LDFLAGS}"
@@ -9425,8 +12813,11 @@ cat conftest.$ac_ext >&5
9425 fi 12813 fi
9426 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 12814 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
9427 cat >conftest.$ac_ext <<_ACEOF 12815 cat >conftest.$ac_ext <<_ACEOF
9428#line 9428 "configure" 12816/* confdefs.h. */
9429#include "confdefs.h" 12817_ACEOF
12818cat confdefs.h >>conftest.$ac_ext
12819cat >>conftest.$ac_ext <<_ACEOF
12820/* end confdefs.h. */
9430 12821
9431/* Override any gcc2 internal prototype to avoid an error. */ 12822/* Override any gcc2 internal prototype to avoid an error. */
9432#ifdef __cplusplus 12823#ifdef __cplusplus
@@ -9444,46 +12835,66 @@ RAND_add ();
9444} 12835}
9445_ACEOF 12836_ACEOF
9446rm -f conftest.$ac_objext conftest$ac_exeext 12837rm -f conftest.$ac_objext conftest$ac_exeext
9447if { (eval echo "$as_me:9447: \"$ac_link\"") >&5 12838if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9448 (eval $ac_link) 2>&5 12839 (eval $ac_link) 2>conftest.er1
9449 ac_status=$? 12840 ac_status=$?
9450 echo "$as_me:9450: \$? = $ac_status" >&5 12841 grep -v '^ *+' conftest.er1 >conftest.err
12842 rm -f conftest.er1
12843 cat conftest.err >&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 (exit $ac_status); } && 12845 (exit $ac_status); } &&
9452 { ac_try='test -s conftest$ac_exeext' 12846 { ac_try='test -z "$ac_c_werror_flag"
9453 { (eval echo "$as_me:9453: \"$ac_try\"") >&5 12847 || test ! -s conftest.err'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 (eval $ac_try) 2>&5 12849 (eval $ac_try) 2>&5
9455 ac_status=$? 12850 ac_status=$?
9456 echo "$as_me:9456: \$? = $ac_status" >&5 12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; } &&
12853 { ac_try='test -s conftest$ac_exeext'
12854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 (eval $ac_try) 2>&5
12856 ac_status=$?
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); }; }; then 12858 (exit $ac_status); }; }; then
9458 cat >>confdefs.h <<\EOF 12859 cat >>confdefs.h <<\_ACEOF
9459#define HAVE_OPENSSL 1 12860#define HAVE_OPENSSL 1
9460EOF 12861_ACEOF
9461 12862
9462else 12863else
9463 echo "$as_me: failed program was:" >&5 12864 echo "$as_me: failed program was:" >&5
9464cat conftest.$ac_ext >&5 12865sed 's/^/| /' conftest.$ac_ext >&5
9465 12866
9466 { { echo "$as_me:9466: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 12867
12868 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
9467echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} 12869echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
9468 { (exit 1); exit 1; }; } 12870 { (exit 1); exit 1; }; }
9469 12871
12872
9470fi 12873fi
9471rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12874rm -f conftest.err conftest.$ac_objext \
12875 conftest$ac_exeext conftest.$ac_ext
12876
9472 12877
9473fi 12878fi
9474rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 12879rm -f conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
9475 12881
9476# Determine OpenSSL header version 12882# Determine OpenSSL header version
9477echo "$as_me:9477: checking OpenSSL header version" >&5 12883echo "$as_me:$LINENO: checking OpenSSL header version" >&5
9478echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6 12884echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6
9479if test "$cross_compiling" = yes; then 12885if test "$cross_compiling" = yes; then
9480 { { echo "$as_me:9480: error: cannot run test program while cross compiling" >&5 12886 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9481echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12887See \`config.log' for more details." >&5
12888echo "$as_me: error: cannot run test program while cross compiling
12889See \`config.log' for more details." >&2;}
9482 { (exit 1); exit 1; }; } 12890 { (exit 1); exit 1; }; }
9483else 12891else
9484 cat >conftest.$ac_ext <<_ACEOF 12892 cat >conftest.$ac_ext <<_ACEOF
9485#line 9485 "configure" 12893/* confdefs.h. */
9486#include "confdefs.h" 12894_ACEOF
12895cat confdefs.h >>conftest.$ac_ext
12896cat >>conftest.$ac_ext <<_ACEOF
12897/* end confdefs.h. */
9487 12898
9488#include <stdio.h> 12899#include <stdio.h>
9489#include <string.h> 12900#include <string.h>
@@ -9505,47 +12916,55 @@ int main(void) {
9505 12916
9506_ACEOF 12917_ACEOF
9507rm -f conftest$ac_exeext 12918rm -f conftest$ac_exeext
9508if { (eval echo "$as_me:9508: \"$ac_link\"") >&5 12919if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9509 (eval $ac_link) 2>&5 12920 (eval $ac_link) 2>&5
9510 ac_status=$? 12921 ac_status=$?
9511 echo "$as_me:9511: \$? = $ac_status" >&5 12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9512 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9513 { (eval echo "$as_me:9513: \"$ac_try\"") >&5 12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 (eval $ac_try) 2>&5 12925 (eval $ac_try) 2>&5
9515 ac_status=$? 12926 ac_status=$?
9516 echo "$as_me:9516: \$? = $ac_status" >&5 12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9517 (exit $ac_status); }; }; then 12928 (exit $ac_status); }; }; then
9518 12929
9519 ssl_header_ver=`cat conftest.sslincver` 12930 ssl_header_ver=`cat conftest.sslincver`
9520 echo "$as_me:9520: result: $ssl_header_ver" >&5 12931 echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
9521echo "${ECHO_T}$ssl_header_ver" >&6 12932echo "${ECHO_T}$ssl_header_ver" >&6
9522 12933
9523else 12934else
9524 echo "$as_me: program exited with status $ac_status" >&5 12935 echo "$as_me: program exited with status $ac_status" >&5
9525echo "$as_me: failed program was:" >&5 12936echo "$as_me: failed program was:" >&5
9526cat conftest.$ac_ext >&5 12937sed 's/^/| /' conftest.$ac_ext >&5
9527 12938
9528 echo "$as_me:9528: result: not found" >&5 12939( exit $ac_status )
12940
12941 echo "$as_me:$LINENO: result: not found" >&5
9529echo "${ECHO_T}not found" >&6 12942echo "${ECHO_T}not found" >&6
9530 { { echo "$as_me:9530: error: OpenSSL version header not found." >&5 12943 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
9531echo "$as_me: error: OpenSSL version header not found." >&2;} 12944echo "$as_me: error: OpenSSL version header not found." >&2;}
9532 { (exit 1); exit 1; }; } 12945 { (exit 1); exit 1; }; }
9533 12946
12947
9534fi 12948fi
9535rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12949rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9536fi 12950fi
9537 12951
9538# Determine OpenSSL library version 12952# Determine OpenSSL library version
9539echo "$as_me:9539: checking OpenSSL library version" >&5 12953echo "$as_me:$LINENO: checking OpenSSL library version" >&5
9540echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6 12954echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6
9541if test "$cross_compiling" = yes; then 12955if test "$cross_compiling" = yes; then
9542 { { echo "$as_me:9542: error: cannot run test program while cross compiling" >&5 12956 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9543echo "$as_me: error: cannot run test program while cross compiling" >&2;} 12957See \`config.log' for more details." >&5
12958echo "$as_me: error: cannot run test program while cross compiling
12959See \`config.log' for more details." >&2;}
9544 { (exit 1); exit 1; }; } 12960 { (exit 1); exit 1; }; }
9545else 12961else
9546 cat >conftest.$ac_ext <<_ACEOF 12962 cat >conftest.$ac_ext <<_ACEOF
9547#line 9547 "configure" 12963/* confdefs.h. */
9548#include "confdefs.h" 12964_ACEOF
12965cat confdefs.h >>conftest.$ac_ext
12966cat >>conftest.$ac_ext <<_ACEOF
12967/* end confdefs.h. */
9549 12968
9550#include <stdio.h> 12969#include <stdio.h>
9551#include <string.h> 12970#include <string.h>
@@ -9568,47 +12987,55 @@ int main(void) {
9568 12987
9569_ACEOF 12988_ACEOF
9570rm -f conftest$ac_exeext 12989rm -f conftest$ac_exeext
9571if { (eval echo "$as_me:9571: \"$ac_link\"") >&5 12990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9572 (eval $ac_link) 2>&5 12991 (eval $ac_link) 2>&5
9573 ac_status=$? 12992 ac_status=$?
9574 echo "$as_me:9574: \$? = $ac_status" >&5 12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12994 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9576 { (eval echo "$as_me:9576: \"$ac_try\"") >&5 12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577 (eval $ac_try) 2>&5 12996 (eval $ac_try) 2>&5
9578 ac_status=$? 12997 ac_status=$?
9579 echo "$as_me:9579: \$? = $ac_status" >&5 12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then 12999 (exit $ac_status); }; }; then
9581 13000
9582 ssl_library_ver=`cat conftest.ssllibver` 13001 ssl_library_ver=`cat conftest.ssllibver`
9583 echo "$as_me:9583: result: $ssl_library_ver" >&5 13002 echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
9584echo "${ECHO_T}$ssl_library_ver" >&6 13003echo "${ECHO_T}$ssl_library_ver" >&6
9585 13004
9586else 13005else
9587 echo "$as_me: program exited with status $ac_status" >&5 13006 echo "$as_me: program exited with status $ac_status" >&5
9588echo "$as_me: failed program was:" >&5 13007echo "$as_me: failed program was:" >&5
9589cat conftest.$ac_ext >&5 13008sed 's/^/| /' conftest.$ac_ext >&5
13009
13010( exit $ac_status )
9590 13011
9591 echo "$as_me:9591: result: not found" >&5 13012 echo "$as_me:$LINENO: result: not found" >&5
9592echo "${ECHO_T}not found" >&6 13013echo "${ECHO_T}not found" >&6
9593 { { echo "$as_me:9593: error: OpenSSL library not found." >&5 13014 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
9594echo "$as_me: error: OpenSSL library not found." >&2;} 13015echo "$as_me: error: OpenSSL library not found." >&2;}
9595 { (exit 1); exit 1; }; } 13016 { (exit 1); exit 1; }; }
9596 13017
13018
9597fi 13019fi
9598rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13020rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9599fi 13021fi
9600 13022
9601# Sanity check OpenSSL headers 13023# Sanity check OpenSSL headers
9602echo "$as_me:9602: checking whether OpenSSL's headers match the library" >&5 13024echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
9603echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6 13025echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6
9604if test "$cross_compiling" = yes; then 13026if test "$cross_compiling" = yes; then
9605 { { echo "$as_me:9605: error: cannot run test program while cross compiling" >&5 13027 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9606echo "$as_me: error: cannot run test program while cross compiling" >&2;} 13028See \`config.log' for more details." >&5
13029echo "$as_me: error: cannot run test program while cross compiling
13030See \`config.log' for more details." >&2;}
9607 { (exit 1); exit 1; }; } 13031 { (exit 1); exit 1; }; }
9608else 13032else
9609 cat >conftest.$ac_ext <<_ACEOF 13033 cat >conftest.$ac_ext <<_ACEOF
9610#line 9610 "configure" 13034/* confdefs.h. */
9611#include "confdefs.h" 13035_ACEOF
13036cat confdefs.h >>conftest.$ac_ext
13037cat >>conftest.$ac_ext <<_ACEOF
13038/* end confdefs.h. */
9612 13039
9613#include <string.h> 13040#include <string.h>
9614#include <openssl/opensslv.h> 13041#include <openssl/opensslv.h>
@@ -9616,28 +13043,30 @@ int main(void) { exit(SSLeay() == OPENSSL_VERSION_NUMBER ? 0 : 1); }
9616 13043
9617_ACEOF 13044_ACEOF
9618rm -f conftest$ac_exeext 13045rm -f conftest$ac_exeext
9619if { (eval echo "$as_me:9619: \"$ac_link\"") >&5 13046if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9620 (eval $ac_link) 2>&5 13047 (eval $ac_link) 2>&5
9621 ac_status=$? 13048 ac_status=$?
9622 echo "$as_me:9622: \$? = $ac_status" >&5 13049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13050 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9624 { (eval echo "$as_me:9624: \"$ac_try\"") >&5 13051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9625 (eval $ac_try) 2>&5 13052 (eval $ac_try) 2>&5
9626 ac_status=$? 13053 ac_status=$?
9627 echo "$as_me:9627: \$? = $ac_status" >&5 13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9628 (exit $ac_status); }; }; then 13055 (exit $ac_status); }; }; then
9629 13056
9630 echo "$as_me:9630: result: yes" >&5 13057 echo "$as_me:$LINENO: result: yes" >&5
9631echo "${ECHO_T}yes" >&6 13058echo "${ECHO_T}yes" >&6
9632 13059
9633else 13060else
9634 echo "$as_me: program exited with status $ac_status" >&5 13061 echo "$as_me: program exited with status $ac_status" >&5
9635echo "$as_me: failed program was:" >&5 13062echo "$as_me: failed program was:" >&5
9636cat conftest.$ac_ext >&5 13063sed 's/^/| /' conftest.$ac_ext >&5
13064
13065( exit $ac_status )
9637 13066
9638 echo "$as_me:9638: result: no" >&5 13067 echo "$as_me:$LINENO: result: no" >&5
9639echo "${ECHO_T}no" >&6 13068echo "${ECHO_T}no" >&6
9640 { { echo "$as_me:9640: error: Your OpenSSL headers do not match your library. 13069 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your library.
9641Check config.log for details. 13070Check config.log for details.
9642Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 13071Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
9643echo "$as_me: error: Your OpenSSL headers do not match your library. 13072echo "$as_me: error: Your OpenSSL headers do not match your library.
@@ -9645,15 +13074,16 @@ Check config.log for details.
9645Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} 13074Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;}
9646 { (exit 1); exit 1; }; } 13075 { (exit 1); exit 1; }; }
9647 13076
13077
9648fi 13078fi
9649rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13079rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9650fi 13080fi
9651 13081
9652# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 13082# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
9653# because the system crypt() is more featureful. 13083# because the system crypt() is more featureful.
9654if test "x$check_for_libcrypt_before" = "x1"; then 13084if test "x$check_for_libcrypt_before" = "x1"; then
9655 13085
9656echo "$as_me:9656: checking for crypt in -lcrypt" >&5 13086echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9657echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 13087echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9658if test "${ac_cv_lib_crypt_crypt+set}" = set; then 13088if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9659 echo $ECHO_N "(cached) $ECHO_C" >&6 13089 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9661,8 +13091,11 @@ else
9661 ac_check_lib_save_LIBS=$LIBS 13091 ac_check_lib_save_LIBS=$LIBS
9662LIBS="-lcrypt $LIBS" 13092LIBS="-lcrypt $LIBS"
9663cat >conftest.$ac_ext <<_ACEOF 13093cat >conftest.$ac_ext <<_ACEOF
9664#line 9664 "configure" 13094/* confdefs.h. */
9665#include "confdefs.h" 13095_ACEOF
13096cat confdefs.h >>conftest.$ac_ext
13097cat >>conftest.$ac_ext <<_ACEOF
13098/* end confdefs.h. */
9666 13099
9667/* Override any gcc2 internal prototype to avoid an error. */ 13100/* Override any gcc2 internal prototype to avoid an error. */
9668#ifdef __cplusplus 13101#ifdef __cplusplus
@@ -9680,32 +13113,44 @@ crypt ();
9680} 13113}
9681_ACEOF 13114_ACEOF
9682rm -f conftest.$ac_objext conftest$ac_exeext 13115rm -f conftest.$ac_objext conftest$ac_exeext
9683if { (eval echo "$as_me:9683: \"$ac_link\"") >&5 13116if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 (eval $ac_link) 2>&5 13117 (eval $ac_link) 2>conftest.er1
9685 ac_status=$? 13118 ac_status=$?
9686 echo "$as_me:9686: \$? = $ac_status" >&5 13119 grep -v '^ *+' conftest.er1 >conftest.err
13120 rm -f conftest.er1
13121 cat conftest.err >&5
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } && 13123 (exit $ac_status); } &&
9688 { ac_try='test -s conftest$ac_exeext' 13124 { ac_try='test -z "$ac_c_werror_flag"
9689 { (eval echo "$as_me:9689: \"$ac_try\"") >&5 13125 || test ! -s conftest.err'
13126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9690 (eval $ac_try) 2>&5 13127 (eval $ac_try) 2>&5
9691 ac_status=$? 13128 ac_status=$?
9692 echo "$as_me:9692: \$? = $ac_status" >&5 13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }; } &&
13131 { ac_try='test -s conftest$ac_exeext'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13134 ac_status=$?
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; }; then 13136 (exit $ac_status); }; }; then
9694 ac_cv_lib_crypt_crypt=yes 13137 ac_cv_lib_crypt_crypt=yes
9695else 13138else
9696 echo "$as_me: failed program was:" >&5 13139 echo "$as_me: failed program was:" >&5
9697cat conftest.$ac_ext >&5 13140sed 's/^/| /' conftest.$ac_ext >&5
13141
9698ac_cv_lib_crypt_crypt=no 13142ac_cv_lib_crypt_crypt=no
9699fi 13143fi
9700rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13144rm -f conftest.err conftest.$ac_objext \
13145 conftest$ac_exeext conftest.$ac_ext
9701LIBS=$ac_check_lib_save_LIBS 13146LIBS=$ac_check_lib_save_LIBS
9702fi 13147fi
9703echo "$as_me:9703: result: $ac_cv_lib_crypt_crypt" >&5 13148echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9704echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 13149echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9705if test $ac_cv_lib_crypt_crypt = yes; then 13150if test $ac_cv_lib_crypt_crypt = yes; then
9706 cat >>confdefs.h <<EOF 13151 cat >>confdefs.h <<_ACEOF
9707#define HAVE_LIBCRYPT 1 13152#define HAVE_LIBCRYPT 1
9708EOF 13153_ACEOF
9709 13154
9710 LIBS="-lcrypt $LIBS" 13155 LIBS="-lcrypt $LIBS"
9711 13156
@@ -9716,7 +13161,7 @@ fi
9716# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 13161# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
9717# version in OpenSSL. 13162# version in OpenSSL.
9718if test "x$check_for_libcrypt_later" = "x1"; then 13163if test "x$check_for_libcrypt_later" = "x1"; then
9719 echo "$as_me:9719: checking for crypt in -lcrypt" >&5 13164 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
9720echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6 13165echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
9721if test "${ac_cv_lib_crypt_crypt+set}" = set; then 13166if test "${ac_cv_lib_crypt_crypt+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6 13167 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -9724,8 +13169,11 @@ else
9724 ac_check_lib_save_LIBS=$LIBS 13169 ac_check_lib_save_LIBS=$LIBS
9725LIBS="-lcrypt $LIBS" 13170LIBS="-lcrypt $LIBS"
9726cat >conftest.$ac_ext <<_ACEOF 13171cat >conftest.$ac_ext <<_ACEOF
9727#line 9727 "configure" 13172/* confdefs.h. */
9728#include "confdefs.h" 13173_ACEOF
13174cat confdefs.h >>conftest.$ac_ext
13175cat >>conftest.$ac_ext <<_ACEOF
13176/* end confdefs.h. */
9729 13177
9730/* Override any gcc2 internal prototype to avoid an error. */ 13178/* Override any gcc2 internal prototype to avoid an error. */
9731#ifdef __cplusplus 13179#ifdef __cplusplus
@@ -9743,27 +13191,39 @@ crypt ();
9743} 13191}
9744_ACEOF 13192_ACEOF
9745rm -f conftest.$ac_objext conftest$ac_exeext 13193rm -f conftest.$ac_objext conftest$ac_exeext
9746if { (eval echo "$as_me:9746: \"$ac_link\"") >&5 13194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747 (eval $ac_link) 2>&5 13195 (eval $ac_link) 2>conftest.er1
9748 ac_status=$? 13196 ac_status=$?
9749 echo "$as_me:9749: \$? = $ac_status" >&5 13197 grep -v '^ *+' conftest.er1 >conftest.err
13198 rm -f conftest.er1
13199 cat conftest.err >&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); } && 13201 (exit $ac_status); } &&
9751 { ac_try='test -s conftest$ac_exeext' 13202 { ac_try='test -z "$ac_c_werror_flag"
9752 { (eval echo "$as_me:9752: \"$ac_try\"") >&5 13203 || test ! -s conftest.err'
13204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 (eval $ac_try) 2>&5 13205 (eval $ac_try) 2>&5
9754 ac_status=$? 13206 ac_status=$?
9755 echo "$as_me:9755: \$? = $ac_status" >&5 13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); }; } &&
13209 { ac_try='test -s conftest$ac_exeext'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; }; then 13214 (exit $ac_status); }; }; then
9757 ac_cv_lib_crypt_crypt=yes 13215 ac_cv_lib_crypt_crypt=yes
9758else 13216else
9759 echo "$as_me: failed program was:" >&5 13217 echo "$as_me: failed program was:" >&5
9760cat conftest.$ac_ext >&5 13218sed 's/^/| /' conftest.$ac_ext >&5
13219
9761ac_cv_lib_crypt_crypt=no 13220ac_cv_lib_crypt_crypt=no
9762fi 13221fi
9763rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 13222rm -f conftest.err conftest.$ac_objext \
13223 conftest$ac_exeext conftest.$ac_ext
9764LIBS=$ac_check_lib_save_LIBS 13224LIBS=$ac_check_lib_save_LIBS
9765fi 13225fi
9766echo "$as_me:9766: result: $ac_cv_lib_crypt_crypt" >&5 13226echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
9767echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6 13227echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
9768if test $ac_cv_lib_crypt_crypt = yes; then 13228if test $ac_cv_lib_crypt_crypt = yes; then
9769 LIBS="$LIBS -lcrypt" 13229 LIBS="$LIBS -lcrypt"
@@ -9771,19 +13231,25 @@ fi
9771 13231
9772fi 13232fi
9773 13233
13234
9774### Configure cryptographic random number support 13235### Configure cryptographic random number support
9775 13236
9776# Check wheter OpenSSL seeds itself 13237# Check wheter OpenSSL seeds itself
9777echo "$as_me:9777: checking whether OpenSSL's PRNG is internally seeded" >&5 13238echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
9778echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6 13239echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6
9779if test "$cross_compiling" = yes; then 13240if test "$cross_compiling" = yes; then
9780 { { echo "$as_me:9780: error: cannot run test program while cross compiling" >&5 13241 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9781echo "$as_me: error: cannot run test program while cross compiling" >&2;} 13242See \`config.log' for more details." >&5
13243echo "$as_me: error: cannot run test program while cross compiling
13244See \`config.log' for more details." >&2;}
9782 { (exit 1); exit 1; }; } 13245 { (exit 1); exit 1; }; }
9783else 13246else
9784 cat >conftest.$ac_ext <<_ACEOF 13247 cat >conftest.$ac_ext <<_ACEOF
9785#line 9785 "configure" 13248/* confdefs.h. */
9786#include "confdefs.h" 13249_ACEOF
13250cat confdefs.h >>conftest.$ac_ext
13251cat >>conftest.$ac_ext <<_ACEOF
13252/* end confdefs.h. */
9787 13253
9788#include <string.h> 13254#include <string.h>
9789#include <openssl/rand.h> 13255#include <openssl/rand.h>
@@ -9791,36 +13257,40 @@ int main(void) { exit(RAND_status() == 1 ? 0 : 1); }
9791 13257
9792_ACEOF 13258_ACEOF
9793rm -f conftest$ac_exeext 13259rm -f conftest$ac_exeext
9794if { (eval echo "$as_me:9794: \"$ac_link\"") >&5 13260if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9795 (eval $ac_link) 2>&5 13261 (eval $ac_link) 2>&5
9796 ac_status=$? 13262 ac_status=$?
9797 echo "$as_me:9797: \$? = $ac_status" >&5 13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9799 { (eval echo "$as_me:9799: \"$ac_try\"") >&5 13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9800 (eval $ac_try) 2>&5 13266 (eval $ac_try) 2>&5
9801 ac_status=$? 13267 ac_status=$?
9802 echo "$as_me:9802: \$? = $ac_status" >&5 13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; }; then 13269 (exit $ac_status); }; }; then
9804 13270
9805 OPENSSL_SEEDS_ITSELF=yes 13271 OPENSSL_SEEDS_ITSELF=yes
9806 echo "$as_me:9806: result: yes" >&5 13272 echo "$as_me:$LINENO: result: yes" >&5
9807echo "${ECHO_T}yes" >&6 13273echo "${ECHO_T}yes" >&6
9808 13274
9809else 13275else
9810 echo "$as_me: program exited with status $ac_status" >&5 13276 echo "$as_me: program exited with status $ac_status" >&5
9811echo "$as_me: failed program was:" >&5 13277echo "$as_me: failed program was:" >&5
9812cat conftest.$ac_ext >&5 13278sed 's/^/| /' conftest.$ac_ext >&5
13279
13280( exit $ac_status )
9813 13281
9814 echo "$as_me:9814: result: no" >&5 13282 echo "$as_me:$LINENO: result: no" >&5
9815echo "${ECHO_T}no" >&6 13283echo "${ECHO_T}no" >&6
9816 # Default to use of the rand helper if OpenSSL doesn't 13284 # Default to use of the rand helper if OpenSSL doesn't
9817 # seed itself 13285 # seed itself
9818 USE_RAND_HELPER=yes 13286 USE_RAND_HELPER=yes
9819 13287
13288
9820fi 13289fi
9821rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13290rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9822fi 13291fi
9823 13292
13293
9824# Do we want to force the use of the rand helper? 13294# Do we want to force the use of the rand helper?
9825 13295
9826# Check whether --with-rand-helper or --without-rand-helper was given. 13296# Check whether --with-rand-helper or --without-rand-helper was given.
@@ -9831,7 +13301,7 @@ if test "${with_rand_helper+set}" = set; then
9831 # Force use of OpenSSL's internal RNG, even if 13301 # Force use of OpenSSL's internal RNG, even if
9832 # the previous test showed it to be unseeded. 13302 # the previous test showed it to be unseeded.
9833 if test -z "$OPENSSL_SEEDS_ITSELF" ; then 13303 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
9834 { echo "$as_me:9834: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 13304 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
9835echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} 13305echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
9836 OPENSSL_SEEDS_ITSELF=yes 13306 OPENSSL_SEEDS_ITSELF=yes
9837 USE_RAND_HELPER="" 13307 USE_RAND_HELPER=""
@@ -9845,9 +13315,9 @@ fi;
9845# Which randomness source do we use? 13315# Which randomness source do we use?
9846if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then 13316if test ! -z "$OPENSSL_SEEDS_ITSELF" -a -z "$USE_RAND_HELPER" ; then
9847 # OpenSSL only 13317 # OpenSSL only
9848 cat >>confdefs.h <<\EOF 13318 cat >>confdefs.h <<\_ACEOF
9849#define OPENSSL_PRNG_ONLY 1 13319#define OPENSSL_PRNG_ONLY 1
9850EOF 13320_ACEOF
9851 13321
9852 RAND_MSG="OpenSSL internal ONLY" 13322 RAND_MSG="OpenSSL internal ONLY"
9853 INSTALL_SSH_RAND_HELPER="" 13323 INSTALL_SSH_RAND_HELPER=""
@@ -9857,6 +13327,7 @@ elif test ! -z "$USE_RAND_HELPER" ; then
9857 INSTALL_SSH_RAND_HELPER="yes" 13327 INSTALL_SSH_RAND_HELPER="yes"
9858fi 13328fi
9859 13329
13330
9860### Configuration of ssh-rand-helper 13331### Configuration of ssh-rand-helper
9861 13332
9862# PRNGD TCP socket 13333# PRNGD TCP socket
@@ -9872,19 +13343,20 @@ if test "${with_prngd_port+set}" = set; then
9872 [0-9]*) 13343 [0-9]*)
9873 ;; 13344 ;;
9874 *) 13345 *)
9875 { { echo "$as_me:9875: error: You must specify a numeric port number for --with-prngd-port" >&5 13346 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
9876echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} 13347echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
9877 { (exit 1); exit 1; }; } 13348 { (exit 1); exit 1; }; }
9878 ;; 13349 ;;
9879 esac 13350 esac
9880 if test ! -z "$withval" ; then 13351 if test ! -z "$withval" ; then
9881 PRNGD_PORT="$withval" 13352 PRNGD_PORT="$withval"
9882 cat >>confdefs.h <<EOF 13353 cat >>confdefs.h <<_ACEOF
9883#define PRNGD_PORT $PRNGD_PORT 13354#define PRNGD_PORT $PRNGD_PORT
9884EOF 13355_ACEOF
9885 13356
9886 fi 13357 fi
9887 13358
13359
9888fi; 13360fi;
9889 13361
9890# PRNGD Unix domain socket 13362# PRNGD Unix domain socket
@@ -9903,7 +13375,7 @@ if test "${with_prngd_socket+set}" = set; then
9903 /*) 13375 /*)
9904 ;; 13376 ;;
9905 *) 13377 *)
9906 { { echo "$as_me:9906: error: You must specify an absolute path to the entropy socket" >&5 13378 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
9907echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} 13379echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
9908 { (exit 1); exit 1; }; } 13380 { (exit 1); exit 1; }; }
9909 ;; 13381 ;;
@@ -9911,18 +13383,18 @@ echo "$as_me: error: You must specify an absolute path to the entropy socket" >&
9911 13383
9912 if test ! -z "$withval" ; then 13384 if test ! -z "$withval" ; then
9913 if test ! -z "$PRNGD_PORT" ; then 13385 if test ! -z "$PRNGD_PORT" ; then
9914 { { echo "$as_me:9914: error: You may not specify both a PRNGD/EGD port and socket" >&5 13386 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
9915echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} 13387echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
9916 { (exit 1); exit 1; }; } 13388 { (exit 1); exit 1; }; }
9917 fi 13389 fi
9918 if test ! -r "$withval" ; then 13390 if test ! -r "$withval" ; then
9919 { echo "$as_me:9919: WARNING: Entropy socket is not readable" >&5 13391 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
9920echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 13392echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
9921 fi 13393 fi
9922 PRNGD_SOCKET="$withval" 13394 PRNGD_SOCKET="$withval"
9923 cat >>confdefs.h <<EOF 13395 cat >>confdefs.h <<_ACEOF
9924#define PRNGD_SOCKET "$PRNGD_SOCKET" 13396#define PRNGD_SOCKET "$PRNGD_SOCKET"
9925EOF 13397_ACEOF
9926 13398
9927 fi 13399 fi
9928 13400
@@ -9930,28 +13402,29 @@ else
9930 13402
9931 # Check for existing socket only if we don't have a random device already 13403 # Check for existing socket only if we don't have a random device already
9932 if test "$USE_RAND_HELPER" = yes ; then 13404 if test "$USE_RAND_HELPER" = yes ; then
9933 echo "$as_me:9933: checking for PRNGD/EGD socket" >&5 13405 echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
9934echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6 13406echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6
9935 # Insert other locations here 13407 # Insert other locations here
9936 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 13408 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
9937 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then 13409 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
9938 PRNGD_SOCKET="$sock" 13410 PRNGD_SOCKET="$sock"
9939 cat >>confdefs.h <<EOF 13411 cat >>confdefs.h <<_ACEOF
9940#define PRNGD_SOCKET "$PRNGD_SOCKET" 13412#define PRNGD_SOCKET "$PRNGD_SOCKET"
9941EOF 13413_ACEOF
9942 13414
9943 break; 13415 break;
9944 fi 13416 fi
9945 done 13417 done
9946 if test ! -z "$PRNGD_SOCKET" ; then 13418 if test ! -z "$PRNGD_SOCKET" ; then
9947 echo "$as_me:9947: result: $PRNGD_SOCKET" >&5 13419 echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
9948echo "${ECHO_T}$PRNGD_SOCKET" >&6 13420echo "${ECHO_T}$PRNGD_SOCKET" >&6
9949 else 13421 else
9950 echo "$as_me:9950: result: not found" >&5 13422 echo "$as_me:$LINENO: result: not found" >&5
9951echo "${ECHO_T}not found" >&6 13423echo "${ECHO_T}not found" >&6
9952 fi 13424 fi
9953 fi 13425 fi
9954 13426
13427
9955fi; 13428fi;
9956 13429
9957# Change default command timeout for hashing entropy source 13430# Change default command timeout for hashing entropy source
@@ -9965,10 +13438,12 @@ if test "${with_entropy_timeout+set}" = set; then
9965 entropy_timeout=$withval 13438 entropy_timeout=$withval
9966 fi 13439 fi
9967 13440
13441
9968fi; 13442fi;
9969cat >>confdefs.h <<EOF 13443cat >>confdefs.h <<_ACEOF
9970#define ENTROPY_TIMEOUT_MSEC $entropy_timeout 13444#define ENTROPY_TIMEOUT_MSEC $entropy_timeout
9971EOF 13445_ACEOF
13446
9972 13447
9973SSH_PRIVSEP_USER=sshd 13448SSH_PRIVSEP_USER=sshd
9974 13449
@@ -9980,10 +13455,13 @@ if test "${with_privsep_user+set}" = set; then
9980 SSH_PRIVSEP_USER=$withval 13455 SSH_PRIVSEP_USER=$withval
9981 fi 13456 fi
9982 13457
13458
9983fi; 13459fi;
9984cat >>confdefs.h <<EOF 13460cat >>confdefs.h <<_ACEOF
9985#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER" 13461#define SSH_PRIVSEP_USER "$SSH_PRIVSEP_USER"
9986EOF 13462_ACEOF
13463
13464
9987 13465
9988# We do this little dance with the search path to insure 13466# We do this little dance with the search path to insure
9989# that programs that we select for use by installed programs 13467# that programs that we select for use by installed programs
@@ -10003,7 +13481,7 @@ PATH=$PATH:/etc:$OPATH
10003 13481
10004 # Extract the first word of "ls", so it can be a program name with args. 13482 # Extract the first word of "ls", so it can be a program name with args.
10005set dummy ls; ac_word=$2 13483set dummy ls; ac_word=$2
10006echo "$as_me:10006: checking for $ac_word" >&5 13484echo "$as_me:$LINENO: checking for $ac_word" >&5
10007echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13485echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10008if test "${ac_cv_path_PROG_LS+set}" = set; then 13486if test "${ac_cv_path_PROG_LS+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6 13487 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10013,16 +13491,18 @@ else
10013 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path. 13491 ac_cv_path_PROG_LS="$PROG_LS" # Let the user override the test with a path.
10014 ;; 13492 ;;
10015 *) 13493 *)
10016 ac_save_IFS=$IFS; IFS=$ac_path_separator 13494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10017ac_dummy="$PATH" 13495for as_dir in $PATH
10018for ac_dir in $ac_dummy; do 13496do
10019 IFS=$ac_save_IFS 13497 IFS=$as_save_IFS
10020 test -z "$ac_dir" && ac_dir=. 13498 test -z "$as_dir" && as_dir=.
10021 if $as_executable_p "$ac_dir/$ac_word"; then 13499 for ac_exec_ext in '' $ac_executable_extensions; do
10022 ac_cv_path_PROG_LS="$ac_dir/$ac_word" 13500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10023 echo "$as_me:10023: found $ac_dir/$ac_word" >&5 13501 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
10024 break 13502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10025fi 13503 break 2
13504 fi
13505done
10026done 13506done
10027 13507
10028 ;; 13508 ;;
@@ -10031,10 +13511,10 @@ fi
10031PROG_LS=$ac_cv_path_PROG_LS 13511PROG_LS=$ac_cv_path_PROG_LS
10032 13512
10033if test -n "$PROG_LS"; then 13513if test -n "$PROG_LS"; then
10034 echo "$as_me:10034: result: $PROG_LS" >&5 13514 echo "$as_me:$LINENO: result: $PROG_LS" >&5
10035echo "${ECHO_T}$PROG_LS" >&6 13515echo "${ECHO_T}$PROG_LS" >&6
10036else 13516else
10037 echo "$as_me:10037: result: no" >&5 13517 echo "$as_me:$LINENO: result: no" >&5
10038echo "${ECHO_T}no" >&6 13518echo "${ECHO_T}no" >&6
10039fi 13519fi
10040 13520
@@ -10042,9 +13522,11 @@ fi
10042 PROG_LS="undef" 13522 PROG_LS="undef"
10043 fi 13523 fi
10044 13524
13525
13526
10045 # Extract the first word of "netstat", so it can be a program name with args. 13527 # Extract the first word of "netstat", so it can be a program name with args.
10046set dummy netstat; ac_word=$2 13528set dummy netstat; ac_word=$2
10047echo "$as_me:10047: checking for $ac_word" >&5 13529echo "$as_me:$LINENO: checking for $ac_word" >&5
10048echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13530echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10049if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then 13531if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
10050 echo $ECHO_N "(cached) $ECHO_C" >&6 13532 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10054,16 +13536,18 @@ else
10054 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path. 13536 ac_cv_path_PROG_NETSTAT="$PROG_NETSTAT" # Let the user override the test with a path.
10055 ;; 13537 ;;
10056 *) 13538 *)
10057 ac_save_IFS=$IFS; IFS=$ac_path_separator 13539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10058ac_dummy="$PATH" 13540for as_dir in $PATH
10059for ac_dir in $ac_dummy; do 13541do
10060 IFS=$ac_save_IFS 13542 IFS=$as_save_IFS
10061 test -z "$ac_dir" && ac_dir=. 13543 test -z "$as_dir" && as_dir=.
10062 if $as_executable_p "$ac_dir/$ac_word"; then 13544 for ac_exec_ext in '' $ac_executable_extensions; do
10063 ac_cv_path_PROG_NETSTAT="$ac_dir/$ac_word" 13545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10064 echo "$as_me:10064: found $ac_dir/$ac_word" >&5 13546 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
10065 break 13547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066fi 13548 break 2
13549 fi
13550done
10067done 13551done
10068 13552
10069 ;; 13553 ;;
@@ -10072,10 +13556,10 @@ fi
10072PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT 13556PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
10073 13557
10074if test -n "$PROG_NETSTAT"; then 13558if test -n "$PROG_NETSTAT"; then
10075 echo "$as_me:10075: result: $PROG_NETSTAT" >&5 13559 echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
10076echo "${ECHO_T}$PROG_NETSTAT" >&6 13560echo "${ECHO_T}$PROG_NETSTAT" >&6
10077else 13561else
10078 echo "$as_me:10078: result: no" >&5 13562 echo "$as_me:$LINENO: result: no" >&5
10079echo "${ECHO_T}no" >&6 13563echo "${ECHO_T}no" >&6
10080fi 13564fi
10081 13565
@@ -10083,9 +13567,11 @@ fi
10083 PROG_NETSTAT="undef" 13567 PROG_NETSTAT="undef"
10084 fi 13568 fi
10085 13569
13570
13571
10086 # Extract the first word of "arp", so it can be a program name with args. 13572 # Extract the first word of "arp", so it can be a program name with args.
10087set dummy arp; ac_word=$2 13573set dummy arp; ac_word=$2
10088echo "$as_me:10088: checking for $ac_word" >&5 13574echo "$as_me:$LINENO: checking for $ac_word" >&5
10089echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13575echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10090if test "${ac_cv_path_PROG_ARP+set}" = set; then 13576if test "${ac_cv_path_PROG_ARP+set}" = set; then
10091 echo $ECHO_N "(cached) $ECHO_C" >&6 13577 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10095,16 +13581,18 @@ else
10095 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path. 13581 ac_cv_path_PROG_ARP="$PROG_ARP" # Let the user override the test with a path.
10096 ;; 13582 ;;
10097 *) 13583 *)
10098 ac_save_IFS=$IFS; IFS=$ac_path_separator 13584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10099ac_dummy="$PATH" 13585for as_dir in $PATH
10100for ac_dir in $ac_dummy; do 13586do
10101 IFS=$ac_save_IFS 13587 IFS=$as_save_IFS
10102 test -z "$ac_dir" && ac_dir=. 13588 test -z "$as_dir" && as_dir=.
10103 if $as_executable_p "$ac_dir/$ac_word"; then 13589 for ac_exec_ext in '' $ac_executable_extensions; do
10104 ac_cv_path_PROG_ARP="$ac_dir/$ac_word" 13590 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10105 echo "$as_me:10105: found $ac_dir/$ac_word" >&5 13591 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
10106 break 13592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10107fi 13593 break 2
13594 fi
13595done
10108done 13596done
10109 13597
10110 ;; 13598 ;;
@@ -10113,10 +13601,10 @@ fi
10113PROG_ARP=$ac_cv_path_PROG_ARP 13601PROG_ARP=$ac_cv_path_PROG_ARP
10114 13602
10115if test -n "$PROG_ARP"; then 13603if test -n "$PROG_ARP"; then
10116 echo "$as_me:10116: result: $PROG_ARP" >&5 13604 echo "$as_me:$LINENO: result: $PROG_ARP" >&5
10117echo "${ECHO_T}$PROG_ARP" >&6 13605echo "${ECHO_T}$PROG_ARP" >&6
10118else 13606else
10119 echo "$as_me:10119: result: no" >&5 13607 echo "$as_me:$LINENO: result: no" >&5
10120echo "${ECHO_T}no" >&6 13608echo "${ECHO_T}no" >&6
10121fi 13609fi
10122 13610
@@ -10124,9 +13612,11 @@ fi
10124 PROG_ARP="undef" 13612 PROG_ARP="undef"
10125 fi 13613 fi
10126 13614
13615
13616
10127 # Extract the first word of "ifconfig", so it can be a program name with args. 13617 # Extract the first word of "ifconfig", so it can be a program name with args.
10128set dummy ifconfig; ac_word=$2 13618set dummy ifconfig; ac_word=$2
10129echo "$as_me:10129: checking for $ac_word" >&5 13619echo "$as_me:$LINENO: checking for $ac_word" >&5
10130echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13620echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10131if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then 13621if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6 13622 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10136,16 +13626,18 @@ else
10136 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path. 13626 ac_cv_path_PROG_IFCONFIG="$PROG_IFCONFIG" # Let the user override the test with a path.
10137 ;; 13627 ;;
10138 *) 13628 *)
10139 ac_save_IFS=$IFS; IFS=$ac_path_separator 13629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10140ac_dummy="$PATH" 13630for as_dir in $PATH
10141for ac_dir in $ac_dummy; do 13631do
10142 IFS=$ac_save_IFS 13632 IFS=$as_save_IFS
10143 test -z "$ac_dir" && ac_dir=. 13633 test -z "$as_dir" && as_dir=.
10144 if $as_executable_p "$ac_dir/$ac_word"; then 13634 for ac_exec_ext in '' $ac_executable_extensions; do
10145 ac_cv_path_PROG_IFCONFIG="$ac_dir/$ac_word" 13635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10146 echo "$as_me:10146: found $ac_dir/$ac_word" >&5 13636 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
10147 break 13637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10148fi 13638 break 2
13639 fi
13640done
10149done 13641done
10150 13642
10151 ;; 13643 ;;
@@ -10154,10 +13646,10 @@ fi
10154PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG 13646PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
10155 13647
10156if test -n "$PROG_IFCONFIG"; then 13648if test -n "$PROG_IFCONFIG"; then
10157 echo "$as_me:10157: result: $PROG_IFCONFIG" >&5 13649 echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
10158echo "${ECHO_T}$PROG_IFCONFIG" >&6 13650echo "${ECHO_T}$PROG_IFCONFIG" >&6
10159else 13651else
10160 echo "$as_me:10160: result: no" >&5 13652 echo "$as_me:$LINENO: result: no" >&5
10161echo "${ECHO_T}no" >&6 13653echo "${ECHO_T}no" >&6
10162fi 13654fi
10163 13655
@@ -10165,9 +13657,11 @@ fi
10165 PROG_IFCONFIG="undef" 13657 PROG_IFCONFIG="undef"
10166 fi 13658 fi
10167 13659
13660
13661
10168 # Extract the first word of "jstat", so it can be a program name with args. 13662 # Extract the first word of "jstat", so it can be a program name with args.
10169set dummy jstat; ac_word=$2 13663set dummy jstat; ac_word=$2
10170echo "$as_me:10170: checking for $ac_word" >&5 13664echo "$as_me:$LINENO: checking for $ac_word" >&5
10171echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13665echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10172if test "${ac_cv_path_PROG_JSTAT+set}" = set; then 13666if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6 13667 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10177,16 +13671,18 @@ else
10177 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path. 13671 ac_cv_path_PROG_JSTAT="$PROG_JSTAT" # Let the user override the test with a path.
10178 ;; 13672 ;;
10179 *) 13673 *)
10180 ac_save_IFS=$IFS; IFS=$ac_path_separator 13674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10181ac_dummy="$PATH" 13675for as_dir in $PATH
10182for ac_dir in $ac_dummy; do 13676do
10183 IFS=$ac_save_IFS 13677 IFS=$as_save_IFS
10184 test -z "$ac_dir" && ac_dir=. 13678 test -z "$as_dir" && as_dir=.
10185 if $as_executable_p "$ac_dir/$ac_word"; then 13679 for ac_exec_ext in '' $ac_executable_extensions; do
10186 ac_cv_path_PROG_JSTAT="$ac_dir/$ac_word" 13680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10187 echo "$as_me:10187: found $ac_dir/$ac_word" >&5 13681 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
10188 break 13682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10189fi 13683 break 2
13684 fi
13685done
10190done 13686done
10191 13687
10192 ;; 13688 ;;
@@ -10195,10 +13691,10 @@ fi
10195PROG_JSTAT=$ac_cv_path_PROG_JSTAT 13691PROG_JSTAT=$ac_cv_path_PROG_JSTAT
10196 13692
10197if test -n "$PROG_JSTAT"; then 13693if test -n "$PROG_JSTAT"; then
10198 echo "$as_me:10198: result: $PROG_JSTAT" >&5 13694 echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
10199echo "${ECHO_T}$PROG_JSTAT" >&6 13695echo "${ECHO_T}$PROG_JSTAT" >&6
10200else 13696else
10201 echo "$as_me:10201: result: no" >&5 13697 echo "$as_me:$LINENO: result: no" >&5
10202echo "${ECHO_T}no" >&6 13698echo "${ECHO_T}no" >&6
10203fi 13699fi
10204 13700
@@ -10206,9 +13702,11 @@ fi
10206 PROG_JSTAT="undef" 13702 PROG_JSTAT="undef"
10207 fi 13703 fi
10208 13704
13705
13706
10209 # Extract the first word of "ps", so it can be a program name with args. 13707 # Extract the first word of "ps", so it can be a program name with args.
10210set dummy ps; ac_word=$2 13708set dummy ps; ac_word=$2
10211echo "$as_me:10211: checking for $ac_word" >&5 13709echo "$as_me:$LINENO: checking for $ac_word" >&5
10212echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13710echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10213if test "${ac_cv_path_PROG_PS+set}" = set; then 13711if test "${ac_cv_path_PROG_PS+set}" = set; then
10214 echo $ECHO_N "(cached) $ECHO_C" >&6 13712 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10218,16 +13716,18 @@ else
10218 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path. 13716 ac_cv_path_PROG_PS="$PROG_PS" # Let the user override the test with a path.
10219 ;; 13717 ;;
10220 *) 13718 *)
10221 ac_save_IFS=$IFS; IFS=$ac_path_separator 13719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222ac_dummy="$PATH" 13720for as_dir in $PATH
10223for ac_dir in $ac_dummy; do 13721do
10224 IFS=$ac_save_IFS 13722 IFS=$as_save_IFS
10225 test -z "$ac_dir" && ac_dir=. 13723 test -z "$as_dir" && as_dir=.
10226 if $as_executable_p "$ac_dir/$ac_word"; then 13724 for ac_exec_ext in '' $ac_executable_extensions; do
10227 ac_cv_path_PROG_PS="$ac_dir/$ac_word" 13725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228 echo "$as_me:10228: found $ac_dir/$ac_word" >&5 13726 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
10229 break 13727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10230fi 13728 break 2
13729 fi
13730done
10231done 13731done
10232 13732
10233 ;; 13733 ;;
@@ -10236,10 +13736,10 @@ fi
10236PROG_PS=$ac_cv_path_PROG_PS 13736PROG_PS=$ac_cv_path_PROG_PS
10237 13737
10238if test -n "$PROG_PS"; then 13738if test -n "$PROG_PS"; then
10239 echo "$as_me:10239: result: $PROG_PS" >&5 13739 echo "$as_me:$LINENO: result: $PROG_PS" >&5
10240echo "${ECHO_T}$PROG_PS" >&6 13740echo "${ECHO_T}$PROG_PS" >&6
10241else 13741else
10242 echo "$as_me:10242: result: no" >&5 13742 echo "$as_me:$LINENO: result: no" >&5
10243echo "${ECHO_T}no" >&6 13743echo "${ECHO_T}no" >&6
10244fi 13744fi
10245 13745
@@ -10247,9 +13747,11 @@ fi
10247 PROG_PS="undef" 13747 PROG_PS="undef"
10248 fi 13748 fi
10249 13749
13750
13751
10250 # Extract the first word of "sar", so it can be a program name with args. 13752 # Extract the first word of "sar", so it can be a program name with args.
10251set dummy sar; ac_word=$2 13753set dummy sar; ac_word=$2
10252echo "$as_me:10252: checking for $ac_word" >&5 13754echo "$as_me:$LINENO: checking for $ac_word" >&5
10253echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13755echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10254if test "${ac_cv_path_PROG_SAR+set}" = set; then 13756if test "${ac_cv_path_PROG_SAR+set}" = set; then
10255 echo $ECHO_N "(cached) $ECHO_C" >&6 13757 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10259,16 +13761,18 @@ else
10259 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path. 13761 ac_cv_path_PROG_SAR="$PROG_SAR" # Let the user override the test with a path.
10260 ;; 13762 ;;
10261 *) 13763 *)
10262 ac_save_IFS=$IFS; IFS=$ac_path_separator 13764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10263ac_dummy="$PATH" 13765for as_dir in $PATH
10264for ac_dir in $ac_dummy; do 13766do
10265 IFS=$ac_save_IFS 13767 IFS=$as_save_IFS
10266 test -z "$ac_dir" && ac_dir=. 13768 test -z "$as_dir" && as_dir=.
10267 if $as_executable_p "$ac_dir/$ac_word"; then 13769 for ac_exec_ext in '' $ac_executable_extensions; do
10268 ac_cv_path_PROG_SAR="$ac_dir/$ac_word" 13770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10269 echo "$as_me:10269: found $ac_dir/$ac_word" >&5 13771 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
10270 break 13772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10271fi 13773 break 2
13774 fi
13775done
10272done 13776done
10273 13777
10274 ;; 13778 ;;
@@ -10277,10 +13781,10 @@ fi
10277PROG_SAR=$ac_cv_path_PROG_SAR 13781PROG_SAR=$ac_cv_path_PROG_SAR
10278 13782
10279if test -n "$PROG_SAR"; then 13783if test -n "$PROG_SAR"; then
10280 echo "$as_me:10280: result: $PROG_SAR" >&5 13784 echo "$as_me:$LINENO: result: $PROG_SAR" >&5
10281echo "${ECHO_T}$PROG_SAR" >&6 13785echo "${ECHO_T}$PROG_SAR" >&6
10282else 13786else
10283 echo "$as_me:10283: result: no" >&5 13787 echo "$as_me:$LINENO: result: no" >&5
10284echo "${ECHO_T}no" >&6 13788echo "${ECHO_T}no" >&6
10285fi 13789fi
10286 13790
@@ -10288,9 +13792,11 @@ fi
10288 PROG_SAR="undef" 13792 PROG_SAR="undef"
10289 fi 13793 fi
10290 13794
13795
13796
10291 # Extract the first word of "w", so it can be a program name with args. 13797 # Extract the first word of "w", so it can be a program name with args.
10292set dummy w; ac_word=$2 13798set dummy w; ac_word=$2
10293echo "$as_me:10293: checking for $ac_word" >&5 13799echo "$as_me:$LINENO: checking for $ac_word" >&5
10294echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13800echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10295if test "${ac_cv_path_PROG_W+set}" = set; then 13801if test "${ac_cv_path_PROG_W+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6 13802 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10300,16 +13806,18 @@ else
10300 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path. 13806 ac_cv_path_PROG_W="$PROG_W" # Let the user override the test with a path.
10301 ;; 13807 ;;
10302 *) 13808 *)
10303 ac_save_IFS=$IFS; IFS=$ac_path_separator 13809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10304ac_dummy="$PATH" 13810for as_dir in $PATH
10305for ac_dir in $ac_dummy; do 13811do
10306 IFS=$ac_save_IFS 13812 IFS=$as_save_IFS
10307 test -z "$ac_dir" && ac_dir=. 13813 test -z "$as_dir" && as_dir=.
10308 if $as_executable_p "$ac_dir/$ac_word"; then 13814 for ac_exec_ext in '' $ac_executable_extensions; do
10309 ac_cv_path_PROG_W="$ac_dir/$ac_word" 13815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10310 echo "$as_me:10310: found $ac_dir/$ac_word" >&5 13816 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
10311 break 13817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10312fi 13818 break 2
13819 fi
13820done
10313done 13821done
10314 13822
10315 ;; 13823 ;;
@@ -10318,10 +13826,10 @@ fi
10318PROG_W=$ac_cv_path_PROG_W 13826PROG_W=$ac_cv_path_PROG_W
10319 13827
10320if test -n "$PROG_W"; then 13828if test -n "$PROG_W"; then
10321 echo "$as_me:10321: result: $PROG_W" >&5 13829 echo "$as_me:$LINENO: result: $PROG_W" >&5
10322echo "${ECHO_T}$PROG_W" >&6 13830echo "${ECHO_T}$PROG_W" >&6
10323else 13831else
10324 echo "$as_me:10324: result: no" >&5 13832 echo "$as_me:$LINENO: result: no" >&5
10325echo "${ECHO_T}no" >&6 13833echo "${ECHO_T}no" >&6
10326fi 13834fi
10327 13835
@@ -10329,9 +13837,11 @@ fi
10329 PROG_W="undef" 13837 PROG_W="undef"
10330 fi 13838 fi
10331 13839
13840
13841
10332 # Extract the first word of "who", so it can be a program name with args. 13842 # Extract the first word of "who", so it can be a program name with args.
10333set dummy who; ac_word=$2 13843set dummy who; ac_word=$2
10334echo "$as_me:10334: checking for $ac_word" >&5 13844echo "$as_me:$LINENO: checking for $ac_word" >&5
10335echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13845echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10336if test "${ac_cv_path_PROG_WHO+set}" = set; then 13846if test "${ac_cv_path_PROG_WHO+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6 13847 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10341,16 +13851,18 @@ else
10341 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path. 13851 ac_cv_path_PROG_WHO="$PROG_WHO" # Let the user override the test with a path.
10342 ;; 13852 ;;
10343 *) 13853 *)
10344 ac_save_IFS=$IFS; IFS=$ac_path_separator 13854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10345ac_dummy="$PATH" 13855for as_dir in $PATH
10346for ac_dir in $ac_dummy; do 13856do
10347 IFS=$ac_save_IFS 13857 IFS=$as_save_IFS
10348 test -z "$ac_dir" && ac_dir=. 13858 test -z "$as_dir" && as_dir=.
10349 if $as_executable_p "$ac_dir/$ac_word"; then 13859 for ac_exec_ext in '' $ac_executable_extensions; do
10350 ac_cv_path_PROG_WHO="$ac_dir/$ac_word" 13860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10351 echo "$as_me:10351: found $ac_dir/$ac_word" >&5 13861 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
10352 break 13862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10353fi 13863 break 2
13864 fi
13865done
10354done 13866done
10355 13867
10356 ;; 13868 ;;
@@ -10359,10 +13871,10 @@ fi
10359PROG_WHO=$ac_cv_path_PROG_WHO 13871PROG_WHO=$ac_cv_path_PROG_WHO
10360 13872
10361if test -n "$PROG_WHO"; then 13873if test -n "$PROG_WHO"; then
10362 echo "$as_me:10362: result: $PROG_WHO" >&5 13874 echo "$as_me:$LINENO: result: $PROG_WHO" >&5
10363echo "${ECHO_T}$PROG_WHO" >&6 13875echo "${ECHO_T}$PROG_WHO" >&6
10364else 13876else
10365 echo "$as_me:10365: result: no" >&5 13877 echo "$as_me:$LINENO: result: no" >&5
10366echo "${ECHO_T}no" >&6 13878echo "${ECHO_T}no" >&6
10367fi 13879fi
10368 13880
@@ -10370,9 +13882,11 @@ fi
10370 PROG_WHO="undef" 13882 PROG_WHO="undef"
10371 fi 13883 fi
10372 13884
13885
13886
10373 # Extract the first word of "last", so it can be a program name with args. 13887 # Extract the first word of "last", so it can be a program name with args.
10374set dummy last; ac_word=$2 13888set dummy last; ac_word=$2
10375echo "$as_me:10375: checking for $ac_word" >&5 13889echo "$as_me:$LINENO: checking for $ac_word" >&5
10376echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13890echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10377if test "${ac_cv_path_PROG_LAST+set}" = set; then 13891if test "${ac_cv_path_PROG_LAST+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6 13892 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10382,16 +13896,18 @@ else
10382 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path. 13896 ac_cv_path_PROG_LAST="$PROG_LAST" # Let the user override the test with a path.
10383 ;; 13897 ;;
10384 *) 13898 *)
10385 ac_save_IFS=$IFS; IFS=$ac_path_separator 13899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386ac_dummy="$PATH" 13900for as_dir in $PATH
10387for ac_dir in $ac_dummy; do 13901do
10388 IFS=$ac_save_IFS 13902 IFS=$as_save_IFS
10389 test -z "$ac_dir" && ac_dir=. 13903 test -z "$as_dir" && as_dir=.
10390 if $as_executable_p "$ac_dir/$ac_word"; then 13904 for ac_exec_ext in '' $ac_executable_extensions; do
10391 ac_cv_path_PROG_LAST="$ac_dir/$ac_word" 13905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10392 echo "$as_me:10392: found $ac_dir/$ac_word" >&5 13906 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
10393 break 13907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10394fi 13908 break 2
13909 fi
13910done
10395done 13911done
10396 13912
10397 ;; 13913 ;;
@@ -10400,10 +13916,10 @@ fi
10400PROG_LAST=$ac_cv_path_PROG_LAST 13916PROG_LAST=$ac_cv_path_PROG_LAST
10401 13917
10402if test -n "$PROG_LAST"; then 13918if test -n "$PROG_LAST"; then
10403 echo "$as_me:10403: result: $PROG_LAST" >&5 13919 echo "$as_me:$LINENO: result: $PROG_LAST" >&5
10404echo "${ECHO_T}$PROG_LAST" >&6 13920echo "${ECHO_T}$PROG_LAST" >&6
10405else 13921else
10406 echo "$as_me:10406: result: no" >&5 13922 echo "$as_me:$LINENO: result: no" >&5
10407echo "${ECHO_T}no" >&6 13923echo "${ECHO_T}no" >&6
10408fi 13924fi
10409 13925
@@ -10411,9 +13927,11 @@ fi
10411 PROG_LAST="undef" 13927 PROG_LAST="undef"
10412 fi 13928 fi
10413 13929
13930
13931
10414 # Extract the first word of "lastlog", so it can be a program name with args. 13932 # Extract the first word of "lastlog", so it can be a program name with args.
10415set dummy lastlog; ac_word=$2 13933set dummy lastlog; ac_word=$2
10416echo "$as_me:10416: checking for $ac_word" >&5 13934echo "$as_me:$LINENO: checking for $ac_word" >&5
10417echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13935echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10418if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then 13936if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
10419 echo $ECHO_N "(cached) $ECHO_C" >&6 13937 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10423,16 +13941,18 @@ else
10423 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path. 13941 ac_cv_path_PROG_LASTLOG="$PROG_LASTLOG" # Let the user override the test with a path.
10424 ;; 13942 ;;
10425 *) 13943 *)
10426 ac_save_IFS=$IFS; IFS=$ac_path_separator 13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10427ac_dummy="$PATH" 13945for as_dir in $PATH
10428for ac_dir in $ac_dummy; do 13946do
10429 IFS=$ac_save_IFS 13947 IFS=$as_save_IFS
10430 test -z "$ac_dir" && ac_dir=. 13948 test -z "$as_dir" && as_dir=.
10431 if $as_executable_p "$ac_dir/$ac_word"; then 13949 for ac_exec_ext in '' $ac_executable_extensions; do
10432 ac_cv_path_PROG_LASTLOG="$ac_dir/$ac_word" 13950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10433 echo "$as_me:10433: found $ac_dir/$ac_word" >&5 13951 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
10434 break 13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10435fi 13953 break 2
13954 fi
13955done
10436done 13956done
10437 13957
10438 ;; 13958 ;;
@@ -10441,10 +13961,10 @@ fi
10441PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG 13961PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
10442 13962
10443if test -n "$PROG_LASTLOG"; then 13963if test -n "$PROG_LASTLOG"; then
10444 echo "$as_me:10444: result: $PROG_LASTLOG" >&5 13964 echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
10445echo "${ECHO_T}$PROG_LASTLOG" >&6 13965echo "${ECHO_T}$PROG_LASTLOG" >&6
10446else 13966else
10447 echo "$as_me:10447: result: no" >&5 13967 echo "$as_me:$LINENO: result: no" >&5
10448echo "${ECHO_T}no" >&6 13968echo "${ECHO_T}no" >&6
10449fi 13969fi
10450 13970
@@ -10452,9 +13972,11 @@ fi
10452 PROG_LASTLOG="undef" 13972 PROG_LASTLOG="undef"
10453 fi 13973 fi
10454 13974
13975
13976
10455 # Extract the first word of "df", so it can be a program name with args. 13977 # Extract the first word of "df", so it can be a program name with args.
10456set dummy df; ac_word=$2 13978set dummy df; ac_word=$2
10457echo "$as_me:10457: checking for $ac_word" >&5 13979echo "$as_me:$LINENO: checking for $ac_word" >&5
10458echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 13980echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10459if test "${ac_cv_path_PROG_DF+set}" = set; then 13981if test "${ac_cv_path_PROG_DF+set}" = set; then
10460 echo $ECHO_N "(cached) $ECHO_C" >&6 13982 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10464,16 +13986,18 @@ else
10464 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path. 13986 ac_cv_path_PROG_DF="$PROG_DF" # Let the user override the test with a path.
10465 ;; 13987 ;;
10466 *) 13988 *)
10467 ac_save_IFS=$IFS; IFS=$ac_path_separator 13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10468ac_dummy="$PATH" 13990for as_dir in $PATH
10469for ac_dir in $ac_dummy; do 13991do
10470 IFS=$ac_save_IFS 13992 IFS=$as_save_IFS
10471 test -z "$ac_dir" && ac_dir=. 13993 test -z "$as_dir" && as_dir=.
10472 if $as_executable_p "$ac_dir/$ac_word"; then 13994 for ac_exec_ext in '' $ac_executable_extensions; do
10473 ac_cv_path_PROG_DF="$ac_dir/$ac_word" 13995 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10474 echo "$as_me:10474: found $ac_dir/$ac_word" >&5 13996 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
10475 break 13997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10476fi 13998 break 2
13999 fi
14000done
10477done 14001done
10478 14002
10479 ;; 14003 ;;
@@ -10482,10 +14006,10 @@ fi
10482PROG_DF=$ac_cv_path_PROG_DF 14006PROG_DF=$ac_cv_path_PROG_DF
10483 14007
10484if test -n "$PROG_DF"; then 14008if test -n "$PROG_DF"; then
10485 echo "$as_me:10485: result: $PROG_DF" >&5 14009 echo "$as_me:$LINENO: result: $PROG_DF" >&5
10486echo "${ECHO_T}$PROG_DF" >&6 14010echo "${ECHO_T}$PROG_DF" >&6
10487else 14011else
10488 echo "$as_me:10488: result: no" >&5 14012 echo "$as_me:$LINENO: result: no" >&5
10489echo "${ECHO_T}no" >&6 14013echo "${ECHO_T}no" >&6
10490fi 14014fi
10491 14015
@@ -10493,9 +14017,11 @@ fi
10493 PROG_DF="undef" 14017 PROG_DF="undef"
10494 fi 14018 fi
10495 14019
14020
14021
10496 # Extract the first word of "vmstat", so it can be a program name with args. 14022 # Extract the first word of "vmstat", so it can be a program name with args.
10497set dummy vmstat; ac_word=$2 14023set dummy vmstat; ac_word=$2
10498echo "$as_me:10498: checking for $ac_word" >&5 14024echo "$as_me:$LINENO: checking for $ac_word" >&5
10499echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14025echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10500if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then 14026if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6 14027 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10505,16 +14031,18 @@ else
10505 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path. 14031 ac_cv_path_PROG_VMSTAT="$PROG_VMSTAT" # Let the user override the test with a path.
10506 ;; 14032 ;;
10507 *) 14033 *)
10508 ac_save_IFS=$IFS; IFS=$ac_path_separator 14034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10509ac_dummy="$PATH" 14035for as_dir in $PATH
10510for ac_dir in $ac_dummy; do 14036do
10511 IFS=$ac_save_IFS 14037 IFS=$as_save_IFS
10512 test -z "$ac_dir" && ac_dir=. 14038 test -z "$as_dir" && as_dir=.
10513 if $as_executable_p "$ac_dir/$ac_word"; then 14039 for ac_exec_ext in '' $ac_executable_extensions; do
10514 ac_cv_path_PROG_VMSTAT="$ac_dir/$ac_word" 14040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10515 echo "$as_me:10515: found $ac_dir/$ac_word" >&5 14041 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
10516 break 14042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10517fi 14043 break 2
14044 fi
14045done
10518done 14046done
10519 14047
10520 ;; 14048 ;;
@@ -10523,10 +14051,10 @@ fi
10523PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT 14051PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
10524 14052
10525if test -n "$PROG_VMSTAT"; then 14053if test -n "$PROG_VMSTAT"; then
10526 echo "$as_me:10526: result: $PROG_VMSTAT" >&5 14054 echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
10527echo "${ECHO_T}$PROG_VMSTAT" >&6 14055echo "${ECHO_T}$PROG_VMSTAT" >&6
10528else 14056else
10529 echo "$as_me:10529: result: no" >&5 14057 echo "$as_me:$LINENO: result: no" >&5
10530echo "${ECHO_T}no" >&6 14058echo "${ECHO_T}no" >&6
10531fi 14059fi
10532 14060
@@ -10534,9 +14062,11 @@ fi
10534 PROG_VMSTAT="undef" 14062 PROG_VMSTAT="undef"
10535 fi 14063 fi
10536 14064
14065
14066
10537 # Extract the first word of "uptime", so it can be a program name with args. 14067 # Extract the first word of "uptime", so it can be a program name with args.
10538set dummy uptime; ac_word=$2 14068set dummy uptime; ac_word=$2
10539echo "$as_me:10539: checking for $ac_word" >&5 14069echo "$as_me:$LINENO: checking for $ac_word" >&5
10540echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14070echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10541if test "${ac_cv_path_PROG_UPTIME+set}" = set; then 14071if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
10542 echo $ECHO_N "(cached) $ECHO_C" >&6 14072 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10546,16 +14076,18 @@ else
10546 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path. 14076 ac_cv_path_PROG_UPTIME="$PROG_UPTIME" # Let the user override the test with a path.
10547 ;; 14077 ;;
10548 *) 14078 *)
10549 ac_save_IFS=$IFS; IFS=$ac_path_separator 14079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10550ac_dummy="$PATH" 14080for as_dir in $PATH
10551for ac_dir in $ac_dummy; do 14081do
10552 IFS=$ac_save_IFS 14082 IFS=$as_save_IFS
10553 test -z "$ac_dir" && ac_dir=. 14083 test -z "$as_dir" && as_dir=.
10554 if $as_executable_p "$ac_dir/$ac_word"; then 14084 for ac_exec_ext in '' $ac_executable_extensions; do
10555 ac_cv_path_PROG_UPTIME="$ac_dir/$ac_word" 14085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10556 echo "$as_me:10556: found $ac_dir/$ac_word" >&5 14086 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
10557 break 14087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10558fi 14088 break 2
14089 fi
14090done
10559done 14091done
10560 14092
10561 ;; 14093 ;;
@@ -10564,10 +14096,10 @@ fi
10564PROG_UPTIME=$ac_cv_path_PROG_UPTIME 14096PROG_UPTIME=$ac_cv_path_PROG_UPTIME
10565 14097
10566if test -n "$PROG_UPTIME"; then 14098if test -n "$PROG_UPTIME"; then
10567 echo "$as_me:10567: result: $PROG_UPTIME" >&5 14099 echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
10568echo "${ECHO_T}$PROG_UPTIME" >&6 14100echo "${ECHO_T}$PROG_UPTIME" >&6
10569else 14101else
10570 echo "$as_me:10570: result: no" >&5 14102 echo "$as_me:$LINENO: result: no" >&5
10571echo "${ECHO_T}no" >&6 14103echo "${ECHO_T}no" >&6
10572fi 14104fi
10573 14105
@@ -10575,9 +14107,11 @@ fi
10575 PROG_UPTIME="undef" 14107 PROG_UPTIME="undef"
10576 fi 14108 fi
10577 14109
14110
14111
10578 # Extract the first word of "ipcs", so it can be a program name with args. 14112 # Extract the first word of "ipcs", so it can be a program name with args.
10579set dummy ipcs; ac_word=$2 14113set dummy ipcs; ac_word=$2
10580echo "$as_me:10580: checking for $ac_word" >&5 14114echo "$as_me:$LINENO: checking for $ac_word" >&5
10581echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14115echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10582if test "${ac_cv_path_PROG_IPCS+set}" = set; then 14116if test "${ac_cv_path_PROG_IPCS+set}" = set; then
10583 echo $ECHO_N "(cached) $ECHO_C" >&6 14117 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10587,16 +14121,18 @@ else
10587 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path. 14121 ac_cv_path_PROG_IPCS="$PROG_IPCS" # Let the user override the test with a path.
10588 ;; 14122 ;;
10589 *) 14123 *)
10590 ac_save_IFS=$IFS; IFS=$ac_path_separator 14124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10591ac_dummy="$PATH" 14125for as_dir in $PATH
10592for ac_dir in $ac_dummy; do 14126do
10593 IFS=$ac_save_IFS 14127 IFS=$as_save_IFS
10594 test -z "$ac_dir" && ac_dir=. 14128 test -z "$as_dir" && as_dir=.
10595 if $as_executable_p "$ac_dir/$ac_word"; then 14129 for ac_exec_ext in '' $ac_executable_extensions; do
10596 ac_cv_path_PROG_IPCS="$ac_dir/$ac_word" 14130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10597 echo "$as_me:10597: found $ac_dir/$ac_word" >&5 14131 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
10598 break 14132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10599fi 14133 break 2
14134 fi
14135done
10600done 14136done
10601 14137
10602 ;; 14138 ;;
@@ -10605,10 +14141,10 @@ fi
10605PROG_IPCS=$ac_cv_path_PROG_IPCS 14141PROG_IPCS=$ac_cv_path_PROG_IPCS
10606 14142
10607if test -n "$PROG_IPCS"; then 14143if test -n "$PROG_IPCS"; then
10608 echo "$as_me:10608: result: $PROG_IPCS" >&5 14144 echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
10609echo "${ECHO_T}$PROG_IPCS" >&6 14145echo "${ECHO_T}$PROG_IPCS" >&6
10610else 14146else
10611 echo "$as_me:10611: result: no" >&5 14147 echo "$as_me:$LINENO: result: no" >&5
10612echo "${ECHO_T}no" >&6 14148echo "${ECHO_T}no" >&6
10613fi 14149fi
10614 14150
@@ -10616,9 +14152,11 @@ fi
10616 PROG_IPCS="undef" 14152 PROG_IPCS="undef"
10617 fi 14153 fi
10618 14154
14155
14156
10619 # Extract the first word of "tail", so it can be a program name with args. 14157 # Extract the first word of "tail", so it can be a program name with args.
10620set dummy tail; ac_word=$2 14158set dummy tail; ac_word=$2
10621echo "$as_me:10621: checking for $ac_word" >&5 14159echo "$as_me:$LINENO: checking for $ac_word" >&5
10622echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 14160echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10623if test "${ac_cv_path_PROG_TAIL+set}" = set; then 14161if test "${ac_cv_path_PROG_TAIL+set}" = set; then
10624 echo $ECHO_N "(cached) $ECHO_C" >&6 14162 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -10628,16 +14166,18 @@ else
10628 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path. 14166 ac_cv_path_PROG_TAIL="$PROG_TAIL" # Let the user override the test with a path.
10629 ;; 14167 ;;
10630 *) 14168 *)
10631 ac_save_IFS=$IFS; IFS=$ac_path_separator 14169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10632ac_dummy="$PATH" 14170for as_dir in $PATH
10633for ac_dir in $ac_dummy; do 14171do
10634 IFS=$ac_save_IFS 14172 IFS=$as_save_IFS
10635 test -z "$ac_dir" && ac_dir=. 14173 test -z "$as_dir" && as_dir=.
10636 if $as_executable_p "$ac_dir/$ac_word"; then 14174 for ac_exec_ext in '' $ac_executable_extensions; do
10637 ac_cv_path_PROG_TAIL="$ac_dir/$ac_word" 14175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10638 echo "$as_me:10638: found $ac_dir/$ac_word" >&5 14176 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
10639 break 14177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10640fi 14178 break 2
14179 fi
14180done
10641done 14181done
10642 14182
10643 ;; 14183 ;;
@@ -10646,10 +14186,10 @@ fi
10646PROG_TAIL=$ac_cv_path_PROG_TAIL 14186PROG_TAIL=$ac_cv_path_PROG_TAIL
10647 14187
10648if test -n "$PROG_TAIL"; then 14188if test -n "$PROG_TAIL"; then
10649 echo "$as_me:10649: result: $PROG_TAIL" >&5 14189 echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
10650echo "${ECHO_T}$PROG_TAIL" >&6 14190echo "${ECHO_T}$PROG_TAIL" >&6
10651else 14191else
10652 echo "$as_me:10652: result: no" >&5 14192 echo "$as_me:$LINENO: result: no" >&5
10653echo "${ECHO_T}no" >&6 14193echo "${ECHO_T}no" >&6
10654fi 14194fi
10655 14195
@@ -10657,6 +14197,7 @@ fi
10657 PROG_TAIL="undef" 14197 PROG_TAIL="undef"
10658 fi 14198 fi
10659 14199
14200
10660# restore PATH 14201# restore PATH
10661PATH=$OPATH 14202PATH=$OPATH
10662 14203
@@ -10674,20 +14215,25 @@ if test ! -z "$INSTALL_SSH_RAND_HELPER" ; then
10674 fi 14215 fi
10675fi 14216fi
10676 14217
14218
14219
10677# Cheap hack to ensure NEWS-OS libraries are arranged right. 14220# Cheap hack to ensure NEWS-OS libraries are arranged right.
10678if test ! -z "$SONY" ; then 14221if test ! -z "$SONY" ; then
10679 LIBS="$LIBS -liberty"; 14222 LIBS="$LIBS -liberty";
10680fi 14223fi
10681 14224
10682# Checks for data types 14225# Checks for data types
10683echo "$as_me:10683: checking for char" >&5 14226echo "$as_me:$LINENO: checking for char" >&5
10684echo $ECHO_N "checking for char... $ECHO_C" >&6 14227echo $ECHO_N "checking for char... $ECHO_C" >&6
10685if test "${ac_cv_type_char+set}" = set; then 14228if test "${ac_cv_type_char+set}" = set; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6 14229 echo $ECHO_N "(cached) $ECHO_C" >&6
10687else 14230else
10688 cat >conftest.$ac_ext <<_ACEOF 14231 cat >conftest.$ac_ext <<_ACEOF
10689#line 10689 "configure" 14232/* confdefs.h. */
10690#include "confdefs.h" 14233_ACEOF
14234cat confdefs.h >>conftest.$ac_ext
14235cat >>conftest.$ac_ext <<_ACEOF
14236/* end confdefs.h. */
10691$ac_includes_default 14237$ac_includes_default
10692int 14238int
10693main () 14239main ()
@@ -10701,209 +14247,382 @@ if (sizeof (char))
10701} 14247}
10702_ACEOF 14248_ACEOF
10703rm -f conftest.$ac_objext 14249rm -f conftest.$ac_objext
10704if { (eval echo "$as_me:10704: \"$ac_compile\"") >&5 14250if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10705 (eval $ac_compile) 2>&5 14251 (eval $ac_compile) 2>conftest.er1
10706 ac_status=$? 14252 ac_status=$?
10707 echo "$as_me:10707: \$? = $ac_status" >&5 14253 grep -v '^ *+' conftest.er1 >conftest.err
14254 rm -f conftest.er1
14255 cat conftest.err >&5
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708 (exit $ac_status); } && 14257 (exit $ac_status); } &&
10709 { ac_try='test -s conftest.$ac_objext' 14258 { ac_try='test -z "$ac_c_werror_flag"
10710 { (eval echo "$as_me:10710: \"$ac_try\"") >&5 14259 || test ! -s conftest.err'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14262 ac_status=$?
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; } &&
14265 { ac_try='test -s conftest.$ac_objext'
14266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10711 (eval $ac_try) 2>&5 14267 (eval $ac_try) 2>&5
10712 ac_status=$? 14268 ac_status=$?
10713 echo "$as_me:10713: \$? = $ac_status" >&5 14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10714 (exit $ac_status); }; }; then 14270 (exit $ac_status); }; }; then
10715 ac_cv_type_char=yes 14271 ac_cv_type_char=yes
10716else 14272else
10717 echo "$as_me: failed program was:" >&5 14273 echo "$as_me: failed program was:" >&5
10718cat conftest.$ac_ext >&5 14274sed 's/^/| /' conftest.$ac_ext >&5
14275
10719ac_cv_type_char=no 14276ac_cv_type_char=no
10720fi 14277fi
10721rm -f conftest.$ac_objext conftest.$ac_ext 14278rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10722fi 14279fi
10723echo "$as_me:10723: result: $ac_cv_type_char" >&5 14280echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
10724echo "${ECHO_T}$ac_cv_type_char" >&6 14281echo "${ECHO_T}$ac_cv_type_char" >&6
10725 14282
10726echo "$as_me:10726: checking size of char" >&5 14283echo "$as_me:$LINENO: checking size of char" >&5
10727echo $ECHO_N "checking size of char... $ECHO_C" >&6 14284echo $ECHO_N "checking size of char... $ECHO_C" >&6
10728if test "${ac_cv_sizeof_char+set}" = set; then 14285if test "${ac_cv_sizeof_char+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6 14286 echo $ECHO_N "(cached) $ECHO_C" >&6
10730else 14287else
10731 if test "$ac_cv_type_char" = yes; then 14288 if test "$ac_cv_type_char" = yes; then
14289 # The cast to unsigned long works around a bug in the HP C Compiler
14290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14292 # This bug is HP SR number 8606223364.
10732 if test "$cross_compiling" = yes; then 14293 if test "$cross_compiling" = yes; then
10733 # Depending upon the size, compute the lo and hi bounds. 14294 # Depending upon the size, compute the lo and hi bounds.
10734cat >conftest.$ac_ext <<_ACEOF 14295cat >conftest.$ac_ext <<_ACEOF
10735#line 10735 "configure" 14296/* confdefs.h. */
10736#include "confdefs.h" 14297_ACEOF
14298cat confdefs.h >>conftest.$ac_ext
14299cat >>conftest.$ac_ext <<_ACEOF
14300/* end confdefs.h. */
10737$ac_includes_default 14301$ac_includes_default
10738int 14302int
10739main () 14303main ()
10740{ 14304{
10741int _array_ [1 - 2 * !((sizeof (char)) >= 0)] 14305static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14306test_array [0] = 0
14307
10742 ; 14308 ;
10743 return 0; 14309 return 0;
10744} 14310}
10745_ACEOF 14311_ACEOF
10746rm -f conftest.$ac_objext 14312rm -f conftest.$ac_objext
10747if { (eval echo "$as_me:10747: \"$ac_compile\"") >&5 14313if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10748 (eval $ac_compile) 2>&5 14314 (eval $ac_compile) 2>conftest.er1
10749 ac_status=$? 14315 ac_status=$?
10750 echo "$as_me:10750: \$? = $ac_status" >&5 14316 grep -v '^ *+' conftest.er1 >conftest.err
14317 rm -f conftest.er1
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751 (exit $ac_status); } && 14320 (exit $ac_status); } &&
10752 { ac_try='test -s conftest.$ac_objext' 14321 { ac_try='test -z "$ac_c_werror_flag"
10753 { (eval echo "$as_me:10753: \"$ac_try\"") >&5 14322 || test ! -s conftest.err'
14323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10754 (eval $ac_try) 2>&5 14324 (eval $ac_try) 2>&5
10755 ac_status=$? 14325 ac_status=$?
10756 echo "$as_me:10756: \$? = $ac_status" >&5 14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; } &&
14328 { ac_try='test -s conftest.$ac_objext'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14331 ac_status=$?
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); }; }; then 14333 (exit $ac_status); }; }; then
10758 ac_lo=0 ac_mid=0 14334 ac_lo=0 ac_mid=0
10759 while :; do 14335 while :; do
10760 cat >conftest.$ac_ext <<_ACEOF 14336 cat >conftest.$ac_ext <<_ACEOF
10761#line 10761 "configure" 14337/* confdefs.h. */
10762#include "confdefs.h" 14338_ACEOF
14339cat confdefs.h >>conftest.$ac_ext
14340cat >>conftest.$ac_ext <<_ACEOF
14341/* end confdefs.h. */
10763$ac_includes_default 14342$ac_includes_default
10764int 14343int
10765main () 14344main ()
10766{ 14345{
10767int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] 14346static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14347test_array [0] = 0
14348
10768 ; 14349 ;
10769 return 0; 14350 return 0;
10770} 14351}
10771_ACEOF 14352_ACEOF
10772rm -f conftest.$ac_objext 14353rm -f conftest.$ac_objext
10773if { (eval echo "$as_me:10773: \"$ac_compile\"") >&5 14354if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10774 (eval $ac_compile) 2>&5 14355 (eval $ac_compile) 2>conftest.er1
10775 ac_status=$? 14356 ac_status=$?
10776 echo "$as_me:10776: \$? = $ac_status" >&5 14357 grep -v '^ *+' conftest.er1 >conftest.err
14358 rm -f conftest.er1
14359 cat conftest.err >&5
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); } && 14361 (exit $ac_status); } &&
10778 { ac_try='test -s conftest.$ac_objext' 14362 { ac_try='test -z "$ac_c_werror_flag"
10779 { (eval echo "$as_me:10779: \"$ac_try\"") >&5 14363 || test ! -s conftest.err'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10780 (eval $ac_try) 2>&5 14365 (eval $ac_try) 2>&5
10781 ac_status=$? 14366 ac_status=$?
10782 echo "$as_me:10782: \$? = $ac_status" >&5 14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; } &&
14369 { ac_try='test -s conftest.$ac_objext'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); }; }; then 14374 (exit $ac_status); }; }; then
10784 ac_hi=$ac_mid; break 14375 ac_hi=$ac_mid; break
10785else 14376else
10786 echo "$as_me: failed program was:" >&5 14377 echo "$as_me: failed program was:" >&5
10787cat conftest.$ac_ext >&5 14378sed 's/^/| /' conftest.$ac_ext >&5
10788ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 14379
14380ac_lo=`expr $ac_mid + 1`
14381 if test $ac_lo -le $ac_mid; then
14382 ac_lo= ac_hi=
14383 break
14384 fi
14385 ac_mid=`expr 2 '*' $ac_mid + 1`
10789fi 14386fi
10790rm -f conftest.$ac_objext conftest.$ac_ext 14387rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10791 done 14388 done
10792else 14389else
10793 echo "$as_me: failed program was:" >&5 14390 echo "$as_me: failed program was:" >&5
10794cat conftest.$ac_ext >&5 14391sed 's/^/| /' conftest.$ac_ext >&5
10795ac_hi=-1 ac_mid=-1 14392
14393cat >conftest.$ac_ext <<_ACEOF
14394/* confdefs.h. */
14395_ACEOF
14396cat confdefs.h >>conftest.$ac_ext
14397cat >>conftest.$ac_ext <<_ACEOF
14398/* end confdefs.h. */
14399$ac_includes_default
14400int
14401main ()
14402{
14403static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14404test_array [0] = 0
14405
14406 ;
14407 return 0;
14408}
14409_ACEOF
14410rm -f conftest.$ac_objext
14411if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14412 (eval $ac_compile) 2>conftest.er1
14413 ac_status=$?
14414 grep -v '^ *+' conftest.er1 >conftest.err
14415 rm -f conftest.er1
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); } &&
14419 { ac_try='test -z "$ac_c_werror_flag"
14420 || test ! -s conftest.err'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14423 ac_status=$?
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; } &&
14426 { ac_try='test -s conftest.$ac_objext'
14427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14428 (eval $ac_try) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); }; }; then
14432 ac_hi=-1 ac_mid=-1
10796 while :; do 14433 while :; do
10797 cat >conftest.$ac_ext <<_ACEOF 14434 cat >conftest.$ac_ext <<_ACEOF
10798#line 10798 "configure" 14435/* confdefs.h. */
10799#include "confdefs.h" 14436_ACEOF
14437cat confdefs.h >>conftest.$ac_ext
14438cat >>conftest.$ac_ext <<_ACEOF
14439/* end confdefs.h. */
10800$ac_includes_default 14440$ac_includes_default
10801int 14441int
10802main () 14442main ()
10803{ 14443{
10804int _array_ [1 - 2 * !((sizeof (char)) >= $ac_mid)] 14444static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14445test_array [0] = 0
14446
10805 ; 14447 ;
10806 return 0; 14448 return 0;
10807} 14449}
10808_ACEOF 14450_ACEOF
10809rm -f conftest.$ac_objext 14451rm -f conftest.$ac_objext
10810if { (eval echo "$as_me:10810: \"$ac_compile\"") >&5 14452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10811 (eval $ac_compile) 2>&5 14453 (eval $ac_compile) 2>conftest.er1
10812 ac_status=$? 14454 ac_status=$?
10813 echo "$as_me:10813: \$? = $ac_status" >&5 14455 grep -v '^ *+' conftest.er1 >conftest.err
14456 rm -f conftest.er1
14457 cat conftest.err >&5
14458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10814 (exit $ac_status); } && 14459 (exit $ac_status); } &&
10815 { ac_try='test -s conftest.$ac_objext' 14460 { ac_try='test -z "$ac_c_werror_flag"
10816 { (eval echo "$as_me:10816: \"$ac_try\"") >&5 14461 || test ! -s conftest.err'
14462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14463 (eval $ac_try) 2>&5
14464 ac_status=$?
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; } &&
14467 { ac_try='test -s conftest.$ac_objext'
14468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10817 (eval $ac_try) 2>&5 14469 (eval $ac_try) 2>&5
10818 ac_status=$? 14470 ac_status=$?
10819 echo "$as_me:10819: \$? = $ac_status" >&5 14471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10820 (exit $ac_status); }; }; then 14472 (exit $ac_status); }; }; then
10821 ac_lo=$ac_mid; break 14473 ac_lo=$ac_mid; break
10822else 14474else
10823 echo "$as_me: failed program was:" >&5 14475 echo "$as_me: failed program was:" >&5
10824cat conftest.$ac_ext >&5 14476sed 's/^/| /' conftest.$ac_ext >&5
10825ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 14477
14478ac_hi=`expr '(' $ac_mid ')' - 1`
14479 if test $ac_mid -le $ac_hi; then
14480 ac_lo= ac_hi=
14481 break
14482 fi
14483 ac_mid=`expr 2 '*' $ac_mid`
10826fi 14484fi
10827rm -f conftest.$ac_objext conftest.$ac_ext 14485rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10828 done 14486 done
14487else
14488 echo "$as_me: failed program was:" >&5
14489sed 's/^/| /' conftest.$ac_ext >&5
14490
14491ac_lo= ac_hi=
14492fi
14493rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10829fi 14494fi
10830rm -f conftest.$ac_objext conftest.$ac_ext 14495rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10831# Binary search between lo and hi bounds. 14496# Binary search between lo and hi bounds.
10832while test "x$ac_lo" != "x$ac_hi"; do 14497while test "x$ac_lo" != "x$ac_hi"; do
10833 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14498 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10834 cat >conftest.$ac_ext <<_ACEOF 14499 cat >conftest.$ac_ext <<_ACEOF
10835#line 10835 "configure" 14500/* confdefs.h. */
10836#include "confdefs.h" 14501_ACEOF
14502cat confdefs.h >>conftest.$ac_ext
14503cat >>conftest.$ac_ext <<_ACEOF
14504/* end confdefs.h. */
10837$ac_includes_default 14505$ac_includes_default
10838int 14506int
10839main () 14507main ()
10840{ 14508{
10841int _array_ [1 - 2 * !((sizeof (char)) <= $ac_mid)] 14509static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14510test_array [0] = 0
14511
10842 ; 14512 ;
10843 return 0; 14513 return 0;
10844} 14514}
10845_ACEOF 14515_ACEOF
10846rm -f conftest.$ac_objext 14516rm -f conftest.$ac_objext
10847if { (eval echo "$as_me:10847: \"$ac_compile\"") >&5 14517if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10848 (eval $ac_compile) 2>&5 14518 (eval $ac_compile) 2>conftest.er1
10849 ac_status=$? 14519 ac_status=$?
10850 echo "$as_me:10850: \$? = $ac_status" >&5 14520 grep -v '^ *+' conftest.er1 >conftest.err
14521 rm -f conftest.er1
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } && 14524 (exit $ac_status); } &&
10852 { ac_try='test -s conftest.$ac_objext' 14525 { ac_try='test -z "$ac_c_werror_flag"
10853 { (eval echo "$as_me:10853: \"$ac_try\"") >&5 14526 || test ! -s conftest.err'
14527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5 14528 (eval $ac_try) 2>&5
10855 ac_status=$? 14529 ac_status=$?
10856 echo "$as_me:10856: \$? = $ac_status" >&5 14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); }; } &&
14532 { ac_try='test -s conftest.$ac_objext'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then 14537 (exit $ac_status); }; }; then
10858 ac_hi=$ac_mid 14538 ac_hi=$ac_mid
10859else 14539else
10860 echo "$as_me: failed program was:" >&5 14540 echo "$as_me: failed program was:" >&5
10861cat conftest.$ac_ext >&5 14541sed 's/^/| /' conftest.$ac_ext >&5
10862ac_lo=`expr $ac_mid + 1` 14542
14543ac_lo=`expr '(' $ac_mid ')' + 1`
10863fi 14544fi
10864rm -f conftest.$ac_objext conftest.$ac_ext 14545rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10865done 14546done
10866ac_cv_sizeof_char=$ac_lo 14547case $ac_lo in
14548?*) ac_cv_sizeof_char=$ac_lo;;
14549'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14550See \`config.log' for more details." >&5
14551echo "$as_me: error: cannot compute sizeof (char), 77
14552See \`config.log' for more details." >&2;}
14553 { (exit 1); exit 1; }; } ;;
14554esac
10867else 14555else
10868 if test "$cross_compiling" = yes; then 14556 if test "$cross_compiling" = yes; then
10869 { { echo "$as_me:10869: error: cannot run test program while cross compiling" >&5 14557 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10870echo "$as_me: error: cannot run test program while cross compiling" >&2;} 14558See \`config.log' for more details." >&5
14559echo "$as_me: error: cannot run test program while cross compiling
14560See \`config.log' for more details." >&2;}
10871 { (exit 1); exit 1; }; } 14561 { (exit 1); exit 1; }; }
10872else 14562else
10873 cat >conftest.$ac_ext <<_ACEOF 14563 cat >conftest.$ac_ext <<_ACEOF
10874#line 10874 "configure" 14564/* confdefs.h. */
10875#include "confdefs.h" 14565_ACEOF
14566cat confdefs.h >>conftest.$ac_ext
14567cat >>conftest.$ac_ext <<_ACEOF
14568/* end confdefs.h. */
10876$ac_includes_default 14569$ac_includes_default
14570long longval () { return (long) (sizeof (char)); }
14571unsigned long ulongval () { return (long) (sizeof (char)); }
14572#include <stdio.h>
14573#include <stdlib.h>
10877int 14574int
10878main () 14575main ()
10879{ 14576{
10880FILE *f = fopen ("conftest.val", "w"); 14577
10881if (!f) 14578 FILE *f = fopen ("conftest.val", "w");
10882 exit (1); 14579 if (! f)
10883fprintf (f, "%d", (sizeof (char))); 14580 exit (1);
10884fclose (f); 14581 if (((long) (sizeof (char))) < 0)
14582 {
14583 long i = longval ();
14584 if (i != ((long) (sizeof (char))))
14585 exit (1);
14586 fprintf (f, "%ld\n", i);
14587 }
14588 else
14589 {
14590 unsigned long i = ulongval ();
14591 if (i != ((long) (sizeof (char))))
14592 exit (1);
14593 fprintf (f, "%lu\n", i);
14594 }
14595 exit (ferror (f) || fclose (f) != 0);
14596
10885 ; 14597 ;
10886 return 0; 14598 return 0;
10887} 14599}
10888_ACEOF 14600_ACEOF
10889rm -f conftest$ac_exeext 14601rm -f conftest$ac_exeext
10890if { (eval echo "$as_me:10890: \"$ac_link\"") >&5 14602if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10891 (eval $ac_link) 2>&5 14603 (eval $ac_link) 2>&5
10892 ac_status=$? 14604 ac_status=$?
10893 echo "$as_me:10893: \$? = $ac_status" >&5 14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10895 { (eval echo "$as_me:10895: \"$ac_try\"") >&5 14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10896 (eval $ac_try) 2>&5 14608 (eval $ac_try) 2>&5
10897 ac_status=$? 14609 ac_status=$?
10898 echo "$as_me:10898: \$? = $ac_status" >&5 14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); }; }; then 14611 (exit $ac_status); }; }; then
10900 ac_cv_sizeof_char=`cat conftest.val` 14612 ac_cv_sizeof_char=`cat conftest.val`
10901else 14613else
10902 echo "$as_me: program exited with status $ac_status" >&5 14614 echo "$as_me: program exited with status $ac_status" >&5
10903echo "$as_me: failed program was:" >&5 14615echo "$as_me: failed program was:" >&5
10904cat conftest.$ac_ext >&5 14616sed 's/^/| /' conftest.$ac_ext >&5
14617
14618( exit $ac_status )
14619{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14620See \`config.log' for more details." >&5
14621echo "$as_me: error: cannot compute sizeof (char), 77
14622See \`config.log' for more details." >&2;}
14623 { (exit 1); exit 1; }; }
10905fi 14624fi
10906rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14625rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10907fi 14626fi
10908fi 14627fi
10909rm -f conftest.val 14628rm -f conftest.val
@@ -10911,20 +14630,24 @@ else
10911 ac_cv_sizeof_char=0 14630 ac_cv_sizeof_char=0
10912fi 14631fi
10913fi 14632fi
10914echo "$as_me:10914: result: $ac_cv_sizeof_char" >&5 14633echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
10915echo "${ECHO_T}$ac_cv_sizeof_char" >&6 14634echo "${ECHO_T}$ac_cv_sizeof_char" >&6
10916cat >>confdefs.h <<EOF 14635cat >>confdefs.h <<_ACEOF
10917#define SIZEOF_CHAR $ac_cv_sizeof_char 14636#define SIZEOF_CHAR $ac_cv_sizeof_char
10918EOF 14637_ACEOF
14638
10919 14639
10920echo "$as_me:10920: checking for short int" >&5 14640echo "$as_me:$LINENO: checking for short int" >&5
10921echo $ECHO_N "checking for short int... $ECHO_C" >&6 14641echo $ECHO_N "checking for short int... $ECHO_C" >&6
10922if test "${ac_cv_type_short_int+set}" = set; then 14642if test "${ac_cv_type_short_int+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6 14643 echo $ECHO_N "(cached) $ECHO_C" >&6
10924else 14644else
10925 cat >conftest.$ac_ext <<_ACEOF 14645 cat >conftest.$ac_ext <<_ACEOF
10926#line 10926 "configure" 14646/* confdefs.h. */
10927#include "confdefs.h" 14647_ACEOF
14648cat confdefs.h >>conftest.$ac_ext
14649cat >>conftest.$ac_ext <<_ACEOF
14650/* end confdefs.h. */
10928$ac_includes_default 14651$ac_includes_default
10929int 14652int
10930main () 14653main ()
@@ -10938,209 +14661,382 @@ if (sizeof (short int))
10938} 14661}
10939_ACEOF 14662_ACEOF
10940rm -f conftest.$ac_objext 14663rm -f conftest.$ac_objext
10941if { (eval echo "$as_me:10941: \"$ac_compile\"") >&5 14664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10942 (eval $ac_compile) 2>&5 14665 (eval $ac_compile) 2>conftest.er1
10943 ac_status=$? 14666 ac_status=$?
10944 echo "$as_me:10944: \$? = $ac_status" >&5 14667 grep -v '^ *+' conftest.er1 >conftest.err
14668 rm -f conftest.er1
14669 cat conftest.err >&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } && 14671 (exit $ac_status); } &&
10946 { ac_try='test -s conftest.$ac_objext' 14672 { ac_try='test -z "$ac_c_werror_flag"
10947 { (eval echo "$as_me:10947: \"$ac_try\"") >&5 14673 || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5 14675 (eval $ac_try) 2>&5
10949 ac_status=$? 14676 ac_status=$?
10950 echo "$as_me:10950: \$? = $ac_status" >&5 14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then 14684 (exit $ac_status); }; }; then
10952 ac_cv_type_short_int=yes 14685 ac_cv_type_short_int=yes
10953else 14686else
10954 echo "$as_me: failed program was:" >&5 14687 echo "$as_me: failed program was:" >&5
10955cat conftest.$ac_ext >&5 14688sed 's/^/| /' conftest.$ac_ext >&5
14689
10956ac_cv_type_short_int=no 14690ac_cv_type_short_int=no
10957fi 14691fi
10958rm -f conftest.$ac_objext conftest.$ac_ext 14692rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10959fi 14693fi
10960echo "$as_me:10960: result: $ac_cv_type_short_int" >&5 14694echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
10961echo "${ECHO_T}$ac_cv_type_short_int" >&6 14695echo "${ECHO_T}$ac_cv_type_short_int" >&6
10962 14696
10963echo "$as_me:10963: checking size of short int" >&5 14697echo "$as_me:$LINENO: checking size of short int" >&5
10964echo $ECHO_N "checking size of short int... $ECHO_C" >&6 14698echo $ECHO_N "checking size of short int... $ECHO_C" >&6
10965if test "${ac_cv_sizeof_short_int+set}" = set; then 14699if test "${ac_cv_sizeof_short_int+set}" = set; then
10966 echo $ECHO_N "(cached) $ECHO_C" >&6 14700 echo $ECHO_N "(cached) $ECHO_C" >&6
10967else 14701else
10968 if test "$ac_cv_type_short_int" = yes; then 14702 if test "$ac_cv_type_short_int" = yes; then
14703 # The cast to unsigned long works around a bug in the HP C Compiler
14704 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14705 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14706 # This bug is HP SR number 8606223364.
10969 if test "$cross_compiling" = yes; then 14707 if test "$cross_compiling" = yes; then
10970 # Depending upon the size, compute the lo and hi bounds. 14708 # Depending upon the size, compute the lo and hi bounds.
10971cat >conftest.$ac_ext <<_ACEOF 14709cat >conftest.$ac_ext <<_ACEOF
10972#line 10972 "configure" 14710/* confdefs.h. */
10973#include "confdefs.h" 14711_ACEOF
14712cat confdefs.h >>conftest.$ac_ext
14713cat >>conftest.$ac_ext <<_ACEOF
14714/* end confdefs.h. */
10974$ac_includes_default 14715$ac_includes_default
10975int 14716int
10976main () 14717main ()
10977{ 14718{
10978int _array_ [1 - 2 * !((sizeof (short int)) >= 0)] 14719static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
14720test_array [0] = 0
14721
10979 ; 14722 ;
10980 return 0; 14723 return 0;
10981} 14724}
10982_ACEOF 14725_ACEOF
10983rm -f conftest.$ac_objext 14726rm -f conftest.$ac_objext
10984if { (eval echo "$as_me:10984: \"$ac_compile\"") >&5 14727if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10985 (eval $ac_compile) 2>&5 14728 (eval $ac_compile) 2>conftest.er1
10986 ac_status=$? 14729 ac_status=$?
10987 echo "$as_me:10987: \$? = $ac_status" >&5 14730 grep -v '^ *+' conftest.er1 >conftest.err
14731 rm -f conftest.er1
14732 cat conftest.err >&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } && 14734 (exit $ac_status); } &&
10989 { ac_try='test -s conftest.$ac_objext' 14735 { ac_try='test -z "$ac_c_werror_flag"
10990 { (eval echo "$as_me:10990: \"$ac_try\"") >&5 14736 || test ! -s conftest.err'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5 14738 (eval $ac_try) 2>&5
10992 ac_status=$? 14739 ac_status=$?
10993 echo "$as_me:10993: \$? = $ac_status" >&5 14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } &&
14742 { ac_try='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then 14747 (exit $ac_status); }; }; then
10995 ac_lo=0 ac_mid=0 14748 ac_lo=0 ac_mid=0
10996 while :; do 14749 while :; do
10997 cat >conftest.$ac_ext <<_ACEOF 14750 cat >conftest.$ac_ext <<_ACEOF
10998#line 10998 "configure" 14751/* confdefs.h. */
10999#include "confdefs.h" 14752_ACEOF
14753cat confdefs.h >>conftest.$ac_ext
14754cat >>conftest.$ac_ext <<_ACEOF
14755/* end confdefs.h. */
11000$ac_includes_default 14756$ac_includes_default
11001int 14757int
11002main () 14758main ()
11003{ 14759{
11004int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] 14760static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14761test_array [0] = 0
14762
11005 ; 14763 ;
11006 return 0; 14764 return 0;
11007} 14765}
11008_ACEOF 14766_ACEOF
11009rm -f conftest.$ac_objext 14767rm -f conftest.$ac_objext
11010if { (eval echo "$as_me:11010: \"$ac_compile\"") >&5 14768if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11011 (eval $ac_compile) 2>&5 14769 (eval $ac_compile) 2>conftest.er1
11012 ac_status=$? 14770 ac_status=$?
11013 echo "$as_me:11013: \$? = $ac_status" >&5 14771 grep -v '^ *+' conftest.er1 >conftest.err
14772 rm -f conftest.er1
14773 cat conftest.err >&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && 14775 (exit $ac_status); } &&
11015 { ac_try='test -s conftest.$ac_objext' 14776 { ac_try='test -z "$ac_c_werror_flag"
11016 { (eval echo "$as_me:11016: \"$ac_try\"") >&5 14777 || test ! -s conftest.err'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14780 ac_status=$?
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; } &&
14783 { ac_try='test -s conftest.$ac_objext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11017 (eval $ac_try) 2>&5 14785 (eval $ac_try) 2>&5
11018 ac_status=$? 14786 ac_status=$?
11019 echo "$as_me:11019: \$? = $ac_status" >&5 14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); }; }; then 14788 (exit $ac_status); }; }; then
11021 ac_hi=$ac_mid; break 14789 ac_hi=$ac_mid; break
11022else 14790else
11023 echo "$as_me: failed program was:" >&5 14791 echo "$as_me: failed program was:" >&5
11024cat conftest.$ac_ext >&5 14792sed 's/^/| /' conftest.$ac_ext >&5
11025ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 14793
14794ac_lo=`expr $ac_mid + 1`
14795 if test $ac_lo -le $ac_mid; then
14796 ac_lo= ac_hi=
14797 break
14798 fi
14799 ac_mid=`expr 2 '*' $ac_mid + 1`
11026fi 14800fi
11027rm -f conftest.$ac_objext conftest.$ac_ext 14801rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11028 done 14802 done
11029else 14803else
11030 echo "$as_me: failed program was:" >&5 14804 echo "$as_me: failed program was:" >&5
11031cat conftest.$ac_ext >&5 14805sed 's/^/| /' conftest.$ac_ext >&5
11032ac_hi=-1 ac_mid=-1 14806
14807cat >conftest.$ac_ext <<_ACEOF
14808/* confdefs.h. */
14809_ACEOF
14810cat confdefs.h >>conftest.$ac_ext
14811cat >>conftest.$ac_ext <<_ACEOF
14812/* end confdefs.h. */
14813$ac_includes_default
14814int
14815main ()
14816{
14817static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
14818test_array [0] = 0
14819
14820 ;
14821 return 0;
14822}
14823_ACEOF
14824rm -f conftest.$ac_objext
14825if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826 (eval $ac_compile) 2>conftest.er1
14827 ac_status=$?
14828 grep -v '^ *+' conftest.er1 >conftest.err
14829 rm -f conftest.er1
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } &&
14833 { ac_try='test -z "$ac_c_werror_flag"
14834 || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14837 ac_status=$?
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try='test -s conftest.$ac_objext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14846 ac_hi=-1 ac_mid=-1
11033 while :; do 14847 while :; do
11034 cat >conftest.$ac_ext <<_ACEOF 14848 cat >conftest.$ac_ext <<_ACEOF
11035#line 11035 "configure" 14849/* confdefs.h. */
11036#include "confdefs.h" 14850_ACEOF
14851cat confdefs.h >>conftest.$ac_ext
14852cat >>conftest.$ac_ext <<_ACEOF
14853/* end confdefs.h. */
11037$ac_includes_default 14854$ac_includes_default
11038int 14855int
11039main () 14856main ()
11040{ 14857{
11041int _array_ [1 - 2 * !((sizeof (short int)) >= $ac_mid)] 14858static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
14859test_array [0] = 0
14860
11042 ; 14861 ;
11043 return 0; 14862 return 0;
11044} 14863}
11045_ACEOF 14864_ACEOF
11046rm -f conftest.$ac_objext 14865rm -f conftest.$ac_objext
11047if { (eval echo "$as_me:11047: \"$ac_compile\"") >&5 14866if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11048 (eval $ac_compile) 2>&5 14867 (eval $ac_compile) 2>conftest.er1
11049 ac_status=$? 14868 ac_status=$?
11050 echo "$as_me:11050: \$? = $ac_status" >&5 14869 grep -v '^ *+' conftest.er1 >conftest.err
14870 rm -f conftest.er1
14871 cat conftest.err >&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051 (exit $ac_status); } && 14873 (exit $ac_status); } &&
11052 { ac_try='test -s conftest.$ac_objext' 14874 { ac_try='test -z "$ac_c_werror_flag"
11053 { (eval echo "$as_me:11053: \"$ac_try\"") >&5 14875 || test ! -s conftest.err'
14876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14877 (eval $ac_try) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); }; } &&
14881 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11054 (eval $ac_try) 2>&5 14883 (eval $ac_try) 2>&5
11055 ac_status=$? 14884 ac_status=$?
11056 echo "$as_me:11056: \$? = $ac_status" >&5 14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; }; then 14886 (exit $ac_status); }; }; then
11058 ac_lo=$ac_mid; break 14887 ac_lo=$ac_mid; break
11059else 14888else
11060 echo "$as_me: failed program was:" >&5 14889 echo "$as_me: failed program was:" >&5
11061cat conftest.$ac_ext >&5 14890sed 's/^/| /' conftest.$ac_ext >&5
11062ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 14891
14892ac_hi=`expr '(' $ac_mid ')' - 1`
14893 if test $ac_mid -le $ac_hi; then
14894 ac_lo= ac_hi=
14895 break
14896 fi
14897 ac_mid=`expr 2 '*' $ac_mid`
11063fi 14898fi
11064rm -f conftest.$ac_objext conftest.$ac_ext 14899rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11065 done 14900 done
14901else
14902 echo "$as_me: failed program was:" >&5
14903sed 's/^/| /' conftest.$ac_ext >&5
14904
14905ac_lo= ac_hi=
11066fi 14906fi
11067rm -f conftest.$ac_objext conftest.$ac_ext 14907rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14908fi
14909rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11068# Binary search between lo and hi bounds. 14910# Binary search between lo and hi bounds.
11069while test "x$ac_lo" != "x$ac_hi"; do 14911while test "x$ac_lo" != "x$ac_hi"; do
11070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14912 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11071 cat >conftest.$ac_ext <<_ACEOF 14913 cat >conftest.$ac_ext <<_ACEOF
11072#line 11072 "configure" 14914/* confdefs.h. */
11073#include "confdefs.h" 14915_ACEOF
14916cat confdefs.h >>conftest.$ac_ext
14917cat >>conftest.$ac_ext <<_ACEOF
14918/* end confdefs.h. */
11074$ac_includes_default 14919$ac_includes_default
11075int 14920int
11076main () 14921main ()
11077{ 14922{
11078int _array_ [1 - 2 * !((sizeof (short int)) <= $ac_mid)] 14923static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14924test_array [0] = 0
14925
11079 ; 14926 ;
11080 return 0; 14927 return 0;
11081} 14928}
11082_ACEOF 14929_ACEOF
11083rm -f conftest.$ac_objext 14930rm -f conftest.$ac_objext
11084if { (eval echo "$as_me:11084: \"$ac_compile\"") >&5 14931if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11085 (eval $ac_compile) 2>&5 14932 (eval $ac_compile) 2>conftest.er1
11086 ac_status=$? 14933 ac_status=$?
11087 echo "$as_me:11087: \$? = $ac_status" >&5 14934 grep -v '^ *+' conftest.er1 >conftest.err
14935 rm -f conftest.er1
14936 cat conftest.err >&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); } && 14938 (exit $ac_status); } &&
11089 { ac_try='test -s conftest.$ac_objext' 14939 { ac_try='test -z "$ac_c_werror_flag"
11090 { (eval echo "$as_me:11090: \"$ac_try\"") >&5 14940 || test ! -s conftest.err'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11091 (eval $ac_try) 2>&5 14942 (eval $ac_try) 2>&5
11092 ac_status=$? 14943 ac_status=$?
11093 echo "$as_me:11093: \$? = $ac_status" >&5 14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; } &&
14946 { ac_try='test -s conftest.$ac_objext'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); }; }; then 14951 (exit $ac_status); }; }; then
11095 ac_hi=$ac_mid 14952 ac_hi=$ac_mid
11096else 14953else
11097 echo "$as_me: failed program was:" >&5 14954 echo "$as_me: failed program was:" >&5
11098cat conftest.$ac_ext >&5 14955sed 's/^/| /' conftest.$ac_ext >&5
11099ac_lo=`expr $ac_mid + 1` 14956
14957ac_lo=`expr '(' $ac_mid ')' + 1`
11100fi 14958fi
11101rm -f conftest.$ac_objext conftest.$ac_ext 14959rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11102done 14960done
11103ac_cv_sizeof_short_int=$ac_lo 14961case $ac_lo in
14962?*) ac_cv_sizeof_short_int=$ac_lo;;
14963'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
14964See \`config.log' for more details." >&5
14965echo "$as_me: error: cannot compute sizeof (short int), 77
14966See \`config.log' for more details." >&2;}
14967 { (exit 1); exit 1; }; } ;;
14968esac
11104else 14969else
11105 if test "$cross_compiling" = yes; then 14970 if test "$cross_compiling" = yes; then
11106 { { echo "$as_me:11106: error: cannot run test program while cross compiling" >&5 14971 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11107echo "$as_me: error: cannot run test program while cross compiling" >&2;} 14972See \`config.log' for more details." >&5
14973echo "$as_me: error: cannot run test program while cross compiling
14974See \`config.log' for more details." >&2;}
11108 { (exit 1); exit 1; }; } 14975 { (exit 1); exit 1; }; }
11109else 14976else
11110 cat >conftest.$ac_ext <<_ACEOF 14977 cat >conftest.$ac_ext <<_ACEOF
11111#line 11111 "configure" 14978/* confdefs.h. */
11112#include "confdefs.h" 14979_ACEOF
14980cat confdefs.h >>conftest.$ac_ext
14981cat >>conftest.$ac_ext <<_ACEOF
14982/* end confdefs.h. */
11113$ac_includes_default 14983$ac_includes_default
14984long longval () { return (long) (sizeof (short int)); }
14985unsigned long ulongval () { return (long) (sizeof (short int)); }
14986#include <stdio.h>
14987#include <stdlib.h>
11114int 14988int
11115main () 14989main ()
11116{ 14990{
11117FILE *f = fopen ("conftest.val", "w"); 14991
11118if (!f) 14992 FILE *f = fopen ("conftest.val", "w");
11119 exit (1); 14993 if (! f)
11120fprintf (f, "%d", (sizeof (short int))); 14994 exit (1);
11121fclose (f); 14995 if (((long) (sizeof (short int))) < 0)
14996 {
14997 long i = longval ();
14998 if (i != ((long) (sizeof (short int))))
14999 exit (1);
15000 fprintf (f, "%ld\n", i);
15001 }
15002 else
15003 {
15004 unsigned long i = ulongval ();
15005 if (i != ((long) (sizeof (short int))))
15006 exit (1);
15007 fprintf (f, "%lu\n", i);
15008 }
15009 exit (ferror (f) || fclose (f) != 0);
15010
11122 ; 15011 ;
11123 return 0; 15012 return 0;
11124} 15013}
11125_ACEOF 15014_ACEOF
11126rm -f conftest$ac_exeext 15015rm -f conftest$ac_exeext
11127if { (eval echo "$as_me:11127: \"$ac_link\"") >&5 15016if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11128 (eval $ac_link) 2>&5 15017 (eval $ac_link) 2>&5
11129 ac_status=$? 15018 ac_status=$?
11130 echo "$as_me:11130: \$? = $ac_status" >&5 15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11132 { (eval echo "$as_me:11132: \"$ac_try\"") >&5 15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11133 (eval $ac_try) 2>&5 15022 (eval $ac_try) 2>&5
11134 ac_status=$? 15023 ac_status=$?
11135 echo "$as_me:11135: \$? = $ac_status" >&5 15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); }; }; then 15025 (exit $ac_status); }; }; then
11137 ac_cv_sizeof_short_int=`cat conftest.val` 15026 ac_cv_sizeof_short_int=`cat conftest.val`
11138else 15027else
11139 echo "$as_me: program exited with status $ac_status" >&5 15028 echo "$as_me: program exited with status $ac_status" >&5
11140echo "$as_me: failed program was:" >&5 15029echo "$as_me: failed program was:" >&5
11141cat conftest.$ac_ext >&5 15030sed 's/^/| /' conftest.$ac_ext >&5
15031
15032( exit $ac_status )
15033{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15034See \`config.log' for more details." >&5
15035echo "$as_me: error: cannot compute sizeof (short int), 77
15036See \`config.log' for more details." >&2;}
15037 { (exit 1); exit 1; }; }
11142fi 15038fi
11143rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15039rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11144fi 15040fi
11145fi 15041fi
11146rm -f conftest.val 15042rm -f conftest.val
@@ -11148,20 +15044,24 @@ else
11148 ac_cv_sizeof_short_int=0 15044 ac_cv_sizeof_short_int=0
11149fi 15045fi
11150fi 15046fi
11151echo "$as_me:11151: result: $ac_cv_sizeof_short_int" >&5 15047echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
11152echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6 15048echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
11153cat >>confdefs.h <<EOF 15049cat >>confdefs.h <<_ACEOF
11154#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int 15050#define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
11155EOF 15051_ACEOF
11156 15052
11157echo "$as_me:11157: checking for int" >&5 15053
15054echo "$as_me:$LINENO: checking for int" >&5
11158echo $ECHO_N "checking for int... $ECHO_C" >&6 15055echo $ECHO_N "checking for int... $ECHO_C" >&6
11159if test "${ac_cv_type_int+set}" = set; then 15056if test "${ac_cv_type_int+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6 15057 echo $ECHO_N "(cached) $ECHO_C" >&6
11161else 15058else
11162 cat >conftest.$ac_ext <<_ACEOF 15059 cat >conftest.$ac_ext <<_ACEOF
11163#line 11163 "configure" 15060/* confdefs.h. */
11164#include "confdefs.h" 15061_ACEOF
15062cat confdefs.h >>conftest.$ac_ext
15063cat >>conftest.$ac_ext <<_ACEOF
15064/* end confdefs.h. */
11165$ac_includes_default 15065$ac_includes_default
11166int 15066int
11167main () 15067main ()
@@ -11175,209 +15075,382 @@ if (sizeof (int))
11175} 15075}
11176_ACEOF 15076_ACEOF
11177rm -f conftest.$ac_objext 15077rm -f conftest.$ac_objext
11178if { (eval echo "$as_me:11178: \"$ac_compile\"") >&5 15078if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11179 (eval $ac_compile) 2>&5 15079 (eval $ac_compile) 2>conftest.er1
11180 ac_status=$? 15080 ac_status=$?
11181 echo "$as_me:11181: \$? = $ac_status" >&5 15081 grep -v '^ *+' conftest.er1 >conftest.err
15082 rm -f conftest.er1
15083 cat conftest.err >&5
15084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 (exit $ac_status); } && 15085 (exit $ac_status); } &&
11183 { ac_try='test -s conftest.$ac_objext' 15086 { ac_try='test -z "$ac_c_werror_flag"
11184 { (eval echo "$as_me:11184: \"$ac_try\"") >&5 15087 || test ! -s conftest.err'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 (eval $ac_try) 2>&5 15089 (eval $ac_try) 2>&5
11186 ac_status=$? 15090 ac_status=$?
11187 echo "$as_me:11187: \$? = $ac_status" >&5 15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; } &&
15093 { ac_try='test -s conftest.$ac_objext'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15096 ac_status=$?
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); }; }; then 15098 (exit $ac_status); }; }; then
11189 ac_cv_type_int=yes 15099 ac_cv_type_int=yes
11190else 15100else
11191 echo "$as_me: failed program was:" >&5 15101 echo "$as_me: failed program was:" >&5
11192cat conftest.$ac_ext >&5 15102sed 's/^/| /' conftest.$ac_ext >&5
15103
11193ac_cv_type_int=no 15104ac_cv_type_int=no
11194fi 15105fi
11195rm -f conftest.$ac_objext conftest.$ac_ext 15106rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11196fi 15107fi
11197echo "$as_me:11197: result: $ac_cv_type_int" >&5 15108echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
11198echo "${ECHO_T}$ac_cv_type_int" >&6 15109echo "${ECHO_T}$ac_cv_type_int" >&6
11199 15110
11200echo "$as_me:11200: checking size of int" >&5 15111echo "$as_me:$LINENO: checking size of int" >&5
11201echo $ECHO_N "checking size of int... $ECHO_C" >&6 15112echo $ECHO_N "checking size of int... $ECHO_C" >&6
11202if test "${ac_cv_sizeof_int+set}" = set; then 15113if test "${ac_cv_sizeof_int+set}" = set; then
11203 echo $ECHO_N "(cached) $ECHO_C" >&6 15114 echo $ECHO_N "(cached) $ECHO_C" >&6
11204else 15115else
11205 if test "$ac_cv_type_int" = yes; then 15116 if test "$ac_cv_type_int" = yes; then
15117 # The cast to unsigned long works around a bug in the HP C Compiler
15118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15120 # This bug is HP SR number 8606223364.
11206 if test "$cross_compiling" = yes; then 15121 if test "$cross_compiling" = yes; then
11207 # Depending upon the size, compute the lo and hi bounds. 15122 # Depending upon the size, compute the lo and hi bounds.
11208cat >conftest.$ac_ext <<_ACEOF 15123cat >conftest.$ac_ext <<_ACEOF
11209#line 11209 "configure" 15124/* confdefs.h. */
11210#include "confdefs.h" 15125_ACEOF
15126cat confdefs.h >>conftest.$ac_ext
15127cat >>conftest.$ac_ext <<_ACEOF
15128/* end confdefs.h. */
11211$ac_includes_default 15129$ac_includes_default
11212int 15130int
11213main () 15131main ()
11214{ 15132{
11215int _array_ [1 - 2 * !((sizeof (int)) >= 0)] 15133static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15134test_array [0] = 0
15135
11216 ; 15136 ;
11217 return 0; 15137 return 0;
11218} 15138}
11219_ACEOF 15139_ACEOF
11220rm -f conftest.$ac_objext 15140rm -f conftest.$ac_objext
11221if { (eval echo "$as_me:11221: \"$ac_compile\"") >&5 15141if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11222 (eval $ac_compile) 2>&5 15142 (eval $ac_compile) 2>conftest.er1
11223 ac_status=$? 15143 ac_status=$?
11224 echo "$as_me:11224: \$? = $ac_status" >&5 15144 grep -v '^ *+' conftest.er1 >conftest.err
15145 rm -f conftest.er1
15146 cat conftest.err >&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 (exit $ac_status); } && 15148 (exit $ac_status); } &&
11226 { ac_try='test -s conftest.$ac_objext' 15149 { ac_try='test -z "$ac_c_werror_flag"
11227 { (eval echo "$as_me:11227: \"$ac_try\"") >&5 15150 || test ! -s conftest.err'
15151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228 (eval $ac_try) 2>&5 15152 (eval $ac_try) 2>&5
11229 ac_status=$? 15153 ac_status=$?
11230 echo "$as_me:11230: \$? = $ac_status" >&5 15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); }; } &&
15156 { ac_try='test -s conftest.$ac_objext'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15159 ac_status=$?
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); }; }; then 15161 (exit $ac_status); }; }; then
11232 ac_lo=0 ac_mid=0 15162 ac_lo=0 ac_mid=0
11233 while :; do 15163 while :; do
11234 cat >conftest.$ac_ext <<_ACEOF 15164 cat >conftest.$ac_ext <<_ACEOF
11235#line 11235 "configure" 15165/* confdefs.h. */
11236#include "confdefs.h" 15166_ACEOF
15167cat confdefs.h >>conftest.$ac_ext
15168cat >>conftest.$ac_ext <<_ACEOF
15169/* end confdefs.h. */
11237$ac_includes_default 15170$ac_includes_default
11238int 15171int
11239main () 15172main ()
11240{ 15173{
11241int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] 15174static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15175test_array [0] = 0
15176
11242 ; 15177 ;
11243 return 0; 15178 return 0;
11244} 15179}
11245_ACEOF 15180_ACEOF
11246rm -f conftest.$ac_objext 15181rm -f conftest.$ac_objext
11247if { (eval echo "$as_me:11247: \"$ac_compile\"") >&5 15182if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11248 (eval $ac_compile) 2>&5 15183 (eval $ac_compile) 2>conftest.er1
11249 ac_status=$? 15184 ac_status=$?
11250 echo "$as_me:11250: \$? = $ac_status" >&5 15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } && 15189 (exit $ac_status); } &&
11252 { ac_try='test -s conftest.$ac_objext' 15190 { ac_try='test -z "$ac_c_werror_flag"
11253 { (eval echo "$as_me:11253: \"$ac_try\"") >&5 15191 || test ! -s conftest.err'
15192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15193 (eval $ac_try) 2>&5
15194 ac_status=$?
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); }; } &&
15197 { ac_try='test -s conftest.$ac_objext'
15198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11254 (eval $ac_try) 2>&5 15199 (eval $ac_try) 2>&5
11255 ac_status=$? 15200 ac_status=$?
11256 echo "$as_me:11256: \$? = $ac_status" >&5 15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); }; }; then 15202 (exit $ac_status); }; }; then
11258 ac_hi=$ac_mid; break 15203 ac_hi=$ac_mid; break
11259else 15204else
11260 echo "$as_me: failed program was:" >&5 15205 echo "$as_me: failed program was:" >&5
11261cat conftest.$ac_ext >&5 15206sed 's/^/| /' conftest.$ac_ext >&5
11262ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 15207
15208ac_lo=`expr $ac_mid + 1`
15209 if test $ac_lo -le $ac_mid; then
15210 ac_lo= ac_hi=
15211 break
15212 fi
15213 ac_mid=`expr 2 '*' $ac_mid + 1`
11263fi 15214fi
11264rm -f conftest.$ac_objext conftest.$ac_ext 15215rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11265 done 15216 done
11266else 15217else
11267 echo "$as_me: failed program was:" >&5 15218 echo "$as_me: failed program was:" >&5
11268cat conftest.$ac_ext >&5 15219sed 's/^/| /' conftest.$ac_ext >&5
11269ac_hi=-1 ac_mid=-1 15220
15221cat >conftest.$ac_ext <<_ACEOF
15222/* confdefs.h. */
15223_ACEOF
15224cat confdefs.h >>conftest.$ac_ext
15225cat >>conftest.$ac_ext <<_ACEOF
15226/* end confdefs.h. */
15227$ac_includes_default
15228int
15229main ()
15230{
15231static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15232test_array [0] = 0
15233
15234 ;
15235 return 0;
15236}
15237_ACEOF
15238rm -f conftest.$ac_objext
15239if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15240 (eval $ac_compile) 2>conftest.er1
15241 ac_status=$?
15242 grep -v '^ *+' conftest.er1 >conftest.err
15243 rm -f conftest.er1
15244 cat conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -z "$ac_c_werror_flag"
15248 || test ! -s conftest.err'
15249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15250 (eval $ac_try) 2>&5
15251 ac_status=$?
15252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15253 (exit $ac_status); }; } &&
15254 { ac_try='test -s conftest.$ac_objext'
15255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15256 (eval $ac_try) 2>&5
15257 ac_status=$?
15258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15259 (exit $ac_status); }; }; then
15260 ac_hi=-1 ac_mid=-1
11270 while :; do 15261 while :; do
11271 cat >conftest.$ac_ext <<_ACEOF 15262 cat >conftest.$ac_ext <<_ACEOF
11272#line 11272 "configure" 15263/* confdefs.h. */
11273#include "confdefs.h" 15264_ACEOF
15265cat confdefs.h >>conftest.$ac_ext
15266cat >>conftest.$ac_ext <<_ACEOF
15267/* end confdefs.h. */
11274$ac_includes_default 15268$ac_includes_default
11275int 15269int
11276main () 15270main ()
11277{ 15271{
11278int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)] 15272static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15273test_array [0] = 0
15274
11279 ; 15275 ;
11280 return 0; 15276 return 0;
11281} 15277}
11282_ACEOF 15278_ACEOF
11283rm -f conftest.$ac_objext 15279rm -f conftest.$ac_objext
11284if { (eval echo "$as_me:11284: \"$ac_compile\"") >&5 15280if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11285 (eval $ac_compile) 2>&5 15281 (eval $ac_compile) 2>conftest.er1
11286 ac_status=$? 15282 ac_status=$?
11287 echo "$as_me:11287: \$? = $ac_status" >&5 15283 grep -v '^ *+' conftest.er1 >conftest.err
15284 rm -f conftest.er1
15285 cat conftest.err >&5
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); } && 15287 (exit $ac_status); } &&
11289 { ac_try='test -s conftest.$ac_objext' 15288 { ac_try='test -z "$ac_c_werror_flag"
11290 { (eval echo "$as_me:11290: \"$ac_try\"") >&5 15289 || test ! -s conftest.err'
15290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5 15291 (eval $ac_try) 2>&5
11292 ac_status=$? 15292 ac_status=$?
11293 echo "$as_me:11293: \$? = $ac_status" >&5 15293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15294 (exit $ac_status); }; } &&
15295 { ac_try='test -s conftest.$ac_objext'
15296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15297 (eval $ac_try) 2>&5
15298 ac_status=$?
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then 15300 (exit $ac_status); }; }; then
11295 ac_lo=$ac_mid; break 15301 ac_lo=$ac_mid; break
11296else 15302else
11297 echo "$as_me: failed program was:" >&5 15303 echo "$as_me: failed program was:" >&5
11298cat conftest.$ac_ext >&5 15304sed 's/^/| /' conftest.$ac_ext >&5
11299ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 15305
15306ac_hi=`expr '(' $ac_mid ')' - 1`
15307 if test $ac_mid -le $ac_hi; then
15308 ac_lo= ac_hi=
15309 break
15310 fi
15311 ac_mid=`expr 2 '*' $ac_mid`
11300fi 15312fi
11301rm -f conftest.$ac_objext conftest.$ac_ext 15313rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11302 done 15314 done
15315else
15316 echo "$as_me: failed program was:" >&5
15317sed 's/^/| /' conftest.$ac_ext >&5
15318
15319ac_lo= ac_hi=
15320fi
15321rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11303fi 15322fi
11304rm -f conftest.$ac_objext conftest.$ac_ext 15323rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11305# Binary search between lo and hi bounds. 15324# Binary search between lo and hi bounds.
11306while test "x$ac_lo" != "x$ac_hi"; do 15325while test "x$ac_lo" != "x$ac_hi"; do
11307 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15326 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11308 cat >conftest.$ac_ext <<_ACEOF 15327 cat >conftest.$ac_ext <<_ACEOF
11309#line 11309 "configure" 15328/* confdefs.h. */
11310#include "confdefs.h" 15329_ACEOF
15330cat confdefs.h >>conftest.$ac_ext
15331cat >>conftest.$ac_ext <<_ACEOF
15332/* end confdefs.h. */
11311$ac_includes_default 15333$ac_includes_default
11312int 15334int
11313main () 15335main ()
11314{ 15336{
11315int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)] 15337static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15338test_array [0] = 0
15339
11316 ; 15340 ;
11317 return 0; 15341 return 0;
11318} 15342}
11319_ACEOF 15343_ACEOF
11320rm -f conftest.$ac_objext 15344rm -f conftest.$ac_objext
11321if { (eval echo "$as_me:11321: \"$ac_compile\"") >&5 15345if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11322 (eval $ac_compile) 2>&5 15346 (eval $ac_compile) 2>conftest.er1
11323 ac_status=$? 15347 ac_status=$?
11324 echo "$as_me:11324: \$? = $ac_status" >&5 15348 grep -v '^ *+' conftest.er1 >conftest.err
15349 rm -f conftest.er1
15350 cat conftest.err >&5
15351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } && 15352 (exit $ac_status); } &&
11326 { ac_try='test -s conftest.$ac_objext' 15353 { ac_try='test -z "$ac_c_werror_flag"
11327 { (eval echo "$as_me:11327: \"$ac_try\"") >&5 15354 || test ! -s conftest.err'
15355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15356 (eval $ac_try) 2>&5
15357 ac_status=$?
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); }; } &&
15360 { ac_try='test -s conftest.$ac_objext'
15361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11328 (eval $ac_try) 2>&5 15362 (eval $ac_try) 2>&5
11329 ac_status=$? 15363 ac_status=$?
11330 echo "$as_me:11330: \$? = $ac_status" >&5 15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); }; }; then 15365 (exit $ac_status); }; }; then
11332 ac_hi=$ac_mid 15366 ac_hi=$ac_mid
11333else 15367else
11334 echo "$as_me: failed program was:" >&5 15368 echo "$as_me: failed program was:" >&5
11335cat conftest.$ac_ext >&5 15369sed 's/^/| /' conftest.$ac_ext >&5
11336ac_lo=`expr $ac_mid + 1` 15370
15371ac_lo=`expr '(' $ac_mid ')' + 1`
11337fi 15372fi
11338rm -f conftest.$ac_objext conftest.$ac_ext 15373rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11339done 15374done
11340ac_cv_sizeof_int=$ac_lo 15375case $ac_lo in
15376?*) ac_cv_sizeof_int=$ac_lo;;
15377'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15378See \`config.log' for more details." >&5
15379echo "$as_me: error: cannot compute sizeof (int), 77
15380See \`config.log' for more details." >&2;}
15381 { (exit 1); exit 1; }; } ;;
15382esac
11341else 15383else
11342 if test "$cross_compiling" = yes; then 15384 if test "$cross_compiling" = yes; then
11343 { { echo "$as_me:11343: error: cannot run test program while cross compiling" >&5 15385 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11344echo "$as_me: error: cannot run test program while cross compiling" >&2;} 15386See \`config.log' for more details." >&5
15387echo "$as_me: error: cannot run test program while cross compiling
15388See \`config.log' for more details." >&2;}
11345 { (exit 1); exit 1; }; } 15389 { (exit 1); exit 1; }; }
11346else 15390else
11347 cat >conftest.$ac_ext <<_ACEOF 15391 cat >conftest.$ac_ext <<_ACEOF
11348#line 11348 "configure" 15392/* confdefs.h. */
11349#include "confdefs.h" 15393_ACEOF
15394cat confdefs.h >>conftest.$ac_ext
15395cat >>conftest.$ac_ext <<_ACEOF
15396/* end confdefs.h. */
11350$ac_includes_default 15397$ac_includes_default
15398long longval () { return (long) (sizeof (int)); }
15399unsigned long ulongval () { return (long) (sizeof (int)); }
15400#include <stdio.h>
15401#include <stdlib.h>
11351int 15402int
11352main () 15403main ()
11353{ 15404{
11354FILE *f = fopen ("conftest.val", "w"); 15405
11355if (!f) 15406 FILE *f = fopen ("conftest.val", "w");
11356 exit (1); 15407 if (! f)
11357fprintf (f, "%d", (sizeof (int))); 15408 exit (1);
11358fclose (f); 15409 if (((long) (sizeof (int))) < 0)
15410 {
15411 long i = longval ();
15412 if (i != ((long) (sizeof (int))))
15413 exit (1);
15414 fprintf (f, "%ld\n", i);
15415 }
15416 else
15417 {
15418 unsigned long i = ulongval ();
15419 if (i != ((long) (sizeof (int))))
15420 exit (1);
15421 fprintf (f, "%lu\n", i);
15422 }
15423 exit (ferror (f) || fclose (f) != 0);
15424
11359 ; 15425 ;
11360 return 0; 15426 return 0;
11361} 15427}
11362_ACEOF 15428_ACEOF
11363rm -f conftest$ac_exeext 15429rm -f conftest$ac_exeext
11364if { (eval echo "$as_me:11364: \"$ac_link\"") >&5 15430if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11365 (eval $ac_link) 2>&5 15431 (eval $ac_link) 2>&5
11366 ac_status=$? 15432 ac_status=$?
11367 echo "$as_me:11367: \$? = $ac_status" >&5 15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15434 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11369 { (eval echo "$as_me:11369: \"$ac_try\"") >&5 15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11370 (eval $ac_try) 2>&5 15436 (eval $ac_try) 2>&5
11371 ac_status=$? 15437 ac_status=$?
11372 echo "$as_me:11372: \$? = $ac_status" >&5 15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; }; then 15439 (exit $ac_status); }; }; then
11374 ac_cv_sizeof_int=`cat conftest.val` 15440 ac_cv_sizeof_int=`cat conftest.val`
11375else 15441else
11376 echo "$as_me: program exited with status $ac_status" >&5 15442 echo "$as_me: program exited with status $ac_status" >&5
11377echo "$as_me: failed program was:" >&5 15443echo "$as_me: failed program was:" >&5
11378cat conftest.$ac_ext >&5 15444sed 's/^/| /' conftest.$ac_ext >&5
15445
15446( exit $ac_status )
15447{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15448See \`config.log' for more details." >&5
15449echo "$as_me: error: cannot compute sizeof (int), 77
15450See \`config.log' for more details." >&2;}
15451 { (exit 1); exit 1; }; }
11379fi 15452fi
11380rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15453rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11381fi 15454fi
11382fi 15455fi
11383rm -f conftest.val 15456rm -f conftest.val
@@ -11385,20 +15458,24 @@ else
11385 ac_cv_sizeof_int=0 15458 ac_cv_sizeof_int=0
11386fi 15459fi
11387fi 15460fi
11388echo "$as_me:11388: result: $ac_cv_sizeof_int" >&5 15461echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
11389echo "${ECHO_T}$ac_cv_sizeof_int" >&6 15462echo "${ECHO_T}$ac_cv_sizeof_int" >&6
11390cat >>confdefs.h <<EOF 15463cat >>confdefs.h <<_ACEOF
11391#define SIZEOF_INT $ac_cv_sizeof_int 15464#define SIZEOF_INT $ac_cv_sizeof_int
11392EOF 15465_ACEOF
15466
11393 15467
11394echo "$as_me:11394: checking for long int" >&5 15468echo "$as_me:$LINENO: checking for long int" >&5
11395echo $ECHO_N "checking for long int... $ECHO_C" >&6 15469echo $ECHO_N "checking for long int... $ECHO_C" >&6
11396if test "${ac_cv_type_long_int+set}" = set; then 15470if test "${ac_cv_type_long_int+set}" = set; then
11397 echo $ECHO_N "(cached) $ECHO_C" >&6 15471 echo $ECHO_N "(cached) $ECHO_C" >&6
11398else 15472else
11399 cat >conftest.$ac_ext <<_ACEOF 15473 cat >conftest.$ac_ext <<_ACEOF
11400#line 11400 "configure" 15474/* confdefs.h. */
11401#include "confdefs.h" 15475_ACEOF
15476cat confdefs.h >>conftest.$ac_ext
15477cat >>conftest.$ac_ext <<_ACEOF
15478/* end confdefs.h. */
11402$ac_includes_default 15479$ac_includes_default
11403int 15480int
11404main () 15481main ()
@@ -11412,209 +15489,382 @@ if (sizeof (long int))
11412} 15489}
11413_ACEOF 15490_ACEOF
11414rm -f conftest.$ac_objext 15491rm -f conftest.$ac_objext
11415if { (eval echo "$as_me:11415: \"$ac_compile\"") >&5 15492if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11416 (eval $ac_compile) 2>&5 15493 (eval $ac_compile) 2>conftest.er1
11417 ac_status=$? 15494 ac_status=$?
11418 echo "$as_me:11418: \$? = $ac_status" >&5 15495 grep -v '^ *+' conftest.er1 >conftest.err
15496 rm -f conftest.er1
15497 cat conftest.err >&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11419 (exit $ac_status); } && 15499 (exit $ac_status); } &&
11420 { ac_try='test -s conftest.$ac_objext' 15500 { ac_try='test -z "$ac_c_werror_flag"
11421 { (eval echo "$as_me:11421: \"$ac_try\"") >&5 15501 || test ! -s conftest.err'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11422 (eval $ac_try) 2>&5 15503 (eval $ac_try) 2>&5
11423 ac_status=$? 15504 ac_status=$?
11424 echo "$as_me:11424: \$? = $ac_status" >&5 15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; } &&
15507 { ac_try='test -s conftest.$ac_objext'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425 (exit $ac_status); }; }; then 15512 (exit $ac_status); }; }; then
11426 ac_cv_type_long_int=yes 15513 ac_cv_type_long_int=yes
11427else 15514else
11428 echo "$as_me: failed program was:" >&5 15515 echo "$as_me: failed program was:" >&5
11429cat conftest.$ac_ext >&5 15516sed 's/^/| /' conftest.$ac_ext >&5
15517
11430ac_cv_type_long_int=no 15518ac_cv_type_long_int=no
11431fi 15519fi
11432rm -f conftest.$ac_objext conftest.$ac_ext 15520rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11433fi 15521fi
11434echo "$as_me:11434: result: $ac_cv_type_long_int" >&5 15522echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
11435echo "${ECHO_T}$ac_cv_type_long_int" >&6 15523echo "${ECHO_T}$ac_cv_type_long_int" >&6
11436 15524
11437echo "$as_me:11437: checking size of long int" >&5 15525echo "$as_me:$LINENO: checking size of long int" >&5
11438echo $ECHO_N "checking size of long int... $ECHO_C" >&6 15526echo $ECHO_N "checking size of long int... $ECHO_C" >&6
11439if test "${ac_cv_sizeof_long_int+set}" = set; then 15527if test "${ac_cv_sizeof_long_int+set}" = set; then
11440 echo $ECHO_N "(cached) $ECHO_C" >&6 15528 echo $ECHO_N "(cached) $ECHO_C" >&6
11441else 15529else
11442 if test "$ac_cv_type_long_int" = yes; then 15530 if test "$ac_cv_type_long_int" = yes; then
15531 # The cast to unsigned long works around a bug in the HP C Compiler
15532 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15533 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15534 # This bug is HP SR number 8606223364.
11443 if test "$cross_compiling" = yes; then 15535 if test "$cross_compiling" = yes; then
11444 # Depending upon the size, compute the lo and hi bounds. 15536 # Depending upon the size, compute the lo and hi bounds.
11445cat >conftest.$ac_ext <<_ACEOF 15537cat >conftest.$ac_ext <<_ACEOF
11446#line 11446 "configure" 15538/* confdefs.h. */
11447#include "confdefs.h" 15539_ACEOF
15540cat confdefs.h >>conftest.$ac_ext
15541cat >>conftest.$ac_ext <<_ACEOF
15542/* end confdefs.h. */
11448$ac_includes_default 15543$ac_includes_default
11449int 15544int
11450main () 15545main ()
11451{ 15546{
11452int _array_ [1 - 2 * !((sizeof (long int)) >= 0)] 15547static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
15548test_array [0] = 0
15549
11453 ; 15550 ;
11454 return 0; 15551 return 0;
11455} 15552}
11456_ACEOF 15553_ACEOF
11457rm -f conftest.$ac_objext 15554rm -f conftest.$ac_objext
11458if { (eval echo "$as_me:11458: \"$ac_compile\"") >&5 15555if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11459 (eval $ac_compile) 2>&5 15556 (eval $ac_compile) 2>conftest.er1
11460 ac_status=$? 15557 ac_status=$?
11461 echo "$as_me:11461: \$? = $ac_status" >&5 15558 grep -v '^ *+' conftest.er1 >conftest.err
15559 rm -f conftest.er1
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && 15562 (exit $ac_status); } &&
11463 { ac_try='test -s conftest.$ac_objext' 15563 { ac_try='test -z "$ac_c_werror_flag"
11464 { (eval echo "$as_me:11464: \"$ac_try\"") >&5 15564 || test ! -s conftest.err'
15565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15566 (eval $ac_try) 2>&5
15567 ac_status=$?
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); }; } &&
15570 { ac_try='test -s conftest.$ac_objext'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11465 (eval $ac_try) 2>&5 15572 (eval $ac_try) 2>&5
11466 ac_status=$? 15573 ac_status=$?
11467 echo "$as_me:11467: \$? = $ac_status" >&5 15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11468 (exit $ac_status); }; }; then 15575 (exit $ac_status); }; }; then
11469 ac_lo=0 ac_mid=0 15576 ac_lo=0 ac_mid=0
11470 while :; do 15577 while :; do
11471 cat >conftest.$ac_ext <<_ACEOF 15578 cat >conftest.$ac_ext <<_ACEOF
11472#line 11472 "configure" 15579/* confdefs.h. */
11473#include "confdefs.h" 15580_ACEOF
15581cat confdefs.h >>conftest.$ac_ext
15582cat >>conftest.$ac_ext <<_ACEOF
15583/* end confdefs.h. */
11474$ac_includes_default 15584$ac_includes_default
11475int 15585int
11476main () 15586main ()
11477{ 15587{
11478int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] 15588static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15589test_array [0] = 0
15590
11479 ; 15591 ;
11480 return 0; 15592 return 0;
11481} 15593}
11482_ACEOF 15594_ACEOF
11483rm -f conftest.$ac_objext 15595rm -f conftest.$ac_objext
11484if { (eval echo "$as_me:11484: \"$ac_compile\"") >&5 15596if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11485 (eval $ac_compile) 2>&5 15597 (eval $ac_compile) 2>conftest.er1
11486 ac_status=$? 15598 ac_status=$?
11487 echo "$as_me:11487: \$? = $ac_status" >&5 15599 grep -v '^ *+' conftest.er1 >conftest.err
15600 rm -f conftest.er1
15601 cat conftest.err >&5
15602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11488 (exit $ac_status); } && 15603 (exit $ac_status); } &&
11489 { ac_try='test -s conftest.$ac_objext' 15604 { ac_try='test -z "$ac_c_werror_flag"
11490 { (eval echo "$as_me:11490: \"$ac_try\"") >&5 15605 || test ! -s conftest.err'
15606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15607 (eval $ac_try) 2>&5
15608 ac_status=$?
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); }; } &&
15611 { ac_try='test -s conftest.$ac_objext'
15612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11491 (eval $ac_try) 2>&5 15613 (eval $ac_try) 2>&5
11492 ac_status=$? 15614 ac_status=$?
11493 echo "$as_me:11493: \$? = $ac_status" >&5 15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11494 (exit $ac_status); }; }; then 15616 (exit $ac_status); }; }; then
11495 ac_hi=$ac_mid; break 15617 ac_hi=$ac_mid; break
11496else 15618else
11497 echo "$as_me: failed program was:" >&5 15619 echo "$as_me: failed program was:" >&5
11498cat conftest.$ac_ext >&5 15620sed 's/^/| /' conftest.$ac_ext >&5
11499ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 15621
15622ac_lo=`expr $ac_mid + 1`
15623 if test $ac_lo -le $ac_mid; then
15624 ac_lo= ac_hi=
15625 break
15626 fi
15627 ac_mid=`expr 2 '*' $ac_mid + 1`
11500fi 15628fi
11501rm -f conftest.$ac_objext conftest.$ac_ext 15629rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11502 done 15630 done
11503else 15631else
11504 echo "$as_me: failed program was:" >&5 15632 echo "$as_me: failed program was:" >&5
11505cat conftest.$ac_ext >&5 15633sed 's/^/| /' conftest.$ac_ext >&5
11506ac_hi=-1 ac_mid=-1 15634
15635cat >conftest.$ac_ext <<_ACEOF
15636/* confdefs.h. */
15637_ACEOF
15638cat confdefs.h >>conftest.$ac_ext
15639cat >>conftest.$ac_ext <<_ACEOF
15640/* end confdefs.h. */
15641$ac_includes_default
15642int
15643main ()
15644{
15645static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15646test_array [0] = 0
15647
15648 ;
15649 return 0;
15650}
15651_ACEOF
15652rm -f conftest.$ac_objext
15653if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15654 (eval $ac_compile) 2>conftest.er1
15655 ac_status=$?
15656 grep -v '^ *+' conftest.er1 >conftest.err
15657 rm -f conftest.er1
15658 cat conftest.err >&5
15659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15660 (exit $ac_status); } &&
15661 { ac_try='test -z "$ac_c_werror_flag"
15662 || test ! -s conftest.err'
15663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15664 (eval $ac_try) 2>&5
15665 ac_status=$?
15666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15667 (exit $ac_status); }; } &&
15668 { ac_try='test -s conftest.$ac_objext'
15669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670 (eval $ac_try) 2>&5
15671 ac_status=$?
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); }; }; then
15674 ac_hi=-1 ac_mid=-1
11507 while :; do 15675 while :; do
11508 cat >conftest.$ac_ext <<_ACEOF 15676 cat >conftest.$ac_ext <<_ACEOF
11509#line 11509 "configure" 15677/* confdefs.h. */
11510#include "confdefs.h" 15678_ACEOF
15679cat confdefs.h >>conftest.$ac_ext
15680cat >>conftest.$ac_ext <<_ACEOF
15681/* end confdefs.h. */
11511$ac_includes_default 15682$ac_includes_default
11512int 15683int
11513main () 15684main ()
11514{ 15685{
11515int _array_ [1 - 2 * !((sizeof (long int)) >= $ac_mid)] 15686static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
15687test_array [0] = 0
15688
11516 ; 15689 ;
11517 return 0; 15690 return 0;
11518} 15691}
11519_ACEOF 15692_ACEOF
11520rm -f conftest.$ac_objext 15693rm -f conftest.$ac_objext
11521if { (eval echo "$as_me:11521: \"$ac_compile\"") >&5 15694if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11522 (eval $ac_compile) 2>&5 15695 (eval $ac_compile) 2>conftest.er1
11523 ac_status=$? 15696 ac_status=$?
11524 echo "$as_me:11524: \$? = $ac_status" >&5 15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && 15701 (exit $ac_status); } &&
11526 { ac_try='test -s conftest.$ac_objext' 15702 { ac_try='test -z "$ac_c_werror_flag"
11527 { (eval echo "$as_me:11527: \"$ac_try\"") >&5 15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528 (eval $ac_try) 2>&5 15705 (eval $ac_try) 2>&5
11529 ac_status=$? 15706 ac_status=$?
11530 echo "$as_me:11530: \$? = $ac_status" >&5 15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15712 ac_status=$?
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); }; }; then 15714 (exit $ac_status); }; }; then
11532 ac_lo=$ac_mid; break 15715 ac_lo=$ac_mid; break
11533else 15716else
11534 echo "$as_me: failed program was:" >&5 15717 echo "$as_me: failed program was:" >&5
11535cat conftest.$ac_ext >&5 15718sed 's/^/| /' conftest.$ac_ext >&5
11536ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 15719
15720ac_hi=`expr '(' $ac_mid ')' - 1`
15721 if test $ac_mid -le $ac_hi; then
15722 ac_lo= ac_hi=
15723 break
15724 fi
15725 ac_mid=`expr 2 '*' $ac_mid`
11537fi 15726fi
11538rm -f conftest.$ac_objext conftest.$ac_ext 15727rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11539 done 15728 done
15729else
15730 echo "$as_me: failed program was:" >&5
15731sed 's/^/| /' conftest.$ac_ext >&5
15732
15733ac_lo= ac_hi=
15734fi
15735rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11540fi 15736fi
11541rm -f conftest.$ac_objext conftest.$ac_ext 15737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11542# Binary search between lo and hi bounds. 15738# Binary search between lo and hi bounds.
11543while test "x$ac_lo" != "x$ac_hi"; do 15739while test "x$ac_lo" != "x$ac_hi"; do
11544 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 15740 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11545 cat >conftest.$ac_ext <<_ACEOF 15741 cat >conftest.$ac_ext <<_ACEOF
11546#line 11546 "configure" 15742/* confdefs.h. */
11547#include "confdefs.h" 15743_ACEOF
15744cat confdefs.h >>conftest.$ac_ext
15745cat >>conftest.$ac_ext <<_ACEOF
15746/* end confdefs.h. */
11548$ac_includes_default 15747$ac_includes_default
11549int 15748int
11550main () 15749main ()
11551{ 15750{
11552int _array_ [1 - 2 * !((sizeof (long int)) <= $ac_mid)] 15751static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15752test_array [0] = 0
15753
11553 ; 15754 ;
11554 return 0; 15755 return 0;
11555} 15756}
11556_ACEOF 15757_ACEOF
11557rm -f conftest.$ac_objext 15758rm -f conftest.$ac_objext
11558if { (eval echo "$as_me:11558: \"$ac_compile\"") >&5 15759if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11559 (eval $ac_compile) 2>&5 15760 (eval $ac_compile) 2>conftest.er1
11560 ac_status=$? 15761 ac_status=$?
11561 echo "$as_me:11561: \$? = $ac_status" >&5 15762 grep -v '^ *+' conftest.er1 >conftest.err
15763 rm -f conftest.er1
15764 cat conftest.err >&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); } && 15766 (exit $ac_status); } &&
11563 { ac_try='test -s conftest.$ac_objext' 15767 { ac_try='test -z "$ac_c_werror_flag"
11564 { (eval echo "$as_me:11564: \"$ac_try\"") >&5 15768 || test ! -s conftest.err'
15769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15770 (eval $ac_try) 2>&5
15771 ac_status=$?
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }; } &&
15774 { ac_try='test -s conftest.$ac_objext'
15775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11565 (eval $ac_try) 2>&5 15776 (eval $ac_try) 2>&5
11566 ac_status=$? 15777 ac_status=$?
11567 echo "$as_me:11567: \$? = $ac_status" >&5 15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); }; }; then 15779 (exit $ac_status); }; }; then
11569 ac_hi=$ac_mid 15780 ac_hi=$ac_mid
11570else 15781else
11571 echo "$as_me: failed program was:" >&5 15782 echo "$as_me: failed program was:" >&5
11572cat conftest.$ac_ext >&5 15783sed 's/^/| /' conftest.$ac_ext >&5
11573ac_lo=`expr $ac_mid + 1` 15784
15785ac_lo=`expr '(' $ac_mid ')' + 1`
11574fi 15786fi
11575rm -f conftest.$ac_objext conftest.$ac_ext 15787rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11576done 15788done
11577ac_cv_sizeof_long_int=$ac_lo 15789case $ac_lo in
15790?*) ac_cv_sizeof_long_int=$ac_lo;;
15791'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15792See \`config.log' for more details." >&5
15793echo "$as_me: error: cannot compute sizeof (long int), 77
15794See \`config.log' for more details." >&2;}
15795 { (exit 1); exit 1; }; } ;;
15796esac
11578else 15797else
11579 if test "$cross_compiling" = yes; then 15798 if test "$cross_compiling" = yes; then
11580 { { echo "$as_me:11580: error: cannot run test program while cross compiling" >&5 15799 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11581echo "$as_me: error: cannot run test program while cross compiling" >&2;} 15800See \`config.log' for more details." >&5
15801echo "$as_me: error: cannot run test program while cross compiling
15802See \`config.log' for more details." >&2;}
11582 { (exit 1); exit 1; }; } 15803 { (exit 1); exit 1; }; }
11583else 15804else
11584 cat >conftest.$ac_ext <<_ACEOF 15805 cat >conftest.$ac_ext <<_ACEOF
11585#line 11585 "configure" 15806/* confdefs.h. */
11586#include "confdefs.h" 15807_ACEOF
15808cat confdefs.h >>conftest.$ac_ext
15809cat >>conftest.$ac_ext <<_ACEOF
15810/* end confdefs.h. */
11587$ac_includes_default 15811$ac_includes_default
15812long longval () { return (long) (sizeof (long int)); }
15813unsigned long ulongval () { return (long) (sizeof (long int)); }
15814#include <stdio.h>
15815#include <stdlib.h>
11588int 15816int
11589main () 15817main ()
11590{ 15818{
11591FILE *f = fopen ("conftest.val", "w"); 15819
11592if (!f) 15820 FILE *f = fopen ("conftest.val", "w");
11593 exit (1); 15821 if (! f)
11594fprintf (f, "%d", (sizeof (long int))); 15822 exit (1);
11595fclose (f); 15823 if (((long) (sizeof (long int))) < 0)
15824 {
15825 long i = longval ();
15826 if (i != ((long) (sizeof (long int))))
15827 exit (1);
15828 fprintf (f, "%ld\n", i);
15829 }
15830 else
15831 {
15832 unsigned long i = ulongval ();
15833 if (i != ((long) (sizeof (long int))))
15834 exit (1);
15835 fprintf (f, "%lu\n", i);
15836 }
15837 exit (ferror (f) || fclose (f) != 0);
15838
11596 ; 15839 ;
11597 return 0; 15840 return 0;
11598} 15841}
11599_ACEOF 15842_ACEOF
11600rm -f conftest$ac_exeext 15843rm -f conftest$ac_exeext
11601if { (eval echo "$as_me:11601: \"$ac_link\"") >&5 15844if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11602 (eval $ac_link) 2>&5 15845 (eval $ac_link) 2>&5
11603 ac_status=$? 15846 ac_status=$?
11604 echo "$as_me:11604: \$? = $ac_status" >&5 15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15848 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11606 { (eval echo "$as_me:11606: \"$ac_try\"") >&5 15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11607 (eval $ac_try) 2>&5 15850 (eval $ac_try) 2>&5
11608 ac_status=$? 15851 ac_status=$?
11609 echo "$as_me:11609: \$? = $ac_status" >&5 15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); }; }; then 15853 (exit $ac_status); }; }; then
11611 ac_cv_sizeof_long_int=`cat conftest.val` 15854 ac_cv_sizeof_long_int=`cat conftest.val`
11612else 15855else
11613 echo "$as_me: program exited with status $ac_status" >&5 15856 echo "$as_me: program exited with status $ac_status" >&5
11614echo "$as_me: failed program was:" >&5 15857echo "$as_me: failed program was:" >&5
11615cat conftest.$ac_ext >&5 15858sed 's/^/| /' conftest.$ac_ext >&5
15859
15860( exit $ac_status )
15861{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15862See \`config.log' for more details." >&5
15863echo "$as_me: error: cannot compute sizeof (long int), 77
15864See \`config.log' for more details." >&2;}
15865 { (exit 1); exit 1; }; }
11616fi 15866fi
11617rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15867rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11618fi 15868fi
11619fi 15869fi
11620rm -f conftest.val 15870rm -f conftest.val
@@ -11622,20 +15872,24 @@ else
11622 ac_cv_sizeof_long_int=0 15872 ac_cv_sizeof_long_int=0
11623fi 15873fi
11624fi 15874fi
11625echo "$as_me:11625: result: $ac_cv_sizeof_long_int" >&5 15875echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
11626echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6 15876echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
11627cat >>confdefs.h <<EOF 15877cat >>confdefs.h <<_ACEOF
11628#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int 15878#define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
11629EOF 15879_ACEOF
11630 15880
11631echo "$as_me:11631: checking for long long int" >&5 15881
15882echo "$as_me:$LINENO: checking for long long int" >&5
11632echo $ECHO_N "checking for long long int... $ECHO_C" >&6 15883echo $ECHO_N "checking for long long int... $ECHO_C" >&6
11633if test "${ac_cv_type_long_long_int+set}" = set; then 15884if test "${ac_cv_type_long_long_int+set}" = set; then
11634 echo $ECHO_N "(cached) $ECHO_C" >&6 15885 echo $ECHO_N "(cached) $ECHO_C" >&6
11635else 15886else
11636 cat >conftest.$ac_ext <<_ACEOF 15887 cat >conftest.$ac_ext <<_ACEOF
11637#line 11637 "configure" 15888/* confdefs.h. */
11638#include "confdefs.h" 15889_ACEOF
15890cat confdefs.h >>conftest.$ac_ext
15891cat >>conftest.$ac_ext <<_ACEOF
15892/* end confdefs.h. */
11639$ac_includes_default 15893$ac_includes_default
11640int 15894int
11641main () 15895main ()
@@ -11649,209 +15903,382 @@ if (sizeof (long long int))
11649} 15903}
11650_ACEOF 15904_ACEOF
11651rm -f conftest.$ac_objext 15905rm -f conftest.$ac_objext
11652if { (eval echo "$as_me:11652: \"$ac_compile\"") >&5 15906if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11653 (eval $ac_compile) 2>&5 15907 (eval $ac_compile) 2>conftest.er1
11654 ac_status=$? 15908 ac_status=$?
11655 echo "$as_me:11655: \$? = $ac_status" >&5 15909 grep -v '^ *+' conftest.er1 >conftest.err
15910 rm -f conftest.er1
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); } && 15913 (exit $ac_status); } &&
11657 { ac_try='test -s conftest.$ac_objext' 15914 { ac_try='test -z "$ac_c_werror_flag"
11658 { (eval echo "$as_me:11658: \"$ac_try\"") >&5 15915 || test ! -s conftest.err'
15916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917 (eval $ac_try) 2>&5
15918 ac_status=$?
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); }; } &&
15921 { ac_try='test -s conftest.$ac_objext'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11659 (eval $ac_try) 2>&5 15923 (eval $ac_try) 2>&5
11660 ac_status=$? 15924 ac_status=$?
11661 echo "$as_me:11661: \$? = $ac_status" >&5 15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); }; }; then 15926 (exit $ac_status); }; }; then
11663 ac_cv_type_long_long_int=yes 15927 ac_cv_type_long_long_int=yes
11664else 15928else
11665 echo "$as_me: failed program was:" >&5 15929 echo "$as_me: failed program was:" >&5
11666cat conftest.$ac_ext >&5 15930sed 's/^/| /' conftest.$ac_ext >&5
15931
11667ac_cv_type_long_long_int=no 15932ac_cv_type_long_long_int=no
11668fi 15933fi
11669rm -f conftest.$ac_objext conftest.$ac_ext 15934rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11670fi 15935fi
11671echo "$as_me:11671: result: $ac_cv_type_long_long_int" >&5 15936echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
11672echo "${ECHO_T}$ac_cv_type_long_long_int" >&6 15937echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
11673 15938
11674echo "$as_me:11674: checking size of long long int" >&5 15939echo "$as_me:$LINENO: checking size of long long int" >&5
11675echo $ECHO_N "checking size of long long int... $ECHO_C" >&6 15940echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
11676if test "${ac_cv_sizeof_long_long_int+set}" = set; then 15941if test "${ac_cv_sizeof_long_long_int+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6 15942 echo $ECHO_N "(cached) $ECHO_C" >&6
11678else 15943else
11679 if test "$ac_cv_type_long_long_int" = yes; then 15944 if test "$ac_cv_type_long_long_int" = yes; then
15945 # The cast to unsigned long works around a bug in the HP C Compiler
15946 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15947 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15948 # This bug is HP SR number 8606223364.
11680 if test "$cross_compiling" = yes; then 15949 if test "$cross_compiling" = yes; then
11681 # Depending upon the size, compute the lo and hi bounds. 15950 # Depending upon the size, compute the lo and hi bounds.
11682cat >conftest.$ac_ext <<_ACEOF 15951cat >conftest.$ac_ext <<_ACEOF
11683#line 11683 "configure" 15952/* confdefs.h. */
11684#include "confdefs.h" 15953_ACEOF
15954cat confdefs.h >>conftest.$ac_ext
15955cat >>conftest.$ac_ext <<_ACEOF
15956/* end confdefs.h. */
11685$ac_includes_default 15957$ac_includes_default
11686int 15958int
11687main () 15959main ()
11688{ 15960{
11689int _array_ [1 - 2 * !((sizeof (long long int)) >= 0)] 15961static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
15962test_array [0] = 0
15963
11690 ; 15964 ;
11691 return 0; 15965 return 0;
11692} 15966}
11693_ACEOF 15967_ACEOF
11694rm -f conftest.$ac_objext 15968rm -f conftest.$ac_objext
11695if { (eval echo "$as_me:11695: \"$ac_compile\"") >&5 15969if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11696 (eval $ac_compile) 2>&5 15970 (eval $ac_compile) 2>conftest.er1
11697 ac_status=$? 15971 ac_status=$?
11698 echo "$as_me:11698: \$? = $ac_status" >&5 15972 grep -v '^ *+' conftest.er1 >conftest.err
15973 rm -f conftest.er1
15974 cat conftest.err >&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); } && 15976 (exit $ac_status); } &&
11700 { ac_try='test -s conftest.$ac_objext' 15977 { ac_try='test -z "$ac_c_werror_flag"
11701 { (eval echo "$as_me:11701: \"$ac_try\"") >&5 15978 || test ! -s conftest.err'
15979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15980 (eval $ac_try) 2>&5
15981 ac_status=$?
15982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15983 (exit $ac_status); }; } &&
15984 { ac_try='test -s conftest.$ac_objext'
15985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5 15986 (eval $ac_try) 2>&5
11703 ac_status=$? 15987 ac_status=$?
11704 echo "$as_me:11704: \$? = $ac_status" >&5 15988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; }; then 15989 (exit $ac_status); }; }; then
11706 ac_lo=0 ac_mid=0 15990 ac_lo=0 ac_mid=0
11707 while :; do 15991 while :; do
11708 cat >conftest.$ac_ext <<_ACEOF 15992 cat >conftest.$ac_ext <<_ACEOF
11709#line 11709 "configure" 15993/* confdefs.h. */
11710#include "confdefs.h" 15994_ACEOF
15995cat confdefs.h >>conftest.$ac_ext
15996cat >>conftest.$ac_ext <<_ACEOF
15997/* end confdefs.h. */
11711$ac_includes_default 15998$ac_includes_default
11712int 15999int
11713main () 16000main ()
11714{ 16001{
11715int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] 16002static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16003test_array [0] = 0
16004
11716 ; 16005 ;
11717 return 0; 16006 return 0;
11718} 16007}
11719_ACEOF 16008_ACEOF
11720rm -f conftest.$ac_objext 16009rm -f conftest.$ac_objext
11721if { (eval echo "$as_me:11721: \"$ac_compile\"") >&5 16010if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11722 (eval $ac_compile) 2>&5 16011 (eval $ac_compile) 2>conftest.er1
11723 ac_status=$? 16012 ac_status=$?
11724 echo "$as_me:11724: \$? = $ac_status" >&5 16013 grep -v '^ *+' conftest.er1 >conftest.err
16014 rm -f conftest.er1
16015 cat conftest.err >&5
16016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } && 16017 (exit $ac_status); } &&
11726 { ac_try='test -s conftest.$ac_objext' 16018 { ac_try='test -z "$ac_c_werror_flag"
11727 { (eval echo "$as_me:11727: \"$ac_try\"") >&5 16019 || test ! -s conftest.err'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5 16021 (eval $ac_try) 2>&5
11729 ac_status=$? 16022 ac_status=$?
11730 echo "$as_me:11730: \$? = $ac_status" >&5 16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try='test -s conftest.$ac_objext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16028 ac_status=$?
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; }; then 16030 (exit $ac_status); }; }; then
11732 ac_hi=$ac_mid; break 16031 ac_hi=$ac_mid; break
11733else 16032else
11734 echo "$as_me: failed program was:" >&5 16033 echo "$as_me: failed program was:" >&5
11735cat conftest.$ac_ext >&5 16034sed 's/^/| /' conftest.$ac_ext >&5
11736ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1` 16035
16036ac_lo=`expr $ac_mid + 1`
16037 if test $ac_lo -le $ac_mid; then
16038 ac_lo= ac_hi=
16039 break
16040 fi
16041 ac_mid=`expr 2 '*' $ac_mid + 1`
11737fi 16042fi
11738rm -f conftest.$ac_objext conftest.$ac_ext 16043rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11739 done 16044 done
11740else 16045else
11741 echo "$as_me: failed program was:" >&5 16046 echo "$as_me: failed program was:" >&5
11742cat conftest.$ac_ext >&5 16047sed 's/^/| /' conftest.$ac_ext >&5
11743ac_hi=-1 ac_mid=-1 16048
16049cat >conftest.$ac_ext <<_ACEOF
16050/* confdefs.h. */
16051_ACEOF
16052cat confdefs.h >>conftest.$ac_ext
16053cat >>conftest.$ac_ext <<_ACEOF
16054/* end confdefs.h. */
16055$ac_includes_default
16056int
16057main ()
16058{
16059static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16060test_array [0] = 0
16061
16062 ;
16063 return 0;
16064}
16065_ACEOF
16066rm -f conftest.$ac_objext
16067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16068 (eval $ac_compile) 2>conftest.er1
16069 ac_status=$?
16070 grep -v '^ *+' conftest.er1 >conftest.err
16071 rm -f conftest.er1
16072 cat conftest.err >&5
16073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074 (exit $ac_status); } &&
16075 { ac_try='test -z "$ac_c_werror_flag"
16076 || test ! -s conftest.err'
16077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078 (eval $ac_try) 2>&5
16079 ac_status=$?
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); }; } &&
16082 { ac_try='test -s conftest.$ac_objext'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_hi=-1 ac_mid=-1
11744 while :; do 16089 while :; do
11745 cat >conftest.$ac_ext <<_ACEOF 16090 cat >conftest.$ac_ext <<_ACEOF
11746#line 11746 "configure" 16091/* confdefs.h. */
11747#include "confdefs.h" 16092_ACEOF
16093cat confdefs.h >>conftest.$ac_ext
16094cat >>conftest.$ac_ext <<_ACEOF
16095/* end confdefs.h. */
11748$ac_includes_default 16096$ac_includes_default
11749int 16097int
11750main () 16098main ()
11751{ 16099{
11752int _array_ [1 - 2 * !((sizeof (long long int)) >= $ac_mid)] 16100static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
16101test_array [0] = 0
16102
11753 ; 16103 ;
11754 return 0; 16104 return 0;
11755} 16105}
11756_ACEOF 16106_ACEOF
11757rm -f conftest.$ac_objext 16107rm -f conftest.$ac_objext
11758if { (eval echo "$as_me:11758: \"$ac_compile\"") >&5 16108if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11759 (eval $ac_compile) 2>&5 16109 (eval $ac_compile) 2>conftest.er1
11760 ac_status=$? 16110 ac_status=$?
11761 echo "$as_me:11761: \$? = $ac_status" >&5 16111 grep -v '^ *+' conftest.er1 >conftest.err
16112 rm -f conftest.er1
16113 cat conftest.err >&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11762 (exit $ac_status); } && 16115 (exit $ac_status); } &&
11763 { ac_try='test -s conftest.$ac_objext' 16116 { ac_try='test -z "$ac_c_werror_flag"
11764 { (eval echo "$as_me:11764: \"$ac_try\"") >&5 16117 || test ! -s conftest.err'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; } &&
16123 { ac_try='test -s conftest.$ac_objext'
16124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11765 (eval $ac_try) 2>&5 16125 (eval $ac_try) 2>&5
11766 ac_status=$? 16126 ac_status=$?
11767 echo "$as_me:11767: \$? = $ac_status" >&5 16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11768 (exit $ac_status); }; }; then 16128 (exit $ac_status); }; }; then
11769 ac_lo=$ac_mid; break 16129 ac_lo=$ac_mid; break
11770else 16130else
11771 echo "$as_me: failed program was:" >&5 16131 echo "$as_me: failed program was:" >&5
11772cat conftest.$ac_ext >&5 16132sed 's/^/| /' conftest.$ac_ext >&5
11773ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid` 16133
16134ac_hi=`expr '(' $ac_mid ')' - 1`
16135 if test $ac_mid -le $ac_hi; then
16136 ac_lo= ac_hi=
16137 break
16138 fi
16139 ac_mid=`expr 2 '*' $ac_mid`
11774fi 16140fi
11775rm -f conftest.$ac_objext conftest.$ac_ext 16141rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11776 done 16142 done
16143else
16144 echo "$as_me: failed program was:" >&5
16145sed 's/^/| /' conftest.$ac_ext >&5
16146
16147ac_lo= ac_hi=
11777fi 16148fi
11778rm -f conftest.$ac_objext conftest.$ac_ext 16149rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16150fi
16151rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11779# Binary search between lo and hi bounds. 16152# Binary search between lo and hi bounds.
11780while test "x$ac_lo" != "x$ac_hi"; do 16153while test "x$ac_lo" != "x$ac_hi"; do
11781 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 16154 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
11782 cat >conftest.$ac_ext <<_ACEOF 16155 cat >conftest.$ac_ext <<_ACEOF
11783#line 11783 "configure" 16156/* confdefs.h. */
11784#include "confdefs.h" 16157_ACEOF
16158cat confdefs.h >>conftest.$ac_ext
16159cat >>conftest.$ac_ext <<_ACEOF
16160/* end confdefs.h. */
11785$ac_includes_default 16161$ac_includes_default
11786int 16162int
11787main () 16163main ()
11788{ 16164{
11789int _array_ [1 - 2 * !((sizeof (long long int)) <= $ac_mid)] 16165static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16166test_array [0] = 0
16167
11790 ; 16168 ;
11791 return 0; 16169 return 0;
11792} 16170}
11793_ACEOF 16171_ACEOF
11794rm -f conftest.$ac_objext 16172rm -f conftest.$ac_objext
11795if { (eval echo "$as_me:11795: \"$ac_compile\"") >&5 16173if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11796 (eval $ac_compile) 2>&5 16174 (eval $ac_compile) 2>conftest.er1
11797 ac_status=$? 16175 ac_status=$?
11798 echo "$as_me:11798: \$? = $ac_status" >&5 16176 grep -v '^ *+' conftest.er1 >conftest.err
16177 rm -f conftest.er1
16178 cat conftest.err >&5
16179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } && 16180 (exit $ac_status); } &&
11800 { ac_try='test -s conftest.$ac_objext' 16181 { ac_try='test -z "$ac_c_werror_flag"
11801 { (eval echo "$as_me:11801: \"$ac_try\"") >&5 16182 || test ! -s conftest.err'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16185 ac_status=$?
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; } &&
16188 { ac_try='test -s conftest.$ac_objext'
16189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11802 (eval $ac_try) 2>&5 16190 (eval $ac_try) 2>&5
11803 ac_status=$? 16191 ac_status=$?
11804 echo "$as_me:11804: \$? = $ac_status" >&5 16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); }; }; then 16193 (exit $ac_status); }; }; then
11806 ac_hi=$ac_mid 16194 ac_hi=$ac_mid
11807else 16195else
11808 echo "$as_me: failed program was:" >&5 16196 echo "$as_me: failed program was:" >&5
11809cat conftest.$ac_ext >&5 16197sed 's/^/| /' conftest.$ac_ext >&5
11810ac_lo=`expr $ac_mid + 1` 16198
16199ac_lo=`expr '(' $ac_mid ')' + 1`
11811fi 16200fi
11812rm -f conftest.$ac_objext conftest.$ac_ext 16201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11813done 16202done
11814ac_cv_sizeof_long_long_int=$ac_lo 16203case $ac_lo in
16204?*) ac_cv_sizeof_long_long_int=$ac_lo;;
16205'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16206See \`config.log' for more details." >&5
16207echo "$as_me: error: cannot compute sizeof (long long int), 77
16208See \`config.log' for more details." >&2;}
16209 { (exit 1); exit 1; }; } ;;
16210esac
11815else 16211else
11816 if test "$cross_compiling" = yes; then 16212 if test "$cross_compiling" = yes; then
11817 { { echo "$as_me:11817: error: cannot run test program while cross compiling" >&5 16213 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
11818echo "$as_me: error: cannot run test program while cross compiling" >&2;} 16214See \`config.log' for more details." >&5
16215echo "$as_me: error: cannot run test program while cross compiling
16216See \`config.log' for more details." >&2;}
11819 { (exit 1); exit 1; }; } 16217 { (exit 1); exit 1; }; }
11820else 16218else
11821 cat >conftest.$ac_ext <<_ACEOF 16219 cat >conftest.$ac_ext <<_ACEOF
11822#line 11822 "configure" 16220/* confdefs.h. */
11823#include "confdefs.h" 16221_ACEOF
16222cat confdefs.h >>conftest.$ac_ext
16223cat >>conftest.$ac_ext <<_ACEOF
16224/* end confdefs.h. */
11824$ac_includes_default 16225$ac_includes_default
16226long longval () { return (long) (sizeof (long long int)); }
16227unsigned long ulongval () { return (long) (sizeof (long long int)); }
16228#include <stdio.h>
16229#include <stdlib.h>
11825int 16230int
11826main () 16231main ()
11827{ 16232{
11828FILE *f = fopen ("conftest.val", "w"); 16233
11829if (!f) 16234 FILE *f = fopen ("conftest.val", "w");
11830 exit (1); 16235 if (! f)
11831fprintf (f, "%d", (sizeof (long long int))); 16236 exit (1);
11832fclose (f); 16237 if (((long) (sizeof (long long int))) < 0)
16238 {
16239 long i = longval ();
16240 if (i != ((long) (sizeof (long long int))))
16241 exit (1);
16242 fprintf (f, "%ld\n", i);
16243 }
16244 else
16245 {
16246 unsigned long i = ulongval ();
16247 if (i != ((long) (sizeof (long long int))))
16248 exit (1);
16249 fprintf (f, "%lu\n", i);
16250 }
16251 exit (ferror (f) || fclose (f) != 0);
16252
11833 ; 16253 ;
11834 return 0; 16254 return 0;
11835} 16255}
11836_ACEOF 16256_ACEOF
11837rm -f conftest$ac_exeext 16257rm -f conftest$ac_exeext
11838if { (eval echo "$as_me:11838: \"$ac_link\"") >&5 16258if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11839 (eval $ac_link) 2>&5 16259 (eval $ac_link) 2>&5
11840 ac_status=$? 16260 ac_status=$?
11841 echo "$as_me:11841: \$? = $ac_status" >&5 16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11843 { (eval echo "$as_me:11843: \"$ac_try\"") >&5 16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 (eval $ac_try) 2>&5 16264 (eval $ac_try) 2>&5
11845 ac_status=$? 16265 ac_status=$?
11846 echo "$as_me:11846: \$? = $ac_status" >&5 16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); }; }; then 16267 (exit $ac_status); }; }; then
11848 ac_cv_sizeof_long_long_int=`cat conftest.val` 16268 ac_cv_sizeof_long_long_int=`cat conftest.val`
11849else 16269else
11850 echo "$as_me: program exited with status $ac_status" >&5 16270 echo "$as_me: program exited with status $ac_status" >&5
11851echo "$as_me: failed program was:" >&5 16271echo "$as_me: failed program was:" >&5
11852cat conftest.$ac_ext >&5 16272sed 's/^/| /' conftest.$ac_ext >&5
16273
16274( exit $ac_status )
16275{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16276See \`config.log' for more details." >&5
16277echo "$as_me: error: cannot compute sizeof (long long int), 77
16278See \`config.log' for more details." >&2;}
16279 { (exit 1); exit 1; }; }
11853fi 16280fi
11854rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16281rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11855fi 16282fi
11856fi 16283fi
11857rm -f conftest.val 16284rm -f conftest.val
@@ -11859,11 +16286,13 @@ else
11859 ac_cv_sizeof_long_long_int=0 16286 ac_cv_sizeof_long_long_int=0
11860fi 16287fi
11861fi 16288fi
11862echo "$as_me:11862: result: $ac_cv_sizeof_long_long_int" >&5 16289echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
11863echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6 16290echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
11864cat >>confdefs.h <<EOF 16291cat >>confdefs.h <<_ACEOF
11865#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int 16292#define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
11866EOF 16293_ACEOF
16294
16295
11867 16296
11868# Sanity check long long for some platforms (AIX) 16297# Sanity check long long for some platforms (AIX)
11869if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then 16298if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
@@ -11871,15 +16300,18 @@ if test "x$ac_cv_sizeof_long_long_int" = "x4" ; then
11871fi 16300fi
11872 16301
11873# More checks for data types 16302# More checks for data types
11874echo "$as_me:11874: checking for u_int type" >&5 16303echo "$as_me:$LINENO: checking for u_int type" >&5
11875echo $ECHO_N "checking for u_int type... $ECHO_C" >&6 16304echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
11876if test "${ac_cv_have_u_int+set}" = set; then 16305if test "${ac_cv_have_u_int+set}" = set; then
11877 echo $ECHO_N "(cached) $ECHO_C" >&6 16306 echo $ECHO_N "(cached) $ECHO_C" >&6
11878else 16307else
11879 16308
11880 cat >conftest.$ac_ext <<_ACEOF 16309 cat >conftest.$ac_ext <<_ACEOF
11881#line 11881 "configure" 16310/* confdefs.h. */
11882#include "confdefs.h" 16311_ACEOF
16312cat confdefs.h >>conftest.$ac_ext
16313cat >>conftest.$ac_ext <<_ACEOF
16314/* end confdefs.h. */
11883 #include <sys/types.h> 16315 #include <sys/types.h>
11884int 16316int
11885main () 16317main ()
@@ -11890,46 +16322,60 @@ main ()
11890} 16322}
11891_ACEOF 16323_ACEOF
11892rm -f conftest.$ac_objext 16324rm -f conftest.$ac_objext
11893if { (eval echo "$as_me:11893: \"$ac_compile\"") >&5 16325if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11894 (eval $ac_compile) 2>&5 16326 (eval $ac_compile) 2>conftest.er1
11895 ac_status=$? 16327 ac_status=$?
11896 echo "$as_me:11896: \$? = $ac_status" >&5 16328 grep -v '^ *+' conftest.er1 >conftest.err
16329 rm -f conftest.er1
16330 cat conftest.err >&5
16331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 (exit $ac_status); } && 16332 (exit $ac_status); } &&
11898 { ac_try='test -s conftest.$ac_objext' 16333 { ac_try='test -z "$ac_c_werror_flag"
11899 { (eval echo "$as_me:11899: \"$ac_try\"") >&5 16334 || test ! -s conftest.err'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11900 (eval $ac_try) 2>&5 16336 (eval $ac_try) 2>&5
11901 ac_status=$? 16337 ac_status=$?
11902 echo "$as_me:11902: \$? = $ac_status" >&5 16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; } &&
16340 { ac_try='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16343 ac_status=$?
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11903 (exit $ac_status); }; }; then 16345 (exit $ac_status); }; }; then
11904 ac_cv_have_u_int="yes" 16346 ac_cv_have_u_int="yes"
11905else 16347else
11906 echo "$as_me: failed program was:" >&5 16348 echo "$as_me: failed program was:" >&5
11907cat conftest.$ac_ext >&5 16349sed 's/^/| /' conftest.$ac_ext >&5
16350
11908 ac_cv_have_u_int="no" 16351 ac_cv_have_u_int="no"
11909 16352
11910fi 16353fi
11911rm -f conftest.$ac_objext conftest.$ac_ext 16354rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11912 16355
11913fi 16356fi
11914echo "$as_me:11914: result: $ac_cv_have_u_int" >&5 16357echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
11915echo "${ECHO_T}$ac_cv_have_u_int" >&6 16358echo "${ECHO_T}$ac_cv_have_u_int" >&6
11916if test "x$ac_cv_have_u_int" = "xyes" ; then 16359if test "x$ac_cv_have_u_int" = "xyes" ; then
11917 cat >>confdefs.h <<\EOF 16360 cat >>confdefs.h <<\_ACEOF
11918#define HAVE_U_INT 1 16361#define HAVE_U_INT 1
11919EOF 16362_ACEOF
11920 16363
11921 have_u_int=1 16364 have_u_int=1
11922fi 16365fi
11923 16366
11924echo "$as_me:11924: checking for intXX_t types" >&5 16367echo "$as_me:$LINENO: checking for intXX_t types" >&5
11925echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6 16368echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
11926if test "${ac_cv_have_intxx_t+set}" = set; then 16369if test "${ac_cv_have_intxx_t+set}" = set; then
11927 echo $ECHO_N "(cached) $ECHO_C" >&6 16370 echo $ECHO_N "(cached) $ECHO_C" >&6
11928else 16371else
11929 16372
11930 cat >conftest.$ac_ext <<_ACEOF 16373 cat >conftest.$ac_ext <<_ACEOF
11931#line 11931 "configure" 16374/* confdefs.h. */
11932#include "confdefs.h" 16375_ACEOF
16376cat confdefs.h >>conftest.$ac_ext
16377cat >>conftest.$ac_ext <<_ACEOF
16378/* end confdefs.h. */
11933 #include <sys/types.h> 16379 #include <sys/types.h>
11934int 16380int
11935main () 16381main ()
@@ -11940,33 +16386,44 @@ main ()
11940} 16386}
11941_ACEOF 16387_ACEOF
11942rm -f conftest.$ac_objext 16388rm -f conftest.$ac_objext
11943if { (eval echo "$as_me:11943: \"$ac_compile\"") >&5 16389if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>&5 16390 (eval $ac_compile) 2>conftest.er1
11945 ac_status=$? 16391 ac_status=$?
11946 echo "$as_me:11946: \$? = $ac_status" >&5 16392 grep -v '^ *+' conftest.er1 >conftest.err
16393 rm -f conftest.er1
16394 cat conftest.err >&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } && 16396 (exit $ac_status); } &&
11948 { ac_try='test -s conftest.$ac_objext' 16397 { ac_try='test -z "$ac_c_werror_flag"
11949 { (eval echo "$as_me:11949: \"$ac_try\"") >&5 16398 || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5 16400 (eval $ac_try) 2>&5
11951 ac_status=$? 16401 ac_status=$?
11952 echo "$as_me:11952: \$? = $ac_status" >&5 16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; }; then 16409 (exit $ac_status); }; }; then
11954 ac_cv_have_intxx_t="yes" 16410 ac_cv_have_intxx_t="yes"
11955else 16411else
11956 echo "$as_me: failed program was:" >&5 16412 echo "$as_me: failed program was:" >&5
11957cat conftest.$ac_ext >&5 16413sed 's/^/| /' conftest.$ac_ext >&5
16414
11958 ac_cv_have_intxx_t="no" 16415 ac_cv_have_intxx_t="no"
11959 16416
11960fi 16417fi
11961rm -f conftest.$ac_objext conftest.$ac_ext 16418rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11962 16419
11963fi 16420fi
11964echo "$as_me:11964: result: $ac_cv_have_intxx_t" >&5 16421echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
11965echo "${ECHO_T}$ac_cv_have_intxx_t" >&6 16422echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
11966if test "x$ac_cv_have_intxx_t" = "xyes" ; then 16423if test "x$ac_cv_have_intxx_t" = "xyes" ; then
11967 cat >>confdefs.h <<\EOF 16424 cat >>confdefs.h <<\_ACEOF
11968#define HAVE_INTXX_T 1 16425#define HAVE_INTXX_T 1
11969EOF 16426_ACEOF
11970 16427
11971 have_intxx_t=1 16428 have_intxx_t=1
11972fi 16429fi
@@ -11974,11 +16431,14 @@ fi
11974if (test -z "$have_intxx_t" && \ 16431if (test -z "$have_intxx_t" && \
11975 test "x$ac_cv_header_stdint_h" = "xyes") 16432 test "x$ac_cv_header_stdint_h" = "xyes")
11976then 16433then
11977 echo "$as_me:11977: checking for intXX_t types in stdint.h" >&5 16434 echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
11978echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6 16435echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6
11979 cat >conftest.$ac_ext <<_ACEOF 16436 cat >conftest.$ac_ext <<_ACEOF
11980#line 11980 "configure" 16437/* confdefs.h. */
11981#include "confdefs.h" 16438_ACEOF
16439cat confdefs.h >>conftest.$ac_ext
16440cat >>conftest.$ac_ext <<_ACEOF
16441/* end confdefs.h. */
11982 #include <stdint.h> 16442 #include <stdint.h>
11983int 16443int
11984main () 16444main ()
@@ -11989,44 +16449,58 @@ main ()
11989} 16449}
11990_ACEOF 16450_ACEOF
11991rm -f conftest.$ac_objext 16451rm -f conftest.$ac_objext
11992if { (eval echo "$as_me:11992: \"$ac_compile\"") >&5 16452if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11993 (eval $ac_compile) 2>&5 16453 (eval $ac_compile) 2>conftest.er1
11994 ac_status=$? 16454 ac_status=$?
11995 echo "$as_me:11995: \$? = $ac_status" >&5 16455 grep -v '^ *+' conftest.er1 >conftest.err
16456 rm -f conftest.er1
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } && 16459 (exit $ac_status); } &&
11997 { ac_try='test -s conftest.$ac_objext' 16460 { ac_try='test -z "$ac_c_werror_flag"
11998 { (eval echo "$as_me:11998: \"$ac_try\"") >&5 16461 || test ! -s conftest.err'
16462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5 16463 (eval $ac_try) 2>&5
12000 ac_status=$? 16464 ac_status=$?
12001 echo "$as_me:12001: \$? = $ac_status" >&5 16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); }; } &&
16467 { ac_try='test -s conftest.$ac_objext'
16468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16469 (eval $ac_try) 2>&5
16470 ac_status=$?
16471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then 16472 (exit $ac_status); }; }; then
12003 16473
12004 cat >>confdefs.h <<\EOF 16474 cat >>confdefs.h <<\_ACEOF
12005#define HAVE_INTXX_T 1 16475#define HAVE_INTXX_T 1
12006EOF 16476_ACEOF
12007 16477
12008 echo "$as_me:12008: result: yes" >&5 16478 echo "$as_me:$LINENO: result: yes" >&5
12009echo "${ECHO_T}yes" >&6 16479echo "${ECHO_T}yes" >&6
12010 16480
12011else 16481else
12012 echo "$as_me: failed program was:" >&5 16482 echo "$as_me: failed program was:" >&5
12013cat conftest.$ac_ext >&5 16483sed 's/^/| /' conftest.$ac_ext >&5
12014 echo "$as_me:12014: result: no" >&5 16484
16485 echo "$as_me:$LINENO: result: no" >&5
12015echo "${ECHO_T}no" >&6 16486echo "${ECHO_T}no" >&6
12016 16487
12017fi 16488fi
12018rm -f conftest.$ac_objext conftest.$ac_ext 16489rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12019fi 16490fi
12020 16491
12021echo "$as_me:12021: checking for int64_t type" >&5 16492echo "$as_me:$LINENO: checking for int64_t type" >&5
12022echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6 16493echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
12023if test "${ac_cv_have_int64_t+set}" = set; then 16494if test "${ac_cv_have_int64_t+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6 16495 echo $ECHO_N "(cached) $ECHO_C" >&6
12025else 16496else
12026 16497
12027 cat >conftest.$ac_ext <<_ACEOF 16498 cat >conftest.$ac_ext <<_ACEOF
12028#line 12028 "configure" 16499/* confdefs.h. */
12029#include "confdefs.h" 16500_ACEOF
16501cat confdefs.h >>conftest.$ac_ext
16502cat >>conftest.$ac_ext <<_ACEOF
16503/* end confdefs.h. */
12030 16504
12031#include <sys/types.h> 16505#include <sys/types.h>
12032#ifdef HAVE_STDINT_H 16506#ifdef HAVE_STDINT_H
@@ -12046,45 +16520,59 @@ main ()
12046} 16520}
12047_ACEOF 16521_ACEOF
12048rm -f conftest.$ac_objext 16522rm -f conftest.$ac_objext
12049if { (eval echo "$as_me:12049: \"$ac_compile\"") >&5 16523if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12050 (eval $ac_compile) 2>&5 16524 (eval $ac_compile) 2>conftest.er1
12051 ac_status=$? 16525 ac_status=$?
12052 echo "$as_me:12052: \$? = $ac_status" >&5 16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } && 16530 (exit $ac_status); } &&
12054 { ac_try='test -s conftest.$ac_objext' 16531 { ac_try='test -z "$ac_c_werror_flag"
12055 { (eval echo "$as_me:12055: \"$ac_try\"") >&5 16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5 16534 (eval $ac_try) 2>&5
12057 ac_status=$? 16535 ac_status=$?
12058 echo "$as_me:12058: \$? = $ac_status" >&5 16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then 16543 (exit $ac_status); }; }; then
12060 ac_cv_have_int64_t="yes" 16544 ac_cv_have_int64_t="yes"
12061else 16545else
12062 echo "$as_me: failed program was:" >&5 16546 echo "$as_me: failed program was:" >&5
12063cat conftest.$ac_ext >&5 16547sed 's/^/| /' conftest.$ac_ext >&5
16548
12064 ac_cv_have_int64_t="no" 16549 ac_cv_have_int64_t="no"
12065 16550
12066fi 16551fi
12067rm -f conftest.$ac_objext conftest.$ac_ext 16552rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12068 16553
12069fi 16554fi
12070echo "$as_me:12070: result: $ac_cv_have_int64_t" >&5 16555echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
12071echo "${ECHO_T}$ac_cv_have_int64_t" >&6 16556echo "${ECHO_T}$ac_cv_have_int64_t" >&6
12072if test "x$ac_cv_have_int64_t" = "xyes" ; then 16557if test "x$ac_cv_have_int64_t" = "xyes" ; then
12073 cat >>confdefs.h <<\EOF 16558 cat >>confdefs.h <<\_ACEOF
12074#define HAVE_INT64_T 1 16559#define HAVE_INT64_T 1
12075EOF 16560_ACEOF
12076 16561
12077fi 16562fi
12078 16563
12079echo "$as_me:12079: checking for u_intXX_t types" >&5 16564echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
12080echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6 16565echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
12081if test "${ac_cv_have_u_intxx_t+set}" = set; then 16566if test "${ac_cv_have_u_intxx_t+set}" = set; then
12082 echo $ECHO_N "(cached) $ECHO_C" >&6 16567 echo $ECHO_N "(cached) $ECHO_C" >&6
12083else 16568else
12084 16569
12085 cat >conftest.$ac_ext <<_ACEOF 16570 cat >conftest.$ac_ext <<_ACEOF
12086#line 12086 "configure" 16571/* confdefs.h. */
12087#include "confdefs.h" 16572_ACEOF
16573cat confdefs.h >>conftest.$ac_ext
16574cat >>conftest.$ac_ext <<_ACEOF
16575/* end confdefs.h. */
12088 #include <sys/types.h> 16576 #include <sys/types.h>
12089int 16577int
12090main () 16578main ()
@@ -12095,43 +16583,57 @@ main ()
12095} 16583}
12096_ACEOF 16584_ACEOF
12097rm -f conftest.$ac_objext 16585rm -f conftest.$ac_objext
12098if { (eval echo "$as_me:12098: \"$ac_compile\"") >&5 16586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12099 (eval $ac_compile) 2>&5 16587 (eval $ac_compile) 2>conftest.er1
12100 ac_status=$? 16588 ac_status=$?
12101 echo "$as_me:12101: \$? = $ac_status" >&5 16589 grep -v '^ *+' conftest.er1 >conftest.err
16590 rm -f conftest.er1
16591 cat conftest.err >&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && 16593 (exit $ac_status); } &&
12103 { ac_try='test -s conftest.$ac_objext' 16594 { ac_try='test -z "$ac_c_werror_flag"
12104 { (eval echo "$as_me:12104: \"$ac_try\"") >&5 16595 || test ! -s conftest.err'
16596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16597 (eval $ac_try) 2>&5
16598 ac_status=$?
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); }; } &&
16601 { ac_try='test -s conftest.$ac_objext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12105 (eval $ac_try) 2>&5 16603 (eval $ac_try) 2>&5
12106 ac_status=$? 16604 ac_status=$?
12107 echo "$as_me:12107: \$? = $ac_status" >&5 16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); }; }; then 16606 (exit $ac_status); }; }; then
12109 ac_cv_have_u_intxx_t="yes" 16607 ac_cv_have_u_intxx_t="yes"
12110else 16608else
12111 echo "$as_me: failed program was:" >&5 16609 echo "$as_me: failed program was:" >&5
12112cat conftest.$ac_ext >&5 16610sed 's/^/| /' conftest.$ac_ext >&5
16611
12113 ac_cv_have_u_intxx_t="no" 16612 ac_cv_have_u_intxx_t="no"
12114 16613
12115fi 16614fi
12116rm -f conftest.$ac_objext conftest.$ac_ext 16615rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12117 16616
12118fi 16617fi
12119echo "$as_me:12119: result: $ac_cv_have_u_intxx_t" >&5 16618echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
12120echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6 16619echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
12121if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 16620if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
12122 cat >>confdefs.h <<\EOF 16621 cat >>confdefs.h <<\_ACEOF
12123#define HAVE_U_INTXX_T 1 16622#define HAVE_U_INTXX_T 1
12124EOF 16623_ACEOF
12125 16624
12126 have_u_intxx_t=1 16625 have_u_intxx_t=1
12127fi 16626fi
12128 16627
12129if test -z "$have_u_intxx_t" ; then 16628if test -z "$have_u_intxx_t" ; then
12130 echo "$as_me:12130: checking for u_intXX_t types in sys/socket.h" >&5 16629 echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
12131echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6 16630echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6
12132 cat >conftest.$ac_ext <<_ACEOF 16631 cat >conftest.$ac_ext <<_ACEOF
12133#line 12133 "configure" 16632/* confdefs.h. */
12134#include "confdefs.h" 16633_ACEOF
16634cat confdefs.h >>conftest.$ac_ext
16635cat >>conftest.$ac_ext <<_ACEOF
16636/* end confdefs.h. */
12135 #include <sys/socket.h> 16637 #include <sys/socket.h>
12136int 16638int
12137main () 16639main ()
@@ -12142,44 +16644,58 @@ main ()
12142} 16644}
12143_ACEOF 16645_ACEOF
12144rm -f conftest.$ac_objext 16646rm -f conftest.$ac_objext
12145if { (eval echo "$as_me:12145: \"$ac_compile\"") >&5 16647if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12146 (eval $ac_compile) 2>&5 16648 (eval $ac_compile) 2>conftest.er1
12147 ac_status=$? 16649 ac_status=$?
12148 echo "$as_me:12148: \$? = $ac_status" >&5 16650 grep -v '^ *+' conftest.er1 >conftest.err
16651 rm -f conftest.er1
16652 cat conftest.err >&5
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } && 16654 (exit $ac_status); } &&
12150 { ac_try='test -s conftest.$ac_objext' 16655 { ac_try='test -z "$ac_c_werror_flag"
12151 { (eval echo "$as_me:12151: \"$ac_try\"") >&5 16656 || test ! -s conftest.err'
16657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12152 (eval $ac_try) 2>&5 16658 (eval $ac_try) 2>&5
12153 ac_status=$? 16659 ac_status=$?
12154 echo "$as_me:12154: \$? = $ac_status" >&5 16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); }; } &&
16662 { ac_try='test -s conftest.$ac_objext'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); }; }; then 16667 (exit $ac_status); }; }; then
12156 16668
12157 cat >>confdefs.h <<\EOF 16669 cat >>confdefs.h <<\_ACEOF
12158#define HAVE_U_INTXX_T 1 16670#define HAVE_U_INTXX_T 1
12159EOF 16671_ACEOF
12160 16672
12161 echo "$as_me:12161: result: yes" >&5 16673 echo "$as_me:$LINENO: result: yes" >&5
12162echo "${ECHO_T}yes" >&6 16674echo "${ECHO_T}yes" >&6
12163 16675
12164else 16676else
12165 echo "$as_me: failed program was:" >&5 16677 echo "$as_me: failed program was:" >&5
12166cat conftest.$ac_ext >&5 16678sed 's/^/| /' conftest.$ac_ext >&5
12167 echo "$as_me:12167: result: no" >&5 16679
16680 echo "$as_me:$LINENO: result: no" >&5
12168echo "${ECHO_T}no" >&6 16681echo "${ECHO_T}no" >&6
12169 16682
12170fi 16683fi
12171rm -f conftest.$ac_objext conftest.$ac_ext 16684rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12172fi 16685fi
12173 16686
12174echo "$as_me:12174: checking for u_int64_t types" >&5 16687echo "$as_me:$LINENO: checking for u_int64_t types" >&5
12175echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6 16688echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
12176if test "${ac_cv_have_u_int64_t+set}" = set; then 16689if test "${ac_cv_have_u_int64_t+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6 16690 echo $ECHO_N "(cached) $ECHO_C" >&6
12178else 16691else
12179 16692
12180 cat >conftest.$ac_ext <<_ACEOF 16693 cat >conftest.$ac_ext <<_ACEOF
12181#line 12181 "configure" 16694/* confdefs.h. */
12182#include "confdefs.h" 16695_ACEOF
16696cat confdefs.h >>conftest.$ac_ext
16697cat >>conftest.$ac_ext <<_ACEOF
16698/* end confdefs.h. */
12183 #include <sys/types.h> 16699 #include <sys/types.h>
12184int 16700int
12185main () 16701main ()
@@ -12190,43 +16706,57 @@ main ()
12190} 16706}
12191_ACEOF 16707_ACEOF
12192rm -f conftest.$ac_objext 16708rm -f conftest.$ac_objext
12193if { (eval echo "$as_me:12193: \"$ac_compile\"") >&5 16709if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12194 (eval $ac_compile) 2>&5 16710 (eval $ac_compile) 2>conftest.er1
12195 ac_status=$? 16711 ac_status=$?
12196 echo "$as_me:12196: \$? = $ac_status" >&5 16712 grep -v '^ *+' conftest.er1 >conftest.err
16713 rm -f conftest.er1
16714 cat conftest.err >&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); } && 16716 (exit $ac_status); } &&
12198 { ac_try='test -s conftest.$ac_objext' 16717 { ac_try='test -z "$ac_c_werror_flag"
12199 { (eval echo "$as_me:12199: \"$ac_try\"") >&5 16718 || test ! -s conftest.err'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5 16720 (eval $ac_try) 2>&5
12201 ac_status=$? 16721 ac_status=$?
12202 echo "$as_me:12202: \$? = $ac_status" >&5 16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; } &&
16724 { ac_try='test -s conftest.$ac_objext'
16725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16726 (eval $ac_try) 2>&5
16727 ac_status=$?
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; }; then 16729 (exit $ac_status); }; }; then
12204 ac_cv_have_u_int64_t="yes" 16730 ac_cv_have_u_int64_t="yes"
12205else 16731else
12206 echo "$as_me: failed program was:" >&5 16732 echo "$as_me: failed program was:" >&5
12207cat conftest.$ac_ext >&5 16733sed 's/^/| /' conftest.$ac_ext >&5
16734
12208 ac_cv_have_u_int64_t="no" 16735 ac_cv_have_u_int64_t="no"
12209 16736
12210fi 16737fi
12211rm -f conftest.$ac_objext conftest.$ac_ext 16738rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12212 16739
12213fi 16740fi
12214echo "$as_me:12214: result: $ac_cv_have_u_int64_t" >&5 16741echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
12215echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6 16742echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
12216if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 16743if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
12217 cat >>confdefs.h <<\EOF 16744 cat >>confdefs.h <<\_ACEOF
12218#define HAVE_U_INT64_T 1 16745#define HAVE_U_INT64_T 1
12219EOF 16746_ACEOF
12220 16747
12221 have_u_int64_t=1 16748 have_u_int64_t=1
12222fi 16749fi
12223 16750
12224if test -z "$have_u_int64_t" ; then 16751if test -z "$have_u_int64_t" ; then
12225 echo "$as_me:12225: checking for u_int64_t type in sys/bitypes.h" >&5 16752 echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
12226echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6 16753echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6
12227 cat >conftest.$ac_ext <<_ACEOF 16754 cat >conftest.$ac_ext <<_ACEOF
12228#line 12228 "configure" 16755/* confdefs.h. */
12229#include "confdefs.h" 16756_ACEOF
16757cat confdefs.h >>conftest.$ac_ext
16758cat >>conftest.$ac_ext <<_ACEOF
16759/* end confdefs.h. */
12230 #include <sys/bitypes.h> 16760 #include <sys/bitypes.h>
12231int 16761int
12232main () 16762main ()
@@ -12237,45 +16767,59 @@ main ()
12237} 16767}
12238_ACEOF 16768_ACEOF
12239rm -f conftest.$ac_objext 16769rm -f conftest.$ac_objext
12240if { (eval echo "$as_me:12240: \"$ac_compile\"") >&5 16770if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12241 (eval $ac_compile) 2>&5 16771 (eval $ac_compile) 2>conftest.er1
12242 ac_status=$? 16772 ac_status=$?
12243 echo "$as_me:12243: \$? = $ac_status" >&5 16773 grep -v '^ *+' conftest.er1 >conftest.err
16774 rm -f conftest.er1
16775 cat conftest.err >&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } && 16777 (exit $ac_status); } &&
12245 { ac_try='test -s conftest.$ac_objext' 16778 { ac_try='test -z "$ac_c_werror_flag"
12246 { (eval echo "$as_me:12246: \"$ac_try\"") >&5 16779 || test ! -s conftest.err'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12247 (eval $ac_try) 2>&5 16781 (eval $ac_try) 2>&5
12248 ac_status=$? 16782 ac_status=$?
12249 echo "$as_me:12249: \$? = $ac_status" >&5 16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; } &&
16785 { ac_try='test -s conftest.$ac_objext'
16786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16787 (eval $ac_try) 2>&5
16788 ac_status=$?
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); }; }; then 16790 (exit $ac_status); }; }; then
12251 16791
12252 cat >>confdefs.h <<\EOF 16792 cat >>confdefs.h <<\_ACEOF
12253#define HAVE_U_INT64_T 1 16793#define HAVE_U_INT64_T 1
12254EOF 16794_ACEOF
12255 16795
12256 echo "$as_me:12256: result: yes" >&5 16796 echo "$as_me:$LINENO: result: yes" >&5
12257echo "${ECHO_T}yes" >&6 16797echo "${ECHO_T}yes" >&6
12258 16798
12259else 16799else
12260 echo "$as_me: failed program was:" >&5 16800 echo "$as_me: failed program was:" >&5
12261cat conftest.$ac_ext >&5 16801sed 's/^/| /' conftest.$ac_ext >&5
12262 echo "$as_me:12262: result: no" >&5 16802
16803 echo "$as_me:$LINENO: result: no" >&5
12263echo "${ECHO_T}no" >&6 16804echo "${ECHO_T}no" >&6
12264 16805
12265fi 16806fi
12266rm -f conftest.$ac_objext conftest.$ac_ext 16807rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12267fi 16808fi
12268 16809
12269if test -z "$have_u_intxx_t" ; then 16810if test -z "$have_u_intxx_t" ; then
12270 echo "$as_me:12270: checking for uintXX_t types" >&5 16811 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
12271echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6 16812echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
12272if test "${ac_cv_have_uintxx_t+set}" = set; then 16813if test "${ac_cv_have_uintxx_t+set}" = set; then
12273 echo $ECHO_N "(cached) $ECHO_C" >&6 16814 echo $ECHO_N "(cached) $ECHO_C" >&6
12274else 16815else
12275 16816
12276 cat >conftest.$ac_ext <<_ACEOF 16817 cat >conftest.$ac_ext <<_ACEOF
12277#line 12277 "configure" 16818/* confdefs.h. */
12278#include "confdefs.h" 16819_ACEOF
16820cat confdefs.h >>conftest.$ac_ext
16821cat >>conftest.$ac_ext <<_ACEOF
16822/* end confdefs.h. */
12279 16823
12280#include <sys/types.h> 16824#include <sys/types.h>
12281 16825
@@ -12288,43 +16832,57 @@ main ()
12288} 16832}
12289_ACEOF 16833_ACEOF
12290rm -f conftest.$ac_objext 16834rm -f conftest.$ac_objext
12291if { (eval echo "$as_me:12291: \"$ac_compile\"") >&5 16835if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12292 (eval $ac_compile) 2>&5 16836 (eval $ac_compile) 2>conftest.er1
12293 ac_status=$? 16837 ac_status=$?
12294 echo "$as_me:12294: \$? = $ac_status" >&5 16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); } && 16842 (exit $ac_status); } &&
12296 { ac_try='test -s conftest.$ac_objext' 16843 { ac_try='test -z "$ac_c_werror_flag"
12297 { (eval echo "$as_me:12297: \"$ac_try\"") >&5 16844 || test ! -s conftest.err'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; } &&
16850 { ac_try='test -s conftest.$ac_objext'
16851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12298 (eval $ac_try) 2>&5 16852 (eval $ac_try) 2>&5
12299 ac_status=$? 16853 ac_status=$?
12300 echo "$as_me:12300: \$? = $ac_status" >&5 16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; }; then 16855 (exit $ac_status); }; }; then
12302 ac_cv_have_uintxx_t="yes" 16856 ac_cv_have_uintxx_t="yes"
12303else 16857else
12304 echo "$as_me: failed program was:" >&5 16858 echo "$as_me: failed program was:" >&5
12305cat conftest.$ac_ext >&5 16859sed 's/^/| /' conftest.$ac_ext >&5
16860
12306 ac_cv_have_uintxx_t="no" 16861 ac_cv_have_uintxx_t="no"
12307 16862
12308fi 16863fi
12309rm -f conftest.$ac_objext conftest.$ac_ext 16864rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12310 16865
12311fi 16866fi
12312echo "$as_me:12312: result: $ac_cv_have_uintxx_t" >&5 16867echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
12313echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6 16868echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
12314 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 16869 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
12315 cat >>confdefs.h <<\EOF 16870 cat >>confdefs.h <<\_ACEOF
12316#define HAVE_UINTXX_T 1 16871#define HAVE_UINTXX_T 1
12317EOF 16872_ACEOF
12318 16873
12319 fi 16874 fi
12320fi 16875fi
12321 16876
12322if test -z "$have_uintxx_t" ; then 16877if test -z "$have_uintxx_t" ; then
12323 echo "$as_me:12323: checking for uintXX_t types in stdint.h" >&5 16878 echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
12324echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6 16879echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6
12325 cat >conftest.$ac_ext <<_ACEOF 16880 cat >conftest.$ac_ext <<_ACEOF
12326#line 12326 "configure" 16881/* confdefs.h. */
12327#include "confdefs.h" 16882_ACEOF
16883cat confdefs.h >>conftest.$ac_ext
16884cat >>conftest.$ac_ext <<_ACEOF
16885/* end confdefs.h. */
12328 #include <stdint.h> 16886 #include <stdint.h>
12329int 16887int
12330main () 16888main ()
@@ -12335,43 +16893,57 @@ main ()
12335} 16893}
12336_ACEOF 16894_ACEOF
12337rm -f conftest.$ac_objext 16895rm -f conftest.$ac_objext
12338if { (eval echo "$as_me:12338: \"$ac_compile\"") >&5 16896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12339 (eval $ac_compile) 2>&5 16897 (eval $ac_compile) 2>conftest.er1
12340 ac_status=$? 16898 ac_status=$?
12341 echo "$as_me:12341: \$? = $ac_status" >&5 16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } && 16903 (exit $ac_status); } &&
12343 { ac_try='test -s conftest.$ac_objext' 16904 { ac_try='test -z "$ac_c_werror_flag"
12344 { (eval echo "$as_me:12344: \"$ac_try\"") >&5 16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12345 (eval $ac_try) 2>&5 16913 (eval $ac_try) 2>&5
12346 ac_status=$? 16914 ac_status=$?
12347 echo "$as_me:12347: \$? = $ac_status" >&5 16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); }; }; then 16916 (exit $ac_status); }; }; then
12349 16917
12350 cat >>confdefs.h <<\EOF 16918 cat >>confdefs.h <<\_ACEOF
12351#define HAVE_UINTXX_T 1 16919#define HAVE_UINTXX_T 1
12352EOF 16920_ACEOF
12353 16921
12354 echo "$as_me:12354: result: yes" >&5 16922 echo "$as_me:$LINENO: result: yes" >&5
12355echo "${ECHO_T}yes" >&6 16923echo "${ECHO_T}yes" >&6
12356 16924
12357else 16925else
12358 echo "$as_me: failed program was:" >&5 16926 echo "$as_me: failed program was:" >&5
12359cat conftest.$ac_ext >&5 16927sed 's/^/| /' conftest.$ac_ext >&5
12360 echo "$as_me:12360: result: no" >&5 16928
16929 echo "$as_me:$LINENO: result: no" >&5
12361echo "${ECHO_T}no" >&6 16930echo "${ECHO_T}no" >&6
12362 16931
12363fi 16932fi
12364rm -f conftest.$ac_objext conftest.$ac_ext 16933rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12365fi 16934fi
12366 16935
12367if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ 16936if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
12368 test "x$ac_cv_header_sys_bitypes_h" = "xyes") 16937 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
12369then 16938then
12370 echo "$as_me:12370: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 16939 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
12371echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6 16940echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
12372 cat >conftest.$ac_ext <<_ACEOF 16941 cat >conftest.$ac_ext <<_ACEOF
12373#line 12373 "configure" 16942/* confdefs.h. */
12374#include "confdefs.h" 16943_ACEOF
16944cat confdefs.h >>conftest.$ac_ext
16945cat >>conftest.$ac_ext <<_ACEOF
16946/* end confdefs.h. */
12375 16947
12376#include <sys/bitypes.h> 16948#include <sys/bitypes.h>
12377 16949
@@ -12388,48 +16960,63 @@ main ()
12388} 16960}
12389_ACEOF 16961_ACEOF
12390rm -f conftest.$ac_objext 16962rm -f conftest.$ac_objext
12391if { (eval echo "$as_me:12391: \"$ac_compile\"") >&5 16963if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12392 (eval $ac_compile) 2>&5 16964 (eval $ac_compile) 2>conftest.er1
12393 ac_status=$? 16965 ac_status=$?
12394 echo "$as_me:12394: \$? = $ac_status" >&5 16966 grep -v '^ *+' conftest.er1 >conftest.err
16967 rm -f conftest.er1
16968 cat conftest.err >&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); } && 16970 (exit $ac_status); } &&
12396 { ac_try='test -s conftest.$ac_objext' 16971 { ac_try='test -z "$ac_c_werror_flag"
12397 { (eval echo "$as_me:12397: \"$ac_try\"") >&5 16972 || test ! -s conftest.err'
16973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12398 (eval $ac_try) 2>&5 16974 (eval $ac_try) 2>&5
12399 ac_status=$? 16975 ac_status=$?
12400 echo "$as_me:12400: \$? = $ac_status" >&5 16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); }; } &&
16978 { ac_try='test -s conftest.$ac_objext'
16979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16980 (eval $ac_try) 2>&5
16981 ac_status=$?
16982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12401 (exit $ac_status); }; }; then 16983 (exit $ac_status); }; }; then
12402 16984
12403 cat >>confdefs.h <<\EOF 16985 cat >>confdefs.h <<\_ACEOF
12404#define HAVE_U_INTXX_T 1 16986#define HAVE_U_INTXX_T 1
12405EOF 16987_ACEOF
12406 16988
12407 cat >>confdefs.h <<\EOF 16989 cat >>confdefs.h <<\_ACEOF
12408#define HAVE_INTXX_T 1 16990#define HAVE_INTXX_T 1
12409EOF 16991_ACEOF
12410 16992
12411 echo "$as_me:12411: result: yes" >&5 16993 echo "$as_me:$LINENO: result: yes" >&5
12412echo "${ECHO_T}yes" >&6 16994echo "${ECHO_T}yes" >&6
12413 16995
12414else 16996else
12415 echo "$as_me: failed program was:" >&5 16997 echo "$as_me: failed program was:" >&5
12416cat conftest.$ac_ext >&5 16998sed 's/^/| /' conftest.$ac_ext >&5
12417echo "$as_me:12417: result: no" >&5 16999
17000echo "$as_me:$LINENO: result: no" >&5
12418echo "${ECHO_T}no" >&6 17001echo "${ECHO_T}no" >&6
12419 17002
12420fi 17003fi
12421rm -f conftest.$ac_objext conftest.$ac_ext 17004rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12422fi 17005fi
12423 17006
12424echo "$as_me:12424: checking for u_char" >&5 17007
17008echo "$as_me:$LINENO: checking for u_char" >&5
12425echo $ECHO_N "checking for u_char... $ECHO_C" >&6 17009echo $ECHO_N "checking for u_char... $ECHO_C" >&6
12426if test "${ac_cv_have_u_char+set}" = set; then 17010if test "${ac_cv_have_u_char+set}" = set; then
12427 echo $ECHO_N "(cached) $ECHO_C" >&6 17011 echo $ECHO_N "(cached) $ECHO_C" >&6
12428else 17012else
12429 17013
12430 cat >conftest.$ac_ext <<_ACEOF 17014 cat >conftest.$ac_ext <<_ACEOF
12431#line 12431 "configure" 17015/* confdefs.h. */
12432#include "confdefs.h" 17016_ACEOF
17017cat confdefs.h >>conftest.$ac_ext
17018cat >>conftest.$ac_ext <<_ACEOF
17019/* end confdefs.h. */
12433 17020
12434#include <sys/types.h> 17021#include <sys/types.h>
12435 17022
@@ -12442,44 +17029,59 @@ main ()
12442} 17029}
12443_ACEOF 17030_ACEOF
12444rm -f conftest.$ac_objext 17031rm -f conftest.$ac_objext
12445if { (eval echo "$as_me:12445: \"$ac_compile\"") >&5 17032if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12446 (eval $ac_compile) 2>&5 17033 (eval $ac_compile) 2>conftest.er1
12447 ac_status=$? 17034 ac_status=$?
12448 echo "$as_me:12448: \$? = $ac_status" >&5 17035 grep -v '^ *+' conftest.er1 >conftest.err
17036 rm -f conftest.er1
17037 cat conftest.err >&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } && 17039 (exit $ac_status); } &&
12450 { ac_try='test -s conftest.$ac_objext' 17040 { ac_try='test -z "$ac_c_werror_flag"
12451 { (eval echo "$as_me:12451: \"$ac_try\"") >&5 17041 || test ! -s conftest.err'
17042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452 (eval $ac_try) 2>&5 17043 (eval $ac_try) 2>&5
12453 ac_status=$? 17044 ac_status=$?
12454 echo "$as_me:12454: \$? = $ac_status" >&5 17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); }; } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 (exit $ac_status); }; }; then 17052 (exit $ac_status); }; }; then
12456 ac_cv_have_u_char="yes" 17053 ac_cv_have_u_char="yes"
12457else 17054else
12458 echo "$as_me: failed program was:" >&5 17055 echo "$as_me: failed program was:" >&5
12459cat conftest.$ac_ext >&5 17056sed 's/^/| /' conftest.$ac_ext >&5
17057
12460 ac_cv_have_u_char="no" 17058 ac_cv_have_u_char="no"
12461 17059
12462fi 17060fi
12463rm -f conftest.$ac_objext conftest.$ac_ext 17061rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12464 17062
12465fi 17063fi
12466echo "$as_me:12466: result: $ac_cv_have_u_char" >&5 17064echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
12467echo "${ECHO_T}$ac_cv_have_u_char" >&6 17065echo "${ECHO_T}$ac_cv_have_u_char" >&6
12468if test "x$ac_cv_have_u_char" = "xyes" ; then 17066if test "x$ac_cv_have_u_char" = "xyes" ; then
12469 cat >>confdefs.h <<\EOF 17067 cat >>confdefs.h <<\_ACEOF
12470#define HAVE_U_CHAR 1 17068#define HAVE_U_CHAR 1
12471EOF 17069_ACEOF
12472 17070
12473fi 17071fi
12474 17072
12475 echo "$as_me:12475: checking for socklen_t" >&5 17073
17074 echo "$as_me:$LINENO: checking for socklen_t" >&5
12476echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 17075echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
12477if test "${ac_cv_type_socklen_t+set}" = set; then 17076if test "${ac_cv_type_socklen_t+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6 17077 echo $ECHO_N "(cached) $ECHO_C" >&6
12479else 17078else
12480 cat >conftest.$ac_ext <<_ACEOF 17079 cat >conftest.$ac_ext <<_ACEOF
12481#line 12481 "configure" 17080/* confdefs.h. */
12482#include "confdefs.h" 17081_ACEOF
17082cat confdefs.h >>conftest.$ac_ext
17083cat >>conftest.$ac_ext <<_ACEOF
17084/* end confdefs.h. */
12483#include <sys/types.h> 17085#include <sys/types.h>
12484#include <sys/socket.h> 17086#include <sys/socket.h>
12485 17087
@@ -12495,32 +17097,43 @@ if (sizeof (socklen_t))
12495} 17097}
12496_ACEOF 17098_ACEOF
12497rm -f conftest.$ac_objext 17099rm -f conftest.$ac_objext
12498if { (eval echo "$as_me:12498: \"$ac_compile\"") >&5 17100if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12499 (eval $ac_compile) 2>&5 17101 (eval $ac_compile) 2>conftest.er1
12500 ac_status=$? 17102 ac_status=$?
12501 echo "$as_me:12501: \$? = $ac_status" >&5 17103 grep -v '^ *+' conftest.er1 >conftest.err
17104 rm -f conftest.er1
17105 cat conftest.err >&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } && 17107 (exit $ac_status); } &&
12503 { ac_try='test -s conftest.$ac_objext' 17108 { ac_try='test -z "$ac_c_werror_flag"
12504 { (eval echo "$as_me:12504: \"$ac_try\"") >&5 17109 || test ! -s conftest.err'
17110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12505 (eval $ac_try) 2>&5 17111 (eval $ac_try) 2>&5
12506 ac_status=$? 17112 ac_status=$?
12507 echo "$as_me:12507: \$? = $ac_status" >&5 17113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); }; } &&
17115 { ac_try='test -s conftest.$ac_objext'
17116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17117 (eval $ac_try) 2>&5
17118 ac_status=$?
17119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508 (exit $ac_status); }; }; then 17120 (exit $ac_status); }; }; then
12509 ac_cv_type_socklen_t=yes 17121 ac_cv_type_socklen_t=yes
12510else 17122else
12511 echo "$as_me: failed program was:" >&5 17123 echo "$as_me: failed program was:" >&5
12512cat conftest.$ac_ext >&5 17124sed 's/^/| /' conftest.$ac_ext >&5
17125
12513ac_cv_type_socklen_t=no 17126ac_cv_type_socklen_t=no
12514fi 17127fi
12515rm -f conftest.$ac_objext conftest.$ac_ext 17128rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12516fi 17129fi
12517echo "$as_me:12517: result: $ac_cv_type_socklen_t" >&5 17130echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
12518echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 17131echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
12519if test $ac_cv_type_socklen_t = yes; then 17132if test $ac_cv_type_socklen_t = yes; then
12520 : 17133 :
12521else 17134else
12522 17135
12523 echo "$as_me:12523: checking for socklen_t equivalent" >&5 17136 echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
12524echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6 17137echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6
12525 if test "${curl_cv_socklen_t_equiv+set}" = set; then 17138 if test "${curl_cv_socklen_t_equiv+set}" = set; then
12526 echo $ECHO_N "(cached) $ECHO_C" >&6 17139 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -12532,8 +17145,11 @@ else
12532 for arg2 in "struct sockaddr" void; do 17145 for arg2 in "struct sockaddr" void; do
12533 for t in int size_t unsigned long "unsigned long"; do 17146 for t in int size_t unsigned long "unsigned long"; do
12534 cat >conftest.$ac_ext <<_ACEOF 17147 cat >conftest.$ac_ext <<_ACEOF
12535#line 12535 "configure" 17148/* confdefs.h. */
12536#include "confdefs.h" 17149_ACEOF
17150cat confdefs.h >>conftest.$ac_ext
17151cat >>conftest.$ac_ext <<_ACEOF
17152/* end confdefs.h. */
12537 17153
12538 #include <sys/types.h> 17154 #include <sys/types.h>
12539 #include <sys/socket.h> 17155 #include <sys/socket.h>
@@ -12552,16 +17168,26 @@ main ()
12552} 17168}
12553_ACEOF 17169_ACEOF
12554rm -f conftest.$ac_objext 17170rm -f conftest.$ac_objext
12555if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5 17171if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12556 (eval $ac_compile) 2>&5 17172 (eval $ac_compile) 2>conftest.er1
12557 ac_status=$? 17173 ac_status=$?
12558 echo "$as_me:12558: \$? = $ac_status" >&5 17174 grep -v '^ *+' conftest.er1 >conftest.err
17175 rm -f conftest.er1
17176 cat conftest.err >&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && 17178 (exit $ac_status); } &&
12560 { ac_try='test -s conftest.$ac_objext' 17179 { ac_try='test -z "$ac_c_werror_flag"
12561 { (eval echo "$as_me:12561: \"$ac_try\"") >&5 17180 || test ! -s conftest.err'
17181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17182 (eval $ac_try) 2>&5
17183 ac_status=$?
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); }; } &&
17186 { ac_try='test -s conftest.$ac_objext'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12562 (eval $ac_try) 2>&5 17188 (eval $ac_try) 2>&5
12563 ac_status=$? 17189 ac_status=$?
12564 echo "$as_me:12564: \$? = $ac_status" >&5 17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then 17191 (exit $ac_status); }; }; then
12566 17192
12567 curl_cv_socklen_t_equiv="$t" 17193 curl_cv_socklen_t_equiv="$t"
@@ -12569,37 +17195,43 @@ if { (eval echo "$as_me:12555: \"$ac_compile\"") >&5
12569 17195
12570else 17196else
12571 echo "$as_me: failed program was:" >&5 17197 echo "$as_me: failed program was:" >&5
12572cat conftest.$ac_ext >&5 17198sed 's/^/| /' conftest.$ac_ext >&5
17199
12573fi 17200fi
12574rm -f conftest.$ac_objext conftest.$ac_ext 17201rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12575 done 17202 done
12576 done 17203 done
12577 17204
12578 if test "x$curl_cv_socklen_t_equiv" = x; then 17205 if test "x$curl_cv_socklen_t_equiv" = x; then
12579 { { echo "$as_me:12579: error: Cannot find a type to use in place of socklen_t" >&5 17206 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
12580echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} 17207echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
12581 { (exit 1); exit 1; }; } 17208 { (exit 1); exit 1; }; }
12582 fi 17209 fi
12583 17210
12584fi 17211fi
12585 17212
12586 echo "$as_me:12586: result: $curl_cv_socklen_t_equiv" >&5 17213 echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
12587echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6 17214echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6
12588 17215
12589cat >>confdefs.h <<EOF 17216cat >>confdefs.h <<_ACEOF
12590#define socklen_t $curl_cv_socklen_t_equiv 17217#define socklen_t $curl_cv_socklen_t_equiv
12591EOF 17218_ACEOF
12592 17219
12593fi 17220fi
12594 17221
12595echo "$as_me:12595: checking for sig_atomic_t" >&5 17222
17223
17224echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
12596echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6 17225echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
12597if test "${ac_cv_type_sig_atomic_t+set}" = set; then 17226if test "${ac_cv_type_sig_atomic_t+set}" = set; then
12598 echo $ECHO_N "(cached) $ECHO_C" >&6 17227 echo $ECHO_N "(cached) $ECHO_C" >&6
12599else 17228else
12600 cat >conftest.$ac_ext <<_ACEOF 17229 cat >conftest.$ac_ext <<_ACEOF
12601#line 12601 "configure" 17230/* confdefs.h. */
12602#include "confdefs.h" 17231_ACEOF
17232cat confdefs.h >>conftest.$ac_ext
17233cat >>conftest.$ac_ext <<_ACEOF
17234/* end confdefs.h. */
12603#include <signal.h> 17235#include <signal.h>
12604 17236
12605int 17237int
@@ -12614,44 +17246,60 @@ if (sizeof (sig_atomic_t))
12614} 17246}
12615_ACEOF 17247_ACEOF
12616rm -f conftest.$ac_objext 17248rm -f conftest.$ac_objext
12617if { (eval echo "$as_me:12617: \"$ac_compile\"") >&5 17249if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12618 (eval $ac_compile) 2>&5 17250 (eval $ac_compile) 2>conftest.er1
12619 ac_status=$? 17251 ac_status=$?
12620 echo "$as_me:12620: \$? = $ac_status" >&5 17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); } && 17256 (exit $ac_status); } &&
12622 { ac_try='test -s conftest.$ac_objext' 17257 { ac_try='test -z "$ac_c_werror_flag"
12623 { (eval echo "$as_me:12623: \"$ac_try\"") >&5 17258 || test ! -s conftest.err'
17259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5 17260 (eval $ac_try) 2>&5
12625 ac_status=$? 17261 ac_status=$?
12626 echo "$as_me:12626: \$? = $ac_status" >&5 17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); }; } &&
17264 { ac_try='test -s conftest.$ac_objext'
17265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 (eval $ac_try) 2>&5
17267 ac_status=$?
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then 17269 (exit $ac_status); }; }; then
12628 ac_cv_type_sig_atomic_t=yes 17270 ac_cv_type_sig_atomic_t=yes
12629else 17271else
12630 echo "$as_me: failed program was:" >&5 17272 echo "$as_me: failed program was:" >&5
12631cat conftest.$ac_ext >&5 17273sed 's/^/| /' conftest.$ac_ext >&5
17274
12632ac_cv_type_sig_atomic_t=no 17275ac_cv_type_sig_atomic_t=no
12633fi 17276fi
12634rm -f conftest.$ac_objext conftest.$ac_ext 17277rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12635fi 17278fi
12636echo "$as_me:12636: result: $ac_cv_type_sig_atomic_t" >&5 17279echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
12637echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6 17280echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
12638if test $ac_cv_type_sig_atomic_t = yes; then 17281if test $ac_cv_type_sig_atomic_t = yes; then
12639 17282
12640cat >>confdefs.h <<EOF 17283cat >>confdefs.h <<_ACEOF
12641#define HAVE_SIG_ATOMIC_T 1 17284#define HAVE_SIG_ATOMIC_T 1
12642EOF 17285_ACEOF
17286
12643 17287
12644fi 17288fi
12645 17289
12646echo "$as_me:12646: checking for size_t" >&5 17290
17291echo "$as_me:$LINENO: checking for size_t" >&5
12647echo $ECHO_N "checking for size_t... $ECHO_C" >&6 17292echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12648if test "${ac_cv_have_size_t+set}" = set; then 17293if test "${ac_cv_have_size_t+set}" = set; then
12649 echo $ECHO_N "(cached) $ECHO_C" >&6 17294 echo $ECHO_N "(cached) $ECHO_C" >&6
12650else 17295else
12651 17296
12652 cat >conftest.$ac_ext <<_ACEOF 17297 cat >conftest.$ac_ext <<_ACEOF
12653#line 12653 "configure" 17298/* confdefs.h. */
12654#include "confdefs.h" 17299_ACEOF
17300cat confdefs.h >>conftest.$ac_ext
17301cat >>conftest.$ac_ext <<_ACEOF
17302/* end confdefs.h. */
12655 17303
12656#include <sys/types.h> 17304#include <sys/types.h>
12657 17305
@@ -12664,45 +17312,59 @@ main ()
12664} 17312}
12665_ACEOF 17313_ACEOF
12666rm -f conftest.$ac_objext 17314rm -f conftest.$ac_objext
12667if { (eval echo "$as_me:12667: \"$ac_compile\"") >&5 17315if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12668 (eval $ac_compile) 2>&5 17316 (eval $ac_compile) 2>conftest.er1
12669 ac_status=$? 17317 ac_status=$?
12670 echo "$as_me:12670: \$? = $ac_status" >&5 17318 grep -v '^ *+' conftest.er1 >conftest.err
17319 rm -f conftest.er1
17320 cat conftest.err >&5
17321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); } && 17322 (exit $ac_status); } &&
12672 { ac_try='test -s conftest.$ac_objext' 17323 { ac_try='test -z "$ac_c_werror_flag"
12673 { (eval echo "$as_me:12673: \"$ac_try\"") >&5 17324 || test ! -s conftest.err'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12674 (eval $ac_try) 2>&5 17326 (eval $ac_try) 2>&5
12675 ac_status=$? 17327 ac_status=$?
12676 echo "$as_me:12676: \$? = $ac_status" >&5 17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; } &&
17330 { ac_try='test -s conftest.$ac_objext'
17331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17332 (eval $ac_try) 2>&5
17333 ac_status=$?
17334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); }; }; then 17335 (exit $ac_status); }; }; then
12678 ac_cv_have_size_t="yes" 17336 ac_cv_have_size_t="yes"
12679else 17337else
12680 echo "$as_me: failed program was:" >&5 17338 echo "$as_me: failed program was:" >&5
12681cat conftest.$ac_ext >&5 17339sed 's/^/| /' conftest.$ac_ext >&5
17340
12682 ac_cv_have_size_t="no" 17341 ac_cv_have_size_t="no"
12683 17342
12684fi 17343fi
12685rm -f conftest.$ac_objext conftest.$ac_ext 17344rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12686 17345
12687fi 17346fi
12688echo "$as_me:12688: result: $ac_cv_have_size_t" >&5 17347echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
12689echo "${ECHO_T}$ac_cv_have_size_t" >&6 17348echo "${ECHO_T}$ac_cv_have_size_t" >&6
12690if test "x$ac_cv_have_size_t" = "xyes" ; then 17349if test "x$ac_cv_have_size_t" = "xyes" ; then
12691 cat >>confdefs.h <<\EOF 17350 cat >>confdefs.h <<\_ACEOF
12692#define HAVE_SIZE_T 1 17351#define HAVE_SIZE_T 1
12693EOF 17352_ACEOF
12694 17353
12695fi 17354fi
12696 17355
12697echo "$as_me:12697: checking for ssize_t" >&5 17356echo "$as_me:$LINENO: checking for ssize_t" >&5
12698echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6 17357echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
12699if test "${ac_cv_have_ssize_t+set}" = set; then 17358if test "${ac_cv_have_ssize_t+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6 17359 echo $ECHO_N "(cached) $ECHO_C" >&6
12701else 17360else
12702 17361
12703 cat >conftest.$ac_ext <<_ACEOF 17362 cat >conftest.$ac_ext <<_ACEOF
12704#line 12704 "configure" 17363/* confdefs.h. */
12705#include "confdefs.h" 17364_ACEOF
17365cat confdefs.h >>conftest.$ac_ext
17366cat >>conftest.$ac_ext <<_ACEOF
17367/* end confdefs.h. */
12706 17368
12707#include <sys/types.h> 17369#include <sys/types.h>
12708 17370
@@ -12715,45 +17377,59 @@ main ()
12715} 17377}
12716_ACEOF 17378_ACEOF
12717rm -f conftest.$ac_objext 17379rm -f conftest.$ac_objext
12718if { (eval echo "$as_me:12718: \"$ac_compile\"") >&5 17380if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12719 (eval $ac_compile) 2>&5 17381 (eval $ac_compile) 2>conftest.er1
12720 ac_status=$? 17382 ac_status=$?
12721 echo "$as_me:12721: \$? = $ac_status" >&5 17383 grep -v '^ *+' conftest.er1 >conftest.err
17384 rm -f conftest.er1
17385 cat conftest.err >&5
17386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } && 17387 (exit $ac_status); } &&
12723 { ac_try='test -s conftest.$ac_objext' 17388 { ac_try='test -z "$ac_c_werror_flag"
12724 { (eval echo "$as_me:12724: \"$ac_try\"") >&5 17389 || test ! -s conftest.err'
17390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725 (eval $ac_try) 2>&5 17391 (eval $ac_try) 2>&5
12726 ac_status=$? 17392 ac_status=$?
12727 echo "$as_me:12727: \$? = $ac_status" >&5 17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); }; } &&
17395 { ac_try='test -s conftest.$ac_objext'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; }; then 17400 (exit $ac_status); }; }; then
12729 ac_cv_have_ssize_t="yes" 17401 ac_cv_have_ssize_t="yes"
12730else 17402else
12731 echo "$as_me: failed program was:" >&5 17403 echo "$as_me: failed program was:" >&5
12732cat conftest.$ac_ext >&5 17404sed 's/^/| /' conftest.$ac_ext >&5
17405
12733 ac_cv_have_ssize_t="no" 17406 ac_cv_have_ssize_t="no"
12734 17407
12735fi 17408fi
12736rm -f conftest.$ac_objext conftest.$ac_ext 17409rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12737 17410
12738fi 17411fi
12739echo "$as_me:12739: result: $ac_cv_have_ssize_t" >&5 17412echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
12740echo "${ECHO_T}$ac_cv_have_ssize_t" >&6 17413echo "${ECHO_T}$ac_cv_have_ssize_t" >&6
12741if test "x$ac_cv_have_ssize_t" = "xyes" ; then 17414if test "x$ac_cv_have_ssize_t" = "xyes" ; then
12742 cat >>confdefs.h <<\EOF 17415 cat >>confdefs.h <<\_ACEOF
12743#define HAVE_SSIZE_T 1 17416#define HAVE_SSIZE_T 1
12744EOF 17417_ACEOF
12745 17418
12746fi 17419fi
12747 17420
12748echo "$as_me:12748: checking for clock_t" >&5 17421echo "$as_me:$LINENO: checking for clock_t" >&5
12749echo $ECHO_N "checking for clock_t... $ECHO_C" >&6 17422echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
12750if test "${ac_cv_have_clock_t+set}" = set; then 17423if test "${ac_cv_have_clock_t+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6 17424 echo $ECHO_N "(cached) $ECHO_C" >&6
12752else 17425else
12753 17426
12754 cat >conftest.$ac_ext <<_ACEOF 17427 cat >conftest.$ac_ext <<_ACEOF
12755#line 12755 "configure" 17428/* confdefs.h. */
12756#include "confdefs.h" 17429_ACEOF
17430cat confdefs.h >>conftest.$ac_ext
17431cat >>conftest.$ac_ext <<_ACEOF
17432/* end confdefs.h. */
12757 17433
12758#include <time.h> 17434#include <time.h>
12759 17435
@@ -12766,45 +17442,59 @@ main ()
12766} 17442}
12767_ACEOF 17443_ACEOF
12768rm -f conftest.$ac_objext 17444rm -f conftest.$ac_objext
12769if { (eval echo "$as_me:12769: \"$ac_compile\"") >&5 17445if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12770 (eval $ac_compile) 2>&5 17446 (eval $ac_compile) 2>conftest.er1
12771 ac_status=$? 17447 ac_status=$?
12772 echo "$as_me:12772: \$? = $ac_status" >&5 17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773 (exit $ac_status); } && 17452 (exit $ac_status); } &&
12774 { ac_try='test -s conftest.$ac_objext' 17453 { ac_try='test -z "$ac_c_werror_flag"
12775 { (eval echo "$as_me:12775: \"$ac_try\"") >&5 17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest.$ac_objext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12776 (eval $ac_try) 2>&5 17462 (eval $ac_try) 2>&5
12777 ac_status=$? 17463 ac_status=$?
12778 echo "$as_me:12778: \$? = $ac_status" >&5 17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); }; }; then 17465 (exit $ac_status); }; }; then
12780 ac_cv_have_clock_t="yes" 17466 ac_cv_have_clock_t="yes"
12781else 17467else
12782 echo "$as_me: failed program was:" >&5 17468 echo "$as_me: failed program was:" >&5
12783cat conftest.$ac_ext >&5 17469sed 's/^/| /' conftest.$ac_ext >&5
17470
12784 ac_cv_have_clock_t="no" 17471 ac_cv_have_clock_t="no"
12785 17472
12786fi 17473fi
12787rm -f conftest.$ac_objext conftest.$ac_ext 17474rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12788 17475
12789fi 17476fi
12790echo "$as_me:12790: result: $ac_cv_have_clock_t" >&5 17477echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
12791echo "${ECHO_T}$ac_cv_have_clock_t" >&6 17478echo "${ECHO_T}$ac_cv_have_clock_t" >&6
12792if test "x$ac_cv_have_clock_t" = "xyes" ; then 17479if test "x$ac_cv_have_clock_t" = "xyes" ; then
12793 cat >>confdefs.h <<\EOF 17480 cat >>confdefs.h <<\_ACEOF
12794#define HAVE_CLOCK_T 1 17481#define HAVE_CLOCK_T 1
12795EOF 17482_ACEOF
12796 17483
12797fi 17484fi
12798 17485
12799echo "$as_me:12799: checking for sa_family_t" >&5 17486echo "$as_me:$LINENO: checking for sa_family_t" >&5
12800echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6 17487echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6
12801if test "${ac_cv_have_sa_family_t+set}" = set; then 17488if test "${ac_cv_have_sa_family_t+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6 17489 echo $ECHO_N "(cached) $ECHO_C" >&6
12803else 17490else
12804 17491
12805 cat >conftest.$ac_ext <<_ACEOF 17492 cat >conftest.$ac_ext <<_ACEOF
12806#line 12806 "configure" 17493/* confdefs.h. */
12807#include "confdefs.h" 17494_ACEOF
17495cat confdefs.h >>conftest.$ac_ext
17496cat >>conftest.$ac_ext <<_ACEOF
17497/* end confdefs.h. */
12808 17498
12809#include <sys/types.h> 17499#include <sys/types.h>
12810#include <sys/socket.h> 17500#include <sys/socket.h>
@@ -12818,24 +17508,38 @@ main ()
12818} 17508}
12819_ACEOF 17509_ACEOF
12820rm -f conftest.$ac_objext 17510rm -f conftest.$ac_objext
12821if { (eval echo "$as_me:12821: \"$ac_compile\"") >&5 17511if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12822 (eval $ac_compile) 2>&5 17512 (eval $ac_compile) 2>conftest.er1
12823 ac_status=$? 17513 ac_status=$?
12824 echo "$as_me:12824: \$? = $ac_status" >&5 17514 grep -v '^ *+' conftest.er1 >conftest.err
17515 rm -f conftest.er1
17516 cat conftest.err >&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } && 17518 (exit $ac_status); } &&
12826 { ac_try='test -s conftest.$ac_objext' 17519 { ac_try='test -z "$ac_c_werror_flag"
12827 { (eval echo "$as_me:12827: \"$ac_try\"") >&5 17520 || test ! -s conftest.err'
17521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12828 (eval $ac_try) 2>&5 17522 (eval $ac_try) 2>&5
12829 ac_status=$? 17523 ac_status=$?
12830 echo "$as_me:12830: \$? = $ac_status" >&5 17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); }; } &&
17526 { ac_try='test -s conftest.$ac_objext'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12831 (exit $ac_status); }; }; then 17531 (exit $ac_status); }; }; then
12832 ac_cv_have_sa_family_t="yes" 17532 ac_cv_have_sa_family_t="yes"
12833else 17533else
12834 echo "$as_me: failed program was:" >&5 17534 echo "$as_me: failed program was:" >&5
12835cat conftest.$ac_ext >&5 17535sed 's/^/| /' conftest.$ac_ext >&5
17536
12836 cat >conftest.$ac_ext <<_ACEOF 17537 cat >conftest.$ac_ext <<_ACEOF
12837#line 12837 "configure" 17538/* confdefs.h. */
12838#include "confdefs.h" 17539_ACEOF
17540cat confdefs.h >>conftest.$ac_ext
17541cat >>conftest.$ac_ext <<_ACEOF
17542/* end confdefs.h. */
12839 17543
12840#include <sys/types.h> 17544#include <sys/types.h>
12841#include <sys/socket.h> 17545#include <sys/socket.h>
@@ -12850,48 +17554,62 @@ main ()
12850} 17554}
12851_ACEOF 17555_ACEOF
12852rm -f conftest.$ac_objext 17556rm -f conftest.$ac_objext
12853if { (eval echo "$as_me:12853: \"$ac_compile\"") >&5 17557if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12854 (eval $ac_compile) 2>&5 17558 (eval $ac_compile) 2>conftest.er1
12855 ac_status=$? 17559 ac_status=$?
12856 echo "$as_me:12856: \$? = $ac_status" >&5 17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); } && 17564 (exit $ac_status); } &&
12858 { ac_try='test -s conftest.$ac_objext' 17565 { ac_try='test -z "$ac_c_werror_flag"
12859 { (eval echo "$as_me:12859: \"$ac_try\"") >&5 17566 || test ! -s conftest.err'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5 17568 (eval $ac_try) 2>&5
12861 ac_status=$? 17569 ac_status=$?
12862 echo "$as_me:12862: \$? = $ac_status" >&5 17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; } &&
17572 { ac_try='test -s conftest.$ac_objext'
17573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 (eval $ac_try) 2>&5
17575 ac_status=$?
17576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then 17577 (exit $ac_status); }; }; then
12864 ac_cv_have_sa_family_t="yes" 17578 ac_cv_have_sa_family_t="yes"
12865else 17579else
12866 echo "$as_me: failed program was:" >&5 17580 echo "$as_me: failed program was:" >&5
12867cat conftest.$ac_ext >&5 17581sed 's/^/| /' conftest.$ac_ext >&5
17582
12868 ac_cv_have_sa_family_t="no" 17583 ac_cv_have_sa_family_t="no"
12869 17584
12870fi 17585fi
12871rm -f conftest.$ac_objext conftest.$ac_ext 17586rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12872 17587
12873fi 17588fi
12874rm -f conftest.$ac_objext conftest.$ac_ext 17589rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12875 17590
12876fi 17591fi
12877echo "$as_me:12877: result: $ac_cv_have_sa_family_t" >&5 17592echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
12878echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6 17593echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6
12879if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 17594if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
12880 cat >>confdefs.h <<\EOF 17595 cat >>confdefs.h <<\_ACEOF
12881#define HAVE_SA_FAMILY_T 1 17596#define HAVE_SA_FAMILY_T 1
12882EOF 17597_ACEOF
12883 17598
12884fi 17599fi
12885 17600
12886echo "$as_me:12886: checking for pid_t" >&5 17601echo "$as_me:$LINENO: checking for pid_t" >&5
12887echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 17602echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
12888if test "${ac_cv_have_pid_t+set}" = set; then 17603if test "${ac_cv_have_pid_t+set}" = set; then
12889 echo $ECHO_N "(cached) $ECHO_C" >&6 17604 echo $ECHO_N "(cached) $ECHO_C" >&6
12890else 17605else
12891 17606
12892 cat >conftest.$ac_ext <<_ACEOF 17607 cat >conftest.$ac_ext <<_ACEOF
12893#line 12893 "configure" 17608/* confdefs.h. */
12894#include "confdefs.h" 17609_ACEOF
17610cat confdefs.h >>conftest.$ac_ext
17611cat >>conftest.$ac_ext <<_ACEOF
17612/* end confdefs.h. */
12895 17613
12896#include <sys/types.h> 17614#include <sys/types.h>
12897 17615
@@ -12904,45 +17622,59 @@ main ()
12904} 17622}
12905_ACEOF 17623_ACEOF
12906rm -f conftest.$ac_objext 17624rm -f conftest.$ac_objext
12907if { (eval echo "$as_me:12907: \"$ac_compile\"") >&5 17625if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12908 (eval $ac_compile) 2>&5 17626 (eval $ac_compile) 2>conftest.er1
12909 ac_status=$? 17627 ac_status=$?
12910 echo "$as_me:12910: \$? = $ac_status" >&5 17628 grep -v '^ *+' conftest.er1 >conftest.err
17629 rm -f conftest.er1
17630 cat conftest.err >&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } && 17632 (exit $ac_status); } &&
12912 { ac_try='test -s conftest.$ac_objext' 17633 { ac_try='test -z "$ac_c_werror_flag"
12913 { (eval echo "$as_me:12913: \"$ac_try\"") >&5 17634 || test ! -s conftest.err'
17635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17636 (eval $ac_try) 2>&5
17637 ac_status=$?
17638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17639 (exit $ac_status); }; } &&
17640 { ac_try='test -s conftest.$ac_objext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5 17642 (eval $ac_try) 2>&5
12915 ac_status=$? 17643 ac_status=$?
12916 echo "$as_me:12916: \$? = $ac_status" >&5 17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; }; then 17645 (exit $ac_status); }; }; then
12918 ac_cv_have_pid_t="yes" 17646 ac_cv_have_pid_t="yes"
12919else 17647else
12920 echo "$as_me: failed program was:" >&5 17648 echo "$as_me: failed program was:" >&5
12921cat conftest.$ac_ext >&5 17649sed 's/^/| /' conftest.$ac_ext >&5
17650
12922 ac_cv_have_pid_t="no" 17651 ac_cv_have_pid_t="no"
12923 17652
12924fi 17653fi
12925rm -f conftest.$ac_objext conftest.$ac_ext 17654rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12926 17655
12927fi 17656fi
12928echo "$as_me:12928: result: $ac_cv_have_pid_t" >&5 17657echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
12929echo "${ECHO_T}$ac_cv_have_pid_t" >&6 17658echo "${ECHO_T}$ac_cv_have_pid_t" >&6
12930if test "x$ac_cv_have_pid_t" = "xyes" ; then 17659if test "x$ac_cv_have_pid_t" = "xyes" ; then
12931 cat >>confdefs.h <<\EOF 17660 cat >>confdefs.h <<\_ACEOF
12932#define HAVE_PID_T 1 17661#define HAVE_PID_T 1
12933EOF 17662_ACEOF
12934 17663
12935fi 17664fi
12936 17665
12937echo "$as_me:12937: checking for mode_t" >&5 17666echo "$as_me:$LINENO: checking for mode_t" >&5
12938echo $ECHO_N "checking for mode_t... $ECHO_C" >&6 17667echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
12939if test "${ac_cv_have_mode_t+set}" = set; then 17668if test "${ac_cv_have_mode_t+set}" = set; then
12940 echo $ECHO_N "(cached) $ECHO_C" >&6 17669 echo $ECHO_N "(cached) $ECHO_C" >&6
12941else 17670else
12942 17671
12943 cat >conftest.$ac_ext <<_ACEOF 17672 cat >conftest.$ac_ext <<_ACEOF
12944#line 12944 "configure" 17673/* confdefs.h. */
12945#include "confdefs.h" 17674_ACEOF
17675cat confdefs.h >>conftest.$ac_ext
17676cat >>conftest.$ac_ext <<_ACEOF
17677/* end confdefs.h. */
12946 17678
12947#include <sys/types.h> 17679#include <sys/types.h>
12948 17680
@@ -12955,45 +17687,60 @@ main ()
12955} 17687}
12956_ACEOF 17688_ACEOF
12957rm -f conftest.$ac_objext 17689rm -f conftest.$ac_objext
12958if { (eval echo "$as_me:12958: \"$ac_compile\"") >&5 17690if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12959 (eval $ac_compile) 2>&5 17691 (eval $ac_compile) 2>conftest.er1
12960 ac_status=$? 17692 ac_status=$?
12961 echo "$as_me:12961: \$? = $ac_status" >&5 17693 grep -v '^ *+' conftest.er1 >conftest.err
17694 rm -f conftest.er1
17695 cat conftest.err >&5
17696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); } && 17697 (exit $ac_status); } &&
12963 { ac_try='test -s conftest.$ac_objext' 17698 { ac_try='test -z "$ac_c_werror_flag"
12964 { (eval echo "$as_me:12964: \"$ac_try\"") >&5 17699 || test ! -s conftest.err'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; } &&
17705 { ac_try='test -s conftest.$ac_objext'
17706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12965 (eval $ac_try) 2>&5 17707 (eval $ac_try) 2>&5
12966 ac_status=$? 17708 ac_status=$?
12967 echo "$as_me:12967: \$? = $ac_status" >&5 17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12968 (exit $ac_status); }; }; then 17710 (exit $ac_status); }; }; then
12969 ac_cv_have_mode_t="yes" 17711 ac_cv_have_mode_t="yes"
12970else 17712else
12971 echo "$as_me: failed program was:" >&5 17713 echo "$as_me: failed program was:" >&5
12972cat conftest.$ac_ext >&5 17714sed 's/^/| /' conftest.$ac_ext >&5
17715
12973 ac_cv_have_mode_t="no" 17716 ac_cv_have_mode_t="no"
12974 17717
12975fi 17718fi
12976rm -f conftest.$ac_objext conftest.$ac_ext 17719rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12977 17720
12978fi 17721fi
12979echo "$as_me:12979: result: $ac_cv_have_mode_t" >&5 17722echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
12980echo "${ECHO_T}$ac_cv_have_mode_t" >&6 17723echo "${ECHO_T}$ac_cv_have_mode_t" >&6
12981if test "x$ac_cv_have_mode_t" = "xyes" ; then 17724if test "x$ac_cv_have_mode_t" = "xyes" ; then
12982 cat >>confdefs.h <<\EOF 17725 cat >>confdefs.h <<\_ACEOF
12983#define HAVE_MODE_T 1 17726#define HAVE_MODE_T 1
12984EOF 17727_ACEOF
12985 17728
12986fi 17729fi
12987 17730
12988echo "$as_me:12988: checking for struct sockaddr_storage" >&5 17731
17732echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
12989echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6 17733echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6
12990if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then 17734if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6 17735 echo $ECHO_N "(cached) $ECHO_C" >&6
12992else 17736else
12993 17737
12994 cat >conftest.$ac_ext <<_ACEOF 17738 cat >conftest.$ac_ext <<_ACEOF
12995#line 12995 "configure" 17739/* confdefs.h. */
12996#include "confdefs.h" 17740_ACEOF
17741cat confdefs.h >>conftest.$ac_ext
17742cat >>conftest.$ac_ext <<_ACEOF
17743/* end confdefs.h. */
12997 17744
12998#include <sys/types.h> 17745#include <sys/types.h>
12999#include <sys/socket.h> 17746#include <sys/socket.h>
@@ -13007,45 +17754,59 @@ main ()
13007} 17754}
13008_ACEOF 17755_ACEOF
13009rm -f conftest.$ac_objext 17756rm -f conftest.$ac_objext
13010if { (eval echo "$as_me:13010: \"$ac_compile\"") >&5 17757if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13011 (eval $ac_compile) 2>&5 17758 (eval $ac_compile) 2>conftest.er1
13012 ac_status=$? 17759 ac_status=$?
13013 echo "$as_me:13013: \$? = $ac_status" >&5 17760 grep -v '^ *+' conftest.er1 >conftest.err
17761 rm -f conftest.er1
17762 cat conftest.err >&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); } && 17764 (exit $ac_status); } &&
13015 { ac_try='test -s conftest.$ac_objext' 17765 { ac_try='test -z "$ac_c_werror_flag"
13016 { (eval echo "$as_me:13016: \"$ac_try\"") >&5 17766 || test ! -s conftest.err'
17767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17768 (eval $ac_try) 2>&5
17769 ac_status=$?
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }; } &&
17772 { ac_try='test -s conftest.$ac_objext'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13017 (eval $ac_try) 2>&5 17774 (eval $ac_try) 2>&5
13018 ac_status=$? 17775 ac_status=$?
13019 echo "$as_me:13019: \$? = $ac_status" >&5 17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); }; }; then 17777 (exit $ac_status); }; }; then
13021 ac_cv_have_struct_sockaddr_storage="yes" 17778 ac_cv_have_struct_sockaddr_storage="yes"
13022else 17779else
13023 echo "$as_me: failed program was:" >&5 17780 echo "$as_me: failed program was:" >&5
13024cat conftest.$ac_ext >&5 17781sed 's/^/| /' conftest.$ac_ext >&5
17782
13025 ac_cv_have_struct_sockaddr_storage="no" 17783 ac_cv_have_struct_sockaddr_storage="no"
13026 17784
13027fi 17785fi
13028rm -f conftest.$ac_objext conftest.$ac_ext 17786rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13029 17787
13030fi 17788fi
13031echo "$as_me:13031: result: $ac_cv_have_struct_sockaddr_storage" >&5 17789echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
13032echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6 17790echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6
13033if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 17791if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
13034 cat >>confdefs.h <<\EOF 17792 cat >>confdefs.h <<\_ACEOF
13035#define HAVE_STRUCT_SOCKADDR_STORAGE 1 17793#define HAVE_STRUCT_SOCKADDR_STORAGE 1
13036EOF 17794_ACEOF
13037 17795
13038fi 17796fi
13039 17797
13040echo "$as_me:13040: checking for struct sockaddr_in6" >&5 17798echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
13041echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6 17799echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6
13042if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then 17800if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6 17801 echo $ECHO_N "(cached) $ECHO_C" >&6
13044else 17802else
13045 17803
13046 cat >conftest.$ac_ext <<_ACEOF 17804 cat >conftest.$ac_ext <<_ACEOF
13047#line 13047 "configure" 17805/* confdefs.h. */
13048#include "confdefs.h" 17806_ACEOF
17807cat confdefs.h >>conftest.$ac_ext
17808cat >>conftest.$ac_ext <<_ACEOF
17809/* end confdefs.h. */
13049 17810
13050#include <sys/types.h> 17811#include <sys/types.h>
13051#include <netinet/in.h> 17812#include <netinet/in.h>
@@ -13059,45 +17820,59 @@ main ()
13059} 17820}
13060_ACEOF 17821_ACEOF
13061rm -f conftest.$ac_objext 17822rm -f conftest.$ac_objext
13062if { (eval echo "$as_me:13062: \"$ac_compile\"") >&5 17823if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13063 (eval $ac_compile) 2>&5 17824 (eval $ac_compile) 2>conftest.er1
13064 ac_status=$? 17825 ac_status=$?
13065 echo "$as_me:13065: \$? = $ac_status" >&5 17826 grep -v '^ *+' conftest.er1 >conftest.err
17827 rm -f conftest.er1
17828 cat conftest.err >&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); } && 17830 (exit $ac_status); } &&
13067 { ac_try='test -s conftest.$ac_objext' 17831 { ac_try='test -z "$ac_c_werror_flag"
13068 { (eval echo "$as_me:13068: \"$ac_try\"") >&5 17832 || test ! -s conftest.err'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5 17834 (eval $ac_try) 2>&5
13070 ac_status=$? 17835 ac_status=$?
13071 echo "$as_me:13071: \$? = $ac_status" >&5 17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; } &&
17838 { ac_try='test -s conftest.$ac_objext'
17839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17840 (eval $ac_try) 2>&5
17841 ac_status=$?
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; }; then 17843 (exit $ac_status); }; }; then
13073 ac_cv_have_struct_sockaddr_in6="yes" 17844 ac_cv_have_struct_sockaddr_in6="yes"
13074else 17845else
13075 echo "$as_me: failed program was:" >&5 17846 echo "$as_me: failed program was:" >&5
13076cat conftest.$ac_ext >&5 17847sed 's/^/| /' conftest.$ac_ext >&5
17848
13077 ac_cv_have_struct_sockaddr_in6="no" 17849 ac_cv_have_struct_sockaddr_in6="no"
13078 17850
13079fi 17851fi
13080rm -f conftest.$ac_objext conftest.$ac_ext 17852rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13081 17853
13082fi 17854fi
13083echo "$as_me:13083: result: $ac_cv_have_struct_sockaddr_in6" >&5 17855echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
13084echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6 17856echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6
13085if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 17857if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
13086 cat >>confdefs.h <<\EOF 17858 cat >>confdefs.h <<\_ACEOF
13087#define HAVE_STRUCT_SOCKADDR_IN6 1 17859#define HAVE_STRUCT_SOCKADDR_IN6 1
13088EOF 17860_ACEOF
13089 17861
13090fi 17862fi
13091 17863
13092echo "$as_me:13092: checking for struct in6_addr" >&5 17864echo "$as_me:$LINENO: checking for struct in6_addr" >&5
13093echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6 17865echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6
13094if test "${ac_cv_have_struct_in6_addr+set}" = set; then 17866if test "${ac_cv_have_struct_in6_addr+set}" = set; then
13095 echo $ECHO_N "(cached) $ECHO_C" >&6 17867 echo $ECHO_N "(cached) $ECHO_C" >&6
13096else 17868else
13097 17869
13098 cat >conftest.$ac_ext <<_ACEOF 17870 cat >conftest.$ac_ext <<_ACEOF
13099#line 13099 "configure" 17871/* confdefs.h. */
13100#include "confdefs.h" 17872_ACEOF
17873cat confdefs.h >>conftest.$ac_ext
17874cat >>conftest.$ac_ext <<_ACEOF
17875/* end confdefs.h. */
13101 17876
13102#include <sys/types.h> 17877#include <sys/types.h>
13103#include <netinet/in.h> 17878#include <netinet/in.h>
@@ -13111,45 +17886,59 @@ main ()
13111} 17886}
13112_ACEOF 17887_ACEOF
13113rm -f conftest.$ac_objext 17888rm -f conftest.$ac_objext
13114if { (eval echo "$as_me:13114: \"$ac_compile\"") >&5 17889if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13115 (eval $ac_compile) 2>&5 17890 (eval $ac_compile) 2>conftest.er1
13116 ac_status=$? 17891 ac_status=$?
13117 echo "$as_me:13117: \$? = $ac_status" >&5 17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118 (exit $ac_status); } && 17896 (exit $ac_status); } &&
13119 { ac_try='test -s conftest.$ac_objext' 17897 { ac_try='test -z "$ac_c_werror_flag"
13120 { (eval echo "$as_me:13120: \"$ac_try\"") >&5 17898 || test ! -s conftest.err'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17901 ac_status=$?
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; } &&
17904 { ac_try='test -s conftest.$ac_objext'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13121 (eval $ac_try) 2>&5 17906 (eval $ac_try) 2>&5
13122 ac_status=$? 17907 ac_status=$?
13123 echo "$as_me:13123: \$? = $ac_status" >&5 17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); }; }; then 17909 (exit $ac_status); }; }; then
13125 ac_cv_have_struct_in6_addr="yes" 17910 ac_cv_have_struct_in6_addr="yes"
13126else 17911else
13127 echo "$as_me: failed program was:" >&5 17912 echo "$as_me: failed program was:" >&5
13128cat conftest.$ac_ext >&5 17913sed 's/^/| /' conftest.$ac_ext >&5
17914
13129 ac_cv_have_struct_in6_addr="no" 17915 ac_cv_have_struct_in6_addr="no"
13130 17916
13131fi 17917fi
13132rm -f conftest.$ac_objext conftest.$ac_ext 17918rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13133 17919
13134fi 17920fi
13135echo "$as_me:13135: result: $ac_cv_have_struct_in6_addr" >&5 17921echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
13136echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6 17922echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6
13137if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 17923if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
13138 cat >>confdefs.h <<\EOF 17924 cat >>confdefs.h <<\_ACEOF
13139#define HAVE_STRUCT_IN6_ADDR 1 17925#define HAVE_STRUCT_IN6_ADDR 1
13140EOF 17926_ACEOF
13141 17927
13142fi 17928fi
13143 17929
13144echo "$as_me:13144: checking for struct addrinfo" >&5 17930echo "$as_me:$LINENO: checking for struct addrinfo" >&5
13145echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6 17931echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6
13146if test "${ac_cv_have_struct_addrinfo+set}" = set; then 17932if test "${ac_cv_have_struct_addrinfo+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6 17933 echo $ECHO_N "(cached) $ECHO_C" >&6
13148else 17934else
13149 17935
13150 cat >conftest.$ac_ext <<_ACEOF 17936 cat >conftest.$ac_ext <<_ACEOF
13151#line 13151 "configure" 17937/* confdefs.h. */
13152#include "confdefs.h" 17938_ACEOF
17939cat confdefs.h >>conftest.$ac_ext
17940cat >>conftest.$ac_ext <<_ACEOF
17941/* end confdefs.h. */
13153 17942
13154#include <sys/types.h> 17943#include <sys/types.h>
13155#include <sys/socket.h> 17944#include <sys/socket.h>
@@ -13164,45 +17953,59 @@ main ()
13164} 17953}
13165_ACEOF 17954_ACEOF
13166rm -f conftest.$ac_objext 17955rm -f conftest.$ac_objext
13167if { (eval echo "$as_me:13167: \"$ac_compile\"") >&5 17956if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13168 (eval $ac_compile) 2>&5 17957 (eval $ac_compile) 2>conftest.er1
13169 ac_status=$? 17958 ac_status=$?
13170 echo "$as_me:13170: \$? = $ac_status" >&5 17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); } && 17963 (exit $ac_status); } &&
13172 { ac_try='test -s conftest.$ac_objext' 17964 { ac_try='test -z "$ac_c_werror_flag"
13173 { (eval echo "$as_me:13173: \"$ac_try\"") >&5 17965 || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13174 (eval $ac_try) 2>&5 17967 (eval $ac_try) 2>&5
13175 ac_status=$? 17968 ac_status=$?
13176 echo "$as_me:13176: \$? = $ac_status" >&5 17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest.$ac_objext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); }; }; then 17976 (exit $ac_status); }; }; then
13178 ac_cv_have_struct_addrinfo="yes" 17977 ac_cv_have_struct_addrinfo="yes"
13179else 17978else
13180 echo "$as_me: failed program was:" >&5 17979 echo "$as_me: failed program was:" >&5
13181cat conftest.$ac_ext >&5 17980sed 's/^/| /' conftest.$ac_ext >&5
17981
13182 ac_cv_have_struct_addrinfo="no" 17982 ac_cv_have_struct_addrinfo="no"
13183 17983
13184fi 17984fi
13185rm -f conftest.$ac_objext conftest.$ac_ext 17985rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13186 17986
13187fi 17987fi
13188echo "$as_me:13188: result: $ac_cv_have_struct_addrinfo" >&5 17988echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
13189echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6 17989echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6
13190if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 17990if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
13191 cat >>confdefs.h <<\EOF 17991 cat >>confdefs.h <<\_ACEOF
13192#define HAVE_STRUCT_ADDRINFO 1 17992#define HAVE_STRUCT_ADDRINFO 1
13193EOF 17993_ACEOF
13194 17994
13195fi 17995fi
13196 17996
13197echo "$as_me:13197: checking for struct timeval" >&5 17997echo "$as_me:$LINENO: checking for struct timeval" >&5
13198echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6 17998echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
13199if test "${ac_cv_have_struct_timeval+set}" = set; then 17999if test "${ac_cv_have_struct_timeval+set}" = set; then
13200 echo $ECHO_N "(cached) $ECHO_C" >&6 18000 echo $ECHO_N "(cached) $ECHO_C" >&6
13201else 18001else
13202 18002
13203 cat >conftest.$ac_ext <<_ACEOF 18003 cat >conftest.$ac_ext <<_ACEOF
13204#line 13204 "configure" 18004/* confdefs.h. */
13205#include "confdefs.h" 18005_ACEOF
18006cat confdefs.h >>conftest.$ac_ext
18007cat >>conftest.$ac_ext <<_ACEOF
18008/* end confdefs.h. */
13206 #include <sys/time.h> 18009 #include <sys/time.h>
13207int 18010int
13208main () 18011main ()
@@ -13213,45 +18016,59 @@ main ()
13213} 18016}
13214_ACEOF 18017_ACEOF
13215rm -f conftest.$ac_objext 18018rm -f conftest.$ac_objext
13216if { (eval echo "$as_me:13216: \"$ac_compile\"") >&5 18019if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13217 (eval $ac_compile) 2>&5 18020 (eval $ac_compile) 2>conftest.er1
13218 ac_status=$? 18021 ac_status=$?
13219 echo "$as_me:13219: \$? = $ac_status" >&5 18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } && 18026 (exit $ac_status); } &&
13221 { ac_try='test -s conftest.$ac_objext' 18027 { ac_try='test -z "$ac_c_werror_flag"
13222 { (eval echo "$as_me:13222: \"$ac_try\"") >&5 18028 || test ! -s conftest.err'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18031 ac_status=$?
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; } &&
18034 { ac_try='test -s conftest.$ac_objext'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5 18036 (eval $ac_try) 2>&5
13224 ac_status=$? 18037 ac_status=$?
13225 echo "$as_me:13225: \$? = $ac_status" >&5 18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; }; then 18039 (exit $ac_status); }; }; then
13227 ac_cv_have_struct_timeval="yes" 18040 ac_cv_have_struct_timeval="yes"
13228else 18041else
13229 echo "$as_me: failed program was:" >&5 18042 echo "$as_me: failed program was:" >&5
13230cat conftest.$ac_ext >&5 18043sed 's/^/| /' conftest.$ac_ext >&5
18044
13231 ac_cv_have_struct_timeval="no" 18045 ac_cv_have_struct_timeval="no"
13232 18046
13233fi 18047fi
13234rm -f conftest.$ac_objext conftest.$ac_ext 18048rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13235 18049
13236fi 18050fi
13237echo "$as_me:13237: result: $ac_cv_have_struct_timeval" >&5 18051echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
13238echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6 18052echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6
13239if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 18053if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
13240 cat >>confdefs.h <<\EOF 18054 cat >>confdefs.h <<\_ACEOF
13241#define HAVE_STRUCT_TIMEVAL 1 18055#define HAVE_STRUCT_TIMEVAL 1
13242EOF 18056_ACEOF
13243 18057
13244 have_struct_timeval=1 18058 have_struct_timeval=1
13245fi 18059fi
13246 18060
13247echo "$as_me:13247: checking for struct timespec" >&5 18061echo "$as_me:$LINENO: checking for struct timespec" >&5
13248echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6 18062echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6
13249if test "${ac_cv_type_struct_timespec+set}" = set; then 18063if test "${ac_cv_type_struct_timespec+set}" = set; then
13250 echo $ECHO_N "(cached) $ECHO_C" >&6 18064 echo $ECHO_N "(cached) $ECHO_C" >&6
13251else 18065else
13252 cat >conftest.$ac_ext <<_ACEOF 18066 cat >conftest.$ac_ext <<_ACEOF
13253#line 13253 "configure" 18067/* confdefs.h. */
13254#include "confdefs.h" 18068_ACEOF
18069cat confdefs.h >>conftest.$ac_ext
18070cat >>conftest.$ac_ext <<_ACEOF
18071/* end confdefs.h. */
13255$ac_includes_default 18072$ac_includes_default
13256int 18073int
13257main () 18074main ()
@@ -13265,35 +18082,48 @@ if (sizeof (struct timespec))
13265} 18082}
13266_ACEOF 18083_ACEOF
13267rm -f conftest.$ac_objext 18084rm -f conftest.$ac_objext
13268if { (eval echo "$as_me:13268: \"$ac_compile\"") >&5 18085if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13269 (eval $ac_compile) 2>&5 18086 (eval $ac_compile) 2>conftest.er1
13270 ac_status=$? 18087 ac_status=$?
13271 echo "$as_me:13271: \$? = $ac_status" >&5 18088 grep -v '^ *+' conftest.er1 >conftest.err
18089 rm -f conftest.er1
18090 cat conftest.err >&5
18091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13272 (exit $ac_status); } && 18092 (exit $ac_status); } &&
13273 { ac_try='test -s conftest.$ac_objext' 18093 { ac_try='test -z "$ac_c_werror_flag"
13274 { (eval echo "$as_me:13274: \"$ac_try\"") >&5 18094 || test ! -s conftest.err'
18095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 (eval $ac_try) 2>&5 18096 (eval $ac_try) 2>&5
13276 ac_status=$? 18097 ac_status=$?
13277 echo "$as_me:13277: \$? = $ac_status" >&5 18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try='test -s conftest.$ac_objext'
18101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18102 (eval $ac_try) 2>&5
18103 ac_status=$?
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); }; }; then 18105 (exit $ac_status); }; }; then
13279 ac_cv_type_struct_timespec=yes 18106 ac_cv_type_struct_timespec=yes
13280else 18107else
13281 echo "$as_me: failed program was:" >&5 18108 echo "$as_me: failed program was:" >&5
13282cat conftest.$ac_ext >&5 18109sed 's/^/| /' conftest.$ac_ext >&5
18110
13283ac_cv_type_struct_timespec=no 18111ac_cv_type_struct_timespec=no
13284fi 18112fi
13285rm -f conftest.$ac_objext conftest.$ac_ext 18113rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13286fi 18114fi
13287echo "$as_me:13287: result: $ac_cv_type_struct_timespec" >&5 18115echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
13288echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6 18116echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6
13289if test $ac_cv_type_struct_timespec = yes; then 18117if test $ac_cv_type_struct_timespec = yes; then
13290 18118
13291cat >>confdefs.h <<EOF 18119cat >>confdefs.h <<_ACEOF
13292#define HAVE_STRUCT_TIMESPEC 1 18120#define HAVE_STRUCT_TIMESPEC 1
13293EOF 18121_ACEOF
18122
13294 18123
13295fi 18124fi
13296 18125
18126
13297# We need int64_t or else certian parts of the compile will fail. 18127# We need int64_t or else certian parts of the compile will fail.
13298if test "x$ac_cv_have_int64_t" = "xno" -a \ 18128if test "x$ac_cv_have_int64_t" = "xno" -a \
13299 "x$ac_cv_sizeof_long_int" != "x8" -a \ 18129 "x$ac_cv_sizeof_long_int" != "x8" -a \
@@ -13304,13 +18134,18 @@ if test "x$ac_cv_have_int64_t" = "xno" -a \
13304 exit 1; 18134 exit 1;
13305else 18135else
13306 if test "$cross_compiling" = yes; then 18136 if test "$cross_compiling" = yes; then
13307 { { echo "$as_me:13307: error: cannot run test program while cross compiling" >&5 18137 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13308echo "$as_me: error: cannot run test program while cross compiling" >&2;} 18138See \`config.log' for more details." >&5
18139echo "$as_me: error: cannot run test program while cross compiling
18140See \`config.log' for more details." >&2;}
13309 { (exit 1); exit 1; }; } 18141 { (exit 1); exit 1; }; }
13310else 18142else
13311 cat >conftest.$ac_ext <<_ACEOF 18143 cat >conftest.$ac_ext <<_ACEOF
13312#line 13312 "configure" 18144/* confdefs.h. */
13313#include "confdefs.h" 18145_ACEOF
18146cat confdefs.h >>conftest.$ac_ext
18147cat >>conftest.$ac_ext <<_ACEOF
18148/* end confdefs.h. */
13314 18149
13315#include <stdio.h> 18150#include <stdio.h>
13316#include <string.h> 18151#include <string.h>
@@ -13337,47 +18172,54 @@ main() { exit(0); }
13337 18172
13338_ACEOF 18173_ACEOF
13339rm -f conftest$ac_exeext 18174rm -f conftest$ac_exeext
13340if { (eval echo "$as_me:13340: \"$ac_link\"") >&5 18175if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13341 (eval $ac_link) 2>&5 18176 (eval $ac_link) 2>&5
13342 ac_status=$? 18177 ac_status=$?
13343 echo "$as_me:13343: \$? = $ac_status" >&5 18178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 18179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13345 { (eval echo "$as_me:13345: \"$ac_try\"") >&5 18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5 18181 (eval $ac_try) 2>&5
13347 ac_status=$? 18182 ac_status=$?
13348 echo "$as_me:13348: \$? = $ac_status" >&5 18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; }; then 18184 (exit $ac_status); }; }; then
13350 true 18185 true
13351else 18186else
13352 echo "$as_me: program exited with status $ac_status" >&5 18187 echo "$as_me: program exited with status $ac_status" >&5
13353echo "$as_me: failed program was:" >&5 18188echo "$as_me: failed program was:" >&5
13354cat conftest.$ac_ext >&5 18189sed 's/^/| /' conftest.$ac_ext >&5
13355 cat >>confdefs.h <<\EOF 18190
18191( exit $ac_status )
18192 cat >>confdefs.h <<\_ACEOF
13356#define BROKEN_SNPRINTF 1 18193#define BROKEN_SNPRINTF 1
13357EOF 18194_ACEOF
18195
13358 18196
13359fi 18197fi
13360rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 18198rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13361fi 18199fi
13362fi 18200fi
13363 18201
18202
13364# look for field 'ut_host' in header 'utmp.h' 18203# look for field 'ut_host' in header 'utmp.h'
13365 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18204 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13366 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 18205 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
13367 echo "$as_me:13367: checking for ut_host field in utmp.h" >&5 18206 echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
13368echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6 18207echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6
13369 if eval "test \"\${$ossh_varname+set}\" = set"; then 18208 if eval "test \"\${$ossh_varname+set}\" = set"; then
13370 echo $ECHO_N "(cached) $ECHO_C" >&6 18209 echo $ECHO_N "(cached) $ECHO_C" >&6
13371else 18210else
13372 18211
13373 cat >conftest.$ac_ext <<_ACEOF 18212 cat >conftest.$ac_ext <<_ACEOF
13374#line 13374 "configure" 18213/* confdefs.h. */
13375#include "confdefs.h" 18214_ACEOF
18215cat confdefs.h >>conftest.$ac_ext
18216cat >>conftest.$ac_ext <<_ACEOF
18217/* end confdefs.h. */
13376#include <utmp.h> 18218#include <utmp.h>
13377 18219
13378_ACEOF 18220_ACEOF
13379if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18221if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13380 egrep "ut_host" >/dev/null 2>&1; then 18222 $EGREP "ut_host" >/dev/null 2>&1; then
13381 eval "$ossh_varname=yes" 18223 eval "$ossh_varname=yes"
13382else 18224else
13383 eval "$ossh_varname=no" 18225 eval "$ossh_varname=no"
@@ -13388,36 +18230,40 @@ fi
13388 18230
13389 ossh_result=`eval 'echo $'"$ossh_varname"` 18231 ossh_result=`eval 'echo $'"$ossh_varname"`
13390 if test -n "`echo $ossh_varname`"; then 18232 if test -n "`echo $ossh_varname`"; then
13391 echo "$as_me:13391: result: $ossh_result" >&5 18233 echo "$as_me:$LINENO: result: $ossh_result" >&5
13392echo "${ECHO_T}$ossh_result" >&6 18234echo "${ECHO_T}$ossh_result" >&6
13393 if test "x$ossh_result" = "xyes"; then 18235 if test "x$ossh_result" = "xyes"; then
13394 cat >>confdefs.h <<\EOF 18236 cat >>confdefs.h <<\_ACEOF
13395#define HAVE_HOST_IN_UTMP 1 18237#define HAVE_HOST_IN_UTMP 1
13396EOF 18238_ACEOF
13397 18239
13398 fi 18240 fi
13399 else 18241 else
13400 echo "$as_me:13400: result: no" >&5 18242 echo "$as_me:$LINENO: result: no" >&5
13401echo "${ECHO_T}no" >&6 18243echo "${ECHO_T}no" >&6
13402 fi 18244 fi
13403 18245
18246
13404# look for field 'ut_host' in header 'utmpx.h' 18247# look for field 'ut_host' in header 'utmpx.h'
13405 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18248 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13406 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 18249 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
13407 echo "$as_me:13407: checking for ut_host field in utmpx.h" >&5 18250 echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
13408echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6 18251echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6
13409 if eval "test \"\${$ossh_varname+set}\" = set"; then 18252 if eval "test \"\${$ossh_varname+set}\" = set"; then
13410 echo $ECHO_N "(cached) $ECHO_C" >&6 18253 echo $ECHO_N "(cached) $ECHO_C" >&6
13411else 18254else
13412 18255
13413 cat >conftest.$ac_ext <<_ACEOF 18256 cat >conftest.$ac_ext <<_ACEOF
13414#line 13414 "configure" 18257/* confdefs.h. */
13415#include "confdefs.h" 18258_ACEOF
18259cat confdefs.h >>conftest.$ac_ext
18260cat >>conftest.$ac_ext <<_ACEOF
18261/* end confdefs.h. */
13416#include <utmpx.h> 18262#include <utmpx.h>
13417 18263
13418_ACEOF 18264_ACEOF
13419if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18265if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13420 egrep "ut_host" >/dev/null 2>&1; then 18266 $EGREP "ut_host" >/dev/null 2>&1; then
13421 eval "$ossh_varname=yes" 18267 eval "$ossh_varname=yes"
13422else 18268else
13423 eval "$ossh_varname=no" 18269 eval "$ossh_varname=no"
@@ -13428,36 +18274,40 @@ fi
13428 18274
13429 ossh_result=`eval 'echo $'"$ossh_varname"` 18275 ossh_result=`eval 'echo $'"$ossh_varname"`
13430 if test -n "`echo $ossh_varname`"; then 18276 if test -n "`echo $ossh_varname`"; then
13431 echo "$as_me:13431: result: $ossh_result" >&5 18277 echo "$as_me:$LINENO: result: $ossh_result" >&5
13432echo "${ECHO_T}$ossh_result" >&6 18278echo "${ECHO_T}$ossh_result" >&6
13433 if test "x$ossh_result" = "xyes"; then 18279 if test "x$ossh_result" = "xyes"; then
13434 cat >>confdefs.h <<\EOF 18280 cat >>confdefs.h <<\_ACEOF
13435#define HAVE_HOST_IN_UTMPX 1 18281#define HAVE_HOST_IN_UTMPX 1
13436EOF 18282_ACEOF
13437 18283
13438 fi 18284 fi
13439 else 18285 else
13440 echo "$as_me:13440: result: no" >&5 18286 echo "$as_me:$LINENO: result: no" >&5
13441echo "${ECHO_T}no" >&6 18287echo "${ECHO_T}no" >&6
13442 fi 18288 fi
13443 18289
18290
13444# look for field 'syslen' in header 'utmpx.h' 18291# look for field 'syslen' in header 'utmpx.h'
13445 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18292 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13446 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen 18293 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
13447 echo "$as_me:13447: checking for syslen field in utmpx.h" >&5 18294 echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
13448echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6 18295echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6
13449 if eval "test \"\${$ossh_varname+set}\" = set"; then 18296 if eval "test \"\${$ossh_varname+set}\" = set"; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6 18297 echo $ECHO_N "(cached) $ECHO_C" >&6
13451else 18298else
13452 18299
13453 cat >conftest.$ac_ext <<_ACEOF 18300 cat >conftest.$ac_ext <<_ACEOF
13454#line 13454 "configure" 18301/* confdefs.h. */
13455#include "confdefs.h" 18302_ACEOF
18303cat confdefs.h >>conftest.$ac_ext
18304cat >>conftest.$ac_ext <<_ACEOF
18305/* end confdefs.h. */
13456#include <utmpx.h> 18306#include <utmpx.h>
13457 18307
13458_ACEOF 18308_ACEOF
13459if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18309if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13460 egrep "syslen" >/dev/null 2>&1; then 18310 $EGREP "syslen" >/dev/null 2>&1; then
13461 eval "$ossh_varname=yes" 18311 eval "$ossh_varname=yes"
13462else 18312else
13463 eval "$ossh_varname=no" 18313 eval "$ossh_varname=no"
@@ -13468,36 +18318,40 @@ fi
13468 18318
13469 ossh_result=`eval 'echo $'"$ossh_varname"` 18319 ossh_result=`eval 'echo $'"$ossh_varname"`
13470 if test -n "`echo $ossh_varname`"; then 18320 if test -n "`echo $ossh_varname`"; then
13471 echo "$as_me:13471: result: $ossh_result" >&5 18321 echo "$as_me:$LINENO: result: $ossh_result" >&5
13472echo "${ECHO_T}$ossh_result" >&6 18322echo "${ECHO_T}$ossh_result" >&6
13473 if test "x$ossh_result" = "xyes"; then 18323 if test "x$ossh_result" = "xyes"; then
13474 cat >>confdefs.h <<\EOF 18324 cat >>confdefs.h <<\_ACEOF
13475#define HAVE_SYSLEN_IN_UTMPX 1 18325#define HAVE_SYSLEN_IN_UTMPX 1
13476EOF 18326_ACEOF
13477 18327
13478 fi 18328 fi
13479 else 18329 else
13480 echo "$as_me:13480: result: no" >&5 18330 echo "$as_me:$LINENO: result: no" >&5
13481echo "${ECHO_T}no" >&6 18331echo "${ECHO_T}no" >&6
13482 fi 18332 fi
13483 18333
18334
13484# look for field 'ut_pid' in header 'utmp.h' 18335# look for field 'ut_pid' in header 'utmp.h'
13485 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18336 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13486 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid 18337 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
13487 echo "$as_me:13487: checking for ut_pid field in utmp.h" >&5 18338 echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
13488echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6 18339echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6
13489 if eval "test \"\${$ossh_varname+set}\" = set"; then 18340 if eval "test \"\${$ossh_varname+set}\" = set"; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6 18341 echo $ECHO_N "(cached) $ECHO_C" >&6
13491else 18342else
13492 18343
13493 cat >conftest.$ac_ext <<_ACEOF 18344 cat >conftest.$ac_ext <<_ACEOF
13494#line 13494 "configure" 18345/* confdefs.h. */
13495#include "confdefs.h" 18346_ACEOF
18347cat confdefs.h >>conftest.$ac_ext
18348cat >>conftest.$ac_ext <<_ACEOF
18349/* end confdefs.h. */
13496#include <utmp.h> 18350#include <utmp.h>
13497 18351
13498_ACEOF 18352_ACEOF
13499if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18353if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13500 egrep "ut_pid" >/dev/null 2>&1; then 18354 $EGREP "ut_pid" >/dev/null 2>&1; then
13501 eval "$ossh_varname=yes" 18355 eval "$ossh_varname=yes"
13502else 18356else
13503 eval "$ossh_varname=no" 18357 eval "$ossh_varname=no"
@@ -13508,36 +18362,40 @@ fi
13508 18362
13509 ossh_result=`eval 'echo $'"$ossh_varname"` 18363 ossh_result=`eval 'echo $'"$ossh_varname"`
13510 if test -n "`echo $ossh_varname`"; then 18364 if test -n "`echo $ossh_varname`"; then
13511 echo "$as_me:13511: result: $ossh_result" >&5 18365 echo "$as_me:$LINENO: result: $ossh_result" >&5
13512echo "${ECHO_T}$ossh_result" >&6 18366echo "${ECHO_T}$ossh_result" >&6
13513 if test "x$ossh_result" = "xyes"; then 18367 if test "x$ossh_result" = "xyes"; then
13514 cat >>confdefs.h <<\EOF 18368 cat >>confdefs.h <<\_ACEOF
13515#define HAVE_PID_IN_UTMP 1 18369#define HAVE_PID_IN_UTMP 1
13516EOF 18370_ACEOF
13517 18371
13518 fi 18372 fi
13519 else 18373 else
13520 echo "$as_me:13520: result: no" >&5 18374 echo "$as_me:$LINENO: result: no" >&5
13521echo "${ECHO_T}no" >&6 18375echo "${ECHO_T}no" >&6
13522 fi 18376 fi
13523 18377
18378
13524# look for field 'ut_type' in header 'utmp.h' 18379# look for field 'ut_type' in header 'utmp.h'
13525 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18380 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13526 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 18381 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
13527 echo "$as_me:13527: checking for ut_type field in utmp.h" >&5 18382 echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
13528echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6 18383echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6
13529 if eval "test \"\${$ossh_varname+set}\" = set"; then 18384 if eval "test \"\${$ossh_varname+set}\" = set"; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6 18385 echo $ECHO_N "(cached) $ECHO_C" >&6
13531else 18386else
13532 18387
13533 cat >conftest.$ac_ext <<_ACEOF 18388 cat >conftest.$ac_ext <<_ACEOF
13534#line 13534 "configure" 18389/* confdefs.h. */
13535#include "confdefs.h" 18390_ACEOF
18391cat confdefs.h >>conftest.$ac_ext
18392cat >>conftest.$ac_ext <<_ACEOF
18393/* end confdefs.h. */
13536#include <utmp.h> 18394#include <utmp.h>
13537 18395
13538_ACEOF 18396_ACEOF
13539if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18397if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13540 egrep "ut_type" >/dev/null 2>&1; then 18398 $EGREP "ut_type" >/dev/null 2>&1; then
13541 eval "$ossh_varname=yes" 18399 eval "$ossh_varname=yes"
13542else 18400else
13543 eval "$ossh_varname=no" 18401 eval "$ossh_varname=no"
@@ -13548,36 +18406,40 @@ fi
13548 18406
13549 ossh_result=`eval 'echo $'"$ossh_varname"` 18407 ossh_result=`eval 'echo $'"$ossh_varname"`
13550 if test -n "`echo $ossh_varname`"; then 18408 if test -n "`echo $ossh_varname`"; then
13551 echo "$as_me:13551: result: $ossh_result" >&5 18409 echo "$as_me:$LINENO: result: $ossh_result" >&5
13552echo "${ECHO_T}$ossh_result" >&6 18410echo "${ECHO_T}$ossh_result" >&6
13553 if test "x$ossh_result" = "xyes"; then 18411 if test "x$ossh_result" = "xyes"; then
13554 cat >>confdefs.h <<\EOF 18412 cat >>confdefs.h <<\_ACEOF
13555#define HAVE_TYPE_IN_UTMP 1 18413#define HAVE_TYPE_IN_UTMP 1
13556EOF 18414_ACEOF
13557 18415
13558 fi 18416 fi
13559 else 18417 else
13560 echo "$as_me:13560: result: no" >&5 18418 echo "$as_me:$LINENO: result: no" >&5
13561echo "${ECHO_T}no" >&6 18419echo "${ECHO_T}no" >&6
13562 fi 18420 fi
13563 18421
18422
13564# look for field 'ut_type' in header 'utmpx.h' 18423# look for field 'ut_type' in header 'utmpx.h'
13565 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18424 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13566 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 18425 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
13567 echo "$as_me:13567: checking for ut_type field in utmpx.h" >&5 18426 echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
13568echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6 18427echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6
13569 if eval "test \"\${$ossh_varname+set}\" = set"; then 18428 if eval "test \"\${$ossh_varname+set}\" = set"; then
13570 echo $ECHO_N "(cached) $ECHO_C" >&6 18429 echo $ECHO_N "(cached) $ECHO_C" >&6
13571else 18430else
13572 18431
13573 cat >conftest.$ac_ext <<_ACEOF 18432 cat >conftest.$ac_ext <<_ACEOF
13574#line 13574 "configure" 18433/* confdefs.h. */
13575#include "confdefs.h" 18434_ACEOF
18435cat confdefs.h >>conftest.$ac_ext
18436cat >>conftest.$ac_ext <<_ACEOF
18437/* end confdefs.h. */
13576#include <utmpx.h> 18438#include <utmpx.h>
13577 18439
13578_ACEOF 18440_ACEOF
13579if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18441if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13580 egrep "ut_type" >/dev/null 2>&1; then 18442 $EGREP "ut_type" >/dev/null 2>&1; then
13581 eval "$ossh_varname=yes" 18443 eval "$ossh_varname=yes"
13582else 18444else
13583 eval "$ossh_varname=no" 18445 eval "$ossh_varname=no"
@@ -13588,36 +18450,40 @@ fi
13588 18450
13589 ossh_result=`eval 'echo $'"$ossh_varname"` 18451 ossh_result=`eval 'echo $'"$ossh_varname"`
13590 if test -n "`echo $ossh_varname`"; then 18452 if test -n "`echo $ossh_varname`"; then
13591 echo "$as_me:13591: result: $ossh_result" >&5 18453 echo "$as_me:$LINENO: result: $ossh_result" >&5
13592echo "${ECHO_T}$ossh_result" >&6 18454echo "${ECHO_T}$ossh_result" >&6
13593 if test "x$ossh_result" = "xyes"; then 18455 if test "x$ossh_result" = "xyes"; then
13594 cat >>confdefs.h <<\EOF 18456 cat >>confdefs.h <<\_ACEOF
13595#define HAVE_TYPE_IN_UTMPX 1 18457#define HAVE_TYPE_IN_UTMPX 1
13596EOF 18458_ACEOF
13597 18459
13598 fi 18460 fi
13599 else 18461 else
13600 echo "$as_me:13600: result: no" >&5 18462 echo "$as_me:$LINENO: result: no" >&5
13601echo "${ECHO_T}no" >&6 18463echo "${ECHO_T}no" >&6
13602 fi 18464 fi
13603 18465
18466
13604# look for field 'ut_tv' in header 'utmp.h' 18467# look for field 'ut_tv' in header 'utmp.h'
13605 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18468 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13606 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 18469 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
13607 echo "$as_me:13607: checking for ut_tv field in utmp.h" >&5 18470 echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
13608echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6 18471echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6
13609 if eval "test \"\${$ossh_varname+set}\" = set"; then 18472 if eval "test \"\${$ossh_varname+set}\" = set"; then
13610 echo $ECHO_N "(cached) $ECHO_C" >&6 18473 echo $ECHO_N "(cached) $ECHO_C" >&6
13611else 18474else
13612 18475
13613 cat >conftest.$ac_ext <<_ACEOF 18476 cat >conftest.$ac_ext <<_ACEOF
13614#line 13614 "configure" 18477/* confdefs.h. */
13615#include "confdefs.h" 18478_ACEOF
18479cat confdefs.h >>conftest.$ac_ext
18480cat >>conftest.$ac_ext <<_ACEOF
18481/* end confdefs.h. */
13616#include <utmp.h> 18482#include <utmp.h>
13617 18483
13618_ACEOF 18484_ACEOF
13619if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18485if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13620 egrep "ut_tv" >/dev/null 2>&1; then 18486 $EGREP "ut_tv" >/dev/null 2>&1; then
13621 eval "$ossh_varname=yes" 18487 eval "$ossh_varname=yes"
13622else 18488else
13623 eval "$ossh_varname=no" 18489 eval "$ossh_varname=no"
@@ -13628,36 +18494,40 @@ fi
13628 18494
13629 ossh_result=`eval 'echo $'"$ossh_varname"` 18495 ossh_result=`eval 'echo $'"$ossh_varname"`
13630 if test -n "`echo $ossh_varname`"; then 18496 if test -n "`echo $ossh_varname`"; then
13631 echo "$as_me:13631: result: $ossh_result" >&5 18497 echo "$as_me:$LINENO: result: $ossh_result" >&5
13632echo "${ECHO_T}$ossh_result" >&6 18498echo "${ECHO_T}$ossh_result" >&6
13633 if test "x$ossh_result" = "xyes"; then 18499 if test "x$ossh_result" = "xyes"; then
13634 cat >>confdefs.h <<\EOF 18500 cat >>confdefs.h <<\_ACEOF
13635#define HAVE_TV_IN_UTMP 1 18501#define HAVE_TV_IN_UTMP 1
13636EOF 18502_ACEOF
13637 18503
13638 fi 18504 fi
13639 else 18505 else
13640 echo "$as_me:13640: result: no" >&5 18506 echo "$as_me:$LINENO: result: no" >&5
13641echo "${ECHO_T}no" >&6 18507echo "${ECHO_T}no" >&6
13642 fi 18508 fi
13643 18509
18510
13644# look for field 'ut_id' in header 'utmp.h' 18511# look for field 'ut_id' in header 'utmp.h'
13645 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18512 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13646 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 18513 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
13647 echo "$as_me:13647: checking for ut_id field in utmp.h" >&5 18514 echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
13648echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6 18515echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6
13649 if eval "test \"\${$ossh_varname+set}\" = set"; then 18516 if eval "test \"\${$ossh_varname+set}\" = set"; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6 18517 echo $ECHO_N "(cached) $ECHO_C" >&6
13651else 18518else
13652 18519
13653 cat >conftest.$ac_ext <<_ACEOF 18520 cat >conftest.$ac_ext <<_ACEOF
13654#line 13654 "configure" 18521/* confdefs.h. */
13655#include "confdefs.h" 18522_ACEOF
18523cat confdefs.h >>conftest.$ac_ext
18524cat >>conftest.$ac_ext <<_ACEOF
18525/* end confdefs.h. */
13656#include <utmp.h> 18526#include <utmp.h>
13657 18527
13658_ACEOF 18528_ACEOF
13659if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18529if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13660 egrep "ut_id" >/dev/null 2>&1; then 18530 $EGREP "ut_id" >/dev/null 2>&1; then
13661 eval "$ossh_varname=yes" 18531 eval "$ossh_varname=yes"
13662else 18532else
13663 eval "$ossh_varname=no" 18533 eval "$ossh_varname=no"
@@ -13668,36 +18538,40 @@ fi
13668 18538
13669 ossh_result=`eval 'echo $'"$ossh_varname"` 18539 ossh_result=`eval 'echo $'"$ossh_varname"`
13670 if test -n "`echo $ossh_varname`"; then 18540 if test -n "`echo $ossh_varname`"; then
13671 echo "$as_me:13671: result: $ossh_result" >&5 18541 echo "$as_me:$LINENO: result: $ossh_result" >&5
13672echo "${ECHO_T}$ossh_result" >&6 18542echo "${ECHO_T}$ossh_result" >&6
13673 if test "x$ossh_result" = "xyes"; then 18543 if test "x$ossh_result" = "xyes"; then
13674 cat >>confdefs.h <<\EOF 18544 cat >>confdefs.h <<\_ACEOF
13675#define HAVE_ID_IN_UTMP 1 18545#define HAVE_ID_IN_UTMP 1
13676EOF 18546_ACEOF
13677 18547
13678 fi 18548 fi
13679 else 18549 else
13680 echo "$as_me:13680: result: no" >&5 18550 echo "$as_me:$LINENO: result: no" >&5
13681echo "${ECHO_T}no" >&6 18551echo "${ECHO_T}no" >&6
13682 fi 18552 fi
13683 18553
18554
13684# look for field 'ut_id' in header 'utmpx.h' 18555# look for field 'ut_id' in header 'utmpx.h'
13685 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18556 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13686 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 18557 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
13687 echo "$as_me:13687: checking for ut_id field in utmpx.h" >&5 18558 echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
13688echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6 18559echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6
13689 if eval "test \"\${$ossh_varname+set}\" = set"; then 18560 if eval "test \"\${$ossh_varname+set}\" = set"; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6 18561 echo $ECHO_N "(cached) $ECHO_C" >&6
13691else 18562else
13692 18563
13693 cat >conftest.$ac_ext <<_ACEOF 18564 cat >conftest.$ac_ext <<_ACEOF
13694#line 13694 "configure" 18565/* confdefs.h. */
13695#include "confdefs.h" 18566_ACEOF
18567cat confdefs.h >>conftest.$ac_ext
18568cat >>conftest.$ac_ext <<_ACEOF
18569/* end confdefs.h. */
13696#include <utmpx.h> 18570#include <utmpx.h>
13697 18571
13698_ACEOF 18572_ACEOF
13699if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18573if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13700 egrep "ut_id" >/dev/null 2>&1; then 18574 $EGREP "ut_id" >/dev/null 2>&1; then
13701 eval "$ossh_varname=yes" 18575 eval "$ossh_varname=yes"
13702else 18576else
13703 eval "$ossh_varname=no" 18577 eval "$ossh_varname=no"
@@ -13708,36 +18582,40 @@ fi
13708 18582
13709 ossh_result=`eval 'echo $'"$ossh_varname"` 18583 ossh_result=`eval 'echo $'"$ossh_varname"`
13710 if test -n "`echo $ossh_varname`"; then 18584 if test -n "`echo $ossh_varname`"; then
13711 echo "$as_me:13711: result: $ossh_result" >&5 18585 echo "$as_me:$LINENO: result: $ossh_result" >&5
13712echo "${ECHO_T}$ossh_result" >&6 18586echo "${ECHO_T}$ossh_result" >&6
13713 if test "x$ossh_result" = "xyes"; then 18587 if test "x$ossh_result" = "xyes"; then
13714 cat >>confdefs.h <<\EOF 18588 cat >>confdefs.h <<\_ACEOF
13715#define HAVE_ID_IN_UTMPX 1 18589#define HAVE_ID_IN_UTMPX 1
13716EOF 18590_ACEOF
13717 18591
13718 fi 18592 fi
13719 else 18593 else
13720 echo "$as_me:13720: result: no" >&5 18594 echo "$as_me:$LINENO: result: no" >&5
13721echo "${ECHO_T}no" >&6 18595echo "${ECHO_T}no" >&6
13722 fi 18596 fi
13723 18597
18598
13724# look for field 'ut_addr' in header 'utmp.h' 18599# look for field 'ut_addr' in header 'utmp.h'
13725 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18600 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13726 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 18601 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
13727 echo "$as_me:13727: checking for ut_addr field in utmp.h" >&5 18602 echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
13728echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6 18603echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6
13729 if eval "test \"\${$ossh_varname+set}\" = set"; then 18604 if eval "test \"\${$ossh_varname+set}\" = set"; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6 18605 echo $ECHO_N "(cached) $ECHO_C" >&6
13731else 18606else
13732 18607
13733 cat >conftest.$ac_ext <<_ACEOF 18608 cat >conftest.$ac_ext <<_ACEOF
13734#line 13734 "configure" 18609/* confdefs.h. */
13735#include "confdefs.h" 18610_ACEOF
18611cat confdefs.h >>conftest.$ac_ext
18612cat >>conftest.$ac_ext <<_ACEOF
18613/* end confdefs.h. */
13736#include <utmp.h> 18614#include <utmp.h>
13737 18615
13738_ACEOF 18616_ACEOF
13739if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18617if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13740 egrep "ut_addr" >/dev/null 2>&1; then 18618 $EGREP "ut_addr" >/dev/null 2>&1; then
13741 eval "$ossh_varname=yes" 18619 eval "$ossh_varname=yes"
13742else 18620else
13743 eval "$ossh_varname=no" 18621 eval "$ossh_varname=no"
@@ -13748,36 +18626,40 @@ fi
13748 18626
13749 ossh_result=`eval 'echo $'"$ossh_varname"` 18627 ossh_result=`eval 'echo $'"$ossh_varname"`
13750 if test -n "`echo $ossh_varname`"; then 18628 if test -n "`echo $ossh_varname`"; then
13751 echo "$as_me:13751: result: $ossh_result" >&5 18629 echo "$as_me:$LINENO: result: $ossh_result" >&5
13752echo "${ECHO_T}$ossh_result" >&6 18630echo "${ECHO_T}$ossh_result" >&6
13753 if test "x$ossh_result" = "xyes"; then 18631 if test "x$ossh_result" = "xyes"; then
13754 cat >>confdefs.h <<\EOF 18632 cat >>confdefs.h <<\_ACEOF
13755#define HAVE_ADDR_IN_UTMP 1 18633#define HAVE_ADDR_IN_UTMP 1
13756EOF 18634_ACEOF
13757 18635
13758 fi 18636 fi
13759 else 18637 else
13760 echo "$as_me:13760: result: no" >&5 18638 echo "$as_me:$LINENO: result: no" >&5
13761echo "${ECHO_T}no" >&6 18639echo "${ECHO_T}no" >&6
13762 fi 18640 fi
13763 18641
18642
13764# look for field 'ut_addr' in header 'utmpx.h' 18643# look for field 'ut_addr' in header 'utmpx.h'
13765 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18644 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13766 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 18645 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
13767 echo "$as_me:13767: checking for ut_addr field in utmpx.h" >&5 18646 echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
13768echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6 18647echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6
13769 if eval "test \"\${$ossh_varname+set}\" = set"; then 18648 if eval "test \"\${$ossh_varname+set}\" = set"; then
13770 echo $ECHO_N "(cached) $ECHO_C" >&6 18649 echo $ECHO_N "(cached) $ECHO_C" >&6
13771else 18650else
13772 18651
13773 cat >conftest.$ac_ext <<_ACEOF 18652 cat >conftest.$ac_ext <<_ACEOF
13774#line 13774 "configure" 18653/* confdefs.h. */
13775#include "confdefs.h" 18654_ACEOF
18655cat confdefs.h >>conftest.$ac_ext
18656cat >>conftest.$ac_ext <<_ACEOF
18657/* end confdefs.h. */
13776#include <utmpx.h> 18658#include <utmpx.h>
13777 18659
13778_ACEOF 18660_ACEOF
13779if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18661if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13780 egrep "ut_addr" >/dev/null 2>&1; then 18662 $EGREP "ut_addr" >/dev/null 2>&1; then
13781 eval "$ossh_varname=yes" 18663 eval "$ossh_varname=yes"
13782else 18664else
13783 eval "$ossh_varname=no" 18665 eval "$ossh_varname=no"
@@ -13788,36 +18670,40 @@ fi
13788 18670
13789 ossh_result=`eval 'echo $'"$ossh_varname"` 18671 ossh_result=`eval 'echo $'"$ossh_varname"`
13790 if test -n "`echo $ossh_varname`"; then 18672 if test -n "`echo $ossh_varname`"; then
13791 echo "$as_me:13791: result: $ossh_result" >&5 18673 echo "$as_me:$LINENO: result: $ossh_result" >&5
13792echo "${ECHO_T}$ossh_result" >&6 18674echo "${ECHO_T}$ossh_result" >&6
13793 if test "x$ossh_result" = "xyes"; then 18675 if test "x$ossh_result" = "xyes"; then
13794 cat >>confdefs.h <<\EOF 18676 cat >>confdefs.h <<\_ACEOF
13795#define HAVE_ADDR_IN_UTMPX 1 18677#define HAVE_ADDR_IN_UTMPX 1
13796EOF 18678_ACEOF
13797 18679
13798 fi 18680 fi
13799 else 18681 else
13800 echo "$as_me:13800: result: no" >&5 18682 echo "$as_me:$LINENO: result: no" >&5
13801echo "${ECHO_T}no" >&6 18683echo "${ECHO_T}no" >&6
13802 fi 18684 fi
13803 18685
18686
13804# look for field 'ut_addr_v6' in header 'utmp.h' 18687# look for field 'ut_addr_v6' in header 'utmp.h'
13805 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18688 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13806 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 18689 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
13807 echo "$as_me:13807: checking for ut_addr_v6 field in utmp.h" >&5 18690 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
13808echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6 18691echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6
13809 if eval "test \"\${$ossh_varname+set}\" = set"; then 18692 if eval "test \"\${$ossh_varname+set}\" = set"; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6 18693 echo $ECHO_N "(cached) $ECHO_C" >&6
13811else 18694else
13812 18695
13813 cat >conftest.$ac_ext <<_ACEOF 18696 cat >conftest.$ac_ext <<_ACEOF
13814#line 13814 "configure" 18697/* confdefs.h. */
13815#include "confdefs.h" 18698_ACEOF
18699cat confdefs.h >>conftest.$ac_ext
18700cat >>conftest.$ac_ext <<_ACEOF
18701/* end confdefs.h. */
13816#include <utmp.h> 18702#include <utmp.h>
13817 18703
13818_ACEOF 18704_ACEOF
13819if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18705if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13820 egrep "ut_addr_v6" >/dev/null 2>&1; then 18706 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
13821 eval "$ossh_varname=yes" 18707 eval "$ossh_varname=yes"
13822else 18708else
13823 eval "$ossh_varname=no" 18709 eval "$ossh_varname=no"
@@ -13828,36 +18714,40 @@ fi
13828 18714
13829 ossh_result=`eval 'echo $'"$ossh_varname"` 18715 ossh_result=`eval 'echo $'"$ossh_varname"`
13830 if test -n "`echo $ossh_varname`"; then 18716 if test -n "`echo $ossh_varname`"; then
13831 echo "$as_me:13831: result: $ossh_result" >&5 18717 echo "$as_me:$LINENO: result: $ossh_result" >&5
13832echo "${ECHO_T}$ossh_result" >&6 18718echo "${ECHO_T}$ossh_result" >&6
13833 if test "x$ossh_result" = "xyes"; then 18719 if test "x$ossh_result" = "xyes"; then
13834 cat >>confdefs.h <<\EOF 18720 cat >>confdefs.h <<\_ACEOF
13835#define HAVE_ADDR_V6_IN_UTMP 1 18721#define HAVE_ADDR_V6_IN_UTMP 1
13836EOF 18722_ACEOF
13837 18723
13838 fi 18724 fi
13839 else 18725 else
13840 echo "$as_me:13840: result: no" >&5 18726 echo "$as_me:$LINENO: result: no" >&5
13841echo "${ECHO_T}no" >&6 18727echo "${ECHO_T}no" >&6
13842 fi 18728 fi
13843 18729
18730
13844# look for field 'ut_addr_v6' in header 'utmpx.h' 18731# look for field 'ut_addr_v6' in header 'utmpx.h'
13845 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18732 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13846 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 18733 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
13847 echo "$as_me:13847: checking for ut_addr_v6 field in utmpx.h" >&5 18734 echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
13848echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6 18735echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6
13849 if eval "test \"\${$ossh_varname+set}\" = set"; then 18736 if eval "test \"\${$ossh_varname+set}\" = set"; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6 18737 echo $ECHO_N "(cached) $ECHO_C" >&6
13851else 18738else
13852 18739
13853 cat >conftest.$ac_ext <<_ACEOF 18740 cat >conftest.$ac_ext <<_ACEOF
13854#line 13854 "configure" 18741/* confdefs.h. */
13855#include "confdefs.h" 18742_ACEOF
18743cat confdefs.h >>conftest.$ac_ext
18744cat >>conftest.$ac_ext <<_ACEOF
18745/* end confdefs.h. */
13856#include <utmpx.h> 18746#include <utmpx.h>
13857 18747
13858_ACEOF 18748_ACEOF
13859if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18749if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13860 egrep "ut_addr_v6" >/dev/null 2>&1; then 18750 $EGREP "ut_addr_v6" >/dev/null 2>&1; then
13861 eval "$ossh_varname=yes" 18751 eval "$ossh_varname=yes"
13862else 18752else
13863 eval "$ossh_varname=no" 18753 eval "$ossh_varname=no"
@@ -13868,36 +18758,40 @@ fi
13868 18758
13869 ossh_result=`eval 'echo $'"$ossh_varname"` 18759 ossh_result=`eval 'echo $'"$ossh_varname"`
13870 if test -n "`echo $ossh_varname`"; then 18760 if test -n "`echo $ossh_varname`"; then
13871 echo "$as_me:13871: result: $ossh_result" >&5 18761 echo "$as_me:$LINENO: result: $ossh_result" >&5
13872echo "${ECHO_T}$ossh_result" >&6 18762echo "${ECHO_T}$ossh_result" >&6
13873 if test "x$ossh_result" = "xyes"; then 18763 if test "x$ossh_result" = "xyes"; then
13874 cat >>confdefs.h <<\EOF 18764 cat >>confdefs.h <<\_ACEOF
13875#define HAVE_ADDR_V6_IN_UTMPX 1 18765#define HAVE_ADDR_V6_IN_UTMPX 1
13876EOF 18766_ACEOF
13877 18767
13878 fi 18768 fi
13879 else 18769 else
13880 echo "$as_me:13880: result: no" >&5 18770 echo "$as_me:$LINENO: result: no" >&5
13881echo "${ECHO_T}no" >&6 18771echo "${ECHO_T}no" >&6
13882 fi 18772 fi
13883 18773
18774
13884# look for field 'ut_exit' in header 'utmp.h' 18775# look for field 'ut_exit' in header 'utmp.h'
13885 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18776 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13886 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit 18777 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
13887 echo "$as_me:13887: checking for ut_exit field in utmp.h" >&5 18778 echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
13888echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6 18779echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6
13889 if eval "test \"\${$ossh_varname+set}\" = set"; then 18780 if eval "test \"\${$ossh_varname+set}\" = set"; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6 18781 echo $ECHO_N "(cached) $ECHO_C" >&6
13891else 18782else
13892 18783
13893 cat >conftest.$ac_ext <<_ACEOF 18784 cat >conftest.$ac_ext <<_ACEOF
13894#line 13894 "configure" 18785/* confdefs.h. */
13895#include "confdefs.h" 18786_ACEOF
18787cat confdefs.h >>conftest.$ac_ext
18788cat >>conftest.$ac_ext <<_ACEOF
18789/* end confdefs.h. */
13896#include <utmp.h> 18790#include <utmp.h>
13897 18791
13898_ACEOF 18792_ACEOF
13899if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18793if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13900 egrep "ut_exit" >/dev/null 2>&1; then 18794 $EGREP "ut_exit" >/dev/null 2>&1; then
13901 eval "$ossh_varname=yes" 18795 eval "$ossh_varname=yes"
13902else 18796else
13903 eval "$ossh_varname=no" 18797 eval "$ossh_varname=no"
@@ -13908,36 +18802,40 @@ fi
13908 18802
13909 ossh_result=`eval 'echo $'"$ossh_varname"` 18803 ossh_result=`eval 'echo $'"$ossh_varname"`
13910 if test -n "`echo $ossh_varname`"; then 18804 if test -n "`echo $ossh_varname`"; then
13911 echo "$as_me:13911: result: $ossh_result" >&5 18805 echo "$as_me:$LINENO: result: $ossh_result" >&5
13912echo "${ECHO_T}$ossh_result" >&6 18806echo "${ECHO_T}$ossh_result" >&6
13913 if test "x$ossh_result" = "xyes"; then 18807 if test "x$ossh_result" = "xyes"; then
13914 cat >>confdefs.h <<\EOF 18808 cat >>confdefs.h <<\_ACEOF
13915#define HAVE_EXIT_IN_UTMP 1 18809#define HAVE_EXIT_IN_UTMP 1
13916EOF 18810_ACEOF
13917 18811
13918 fi 18812 fi
13919 else 18813 else
13920 echo "$as_me:13920: result: no" >&5 18814 echo "$as_me:$LINENO: result: no" >&5
13921echo "${ECHO_T}no" >&6 18815echo "${ECHO_T}no" >&6
13922 fi 18816 fi
13923 18817
18818
13924# look for field 'ut_time' in header 'utmp.h' 18819# look for field 'ut_time' in header 'utmp.h'
13925 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 18820 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
13926 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 18821 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13927 echo "$as_me:13927: checking for ut_time field in utmp.h" >&5 18822 echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
13928echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6 18823echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6
13929 if eval "test \"\${$ossh_varname+set}\" = set"; then 18824 if eval "test \"\${$ossh_varname+set}\" = set"; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6 18825 echo $ECHO_N "(cached) $ECHO_C" >&6
13931else 18826else
13932 18827
13933 cat >conftest.$ac_ext <<_ACEOF 18828 cat >conftest.$ac_ext <<_ACEOF
13934#line 13934 "configure" 18829/* confdefs.h. */
13935#include "confdefs.h" 18830_ACEOF
18831cat confdefs.h >>conftest.$ac_ext
18832cat >>conftest.$ac_ext <<_ACEOF
18833/* end confdefs.h. */
13936#include <utmp.h> 18834#include <utmp.h>
13937 18835
13938_ACEOF 18836_ACEOF
13939if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18837if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13940 egrep "ut_time" >/dev/null 2>&1; then 18838 $EGREP "ut_time" >/dev/null 2>&1; then
13941 eval "$ossh_varname=yes" 18839 eval "$ossh_varname=yes"
13942else 18840else
13943 eval "$ossh_varname=no" 18841 eval "$ossh_varname=no"
@@ -13948,36 +18846,40 @@ fi
13948 18846
13949 ossh_result=`eval 'echo $'"$ossh_varname"` 18847 ossh_result=`eval 'echo $'"$ossh_varname"`
13950 if test -n "`echo $ossh_varname`"; then 18848 if test -n "`echo $ossh_varname`"; then
13951 echo "$as_me:13951: result: $ossh_result" >&5 18849 echo "$as_me:$LINENO: result: $ossh_result" >&5
13952echo "${ECHO_T}$ossh_result" >&6 18850echo "${ECHO_T}$ossh_result" >&6
13953 if test "x$ossh_result" = "xyes"; then 18851 if test "x$ossh_result" = "xyes"; then
13954 cat >>confdefs.h <<\EOF 18852 cat >>confdefs.h <<\_ACEOF
13955#define HAVE_TIME_IN_UTMP 1 18853#define HAVE_TIME_IN_UTMP 1
13956EOF 18854_ACEOF
13957 18855
13958 fi 18856 fi
13959 else 18857 else
13960 echo "$as_me:13960: result: no" >&5 18858 echo "$as_me:$LINENO: result: no" >&5
13961echo "${ECHO_T}no" >&6 18859echo "${ECHO_T}no" >&6
13962 fi 18860 fi
13963 18861
18862
13964# look for field 'ut_time' in header 'utmpx.h' 18863# look for field 'ut_time' in header 'utmpx.h'
13965 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18864 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
13966 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 18865 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
13967 echo "$as_me:13967: checking for ut_time field in utmpx.h" >&5 18866 echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
13968echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6 18867echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6
13969 if eval "test \"\${$ossh_varname+set}\" = set"; then 18868 if eval "test \"\${$ossh_varname+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6 18869 echo $ECHO_N "(cached) $ECHO_C" >&6
13971else 18870else
13972 18871
13973 cat >conftest.$ac_ext <<_ACEOF 18872 cat >conftest.$ac_ext <<_ACEOF
13974#line 13974 "configure" 18873/* confdefs.h. */
13975#include "confdefs.h" 18874_ACEOF
18875cat confdefs.h >>conftest.$ac_ext
18876cat >>conftest.$ac_ext <<_ACEOF
18877/* end confdefs.h. */
13976#include <utmpx.h> 18878#include <utmpx.h>
13977 18879
13978_ACEOF 18880_ACEOF
13979if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18881if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13980 egrep "ut_time" >/dev/null 2>&1; then 18882 $EGREP "ut_time" >/dev/null 2>&1; then
13981 eval "$ossh_varname=yes" 18883 eval "$ossh_varname=yes"
13982else 18884else
13983 eval "$ossh_varname=no" 18885 eval "$ossh_varname=no"
@@ -13988,36 +18890,40 @@ fi
13988 18890
13989 ossh_result=`eval 'echo $'"$ossh_varname"` 18891 ossh_result=`eval 'echo $'"$ossh_varname"`
13990 if test -n "`echo $ossh_varname`"; then 18892 if test -n "`echo $ossh_varname`"; then
13991 echo "$as_me:13991: result: $ossh_result" >&5 18893 echo "$as_me:$LINENO: result: $ossh_result" >&5
13992echo "${ECHO_T}$ossh_result" >&6 18894echo "${ECHO_T}$ossh_result" >&6
13993 if test "x$ossh_result" = "xyes"; then 18895 if test "x$ossh_result" = "xyes"; then
13994 cat >>confdefs.h <<\EOF 18896 cat >>confdefs.h <<\_ACEOF
13995#define HAVE_TIME_IN_UTMPX 1 18897#define HAVE_TIME_IN_UTMPX 1
13996EOF 18898_ACEOF
13997 18899
13998 fi 18900 fi
13999 else 18901 else
14000 echo "$as_me:14000: result: no" >&5 18902 echo "$as_me:$LINENO: result: no" >&5
14001echo "${ECHO_T}no" >&6 18903echo "${ECHO_T}no" >&6
14002 fi 18904 fi
14003 18905
18906
14004# look for field 'ut_tv' in header 'utmpx.h' 18907# look for field 'ut_tv' in header 'utmpx.h'
14005 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 18908 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
14006 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 18909 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
14007 echo "$as_me:14007: checking for ut_tv field in utmpx.h" >&5 18910 echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
14008echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6 18911echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6
14009 if eval "test \"\${$ossh_varname+set}\" = set"; then 18912 if eval "test \"\${$ossh_varname+set}\" = set"; then
14010 echo $ECHO_N "(cached) $ECHO_C" >&6 18913 echo $ECHO_N "(cached) $ECHO_C" >&6
14011else 18914else
14012 18915
14013 cat >conftest.$ac_ext <<_ACEOF 18916 cat >conftest.$ac_ext <<_ACEOF
14014#line 14014 "configure" 18917/* confdefs.h. */
14015#include "confdefs.h" 18918_ACEOF
18919cat confdefs.h >>conftest.$ac_ext
18920cat >>conftest.$ac_ext <<_ACEOF
18921/* end confdefs.h. */
14016#include <utmpx.h> 18922#include <utmpx.h>
14017 18923
14018_ACEOF 18924_ACEOF
14019if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 18925if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14020 egrep "ut_tv" >/dev/null 2>&1; then 18926 $EGREP "ut_tv" >/dev/null 2>&1; then
14021 eval "$ossh_varname=yes" 18927 eval "$ossh_varname=yes"
14022else 18928else
14023 eval "$ossh_varname=no" 18929 eval "$ossh_varname=no"
@@ -14028,27 +18934,31 @@ fi
14028 18934
14029 ossh_result=`eval 'echo $'"$ossh_varname"` 18935 ossh_result=`eval 'echo $'"$ossh_varname"`
14030 if test -n "`echo $ossh_varname`"; then 18936 if test -n "`echo $ossh_varname`"; then
14031 echo "$as_me:14031: result: $ossh_result" >&5 18937 echo "$as_me:$LINENO: result: $ossh_result" >&5
14032echo "${ECHO_T}$ossh_result" >&6 18938echo "${ECHO_T}$ossh_result" >&6
14033 if test "x$ossh_result" = "xyes"; then 18939 if test "x$ossh_result" = "xyes"; then
14034 cat >>confdefs.h <<\EOF 18940 cat >>confdefs.h <<\_ACEOF
14035#define HAVE_TV_IN_UTMPX 1 18941#define HAVE_TV_IN_UTMPX 1
14036EOF 18942_ACEOF
14037 18943
14038 fi 18944 fi
14039 else 18945 else
14040 echo "$as_me:14040: result: no" >&5 18946 echo "$as_me:$LINENO: result: no" >&5
14041echo "${ECHO_T}no" >&6 18947echo "${ECHO_T}no" >&6
14042 fi 18948 fi
14043 18949
14044echo "$as_me:14044: checking for struct stat.st_blksize" >&5 18950
18951echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
14045echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 18952echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
14046if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 18953if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6 18954 echo $ECHO_N "(cached) $ECHO_C" >&6
14048else 18955else
14049 cat >conftest.$ac_ext <<_ACEOF 18956 cat >conftest.$ac_ext <<_ACEOF
14050#line 14050 "configure" 18957/* confdefs.h. */
14051#include "confdefs.h" 18958_ACEOF
18959cat confdefs.h >>conftest.$ac_ext
18960cat >>conftest.$ac_ext <<_ACEOF
18961/* end confdefs.h. */
14052$ac_includes_default 18962$ac_includes_default
14053int 18963int
14054main () 18964main ()
@@ -14061,44 +18971,106 @@ return 0;
14061} 18971}
14062_ACEOF 18972_ACEOF
14063rm -f conftest.$ac_objext 18973rm -f conftest.$ac_objext
14064if { (eval echo "$as_me:14064: \"$ac_compile\"") >&5 18974if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>&5 18975 (eval $ac_compile) 2>conftest.er1
14066 ac_status=$? 18976 ac_status=$?
14067 echo "$as_me:14067: \$? = $ac_status" >&5 18977 grep -v '^ *+' conftest.er1 >conftest.err
18978 rm -f conftest.er1
18979 cat conftest.err >&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } && 18981 (exit $ac_status); } &&
14069 { ac_try='test -s conftest.$ac_objext' 18982 { ac_try='test -z "$ac_c_werror_flag"
14070 { (eval echo "$as_me:14070: \"$ac_try\"") >&5 18983 || test ! -s conftest.err'
18984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18985 (eval $ac_try) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); }; } &&
18989 { ac_try='test -s conftest.$ac_objext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5 18991 (eval $ac_try) 2>&5
14072 ac_status=$? 18992 ac_status=$?
14073 echo "$as_me:14073: \$? = $ac_status" >&5 18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then 18994 (exit $ac_status); }; }; then
14075 ac_cv_member_struct_stat_st_blksize=yes 18995 ac_cv_member_struct_stat_st_blksize=yes
14076else 18996else
14077 echo "$as_me: failed program was:" >&5 18997 echo "$as_me: failed program was:" >&5
14078cat conftest.$ac_ext >&5 18998sed 's/^/| /' conftest.$ac_ext >&5
18999
19000cat >conftest.$ac_ext <<_ACEOF
19001/* confdefs.h. */
19002_ACEOF
19003cat confdefs.h >>conftest.$ac_ext
19004cat >>conftest.$ac_ext <<_ACEOF
19005/* end confdefs.h. */
19006$ac_includes_default
19007int
19008main ()
19009{
19010static struct stat ac_aggr;
19011if (sizeof ac_aggr.st_blksize)
19012return 0;
19013 ;
19014 return 0;
19015}
19016_ACEOF
19017rm -f conftest.$ac_objext
19018if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19019 (eval $ac_compile) 2>conftest.er1
19020 ac_status=$?
19021 grep -v '^ *+' conftest.er1 >conftest.err
19022 rm -f conftest.er1
19023 cat conftest.err >&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } &&
19026 { ac_try='test -z "$ac_c_werror_flag"
19027 || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try='test -s conftest.$ac_objext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 ac_cv_member_struct_stat_st_blksize=yes
19040else
19041 echo "$as_me: failed program was:" >&5
19042sed 's/^/| /' conftest.$ac_ext >&5
19043
14079ac_cv_member_struct_stat_st_blksize=no 19044ac_cv_member_struct_stat_st_blksize=no
14080fi 19045fi
14081rm -f conftest.$ac_objext conftest.$ac_ext 19046rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19047fi
19048rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14082fi 19049fi
14083echo "$as_me:14083: result: $ac_cv_member_struct_stat_st_blksize" >&5 19050echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
14084echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 19051echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
14085if test $ac_cv_member_struct_stat_st_blksize = yes; then 19052if test $ac_cv_member_struct_stat_st_blksize = yes; then
14086 19053
14087cat >>confdefs.h <<EOF 19054cat >>confdefs.h <<_ACEOF
14088#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 19055#define HAVE_STRUCT_STAT_ST_BLKSIZE 1
14089EOF 19056_ACEOF
19057
14090 19058
14091fi 19059fi
14092 19060
14093echo "$as_me:14093: checking for ss_family field in struct sockaddr_storage" >&5 19061
19062echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
14094echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6 19063echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6
14095if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then 19064if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6 19065 echo $ECHO_N "(cached) $ECHO_C" >&6
14097else 19066else
14098 19067
14099 cat >conftest.$ac_ext <<_ACEOF 19068 cat >conftest.$ac_ext <<_ACEOF
14100#line 14100 "configure" 19069/* confdefs.h. */
14101#include "confdefs.h" 19070_ACEOF
19071cat confdefs.h >>conftest.$ac_ext
19072cat >>conftest.$ac_ext <<_ACEOF
19073/* end confdefs.h. */
14102 19074
14103#include <sys/types.h> 19075#include <sys/types.h>
14104#include <sys/socket.h> 19076#include <sys/socket.h>
@@ -14112,44 +19084,58 @@ main ()
14112} 19084}
14113_ACEOF 19085_ACEOF
14114rm -f conftest.$ac_objext 19086rm -f conftest.$ac_objext
14115if { (eval echo "$as_me:14115: \"$ac_compile\"") >&5 19087if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>&5 19088 (eval $ac_compile) 2>conftest.er1
14117 ac_status=$? 19089 ac_status=$?
14118 echo "$as_me:14118: \$? = $ac_status" >&5 19090 grep -v '^ *+' conftest.er1 >conftest.err
19091 rm -f conftest.er1
19092 cat conftest.err >&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && 19094 (exit $ac_status); } &&
14120 { ac_try='test -s conftest.$ac_objext' 19095 { ac_try='test -z "$ac_c_werror_flag"
14121 { (eval echo "$as_me:14121: \"$ac_try\"") >&5 19096 || test ! -s conftest.err'
19097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19098 (eval $ac_try) 2>&5
19099 ac_status=$?
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); }; } &&
19102 { ac_try='test -s conftest.$ac_objext'
19103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5 19104 (eval $ac_try) 2>&5
14123 ac_status=$? 19105 ac_status=$?
14124 echo "$as_me:14124: \$? = $ac_status" >&5 19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then 19107 (exit $ac_status); }; }; then
14126 ac_cv_have_ss_family_in_struct_ss="yes" 19108 ac_cv_have_ss_family_in_struct_ss="yes"
14127else 19109else
14128 echo "$as_me: failed program was:" >&5 19110 echo "$as_me: failed program was:" >&5
14129cat conftest.$ac_ext >&5 19111sed 's/^/| /' conftest.$ac_ext >&5
19112
14130 ac_cv_have_ss_family_in_struct_ss="no" 19113 ac_cv_have_ss_family_in_struct_ss="no"
14131fi 19114fi
14132rm -f conftest.$ac_objext conftest.$ac_ext 19115rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14133 19116
14134fi 19117fi
14135echo "$as_me:14135: result: $ac_cv_have_ss_family_in_struct_ss" >&5 19118echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
14136echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6 19119echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6
14137if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 19120if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
14138 cat >>confdefs.h <<\EOF 19121 cat >>confdefs.h <<\_ACEOF
14139#define HAVE_SS_FAMILY_IN_SS 1 19122#define HAVE_SS_FAMILY_IN_SS 1
14140EOF 19123_ACEOF
14141 19124
14142fi 19125fi
14143 19126
14144echo "$as_me:14144: checking for __ss_family field in struct sockaddr_storage" >&5 19127echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
14145echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6 19128echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6
14146if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then 19129if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
14147 echo $ECHO_N "(cached) $ECHO_C" >&6 19130 echo $ECHO_N "(cached) $ECHO_C" >&6
14148else 19131else
14149 19132
14150 cat >conftest.$ac_ext <<_ACEOF 19133 cat >conftest.$ac_ext <<_ACEOF
14151#line 14151 "configure" 19134/* confdefs.h. */
14152#include "confdefs.h" 19135_ACEOF
19136cat confdefs.h >>conftest.$ac_ext
19137cat >>conftest.$ac_ext <<_ACEOF
19138/* end confdefs.h. */
14153 19139
14154#include <sys/types.h> 19140#include <sys/types.h>
14155#include <sys/socket.h> 19141#include <sys/socket.h>
@@ -14163,45 +19149,59 @@ main ()
14163} 19149}
14164_ACEOF 19150_ACEOF
14165rm -f conftest.$ac_objext 19151rm -f conftest.$ac_objext
14166if { (eval echo "$as_me:14166: \"$ac_compile\"") >&5 19152if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14167 (eval $ac_compile) 2>&5 19153 (eval $ac_compile) 2>conftest.er1
14168 ac_status=$? 19154 ac_status=$?
14169 echo "$as_me:14169: \$? = $ac_status" >&5 19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); } && 19159 (exit $ac_status); } &&
14171 { ac_try='test -s conftest.$ac_objext' 19160 { ac_try='test -z "$ac_c_werror_flag"
14172 { (eval echo "$as_me:14172: \"$ac_try\"") >&5 19161 || test ! -s conftest.err'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 (eval $ac_try) 2>&5 19163 (eval $ac_try) 2>&5
14174 ac_status=$? 19164 ac_status=$?
14175 echo "$as_me:14175: \$? = $ac_status" >&5 19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; } &&
19167 { ac_try='test -s conftest.$ac_objext'
19168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19169 (eval $ac_try) 2>&5
19170 ac_status=$?
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); }; }; then 19172 (exit $ac_status); }; }; then
14177 ac_cv_have___ss_family_in_struct_ss="yes" 19173 ac_cv_have___ss_family_in_struct_ss="yes"
14178else 19174else
14179 echo "$as_me: failed program was:" >&5 19175 echo "$as_me: failed program was:" >&5
14180cat conftest.$ac_ext >&5 19176sed 's/^/| /' conftest.$ac_ext >&5
19177
14181 ac_cv_have___ss_family_in_struct_ss="no" 19178 ac_cv_have___ss_family_in_struct_ss="no"
14182 19179
14183fi 19180fi
14184rm -f conftest.$ac_objext conftest.$ac_ext 19181rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14185 19182
14186fi 19183fi
14187echo "$as_me:14187: result: $ac_cv_have___ss_family_in_struct_ss" >&5 19184echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
14188echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6 19185echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6
14189if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 19186if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
14190 cat >>confdefs.h <<\EOF 19187 cat >>confdefs.h <<\_ACEOF
14191#define HAVE___SS_FAMILY_IN_SS 1 19188#define HAVE___SS_FAMILY_IN_SS 1
14192EOF 19189_ACEOF
14193 19190
14194fi 19191fi
14195 19192
14196echo "$as_me:14196: checking for pw_class field in struct passwd" >&5 19193echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
14197echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6 19194echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6
14198if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then 19195if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
14199 echo $ECHO_N "(cached) $ECHO_C" >&6 19196 echo $ECHO_N "(cached) $ECHO_C" >&6
14200else 19197else
14201 19198
14202 cat >conftest.$ac_ext <<_ACEOF 19199 cat >conftest.$ac_ext <<_ACEOF
14203#line 14203 "configure" 19200/* confdefs.h. */
14204#include "confdefs.h" 19201_ACEOF
19202cat confdefs.h >>conftest.$ac_ext
19203cat >>conftest.$ac_ext <<_ACEOF
19204/* end confdefs.h. */
14205 19205
14206#include <pwd.h> 19206#include <pwd.h>
14207 19207
@@ -14214,45 +19214,59 @@ main ()
14214} 19214}
14215_ACEOF 19215_ACEOF
14216rm -f conftest.$ac_objext 19216rm -f conftest.$ac_objext
14217if { (eval echo "$as_me:14217: \"$ac_compile\"") >&5 19217if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14218 (eval $ac_compile) 2>&5 19218 (eval $ac_compile) 2>conftest.er1
14219 ac_status=$? 19219 ac_status=$?
14220 echo "$as_me:14220: \$? = $ac_status" >&5 19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); } && 19224 (exit $ac_status); } &&
14222 { ac_try='test -s conftest.$ac_objext' 19225 { ac_try='test -z "$ac_c_werror_flag"
14223 { (eval echo "$as_me:14223: \"$ac_try\"") >&5 19226 || test ! -s conftest.err'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; } &&
19232 { ac_try='test -s conftest.$ac_objext'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14224 (eval $ac_try) 2>&5 19234 (eval $ac_try) 2>&5
14225 ac_status=$? 19235 ac_status=$?
14226 echo "$as_me:14226: \$? = $ac_status" >&5 19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }; }; then 19237 (exit $ac_status); }; }; then
14228 ac_cv_have_pw_class_in_struct_passwd="yes" 19238 ac_cv_have_pw_class_in_struct_passwd="yes"
14229else 19239else
14230 echo "$as_me: failed program was:" >&5 19240 echo "$as_me: failed program was:" >&5
14231cat conftest.$ac_ext >&5 19241sed 's/^/| /' conftest.$ac_ext >&5
19242
14232 ac_cv_have_pw_class_in_struct_passwd="no" 19243 ac_cv_have_pw_class_in_struct_passwd="no"
14233 19244
14234fi 19245fi
14235rm -f conftest.$ac_objext conftest.$ac_ext 19246rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14236 19247
14237fi 19248fi
14238echo "$as_me:14238: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 19249echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
14239echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6 19250echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6
14240if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 19251if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
14241 cat >>confdefs.h <<\EOF 19252 cat >>confdefs.h <<\_ACEOF
14242#define HAVE_PW_CLASS_IN_PASSWD 1 19253#define HAVE_PW_CLASS_IN_PASSWD 1
14243EOF 19254_ACEOF
14244 19255
14245fi 19256fi
14246 19257
14247echo "$as_me:14247: checking for pw_expire field in struct passwd" >&5 19258echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
14248echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6 19259echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6
14249if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then 19260if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6 19261 echo $ECHO_N "(cached) $ECHO_C" >&6
14251else 19262else
14252 19263
14253 cat >conftest.$ac_ext <<_ACEOF 19264 cat >conftest.$ac_ext <<_ACEOF
14254#line 14254 "configure" 19265/* confdefs.h. */
14255#include "confdefs.h" 19266_ACEOF
19267cat confdefs.h >>conftest.$ac_ext
19268cat >>conftest.$ac_ext <<_ACEOF
19269/* end confdefs.h. */
14256 19270
14257#include <pwd.h> 19271#include <pwd.h>
14258 19272
@@ -14265,45 +19279,59 @@ main ()
14265} 19279}
14266_ACEOF 19280_ACEOF
14267rm -f conftest.$ac_objext 19281rm -f conftest.$ac_objext
14268if { (eval echo "$as_me:14268: \"$ac_compile\"") >&5 19282if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>&5 19283 (eval $ac_compile) 2>conftest.er1
14270 ac_status=$? 19284 ac_status=$?
14271 echo "$as_me:14271: \$? = $ac_status" >&5 19285 grep -v '^ *+' conftest.er1 >conftest.err
19286 rm -f conftest.er1
19287 cat conftest.err >&5
19288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } && 19289 (exit $ac_status); } &&
14273 { ac_try='test -s conftest.$ac_objext' 19290 { ac_try='test -z "$ac_c_werror_flag"
14274 { (eval echo "$as_me:14274: \"$ac_try\"") >&5 19291 || test ! -s conftest.err'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; } &&
19297 { ac_try='test -s conftest.$ac_objext'
19298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5 19299 (eval $ac_try) 2>&5
14276 ac_status=$? 19300 ac_status=$?
14277 echo "$as_me:14277: \$? = $ac_status" >&5 19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then 19302 (exit $ac_status); }; }; then
14279 ac_cv_have_pw_expire_in_struct_passwd="yes" 19303 ac_cv_have_pw_expire_in_struct_passwd="yes"
14280else 19304else
14281 echo "$as_me: failed program was:" >&5 19305 echo "$as_me: failed program was:" >&5
14282cat conftest.$ac_ext >&5 19306sed 's/^/| /' conftest.$ac_ext >&5
19307
14283 ac_cv_have_pw_expire_in_struct_passwd="no" 19308 ac_cv_have_pw_expire_in_struct_passwd="no"
14284 19309
14285fi 19310fi
14286rm -f conftest.$ac_objext conftest.$ac_ext 19311rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 19312
14288fi 19313fi
14289echo "$as_me:14289: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 19314echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
14290echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6 19315echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6
14291if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 19316if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
14292 cat >>confdefs.h <<\EOF 19317 cat >>confdefs.h <<\_ACEOF
14293#define HAVE_PW_EXPIRE_IN_PASSWD 1 19318#define HAVE_PW_EXPIRE_IN_PASSWD 1
14294EOF 19319_ACEOF
14295 19320
14296fi 19321fi
14297 19322
14298echo "$as_me:14298: checking for pw_change field in struct passwd" >&5 19323echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
14299echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6 19324echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6
14300if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then 19325if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6 19326 echo $ECHO_N "(cached) $ECHO_C" >&6
14302else 19327else
14303 19328
14304 cat >conftest.$ac_ext <<_ACEOF 19329 cat >conftest.$ac_ext <<_ACEOF
14305#line 14305 "configure" 19330/* confdefs.h. */
14306#include "confdefs.h" 19331_ACEOF
19332cat confdefs.h >>conftest.$ac_ext
19333cat >>conftest.$ac_ext <<_ACEOF
19334/* end confdefs.h. */
14307 19335
14308#include <pwd.h> 19336#include <pwd.h>
14309 19337
@@ -14316,50 +19344,66 @@ main ()
14316} 19344}
14317_ACEOF 19345_ACEOF
14318rm -f conftest.$ac_objext 19346rm -f conftest.$ac_objext
14319if { (eval echo "$as_me:14319: \"$ac_compile\"") >&5 19347if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14320 (eval $ac_compile) 2>&5 19348 (eval $ac_compile) 2>conftest.er1
14321 ac_status=$? 19349 ac_status=$?
14322 echo "$as_me:14322: \$? = $ac_status" >&5 19350 grep -v '^ *+' conftest.er1 >conftest.err
19351 rm -f conftest.er1
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); } && 19354 (exit $ac_status); } &&
14324 { ac_try='test -s conftest.$ac_objext' 19355 { ac_try='test -z "$ac_c_werror_flag"
14325 { (eval echo "$as_me:14325: \"$ac_try\"") >&5 19356 || test ! -s conftest.err'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326 (eval $ac_try) 2>&5 19358 (eval $ac_try) 2>&5
14327 ac_status=$? 19359 ac_status=$?
14328 echo "$as_me:14328: \$? = $ac_status" >&5 19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; } &&
19362 { ac_try='test -s conftest.$ac_objext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19365 ac_status=$?
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329 (exit $ac_status); }; }; then 19367 (exit $ac_status); }; }; then
14330 ac_cv_have_pw_change_in_struct_passwd="yes" 19368 ac_cv_have_pw_change_in_struct_passwd="yes"
14331else 19369else
14332 echo "$as_me: failed program was:" >&5 19370 echo "$as_me: failed program was:" >&5
14333cat conftest.$ac_ext >&5 19371sed 's/^/| /' conftest.$ac_ext >&5
19372
14334 ac_cv_have_pw_change_in_struct_passwd="no" 19373 ac_cv_have_pw_change_in_struct_passwd="no"
14335 19374
14336fi 19375fi
14337rm -f conftest.$ac_objext conftest.$ac_ext 19376rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14338 19377
14339fi 19378fi
14340echo "$as_me:14340: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 19379echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
14341echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6 19380echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6
14342if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 19381if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
14343 cat >>confdefs.h <<\EOF 19382 cat >>confdefs.h <<\_ACEOF
14344#define HAVE_PW_CHANGE_IN_PASSWD 1 19383#define HAVE_PW_CHANGE_IN_PASSWD 1
14345EOF 19384_ACEOF
14346 19385
14347fi 19386fi
14348 19387
14349echo "$as_me:14349: checking for msg_accrights field in struct msghdr" >&5 19388echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
14350echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6 19389echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6
14351if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then 19390if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6 19391 echo $ECHO_N "(cached) $ECHO_C" >&6
14353else 19392else
14354 19393
14355 if test "$cross_compiling" = yes; then 19394 if test "$cross_compiling" = yes; then
14356 { { echo "$as_me:14356: error: cannot run test program while cross compiling" >&5 19395 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14357echo "$as_me: error: cannot run test program while cross compiling" >&2;} 19396See \`config.log' for more details." >&5
19397echo "$as_me: error: cannot run test program while cross compiling
19398See \`config.log' for more details." >&2;}
14358 { (exit 1); exit 1; }; } 19399 { (exit 1); exit 1; }; }
14359else 19400else
14360 cat >conftest.$ac_ext <<_ACEOF 19401 cat >conftest.$ac_ext <<_ACEOF
14361#line 14361 "configure" 19402/* confdefs.h. */
14362#include "confdefs.h" 19403_ACEOF
19404cat confdefs.h >>conftest.$ac_ext
19405cat >>conftest.$ac_ext <<_ACEOF
19406/* end confdefs.h. */
14363 19407
14364#include <sys/types.h> 19408#include <sys/types.h>
14365#include <sys/socket.h> 19409#include <sys/socket.h>
@@ -14375,51 +19419,58 @@ exit(0);
14375 19419
14376_ACEOF 19420_ACEOF
14377rm -f conftest$ac_exeext 19421rm -f conftest$ac_exeext
14378if { (eval echo "$as_me:14378: \"$ac_link\"") >&5 19422if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14379 (eval $ac_link) 2>&5 19423 (eval $ac_link) 2>&5
14380 ac_status=$? 19424 ac_status=$?
14381 echo "$as_me:14381: \$? = $ac_status" >&5 19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19426 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14383 { (eval echo "$as_me:14383: \"$ac_try\"") >&5 19427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5 19428 (eval $ac_try) 2>&5
14385 ac_status=$? 19429 ac_status=$?
14386 echo "$as_me:14386: \$? = $ac_status" >&5 19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then 19431 (exit $ac_status); }; }; then
14388 ac_cv_have_accrights_in_msghdr="yes" 19432 ac_cv_have_accrights_in_msghdr="yes"
14389else 19433else
14390 echo "$as_me: program exited with status $ac_status" >&5 19434 echo "$as_me: program exited with status $ac_status" >&5
14391echo "$as_me: failed program was:" >&5 19435echo "$as_me: failed program was:" >&5
14392cat conftest.$ac_ext >&5 19436sed 's/^/| /' conftest.$ac_ext >&5
19437
19438( exit $ac_status )
14393 ac_cv_have_accrights_in_msghdr="no" 19439 ac_cv_have_accrights_in_msghdr="no"
14394 19440
14395fi 19441fi
14396rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 19442rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14397fi 19443fi
14398 19444
14399fi 19445fi
14400echo "$as_me:14400: result: $ac_cv_have_accrights_in_msghdr" >&5 19446echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
14401echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6 19447echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6
14402if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 19448if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
14403 cat >>confdefs.h <<\EOF 19449 cat >>confdefs.h <<\_ACEOF
14404#define HAVE_ACCRIGHTS_IN_MSGHDR 1 19450#define HAVE_ACCRIGHTS_IN_MSGHDR 1
14405EOF 19451_ACEOF
14406 19452
14407fi 19453fi
14408 19454
14409echo "$as_me:14409: checking for msg_control field in struct msghdr" >&5 19455echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
14410echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6 19456echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6
14411if test "${ac_cv_have_control_in_msghdr+set}" = set; then 19457if test "${ac_cv_have_control_in_msghdr+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6 19458 echo $ECHO_N "(cached) $ECHO_C" >&6
14413else 19459else
14414 19460
14415 if test "$cross_compiling" = yes; then 19461 if test "$cross_compiling" = yes; then
14416 { { echo "$as_me:14416: error: cannot run test program while cross compiling" >&5 19462 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14417echo "$as_me: error: cannot run test program while cross compiling" >&2;} 19463See \`config.log' for more details." >&5
19464echo "$as_me: error: cannot run test program while cross compiling
19465See \`config.log' for more details." >&2;}
14418 { (exit 1); exit 1; }; } 19466 { (exit 1); exit 1; }; }
14419else 19467else
14420 cat >conftest.$ac_ext <<_ACEOF 19468 cat >conftest.$ac_ext <<_ACEOF
14421#line 14421 "configure" 19469/* confdefs.h. */
14422#include "confdefs.h" 19470_ACEOF
19471cat confdefs.h >>conftest.$ac_ext
19472cat >>conftest.$ac_ext <<_ACEOF
19473/* end confdefs.h. */
14423 19474
14424#include <sys/types.h> 19475#include <sys/types.h>
14425#include <sys/socket.h> 19476#include <sys/socket.h>
@@ -14435,46 +19486,51 @@ exit(0);
14435 19486
14436_ACEOF 19487_ACEOF
14437rm -f conftest$ac_exeext 19488rm -f conftest$ac_exeext
14438if { (eval echo "$as_me:14438: \"$ac_link\"") >&5 19489if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14439 (eval $ac_link) 2>&5 19490 (eval $ac_link) 2>&5
14440 ac_status=$? 19491 ac_status=$?
14441 echo "$as_me:14441: \$? = $ac_status" >&5 19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 19493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14443 { (eval echo "$as_me:14443: \"$ac_try\"") >&5 19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5 19495 (eval $ac_try) 2>&5
14445 ac_status=$? 19496 ac_status=$?
14446 echo "$as_me:14446: \$? = $ac_status" >&5 19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then 19498 (exit $ac_status); }; }; then
14448 ac_cv_have_control_in_msghdr="yes" 19499 ac_cv_have_control_in_msghdr="yes"
14449else 19500else
14450 echo "$as_me: program exited with status $ac_status" >&5 19501 echo "$as_me: program exited with status $ac_status" >&5
14451echo "$as_me: failed program was:" >&5 19502echo "$as_me: failed program was:" >&5
14452cat conftest.$ac_ext >&5 19503sed 's/^/| /' conftest.$ac_ext >&5
19504
19505( exit $ac_status )
14453 ac_cv_have_control_in_msghdr="no" 19506 ac_cv_have_control_in_msghdr="no"
14454 19507
14455fi 19508fi
14456rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 19509rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14457fi 19510fi
14458 19511
14459fi 19512fi
14460echo "$as_me:14460: result: $ac_cv_have_control_in_msghdr" >&5 19513echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
14461echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6 19514echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6
14462if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 19515if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
14463 cat >>confdefs.h <<\EOF 19516 cat >>confdefs.h <<\_ACEOF
14464#define HAVE_CONTROL_IN_MSGHDR 1 19517#define HAVE_CONTROL_IN_MSGHDR 1
14465EOF 19518_ACEOF
14466 19519
14467fi 19520fi
14468 19521
14469echo "$as_me:14469: checking if libc defines __progname" >&5 19522echo "$as_me:$LINENO: checking if libc defines __progname" >&5
14470echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6 19523echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6
14471if test "${ac_cv_libc_defines___progname+set}" = set; then 19524if test "${ac_cv_libc_defines___progname+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6 19525 echo $ECHO_N "(cached) $ECHO_C" >&6
14473else 19526else
14474 19527
14475 cat >conftest.$ac_ext <<_ACEOF 19528 cat >conftest.$ac_ext <<_ACEOF
14476#line 14476 "configure" 19529/* confdefs.h. */
14477#include "confdefs.h" 19530_ACEOF
19531cat confdefs.h >>conftest.$ac_ext
19532cat >>conftest.$ac_ext <<_ACEOF
19533/* end confdefs.h. */
14478 19534
14479int 19535int
14480main () 19536main ()
@@ -14485,45 +19541,60 @@ main ()
14485} 19541}
14486_ACEOF 19542_ACEOF
14487rm -f conftest.$ac_objext conftest$ac_exeext 19543rm -f conftest.$ac_objext conftest$ac_exeext
14488if { (eval echo "$as_me:14488: \"$ac_link\"") >&5 19544if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14489 (eval $ac_link) 2>&5 19545 (eval $ac_link) 2>conftest.er1
14490 ac_status=$? 19546 ac_status=$?
14491 echo "$as_me:14491: \$? = $ac_status" >&5 19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } && 19551 (exit $ac_status); } &&
14493 { ac_try='test -s conftest$ac_exeext' 19552 { ac_try='test -z "$ac_c_werror_flag"
14494 { (eval echo "$as_me:14494: \"$ac_try\"") >&5 19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest$ac_exeext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5 19561 (eval $ac_try) 2>&5
14496 ac_status=$? 19562 ac_status=$?
14497 echo "$as_me:14497: \$? = $ac_status" >&5 19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then 19564 (exit $ac_status); }; }; then
14499 ac_cv_libc_defines___progname="yes" 19565 ac_cv_libc_defines___progname="yes"
14500else 19566else
14501 echo "$as_me: failed program was:" >&5 19567 echo "$as_me: failed program was:" >&5
14502cat conftest.$ac_ext >&5 19568sed 's/^/| /' conftest.$ac_ext >&5
19569
14503 ac_cv_libc_defines___progname="no" 19570 ac_cv_libc_defines___progname="no"
14504 19571
14505fi 19572fi
14506rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19573rm -f conftest.err conftest.$ac_objext \
19574 conftest$ac_exeext conftest.$ac_ext
14507 19575
14508fi 19576fi
14509echo "$as_me:14509: result: $ac_cv_libc_defines___progname" >&5 19577echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
14510echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6 19578echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6
14511if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 19579if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
14512 cat >>confdefs.h <<\EOF 19580 cat >>confdefs.h <<\_ACEOF
14513#define HAVE___PROGNAME 1 19581#define HAVE___PROGNAME 1
14514EOF 19582_ACEOF
14515 19583
14516fi 19584fi
14517 19585
14518echo "$as_me:14518: checking whether $CC implements __FUNCTION__" >&5 19586echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
14519echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6 19587echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6
14520if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then 19588if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6 19589 echo $ECHO_N "(cached) $ECHO_C" >&6
14522else 19590else
14523 19591
14524 cat >conftest.$ac_ext <<_ACEOF 19592 cat >conftest.$ac_ext <<_ACEOF
14525#line 14525 "configure" 19593/* confdefs.h. */
14526#include "confdefs.h" 19594_ACEOF
19595cat confdefs.h >>conftest.$ac_ext
19596cat >>conftest.$ac_ext <<_ACEOF
19597/* end confdefs.h. */
14527 19598
14528#include <stdio.h> 19599#include <stdio.h>
14529 19600
@@ -14536,45 +19607,60 @@ main ()
14536} 19607}
14537_ACEOF 19608_ACEOF
14538rm -f conftest.$ac_objext conftest$ac_exeext 19609rm -f conftest.$ac_objext conftest$ac_exeext
14539if { (eval echo "$as_me:14539: \"$ac_link\"") >&5 19610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14540 (eval $ac_link) 2>&5 19611 (eval $ac_link) 2>conftest.er1
14541 ac_status=$? 19612 ac_status=$?
14542 echo "$as_me:14542: \$? = $ac_status" >&5 19613 grep -v '^ *+' conftest.er1 >conftest.err
19614 rm -f conftest.er1
19615 cat conftest.err >&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } && 19617 (exit $ac_status); } &&
14544 { ac_try='test -s conftest$ac_exeext' 19618 { ac_try='test -z "$ac_c_werror_flag"
14545 { (eval echo "$as_me:14545: \"$ac_try\"") >&5 19619 || test ! -s conftest.err'
19620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14546 (eval $ac_try) 2>&5 19621 (eval $ac_try) 2>&5
14547 ac_status=$? 19622 ac_status=$?
14548 echo "$as_me:14548: \$? = $ac_status" >&5 19623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); }; } &&
19625 { ac_try='test -s conftest$ac_exeext'
19626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19627 (eval $ac_try) 2>&5
19628 ac_status=$?
19629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); }; }; then 19630 (exit $ac_status); }; }; then
14550 ac_cv_cc_implements___FUNCTION__="yes" 19631 ac_cv_cc_implements___FUNCTION__="yes"
14551else 19632else
14552 echo "$as_me: failed program was:" >&5 19633 echo "$as_me: failed program was:" >&5
14553cat conftest.$ac_ext >&5 19634sed 's/^/| /' conftest.$ac_ext >&5
19635
14554 ac_cv_cc_implements___FUNCTION__="no" 19636 ac_cv_cc_implements___FUNCTION__="no"
14555 19637
14556fi 19638fi
14557rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19639rm -f conftest.err conftest.$ac_objext \
19640 conftest$ac_exeext conftest.$ac_ext
14558 19641
14559fi 19642fi
14560echo "$as_me:14560: result: $ac_cv_cc_implements___FUNCTION__" >&5 19643echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
14561echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6 19644echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6
14562if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 19645if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
14563 cat >>confdefs.h <<\EOF 19646 cat >>confdefs.h <<\_ACEOF
14564#define HAVE___FUNCTION__ 1 19647#define HAVE___FUNCTION__ 1
14565EOF 19648_ACEOF
14566 19649
14567fi 19650fi
14568 19651
14569echo "$as_me:14569: checking whether $CC implements __func__" >&5 19652echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
14570echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6 19653echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6
14571if test "${ac_cv_cc_implements___func__+set}" = set; then 19654if test "${ac_cv_cc_implements___func__+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6 19655 echo $ECHO_N "(cached) $ECHO_C" >&6
14573else 19656else
14574 19657
14575 cat >conftest.$ac_ext <<_ACEOF 19658 cat >conftest.$ac_ext <<_ACEOF
14576#line 14576 "configure" 19659/* confdefs.h. */
14577#include "confdefs.h" 19660_ACEOF
19661cat confdefs.h >>conftest.$ac_ext
19662cat >>conftest.$ac_ext <<_ACEOF
19663/* end confdefs.h. */
14578 19664
14579#include <stdio.h> 19665#include <stdio.h>
14580 19666
@@ -14587,45 +19673,60 @@ main ()
14587} 19673}
14588_ACEOF 19674_ACEOF
14589rm -f conftest.$ac_objext conftest$ac_exeext 19675rm -f conftest.$ac_objext conftest$ac_exeext
14590if { (eval echo "$as_me:14590: \"$ac_link\"") >&5 19676if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14591 (eval $ac_link) 2>&5 19677 (eval $ac_link) 2>conftest.er1
14592 ac_status=$? 19678 ac_status=$?
14593 echo "$as_me:14593: \$? = $ac_status" >&5 19679 grep -v '^ *+' conftest.er1 >conftest.err
19680 rm -f conftest.er1
19681 cat conftest.err >&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } && 19683 (exit $ac_status); } &&
14595 { ac_try='test -s conftest$ac_exeext' 19684 { ac_try='test -z "$ac_c_werror_flag"
14596 { (eval echo "$as_me:14596: \"$ac_try\"") >&5 19685 || test ! -s conftest.err'
19686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19687 (eval $ac_try) 2>&5
19688 ac_status=$?
19689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19690 (exit $ac_status); }; } &&
19691 { ac_try='test -s conftest$ac_exeext'
19692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5 19693 (eval $ac_try) 2>&5
14598 ac_status=$? 19694 ac_status=$?
14599 echo "$as_me:14599: \$? = $ac_status" >&5 19695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then 19696 (exit $ac_status); }; }; then
14601 ac_cv_cc_implements___func__="yes" 19697 ac_cv_cc_implements___func__="yes"
14602else 19698else
14603 echo "$as_me: failed program was:" >&5 19699 echo "$as_me: failed program was:" >&5
14604cat conftest.$ac_ext >&5 19700sed 's/^/| /' conftest.$ac_ext >&5
19701
14605 ac_cv_cc_implements___func__="no" 19702 ac_cv_cc_implements___func__="no"
14606 19703
14607fi 19704fi
14608rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19705rm -f conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext conftest.$ac_ext
14609 19707
14610fi 19708fi
14611echo "$as_me:14611: result: $ac_cv_cc_implements___func__" >&5 19709echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
14612echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6 19710echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6
14613if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 19711if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
14614 cat >>confdefs.h <<\EOF 19712 cat >>confdefs.h <<\_ACEOF
14615#define HAVE___func__ 1 19713#define HAVE___func__ 1
14616EOF 19714_ACEOF
14617 19715
14618fi 19716fi
14619 19717
14620echo "$as_me:14620: checking whether getopt has optreset support" >&5 19718echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
14621echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6 19719echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6
14622if test "${ac_cv_have_getopt_optreset+set}" = set; then 19720if test "${ac_cv_have_getopt_optreset+set}" = set; then
14623 echo $ECHO_N "(cached) $ECHO_C" >&6 19721 echo $ECHO_N "(cached) $ECHO_C" >&6
14624else 19722else
14625 19723
14626 cat >conftest.$ac_ext <<_ACEOF 19724 cat >conftest.$ac_ext <<_ACEOF
14627#line 14627 "configure" 19725/* confdefs.h. */
14628#include "confdefs.h" 19726_ACEOF
19727cat confdefs.h >>conftest.$ac_ext
19728cat >>conftest.$ac_ext <<_ACEOF
19729/* end confdefs.h. */
14629 19730
14630#include <getopt.h> 19731#include <getopt.h>
14631 19732
@@ -14638,45 +19739,60 @@ main ()
14638} 19739}
14639_ACEOF 19740_ACEOF
14640rm -f conftest.$ac_objext conftest$ac_exeext 19741rm -f conftest.$ac_objext conftest$ac_exeext
14641if { (eval echo "$as_me:14641: \"$ac_link\"") >&5 19742if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14642 (eval $ac_link) 2>&5 19743 (eval $ac_link) 2>conftest.er1
14643 ac_status=$? 19744 ac_status=$?
14644 echo "$as_me:14644: \$? = $ac_status" >&5 19745 grep -v '^ *+' conftest.er1 >conftest.err
19746 rm -f conftest.er1
19747 cat conftest.err >&5
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && 19749 (exit $ac_status); } &&
14646 { ac_try='test -s conftest$ac_exeext' 19750 { ac_try='test -z "$ac_c_werror_flag"
14647 { (eval echo "$as_me:14647: \"$ac_try\"") >&5 19751 || test ! -s conftest.err'
19752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 (eval $ac_try) 2>&5
19754 ac_status=$?
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); }; } &&
19757 { ac_try='test -s conftest$ac_exeext'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14648 (eval $ac_try) 2>&5 19759 (eval $ac_try) 2>&5
14649 ac_status=$? 19760 ac_status=$?
14650 echo "$as_me:14650: \$? = $ac_status" >&5 19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); }; }; then 19762 (exit $ac_status); }; }; then
14652 ac_cv_have_getopt_optreset="yes" 19763 ac_cv_have_getopt_optreset="yes"
14653else 19764else
14654 echo "$as_me: failed program was:" >&5 19765 echo "$as_me: failed program was:" >&5
14655cat conftest.$ac_ext >&5 19766sed 's/^/| /' conftest.$ac_ext >&5
19767
14656 ac_cv_have_getopt_optreset="no" 19768 ac_cv_have_getopt_optreset="no"
14657 19769
14658fi 19770fi
14659rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19771rm -f conftest.err conftest.$ac_objext \
19772 conftest$ac_exeext conftest.$ac_ext
14660 19773
14661fi 19774fi
14662echo "$as_me:14662: result: $ac_cv_have_getopt_optreset" >&5 19775echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
14663echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6 19776echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6
14664if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 19777if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
14665 cat >>confdefs.h <<\EOF 19778 cat >>confdefs.h <<\_ACEOF
14666#define HAVE_GETOPT_OPTRESET 1 19779#define HAVE_GETOPT_OPTRESET 1
14667EOF 19780_ACEOF
14668 19781
14669fi 19782fi
14670 19783
14671echo "$as_me:14671: checking if libc defines sys_errlist" >&5 19784echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
14672echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6 19785echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6
14673if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then 19786if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
14674 echo $ECHO_N "(cached) $ECHO_C" >&6 19787 echo $ECHO_N "(cached) $ECHO_C" >&6
14675else 19788else
14676 19789
14677 cat >conftest.$ac_ext <<_ACEOF 19790 cat >conftest.$ac_ext <<_ACEOF
14678#line 14678 "configure" 19791/* confdefs.h. */
14679#include "confdefs.h" 19792_ACEOF
19793cat confdefs.h >>conftest.$ac_ext
19794cat >>conftest.$ac_ext <<_ACEOF
19795/* end confdefs.h. */
14680 19796
14681int 19797int
14682main () 19798main ()
@@ -14687,45 +19803,61 @@ main ()
14687} 19803}
14688_ACEOF 19804_ACEOF
14689rm -f conftest.$ac_objext conftest$ac_exeext 19805rm -f conftest.$ac_objext conftest$ac_exeext
14690if { (eval echo "$as_me:14690: \"$ac_link\"") >&5 19806if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14691 (eval $ac_link) 2>&5 19807 (eval $ac_link) 2>conftest.er1
14692 ac_status=$? 19808 ac_status=$?
14693 echo "$as_me:14693: \$? = $ac_status" >&5 19809 grep -v '^ *+' conftest.er1 >conftest.err
19810 rm -f conftest.er1
19811 cat conftest.err >&5
19812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } && 19813 (exit $ac_status); } &&
14695 { ac_try='test -s conftest$ac_exeext' 19814 { ac_try='test -z "$ac_c_werror_flag"
14696 { (eval echo "$as_me:14696: \"$ac_try\"") >&5 19815 || test ! -s conftest.err'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14697 (eval $ac_try) 2>&5 19817 (eval $ac_try) 2>&5
14698 ac_status=$? 19818 ac_status=$?
14699 echo "$as_me:14699: \$? = $ac_status" >&5 19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; } &&
19821 { ac_try='test -s conftest$ac_exeext'
19822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19823 (eval $ac_try) 2>&5
19824 ac_status=$?
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); }; }; then 19826 (exit $ac_status); }; }; then
14701 ac_cv_libc_defines_sys_errlist="yes" 19827 ac_cv_libc_defines_sys_errlist="yes"
14702else 19828else
14703 echo "$as_me: failed program was:" >&5 19829 echo "$as_me: failed program was:" >&5
14704cat conftest.$ac_ext >&5 19830sed 's/^/| /' conftest.$ac_ext >&5
19831
14705 ac_cv_libc_defines_sys_errlist="no" 19832 ac_cv_libc_defines_sys_errlist="no"
14706 19833
14707fi 19834fi
14708rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19835rm -f conftest.err conftest.$ac_objext \
19836 conftest$ac_exeext conftest.$ac_ext
14709 19837
14710fi 19838fi
14711echo "$as_me:14711: result: $ac_cv_libc_defines_sys_errlist" >&5 19839echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
14712echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6 19840echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6
14713if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 19841if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
14714 cat >>confdefs.h <<\EOF 19842 cat >>confdefs.h <<\_ACEOF
14715#define HAVE_SYS_ERRLIST 1 19843#define HAVE_SYS_ERRLIST 1
14716EOF 19844_ACEOF
14717 19845
14718fi 19846fi
14719 19847
14720echo "$as_me:14720: checking if libc defines sys_nerr" >&5 19848
19849echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
14721echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6 19850echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6
14722if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then 19851if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6 19852 echo $ECHO_N "(cached) $ECHO_C" >&6
14724else 19853else
14725 19854
14726 cat >conftest.$ac_ext <<_ACEOF 19855 cat >conftest.$ac_ext <<_ACEOF
14727#line 14727 "configure" 19856/* confdefs.h. */
14728#include "confdefs.h" 19857_ACEOF
19858cat confdefs.h >>conftest.$ac_ext
19859cat >>conftest.$ac_ext <<_ACEOF
19860/* end confdefs.h. */
14729 19861
14730int 19862int
14731main () 19863main ()
@@ -14736,33 +19868,45 @@ main ()
14736} 19868}
14737_ACEOF 19869_ACEOF
14738rm -f conftest.$ac_objext conftest$ac_exeext 19870rm -f conftest.$ac_objext conftest$ac_exeext
14739if { (eval echo "$as_me:14739: \"$ac_link\"") >&5 19871if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740 (eval $ac_link) 2>&5 19872 (eval $ac_link) 2>conftest.er1
14741 ac_status=$? 19873 ac_status=$?
14742 echo "$as_me:14742: \$? = $ac_status" >&5 19874 grep -v '^ *+' conftest.er1 >conftest.err
19875 rm -f conftest.er1
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } && 19878 (exit $ac_status); } &&
14744 { ac_try='test -s conftest$ac_exeext' 19879 { ac_try='test -z "$ac_c_werror_flag"
14745 { (eval echo "$as_me:14745: \"$ac_try\"") >&5 19880 || test ! -s conftest.err'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5 19882 (eval $ac_try) 2>&5
14747 ac_status=$? 19883 ac_status=$?
14748 echo "$as_me:14748: \$? = $ac_status" >&5 19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; } &&
19886 { ac_try='test -s conftest$ac_exeext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then 19891 (exit $ac_status); }; }; then
14750 ac_cv_libc_defines_sys_nerr="yes" 19892 ac_cv_libc_defines_sys_nerr="yes"
14751else 19893else
14752 echo "$as_me: failed program was:" >&5 19894 echo "$as_me: failed program was:" >&5
14753cat conftest.$ac_ext >&5 19895sed 's/^/| /' conftest.$ac_ext >&5
19896
14754 ac_cv_libc_defines_sys_nerr="no" 19897 ac_cv_libc_defines_sys_nerr="no"
14755 19898
14756fi 19899fi
14757rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 19900rm -f conftest.err conftest.$ac_objext \
19901 conftest$ac_exeext conftest.$ac_ext
14758 19902
14759fi 19903fi
14760echo "$as_me:14760: result: $ac_cv_libc_defines_sys_nerr" >&5 19904echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
14761echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6 19905echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6
14762if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 19906if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
14763 cat >>confdefs.h <<\EOF 19907 cat >>confdefs.h <<\_ACEOF
14764#define HAVE_SYS_NERR 1 19908#define HAVE_SYS_NERR 1
14765EOF 19909_ACEOF
14766 19910
14767fi 19911fi
14768 19912
@@ -14788,26 +19932,82 @@ if test "${with_sectok+set}" = set; then
14788for ac_header in sectok.h 19932for ac_header in sectok.h
14789do 19933do
14790as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 19934as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14791echo "$as_me:14791: checking for $ac_header" >&5 19935if eval "test \"\${$as_ac_Header+set}\" = set"; then
19936 echo "$as_me:$LINENO: checking for $ac_header" >&5
14792echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 19937echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14793if eval "test \"\${$as_ac_Header+set}\" = set"; then 19938if eval "test \"\${$as_ac_Header+set}\" = set"; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6 19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940fi
19941echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19942echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14795else 19943else
14796 cat >conftest.$ac_ext <<_ACEOF 19944 # Is the header compilable?
14797#line 14797 "configure" 19945echo "$as_me:$LINENO: checking $ac_header usability" >&5
14798#include "confdefs.h" 19946echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19947cat >conftest.$ac_ext <<_ACEOF
19948/* confdefs.h. */
19949_ACEOF
19950cat confdefs.h >>conftest.$ac_ext
19951cat >>conftest.$ac_ext <<_ACEOF
19952/* end confdefs.h. */
19953$ac_includes_default
19954#include <$ac_header>
19955_ACEOF
19956rm -f conftest.$ac_objext
19957if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19958 (eval $ac_compile) 2>conftest.er1
19959 ac_status=$?
19960 grep -v '^ *+' conftest.er1 >conftest.err
19961 rm -f conftest.er1
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } &&
19965 { ac_try='test -z "$ac_c_werror_flag"
19966 || test ! -s conftest.err'
19967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19968 (eval $ac_try) 2>&5
19969 ac_status=$?
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); }; } &&
19972 { ac_try='test -s conftest.$ac_objext'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19975 ac_status=$?
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; }; then
19978 ac_header_compiler=yes
19979else
19980 echo "$as_me: failed program was:" >&5
19981sed 's/^/| /' conftest.$ac_ext >&5
19982
19983ac_header_compiler=no
19984fi
19985rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19986echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19987echo "${ECHO_T}$ac_header_compiler" >&6
19988
19989# Is the header present?
19990echo "$as_me:$LINENO: checking $ac_header presence" >&5
19991echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19992cat >conftest.$ac_ext <<_ACEOF
19993/* confdefs.h. */
19994_ACEOF
19995cat confdefs.h >>conftest.$ac_ext
19996cat >>conftest.$ac_ext <<_ACEOF
19997/* end confdefs.h. */
14799#include <$ac_header> 19998#include <$ac_header>
14800_ACEOF 19999_ACEOF
14801if { (eval echo "$as_me:14801: \"$ac_cpp conftest.$ac_ext\"") >&5 20000if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14802 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 20001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14803 ac_status=$? 20002 ac_status=$?
14804 egrep -v '^ *\+' conftest.er1 >conftest.err 20003 grep -v '^ *+' conftest.er1 >conftest.err
14805 rm -f conftest.er1 20004 rm -f conftest.er1
14806 cat conftest.err >&5 20005 cat conftest.err >&5
14807 echo "$as_me:14807: \$? = $ac_status" >&5 20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } >/dev/null; then 20007 (exit $ac_status); } >/dev/null; then
14809 if test -s conftest.err; then 20008 if test -s conftest.err; then
14810 ac_cpp_err=$ac_c_preproc_warn_flag 20009 ac_cpp_err=$ac_c_preproc_warn_flag
20010 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14811 else 20011 else
14812 ac_cpp_err= 20012 ac_cpp_err=
14813 fi 20013 fi
@@ -14815,31 +20015,76 @@ else
14815 ac_cpp_err=yes 20015 ac_cpp_err=yes
14816fi 20016fi
14817if test -z "$ac_cpp_err"; then 20017if test -z "$ac_cpp_err"; then
14818 eval "$as_ac_Header=yes" 20018 ac_header_preproc=yes
14819else 20019else
14820 echo "$as_me: failed program was:" >&5 20020 echo "$as_me: failed program was:" >&5
14821 cat conftest.$ac_ext >&5 20021sed 's/^/| /' conftest.$ac_ext >&5
14822 eval "$as_ac_Header=no" 20022
20023 ac_header_preproc=no
14823fi 20024fi
14824rm -f conftest.err conftest.$ac_ext 20025rm -f conftest.err conftest.$ac_ext
20026echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20027echo "${ECHO_T}$ac_header_preproc" >&6
20028
20029# So? What about this header?
20030case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20031 yes:no: )
20032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20033echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20035echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20036 ac_header_preproc=yes
20037 ;;
20038 no:yes:* )
20039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20040echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20042echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20044echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20046echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20048echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20050echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20051 (
20052 cat <<\_ASBOX
20053## ------------------------------------------ ##
20054## Report this to the AC_PACKAGE_NAME lists. ##
20055## ------------------------------------------ ##
20056_ASBOX
20057 ) |
20058 sed "s/^/$as_me: WARNING: /" >&2
20059 ;;
20060esac
20061echo "$as_me:$LINENO: checking for $ac_header" >&5
20062echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20063if eval "test \"\${$as_ac_Header+set}\" = set"; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20065else
20066 eval "$as_ac_Header=\$ac_header_preproc"
14825fi 20067fi
14826echo "$as_me:14826: result: `eval echo '${'$as_ac_Header'}'`" >&5 20068echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14827echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 20069echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20070
20071fi
14828if test `eval echo '${'$as_ac_Header'}'` = yes; then 20072if test `eval echo '${'$as_ac_Header'}'` = yes; then
14829 cat >>confdefs.h <<EOF 20073 cat >>confdefs.h <<_ACEOF
14830#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 20074#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14831EOF 20075_ACEOF
14832 20076
14833fi 20077fi
20078
14834done 20079done
14835 20080
14836 if test "$ac_cv_header_sectok_h" != yes; then 20081 if test "$ac_cv_header_sectok_h" != yes; then
14837 { { echo "$as_me:14837: error: Can't find sectok.h" >&5 20082 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
14838echo "$as_me: error: Can't find sectok.h" >&2;} 20083echo "$as_me: error: Can't find sectok.h" >&2;}
14839 { (exit 1); exit 1; }; } 20084 { (exit 1); exit 1; }; }
14840 fi 20085 fi
14841 20086
14842echo "$as_me:14842: checking for sectok_open in -lsectok" >&5 20087echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
14843echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6 20088echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6
14844if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then 20089if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
14845 echo $ECHO_N "(cached) $ECHO_C" >&6 20090 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14847,8 +20092,11 @@ else
14847 ac_check_lib_save_LIBS=$LIBS 20092 ac_check_lib_save_LIBS=$LIBS
14848LIBS="-lsectok $LIBS" 20093LIBS="-lsectok $LIBS"
14849cat >conftest.$ac_ext <<_ACEOF 20094cat >conftest.$ac_ext <<_ACEOF
14850#line 14850 "configure" 20095/* confdefs.h. */
14851#include "confdefs.h" 20096_ACEOF
20097cat confdefs.h >>conftest.$ac_ext
20098cat >>conftest.$ac_ext <<_ACEOF
20099/* end confdefs.h. */
14852 20100
14853/* Override any gcc2 internal prototype to avoid an error. */ 20101/* Override any gcc2 internal prototype to avoid an error. */
14854#ifdef __cplusplus 20102#ifdef __cplusplus
@@ -14866,53 +20114,66 @@ sectok_open ();
14866} 20114}
14867_ACEOF 20115_ACEOF
14868rm -f conftest.$ac_objext conftest$ac_exeext 20116rm -f conftest.$ac_objext conftest$ac_exeext
14869if { (eval echo "$as_me:14869: \"$ac_link\"") >&5 20117if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14870 (eval $ac_link) 2>&5 20118 (eval $ac_link) 2>conftest.er1
14871 ac_status=$? 20119 ac_status=$?
14872 echo "$as_me:14872: \$? = $ac_status" >&5 20120 grep -v '^ *+' conftest.er1 >conftest.err
20121 rm -f conftest.er1
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); } && 20124 (exit $ac_status); } &&
14874 { ac_try='test -s conftest$ac_exeext' 20125 { ac_try='test -z "$ac_c_werror_flag"
14875 { (eval echo "$as_me:14875: \"$ac_try\"") >&5 20126 || test ! -s conftest.err'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; } &&
20132 { ac_try='test -s conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876 (eval $ac_try) 2>&5 20134 (eval $ac_try) 2>&5
14877 ac_status=$? 20135 ac_status=$?
14878 echo "$as_me:14878: \$? = $ac_status" >&5 20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879 (exit $ac_status); }; }; then 20137 (exit $ac_status); }; }; then
14880 ac_cv_lib_sectok_sectok_open=yes 20138 ac_cv_lib_sectok_sectok_open=yes
14881else 20139else
14882 echo "$as_me: failed program was:" >&5 20140 echo "$as_me: failed program was:" >&5
14883cat conftest.$ac_ext >&5 20141sed 's/^/| /' conftest.$ac_ext >&5
20142
14884ac_cv_lib_sectok_sectok_open=no 20143ac_cv_lib_sectok_sectok_open=no
14885fi 20144fi
14886rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20145rm -f conftest.err conftest.$ac_objext \
20146 conftest$ac_exeext conftest.$ac_ext
14887LIBS=$ac_check_lib_save_LIBS 20147LIBS=$ac_check_lib_save_LIBS
14888fi 20148fi
14889echo "$as_me:14889: result: $ac_cv_lib_sectok_sectok_open" >&5 20149echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
14890echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6 20150echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6
14891if test $ac_cv_lib_sectok_sectok_open = yes; then 20151if test $ac_cv_lib_sectok_sectok_open = yes; then
14892 cat >>confdefs.h <<EOF 20152 cat >>confdefs.h <<_ACEOF
14893#define HAVE_LIBSECTOK 1 20153#define HAVE_LIBSECTOK 1
14894EOF 20154_ACEOF
14895 20155
14896 LIBS="-lsectok $LIBS" 20156 LIBS="-lsectok $LIBS"
14897 20157
14898fi 20158fi
14899 20159
14900 if test "$ac_cv_lib_sectok_sectok_open" != yes; then 20160 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
14901 { { echo "$as_me:14901: error: Can't find libsectok" >&5 20161 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5
14902echo "$as_me: error: Can't find libsectok" >&2;} 20162echo "$as_me: error: Can't find libsectok" >&2;}
14903 { (exit 1); exit 1; }; } 20163 { (exit 1); exit 1; }; }
14904 fi 20164 fi
14905 cat >>confdefs.h <<\EOF 20165 cat >>confdefs.h <<\_ACEOF
14906#define SMARTCARD 1 20166#define SMARTCARD 1
14907EOF 20167_ACEOF
14908 20168
14909 cat >>confdefs.h <<\EOF 20169 cat >>confdefs.h <<\_ACEOF
14910#define USE_SECTOK 1 20170#define USE_SECTOK 1
14911EOF 20171_ACEOF
14912 20172
14913 SCARD_MSG="yes, using sectok" 20173 SCARD_MSG="yes, using sectok"
14914 fi 20174 fi
14915 20175
20176
14916fi; 20177fi;
14917 20178
14918# Check whether user wants OpenSC support 20179# Check whether user wants OpenSC support
@@ -14928,7 +20189,7 @@ if test x$opensc_config_prefix != x ; then
14928 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config 20189 OPENSC_CONFIG=$opensc_config_prefix/bin/opensc-config
14929 # Extract the first word of "opensc-config", so it can be a program name with args. 20190 # Extract the first word of "opensc-config", so it can be a program name with args.
14930set dummy opensc-config; ac_word=$2 20191set dummy opensc-config; ac_word=$2
14931echo "$as_me:14931: checking for $ac_word" >&5 20192echo "$as_me:$LINENO: checking for $ac_word" >&5
14932echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 20193echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14933if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then 20194if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6 20195 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14938,16 +20199,18 @@ else
14938 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path. 20199 ac_cv_path_OPENSC_CONFIG="$OPENSC_CONFIG" # Let the user override the test with a path.
14939 ;; 20200 ;;
14940 *) 20201 *)
14941 ac_save_IFS=$IFS; IFS=$ac_path_separator 20202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14942ac_dummy="$PATH" 20203for as_dir in $PATH
14943for ac_dir in $ac_dummy; do 20204do
14944 IFS=$ac_save_IFS 20205 IFS=$as_save_IFS
14945 test -z "$ac_dir" && ac_dir=. 20206 test -z "$as_dir" && as_dir=.
14946 if $as_executable_p "$ac_dir/$ac_word"; then 20207 for ac_exec_ext in '' $ac_executable_extensions; do
14947 ac_cv_path_OPENSC_CONFIG="$ac_dir/$ac_word" 20208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14948 echo "$as_me:14948: found $ac_dir/$ac_word" >&5 20209 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14949 break 20210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14950fi 20211 break 2
20212 fi
20213done
14951done 20214done
14952 20215
14953 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no" 20216 test -z "$ac_cv_path_OPENSC_CONFIG" && ac_cv_path_OPENSC_CONFIG="no"
@@ -14957,10 +20220,10 @@ fi
14957OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG 20220OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
14958 20221
14959if test -n "$OPENSC_CONFIG"; then 20222if test -n "$OPENSC_CONFIG"; then
14960 echo "$as_me:14960: result: $OPENSC_CONFIG" >&5 20223 echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
14961echo "${ECHO_T}$OPENSC_CONFIG" >&6 20224echo "${ECHO_T}$OPENSC_CONFIG" >&6
14962else 20225else
14963 echo "$as_me:14963: result: no" >&5 20226 echo "$as_me:$LINENO: result: no" >&5
14964echo "${ECHO_T}no" >&6 20227echo "${ECHO_T}no" >&6
14965fi 20228fi
14966 20229
@@ -14969,20 +20232,20 @@ fi
14969 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs` 20232 LIBOPENSC_LIBS=`$OPENSC_CONFIG --libs`
14970 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS" 20233 CPPFLAGS="$CPPFLAGS $LIBOPENSC_CFLAGS"
14971 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS" 20234 LDFLAGS="$LDFLAGS $LIBOPENSC_LIBS"
14972 cat >>confdefs.h <<\EOF 20235 cat >>confdefs.h <<\_ACEOF
14973#define SMARTCARD 1 20236#define SMARTCARD 1
14974EOF 20237_ACEOF
14975 20238
14976 cat >>confdefs.h <<\EOF 20239 cat >>confdefs.h <<\_ACEOF
14977#define USE_OPENSC 1 20240#define USE_OPENSC 1
14978EOF 20241_ACEOF
14979 20242
14980 SCARD_MSG="yes, using OpenSC" 20243 SCARD_MSG="yes, using OpenSC"
14981 fi 20244 fi
14982fi 20245fi
14983 20246
14984# Check libraries needed by DNS fingerprint support 20247# Check libraries needed by DNS fingerprint support
14985echo "$as_me:14985: checking for library containing getrrsetbyname" >&5 20248echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5
14986echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6 20249echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6
14987if test "${ac_cv_search_getrrsetbyname+set}" = set; then 20250if test "${ac_cv_search_getrrsetbyname+set}" = set; then
14988 echo $ECHO_N "(cached) $ECHO_C" >&6 20251 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -14990,8 +20253,11 @@ else
14990 ac_func_search_save_LIBS=$LIBS 20253 ac_func_search_save_LIBS=$LIBS
14991ac_cv_search_getrrsetbyname=no 20254ac_cv_search_getrrsetbyname=no
14992cat >conftest.$ac_ext <<_ACEOF 20255cat >conftest.$ac_ext <<_ACEOF
14993#line 14993 "configure" 20256/* confdefs.h. */
14994#include "confdefs.h" 20257_ACEOF
20258cat confdefs.h >>conftest.$ac_ext
20259cat >>conftest.$ac_ext <<_ACEOF
20260/* end confdefs.h. */
14995 20261
14996/* Override any gcc2 internal prototype to avoid an error. */ 20262/* Override any gcc2 internal prototype to avoid an error. */
14997#ifdef __cplusplus 20263#ifdef __cplusplus
@@ -15009,29 +20275,44 @@ getrrsetbyname ();
15009} 20275}
15010_ACEOF 20276_ACEOF
15011rm -f conftest.$ac_objext conftest$ac_exeext 20277rm -f conftest.$ac_objext conftest$ac_exeext
15012if { (eval echo "$as_me:15012: \"$ac_link\"") >&5 20278if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15013 (eval $ac_link) 2>&5 20279 (eval $ac_link) 2>conftest.er1
15014 ac_status=$? 20280 ac_status=$?
15015 echo "$as_me:15015: \$? = $ac_status" >&5 20281 grep -v '^ *+' conftest.er1 >conftest.err
20282 rm -f conftest.er1
20283 cat conftest.err >&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15016 (exit $ac_status); } && 20285 (exit $ac_status); } &&
15017 { ac_try='test -s conftest$ac_exeext' 20286 { ac_try='test -z "$ac_c_werror_flag"
15018 { (eval echo "$as_me:15018: \"$ac_try\"") >&5 20287 || test ! -s conftest.err'
20288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5 20289 (eval $ac_try) 2>&5
15020 ac_status=$? 20290 ac_status=$?
15021 echo "$as_me:15021: \$? = $ac_status" >&5 20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); }; } &&
20293 { ac_try='test -s conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; }; then 20298 (exit $ac_status); }; }; then
15023 ac_cv_search_getrrsetbyname="none required" 20299 ac_cv_search_getrrsetbyname="none required"
15024else 20300else
15025 echo "$as_me: failed program was:" >&5 20301 echo "$as_me: failed program was:" >&5
15026cat conftest.$ac_ext >&5 20302sed 's/^/| /' conftest.$ac_ext >&5
20303
15027fi 20304fi
15028rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20305rm -f conftest.err conftest.$ac_objext \
20306 conftest$ac_exeext conftest.$ac_ext
15029if test "$ac_cv_search_getrrsetbyname" = no; then 20307if test "$ac_cv_search_getrrsetbyname" = no; then
15030 for ac_lib in resolv; do 20308 for ac_lib in resolv; do
15031 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20309 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15032 cat >conftest.$ac_ext <<_ACEOF 20310 cat >conftest.$ac_ext <<_ACEOF
15033#line 15033 "configure" 20311/* confdefs.h. */
15034#include "confdefs.h" 20312_ACEOF
20313cat confdefs.h >>conftest.$ac_ext
20314cat >>conftest.$ac_ext <<_ACEOF
20315/* end confdefs.h. */
15035 20316
15036/* Override any gcc2 internal prototype to avoid an error. */ 20317/* Override any gcc2 internal prototype to avoid an error. */
15037#ifdef __cplusplus 20318#ifdef __cplusplus
@@ -15049,40 +20330,52 @@ getrrsetbyname ();
15049} 20330}
15050_ACEOF 20331_ACEOF
15051rm -f conftest.$ac_objext conftest$ac_exeext 20332rm -f conftest.$ac_objext conftest$ac_exeext
15052if { (eval echo "$as_me:15052: \"$ac_link\"") >&5 20333if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053 (eval $ac_link) 2>&5 20334 (eval $ac_link) 2>conftest.er1
15054 ac_status=$? 20335 ac_status=$?
15055 echo "$as_me:15055: \$? = $ac_status" >&5 20336 grep -v '^ *+' conftest.er1 >conftest.err
20337 rm -f conftest.er1
20338 cat conftest.err >&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && 20340 (exit $ac_status); } &&
15057 { ac_try='test -s conftest$ac_exeext' 20341 { ac_try='test -z "$ac_c_werror_flag"
15058 { (eval echo "$as_me:15058: \"$ac_try\"") >&5 20342 || test ! -s conftest.err'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; } &&
20348 { ac_try='test -s conftest$ac_exeext'
20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5 20350 (eval $ac_try) 2>&5
15060 ac_status=$? 20351 ac_status=$?
15061 echo "$as_me:15061: \$? = $ac_status" >&5 20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then 20353 (exit $ac_status); }; }; then
15063 ac_cv_search_getrrsetbyname="-l$ac_lib" 20354 ac_cv_search_getrrsetbyname="-l$ac_lib"
15064break 20355break
15065else 20356else
15066 echo "$as_me: failed program was:" >&5 20357 echo "$as_me: failed program was:" >&5
15067cat conftest.$ac_ext >&5 20358sed 's/^/| /' conftest.$ac_ext >&5
20359
15068fi 20360fi
15069rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20361rm -f conftest.err conftest.$ac_objext \
20362 conftest$ac_exeext conftest.$ac_ext
15070 done 20363 done
15071fi 20364fi
15072LIBS=$ac_func_search_save_LIBS 20365LIBS=$ac_func_search_save_LIBS
15073fi 20366fi
15074echo "$as_me:15074: result: $ac_cv_search_getrrsetbyname" >&5 20367echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
15075echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6 20368echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6
15076if test "$ac_cv_search_getrrsetbyname" != no; then 20369if test "$ac_cv_search_getrrsetbyname" != no; then
15077 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS" 20370 test "$ac_cv_search_getrrsetbyname" = "none required" || LIBS="$ac_cv_search_getrrsetbyname $LIBS"
15078 cat >>confdefs.h <<\EOF 20371 cat >>confdefs.h <<\_ACEOF
15079#define HAVE_GETRRSETBYNAME 1 20372#define HAVE_GETRRSETBYNAME 1
15080EOF 20373_ACEOF
15081 20374
15082else 20375else
15083 20376
15084 # Needed by our getrrsetbyname() 20377 # Needed by our getrrsetbyname()
15085 echo "$as_me:15085: checking for library containing res_query" >&5 20378 echo "$as_me:$LINENO: checking for library containing res_query" >&5
15086echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6 20379echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6
15087if test "${ac_cv_search_res_query+set}" = set; then 20380if test "${ac_cv_search_res_query+set}" = set; then
15088 echo $ECHO_N "(cached) $ECHO_C" >&6 20381 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15090,8 +20383,11 @@ else
15090 ac_func_search_save_LIBS=$LIBS 20383 ac_func_search_save_LIBS=$LIBS
15091ac_cv_search_res_query=no 20384ac_cv_search_res_query=no
15092cat >conftest.$ac_ext <<_ACEOF 20385cat >conftest.$ac_ext <<_ACEOF
15093#line 15093 "configure" 20386/* confdefs.h. */
15094#include "confdefs.h" 20387_ACEOF
20388cat confdefs.h >>conftest.$ac_ext
20389cat >>conftest.$ac_ext <<_ACEOF
20390/* end confdefs.h. */
15095 20391
15096/* Override any gcc2 internal prototype to avoid an error. */ 20392/* Override any gcc2 internal prototype to avoid an error. */
15097#ifdef __cplusplus 20393#ifdef __cplusplus
@@ -15109,29 +20405,44 @@ res_query ();
15109} 20405}
15110_ACEOF 20406_ACEOF
15111rm -f conftest.$ac_objext conftest$ac_exeext 20407rm -f conftest.$ac_objext conftest$ac_exeext
15112if { (eval echo "$as_me:15112: \"$ac_link\"") >&5 20408if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15113 (eval $ac_link) 2>&5 20409 (eval $ac_link) 2>conftest.er1
15114 ac_status=$? 20410 ac_status=$?
15115 echo "$as_me:15115: \$? = $ac_status" >&5 20411 grep -v '^ *+' conftest.er1 >conftest.err
20412 rm -f conftest.er1
20413 cat conftest.err >&5
20414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } && 20415 (exit $ac_status); } &&
15117 { ac_try='test -s conftest$ac_exeext' 20416 { ac_try='test -z "$ac_c_werror_flag"
15118 { (eval echo "$as_me:15118: \"$ac_try\"") >&5 20417 || test ! -s conftest.err'
20418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419 (eval $ac_try) 2>&5
20420 ac_status=$?
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); }; } &&
20423 { ac_try='test -s conftest$ac_exeext'
20424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15119 (eval $ac_try) 2>&5 20425 (eval $ac_try) 2>&5
15120 ac_status=$? 20426 ac_status=$?
15121 echo "$as_me:15121: \$? = $ac_status" >&5 20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }; }; then 20428 (exit $ac_status); }; }; then
15123 ac_cv_search_res_query="none required" 20429 ac_cv_search_res_query="none required"
15124else 20430else
15125 echo "$as_me: failed program was:" >&5 20431 echo "$as_me: failed program was:" >&5
15126cat conftest.$ac_ext >&5 20432sed 's/^/| /' conftest.$ac_ext >&5
20433
15127fi 20434fi
15128rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20435rm -f conftest.err conftest.$ac_objext \
20436 conftest$ac_exeext conftest.$ac_ext
15129if test "$ac_cv_search_res_query" = no; then 20437if test "$ac_cv_search_res_query" = no; then
15130 for ac_lib in resolv; do 20438 for ac_lib in resolv; do
15131 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20439 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15132 cat >conftest.$ac_ext <<_ACEOF 20440 cat >conftest.$ac_ext <<_ACEOF
15133#line 15133 "configure" 20441/* confdefs.h. */
15134#include "confdefs.h" 20442_ACEOF
20443cat confdefs.h >>conftest.$ac_ext
20444cat >>conftest.$ac_ext <<_ACEOF
20445/* end confdefs.h. */
15135 20446
15136/* Override any gcc2 internal prototype to avoid an error. */ 20447/* Override any gcc2 internal prototype to avoid an error. */
15137#ifdef __cplusplus 20448#ifdef __cplusplus
@@ -15149,36 +20460,48 @@ res_query ();
15149} 20460}
15150_ACEOF 20461_ACEOF
15151rm -f conftest.$ac_objext conftest$ac_exeext 20462rm -f conftest.$ac_objext conftest$ac_exeext
15152if { (eval echo "$as_me:15152: \"$ac_link\"") >&5 20463if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15153 (eval $ac_link) 2>&5 20464 (eval $ac_link) 2>conftest.er1
15154 ac_status=$? 20465 ac_status=$?
15155 echo "$as_me:15155: \$? = $ac_status" >&5 20466 grep -v '^ *+' conftest.er1 >conftest.err
20467 rm -f conftest.er1
20468 cat conftest.err >&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); } && 20470 (exit $ac_status); } &&
15157 { ac_try='test -s conftest$ac_exeext' 20471 { ac_try='test -z "$ac_c_werror_flag"
15158 { (eval echo "$as_me:15158: \"$ac_try\"") >&5 20472 || test ! -s conftest.err'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5 20474 (eval $ac_try) 2>&5
15160 ac_status=$? 20475 ac_status=$?
15161 echo "$as_me:15161: \$? = $ac_status" >&5 20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; } &&
20478 { ac_try='test -s conftest$ac_exeext'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; }; then 20483 (exit $ac_status); }; }; then
15163 ac_cv_search_res_query="-l$ac_lib" 20484 ac_cv_search_res_query="-l$ac_lib"
15164break 20485break
15165else 20486else
15166 echo "$as_me: failed program was:" >&5 20487 echo "$as_me: failed program was:" >&5
15167cat conftest.$ac_ext >&5 20488sed 's/^/| /' conftest.$ac_ext >&5
20489
15168fi 20490fi
15169rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20491rm -f conftest.err conftest.$ac_objext \
20492 conftest$ac_exeext conftest.$ac_ext
15170 done 20493 done
15171fi 20494fi
15172LIBS=$ac_func_search_save_LIBS 20495LIBS=$ac_func_search_save_LIBS
15173fi 20496fi
15174echo "$as_me:15174: result: $ac_cv_search_res_query" >&5 20497echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
15175echo "${ECHO_T}$ac_cv_search_res_query" >&6 20498echo "${ECHO_T}$ac_cv_search_res_query" >&6
15176if test "$ac_cv_search_res_query" != no; then 20499if test "$ac_cv_search_res_query" != no; then
15177 test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS" 20500 test "$ac_cv_search_res_query" = "none required" || LIBS="$ac_cv_search_res_query $LIBS"
15178 20501
15179fi 20502fi
15180 20503
15181 echo "$as_me:15181: checking for library containing dn_expand" >&5 20504 echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
15182echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 20505echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
15183if test "${ac_cv_search_dn_expand+set}" = set; then 20506if test "${ac_cv_search_dn_expand+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6 20507 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15186,8 +20509,11 @@ else
15186 ac_func_search_save_LIBS=$LIBS 20509 ac_func_search_save_LIBS=$LIBS
15187ac_cv_search_dn_expand=no 20510ac_cv_search_dn_expand=no
15188cat >conftest.$ac_ext <<_ACEOF 20511cat >conftest.$ac_ext <<_ACEOF
15189#line 15189 "configure" 20512/* confdefs.h. */
15190#include "confdefs.h" 20513_ACEOF
20514cat confdefs.h >>conftest.$ac_ext
20515cat >>conftest.$ac_ext <<_ACEOF
20516/* end confdefs.h. */
15191 20517
15192/* Override any gcc2 internal prototype to avoid an error. */ 20518/* Override any gcc2 internal prototype to avoid an error. */
15193#ifdef __cplusplus 20519#ifdef __cplusplus
@@ -15205,29 +20531,44 @@ dn_expand ();
15205} 20531}
15206_ACEOF 20532_ACEOF
15207rm -f conftest.$ac_objext conftest$ac_exeext 20533rm -f conftest.$ac_objext conftest$ac_exeext
15208if { (eval echo "$as_me:15208: \"$ac_link\"") >&5 20534if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15209 (eval $ac_link) 2>&5 20535 (eval $ac_link) 2>conftest.er1
15210 ac_status=$? 20536 ac_status=$?
15211 echo "$as_me:15211: \$? = $ac_status" >&5 20537 grep -v '^ *+' conftest.er1 >conftest.err
20538 rm -f conftest.er1
20539 cat conftest.err >&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } && 20541 (exit $ac_status); } &&
15213 { ac_try='test -s conftest$ac_exeext' 20542 { ac_try='test -z "$ac_c_werror_flag"
15214 { (eval echo "$as_me:15214: \"$ac_try\"") >&5 20543 || test ! -s conftest.err'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; } &&
20549 { ac_try='test -s conftest$ac_exeext'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5 20551 (eval $ac_try) 2>&5
15216 ac_status=$? 20552 ac_status=$?
15217 echo "$as_me:15217: \$? = $ac_status" >&5 20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then 20554 (exit $ac_status); }; }; then
15219 ac_cv_search_dn_expand="none required" 20555 ac_cv_search_dn_expand="none required"
15220else 20556else
15221 echo "$as_me: failed program was:" >&5 20557 echo "$as_me: failed program was:" >&5
15222cat conftest.$ac_ext >&5 20558sed 's/^/| /' conftest.$ac_ext >&5
20559
15223fi 20560fi
15224rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20561rm -f conftest.err conftest.$ac_objext \
20562 conftest$ac_exeext conftest.$ac_ext
15225if test "$ac_cv_search_dn_expand" = no; then 20563if test "$ac_cv_search_dn_expand" = no; then
15226 for ac_lib in resolv; do 20564 for ac_lib in resolv; do
15227 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 20565 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15228 cat >conftest.$ac_ext <<_ACEOF 20566 cat >conftest.$ac_ext <<_ACEOF
15229#line 15229 "configure" 20567/* confdefs.h. */
15230#include "confdefs.h" 20568_ACEOF
20569cat confdefs.h >>conftest.$ac_ext
20570cat >>conftest.$ac_ext <<_ACEOF
20571/* end confdefs.h. */
15231 20572
15232/* Override any gcc2 internal prototype to avoid an error. */ 20573/* Override any gcc2 internal prototype to avoid an error. */
15233#ifdef __cplusplus 20574#ifdef __cplusplus
@@ -15245,112 +20586,268 @@ dn_expand ();
15245} 20586}
15246_ACEOF 20587_ACEOF
15247rm -f conftest.$ac_objext conftest$ac_exeext 20588rm -f conftest.$ac_objext conftest$ac_exeext
15248if { (eval echo "$as_me:15248: \"$ac_link\"") >&5 20589if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15249 (eval $ac_link) 2>&5 20590 (eval $ac_link) 2>conftest.er1
15250 ac_status=$? 20591 ac_status=$?
15251 echo "$as_me:15251: \$? = $ac_status" >&5 20592 grep -v '^ *+' conftest.er1 >conftest.err
20593 rm -f conftest.er1
20594 cat conftest.err >&5
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); } && 20596 (exit $ac_status); } &&
15253 { ac_try='test -s conftest$ac_exeext' 20597 { ac_try='test -z "$ac_c_werror_flag"
15254 { (eval echo "$as_me:15254: \"$ac_try\"") >&5 20598 || test ! -s conftest.err'
20599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15255 (eval $ac_try) 2>&5 20600 (eval $ac_try) 2>&5
15256 ac_status=$? 20601 ac_status=$?
15257 echo "$as_me:15257: \$? = $ac_status" >&5 20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); }; } &&
20604 { ac_try='test -s conftest$ac_exeext'
20605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20606 (eval $ac_try) 2>&5
20607 ac_status=$?
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }; }; then 20609 (exit $ac_status); }; }; then
15259 ac_cv_search_dn_expand="-l$ac_lib" 20610 ac_cv_search_dn_expand="-l$ac_lib"
15260break 20611break
15261else 20612else
15262 echo "$as_me: failed program was:" >&5 20613 echo "$as_me: failed program was:" >&5
15263cat conftest.$ac_ext >&5 20614sed 's/^/| /' conftest.$ac_ext >&5
20615
15264fi 20616fi
15265rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20617rm -f conftest.err conftest.$ac_objext \
20618 conftest$ac_exeext conftest.$ac_ext
15266 done 20619 done
15267fi 20620fi
15268LIBS=$ac_func_search_save_LIBS 20621LIBS=$ac_func_search_save_LIBS
15269fi 20622fi
15270echo "$as_me:15270: result: $ac_cv_search_dn_expand" >&5 20623echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
15271echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 20624echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
15272if test "$ac_cv_search_dn_expand" != no; then 20625if test "$ac_cv_search_dn_expand" != no; then
15273 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 20626 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
15274 20627
15275fi 20628fi
15276 20629
20630 echo "$as_me:$LINENO: checking if res_query will link" >&5
20631echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6
20632 cat >conftest.$ac_ext <<_ACEOF
20633/* confdefs.h. */
20634_ACEOF
20635cat confdefs.h >>conftest.$ac_ext
20636cat >>conftest.$ac_ext <<_ACEOF
20637/* end confdefs.h. */
20638
20639/* Override any gcc2 internal prototype to avoid an error. */
20640#ifdef __cplusplus
20641extern "C"
20642#endif
20643/* We use char because int might match the return type of a gcc2
20644 builtin and then its argument prototype would still apply. */
20645char res_query ();
20646int
20647main ()
20648{
20649res_query ();
20650 ;
20651 return 0;
20652}
20653_ACEOF
20654rm -f conftest.$ac_objext conftest$ac_exeext
20655if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20656 (eval $ac_link) 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } &&
20663 { ac_try='test -z "$ac_c_werror_flag"
20664 || test ! -s conftest.err'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20667 ac_status=$?
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; } &&
20670 { ac_try='test -s conftest$ac_exeext'
20671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20672 (eval $ac_try) 2>&5
20673 ac_status=$?
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); }; }; then
20676 echo "$as_me:$LINENO: result: yes" >&5
20677echo "${ECHO_T}yes" >&6
20678else
20679 echo "$as_me: failed program was:" >&5
20680sed 's/^/| /' conftest.$ac_ext >&5
20681
20682echo "$as_me:$LINENO: result: no" >&5
20683echo "${ECHO_T}no" >&6
20684 saved_LIBS="$LIBS"
20685 LIBS="$LIBS -lresolv"
20686 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
20687echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
20688 cat >conftest.$ac_ext <<_ACEOF
20689
20690#include <resolv.h>
20691int main()
20692{
20693 res_query (0, 0, 0, 0, 0);
20694 return 0;
20695}
20696
20697_ACEOF
20698rm -f conftest.$ac_objext conftest$ac_exeext
20699if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20700 (eval $ac_link) 2>conftest.er1
20701 ac_status=$?
20702 grep -v '^ *+' conftest.er1 >conftest.err
20703 rm -f conftest.er1
20704 cat conftest.err >&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try='test -z "$ac_c_werror_flag"
20708 || test ! -s conftest.err'
20709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20710 (eval $ac_try) 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; } &&
20714 { ac_try='test -s conftest$ac_exeext'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; }; then
20720 LIBS="$LIBS -lresolv"
20721 echo "$as_me:$LINENO: result: yes" >&5
20722echo "${ECHO_T}yes" >&6
20723else
20724 echo "$as_me: failed program was:" >&5
20725sed 's/^/| /' conftest.$ac_ext >&5
20726
20727LIBS="$saved_LIBS"
20728 echo "$as_me:$LINENO: result: no" >&5
20729echo "${ECHO_T}no" >&6
20730fi
20731rm -f conftest.err conftest.$ac_objext \
20732 conftest$ac_exeext conftest.$ac_ext
20733
20734fi
20735rm -f conftest.err conftest.$ac_objext \
20736 conftest$ac_exeext conftest.$ac_ext
20737
20738
15277for ac_func in _getshort _getlong 20739for ac_func in _getshort _getlong
15278do 20740do
15279as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 20741as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15280echo "$as_me:15280: checking for $ac_func" >&5 20742echo "$as_me:$LINENO: checking for $ac_func" >&5
15281echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 20743echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15282if eval "test \"\${$as_ac_var+set}\" = set"; then 20744if eval "test \"\${$as_ac_var+set}\" = set"; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6 20745 echo $ECHO_N "(cached) $ECHO_C" >&6
15284else 20746else
15285 cat >conftest.$ac_ext <<_ACEOF 20747 cat >conftest.$ac_ext <<_ACEOF
15286#line 15286 "configure" 20748/* confdefs.h. */
15287#include "confdefs.h" 20749_ACEOF
20750cat confdefs.h >>conftest.$ac_ext
20751cat >>conftest.$ac_ext <<_ACEOF
20752/* end confdefs.h. */
20753/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20755#define $ac_func innocuous_$ac_func
20756
15288/* System header to define __stub macros and hopefully few prototypes, 20757/* System header to define __stub macros and hopefully few prototypes,
15289 which can conflict with char $ac_func (); below. */ 20758 which can conflict with char $ac_func (); below.
15290#include <assert.h> 20759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20760 <limits.h> exists even on freestanding compilers. */
20761
20762#ifdef __STDC__
20763# include <limits.h>
20764#else
20765# include <assert.h>
20766#endif
20767
20768#undef $ac_func
20769
15291/* Override any gcc2 internal prototype to avoid an error. */ 20770/* Override any gcc2 internal prototype to avoid an error. */
15292#ifdef __cplusplus 20771#ifdef __cplusplus
15293extern "C" 20772extern "C"
20773{
15294#endif 20774#endif
15295/* We use char because int might match the return type of a gcc2 20775/* We use char because int might match the return type of a gcc2
15296 builtin and then its argument prototype would still apply. */ 20776 builtin and then its argument prototype would still apply. */
15297char $ac_func (); 20777char $ac_func ();
15298char (*f) ();
15299
15300int
15301main ()
15302{
15303/* The GNU C library defines this for functions which it implements 20778/* The GNU C library defines this for functions which it implements
15304 to always fail with ENOSYS. Some functions are actually named 20779 to always fail with ENOSYS. Some functions are actually named
15305 something starting with __ and the normal name is an alias. */ 20780 something starting with __ and the normal name is an alias. */
15306#if defined (__stub_$ac_func) || defined (__stub___$ac_func) 20781#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15307choke me 20782choke me
15308#else 20783#else
15309f = $ac_func; 20784char (*f) () = $ac_func;
20785#endif
20786#ifdef __cplusplus
20787}
15310#endif 20788#endif
15311 20789
20790int
20791main ()
20792{
20793return f != $ac_func;
15312 ; 20794 ;
15313 return 0; 20795 return 0;
15314} 20796}
15315_ACEOF 20797_ACEOF
15316rm -f conftest.$ac_objext conftest$ac_exeext 20798rm -f conftest.$ac_objext conftest$ac_exeext
15317if { (eval echo "$as_me:15317: \"$ac_link\"") >&5 20799if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15318 (eval $ac_link) 2>&5 20800 (eval $ac_link) 2>conftest.er1
15319 ac_status=$? 20801 ac_status=$?
15320 echo "$as_me:15320: \$? = $ac_status" >&5 20802 grep -v '^ *+' conftest.er1 >conftest.err
20803 rm -f conftest.er1
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); } && 20806 (exit $ac_status); } &&
15322 { ac_try='test -s conftest$ac_exeext' 20807 { ac_try='test -z "$ac_c_werror_flag"
15323 { (eval echo "$as_me:15323: \"$ac_try\"") >&5 20808 || test ! -s conftest.err'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15324 (eval $ac_try) 2>&5 20810 (eval $ac_try) 2>&5
15325 ac_status=$? 20811 ac_status=$?
15326 echo "$as_me:15326: \$? = $ac_status" >&5 20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; } &&
20814 { ac_try='test -s conftest$ac_exeext'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327 (exit $ac_status); }; }; then 20819 (exit $ac_status); }; }; then
15328 eval "$as_ac_var=yes" 20820 eval "$as_ac_var=yes"
15329else 20821else
15330 echo "$as_me: failed program was:" >&5 20822 echo "$as_me: failed program was:" >&5
15331cat conftest.$ac_ext >&5 20823sed 's/^/| /' conftest.$ac_ext >&5
20824
15332eval "$as_ac_var=no" 20825eval "$as_ac_var=no"
15333fi 20826fi
15334rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 20827rm -f conftest.err conftest.$ac_objext \
20828 conftest$ac_exeext conftest.$ac_ext
15335fi 20829fi
15336echo "$as_me:15336: result: `eval echo '${'$as_ac_var'}'`" >&5 20830echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15337echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 20831echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15338if test `eval echo '${'$as_ac_var'}'` = yes; then 20832if test `eval echo '${'$as_ac_var'}'` = yes; then
15339 cat >>confdefs.h <<EOF 20833 cat >>confdefs.h <<_ACEOF
15340#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 20834#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15341EOF 20835_ACEOF
15342 20836
15343fi 20837fi
15344done 20838done
15345 20839
15346 echo "$as_me:15346: checking for HEADER.ad" >&5 20840 echo "$as_me:$LINENO: checking for HEADER.ad" >&5
15347echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6 20841echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6
15348if test "${ac_cv_member_HEADER_ad+set}" = set; then 20842if test "${ac_cv_member_HEADER_ad+set}" = set; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6 20843 echo $ECHO_N "(cached) $ECHO_C" >&6
15350else 20844else
15351 cat >conftest.$ac_ext <<_ACEOF 20845 cat >conftest.$ac_ext <<_ACEOF
15352#line 15352 "configure" 20846/* confdefs.h. */
15353#include "confdefs.h" 20847_ACEOF
20848cat confdefs.h >>conftest.$ac_ext
20849cat >>conftest.$ac_ext <<_ACEOF
20850/* end confdefs.h. */
15354#include <arpa/nameser.h> 20851#include <arpa/nameser.h>
15355 20852
15356int 20853int
@@ -15364,36 +20861,96 @@ return 0;
15364} 20861}
15365_ACEOF 20862_ACEOF
15366rm -f conftest.$ac_objext 20863rm -f conftest.$ac_objext
15367if { (eval echo "$as_me:15367: \"$ac_compile\"") >&5 20864if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15368 (eval $ac_compile) 2>&5 20865 (eval $ac_compile) 2>conftest.er1
20866 ac_status=$?
20867 grep -v '^ *+' conftest.er1 >conftest.err
20868 rm -f conftest.er1
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } &&
20872 { ac_try='test -z "$ac_c_werror_flag"
20873 || test ! -s conftest.err'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; } &&
20879 { ac_try='test -s conftest.$ac_objext'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20882 ac_status=$?
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; }; then
20885 ac_cv_member_HEADER_ad=yes
20886else
20887 echo "$as_me: failed program was:" >&5
20888sed 's/^/| /' conftest.$ac_ext >&5
20889
20890cat >conftest.$ac_ext <<_ACEOF
20891/* confdefs.h. */
20892_ACEOF
20893cat confdefs.h >>conftest.$ac_ext
20894cat >>conftest.$ac_ext <<_ACEOF
20895/* end confdefs.h. */
20896#include <arpa/nameser.h>
20897
20898int
20899main ()
20900{
20901static HEADER ac_aggr;
20902if (sizeof ac_aggr.ad)
20903return 0;
20904 ;
20905 return 0;
20906}
20907_ACEOF
20908rm -f conftest.$ac_objext
20909if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20910 (eval $ac_compile) 2>conftest.er1
15369 ac_status=$? 20911 ac_status=$?
15370 echo "$as_me:15370: \$? = $ac_status" >&5 20912 grep -v '^ *+' conftest.er1 >conftest.err
20913 rm -f conftest.er1
20914 cat conftest.err >&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } && 20916 (exit $ac_status); } &&
15372 { ac_try='test -s conftest.$ac_objext' 20917 { ac_try='test -z "$ac_c_werror_flag"
15373 { (eval echo "$as_me:15373: \"$ac_try\"") >&5 20918 || test ! -s conftest.err'
20919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20920 (eval $ac_try) 2>&5
20921 ac_status=$?
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); }; } &&
20924 { ac_try='test -s conftest.$ac_objext'
20925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15374 (eval $ac_try) 2>&5 20926 (eval $ac_try) 2>&5
15375 ac_status=$? 20927 ac_status=$?
15376 echo "$as_me:15376: \$? = $ac_status" >&5 20928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); }; }; then 20929 (exit $ac_status); }; }; then
15378 ac_cv_member_HEADER_ad=yes 20930 ac_cv_member_HEADER_ad=yes
15379else 20931else
15380 echo "$as_me: failed program was:" >&5 20932 echo "$as_me: failed program was:" >&5
15381cat conftest.$ac_ext >&5 20933sed 's/^/| /' conftest.$ac_ext >&5
20934
15382ac_cv_member_HEADER_ad=no 20935ac_cv_member_HEADER_ad=no
15383fi 20936fi
15384rm -f conftest.$ac_objext conftest.$ac_ext 20937rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20938fi
20939rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15385fi 20940fi
15386echo "$as_me:15386: result: $ac_cv_member_HEADER_ad" >&5 20941echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
15387echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6 20942echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6
15388if test $ac_cv_member_HEADER_ad = yes; then 20943if test $ac_cv_member_HEADER_ad = yes; then
15389 cat >>confdefs.h <<\EOF 20944 cat >>confdefs.h <<\_ACEOF
15390#define HAVE_HEADER_AD 1 20945#define HAVE_HEADER_AD 1
15391EOF 20946_ACEOF
15392 20947
15393fi 20948fi
15394 20949
20950
15395fi 20951fi
15396 20952
20953
15397# Check whether user wants Kerberos 5 support 20954# Check whether user wants Kerberos 5 support
15398KRB5_MSG="no" 20955KRB5_MSG="no"
15399 20956
@@ -15407,42 +20964,45 @@ if test "${with_kerberos5+set}" = set; then
15407 KRB5ROOT=${withval} 20964 KRB5ROOT=${withval}
15408 fi 20965 fi
15409 20966
15410 cat >>confdefs.h <<\EOF 20967 cat >>confdefs.h <<\_ACEOF
15411#define KRB5 1 20968#define KRB5 1
15412EOF 20969_ACEOF
15413 20970
15414 KRB5_MSG="yes" 20971 KRB5_MSG="yes"
15415 20972
15416 echo "$as_me:15416: checking for krb5-config" >&5 20973 echo "$as_me:$LINENO: checking for krb5-config" >&5
15417echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6 20974echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6
15418 if test -x $KRB5ROOT/bin/krb5-config ; then 20975 if test -x $KRB5ROOT/bin/krb5-config ; then
15419 KRB5CONF=$KRB5ROOT/bin/krb5-config 20976 KRB5CONF=$KRB5ROOT/bin/krb5-config
15420 echo "$as_me:15420: result: $KRB5CONF" >&5 20977 echo "$as_me:$LINENO: result: $KRB5CONF" >&5
15421echo "${ECHO_T}$KRB5CONF" >&6 20978echo "${ECHO_T}$KRB5CONF" >&6
15422 20979
15423 echo "$as_me:15423: checking for gssapi support" >&5 20980 echo "$as_me:$LINENO: checking for gssapi support" >&5
15424echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6 20981echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6
15425 if $KRB5CONF | grep gssapi >/dev/null ; then 20982 if $KRB5CONF | grep gssapi >/dev/null ; then
15426 echo "$as_me:15426: result: yes" >&5 20983 echo "$as_me:$LINENO: result: yes" >&5
15427echo "${ECHO_T}yes" >&6 20984echo "${ECHO_T}yes" >&6
15428 cat >>confdefs.h <<\EOF 20985 cat >>confdefs.h <<\_ACEOF
15429#define GSSAPI 1 20986#define GSSAPI 1
15430EOF 20987_ACEOF
15431 20988
15432 k5confopts=gssapi 20989 k5confopts=gssapi
15433 else 20990 else
15434 echo "$as_me:15434: result: no" >&5 20991 echo "$as_me:$LINENO: result: no" >&5
15435echo "${ECHO_T}no" >&6 20992echo "${ECHO_T}no" >&6
15436 k5confopts="" 20993 k5confopts=""
15437 fi 20994 fi
15438 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" 20995 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`"
15439 K5LIBS="`$KRB5CONF --libs $k5confopts`" 20996 K5LIBS="`$KRB5CONF --libs $k5confopts`"
15440 CPPFLAGS="$CPPFLAGS $K5CFLAGS" 20997 CPPFLAGS="$CPPFLAGS $K5CFLAGS"
15441 echo "$as_me:15441: checking whether we are using Heimdal" >&5 20998 echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
15442echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 20999echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
15443 cat >conftest.$ac_ext <<_ACEOF 21000 cat >conftest.$ac_ext <<_ACEOF
15444#line 15444 "configure" 21001/* confdefs.h. */
15445#include "confdefs.h" 21002_ACEOF
21003cat confdefs.h >>conftest.$ac_ext
21004cat >>conftest.$ac_ext <<_ACEOF
21005/* end confdefs.h. */
15446 #include <krb5.h> 21006 #include <krb5.h>
15447int 21007int
15448main () 21008main ()
@@ -15453,41 +21013,55 @@ main ()
15453} 21013}
15454_ACEOF 21014_ACEOF
15455rm -f conftest.$ac_objext 21015rm -f conftest.$ac_objext
15456if { (eval echo "$as_me:15456: \"$ac_compile\"") >&5 21016if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>&5 21017 (eval $ac_compile) 2>conftest.er1
15458 ac_status=$? 21018 ac_status=$?
15459 echo "$as_me:15459: \$? = $ac_status" >&5 21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); } && 21023 (exit $ac_status); } &&
15461 { ac_try='test -s conftest.$ac_objext' 21024 { ac_try='test -z "$ac_c_werror_flag"
15462 { (eval echo "$as_me:15462: \"$ac_try\"") >&5 21025 || test ! -s conftest.err'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try='test -s conftest.$ac_objext'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5 21033 (eval $ac_try) 2>&5
15464 ac_status=$? 21034 ac_status=$?
15465 echo "$as_me:15465: \$? = $ac_status" >&5 21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; }; then 21036 (exit $ac_status); }; }; then
15467 echo "$as_me:15467: result: yes" >&5 21037 echo "$as_me:$LINENO: result: yes" >&5
15468echo "${ECHO_T}yes" >&6 21038echo "${ECHO_T}yes" >&6
15469 cat >>confdefs.h <<\EOF 21039 cat >>confdefs.h <<\_ACEOF
15470#define HEIMDAL 1 21040#define HEIMDAL 1
15471EOF 21041_ACEOF
15472 21042
15473else 21043else
15474 echo "$as_me: failed program was:" >&5 21044 echo "$as_me: failed program was:" >&5
15475cat conftest.$ac_ext >&5 21045sed 's/^/| /' conftest.$ac_ext >&5
15476echo "$as_me:15476: result: no" >&5 21046
21047echo "$as_me:$LINENO: result: no" >&5
15477echo "${ECHO_T}no" >&6 21048echo "${ECHO_T}no" >&6
15478 21049
15479fi 21050fi
15480rm -f conftest.$ac_objext conftest.$ac_ext 21051rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15481 else 21052 else
15482 echo "$as_me:15482: result: no" >&5 21053 echo "$as_me:$LINENO: result: no" >&5
15483echo "${ECHO_T}no" >&6 21054echo "${ECHO_T}no" >&6
15484 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" 21055 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
15485 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" 21056 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
15486 echo "$as_me:15486: checking whether we are using Heimdal" >&5 21057 echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
15487echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6 21058echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6
15488 cat >conftest.$ac_ext <<_ACEOF 21059 cat >conftest.$ac_ext <<_ACEOF
15489#line 15489 "configure" 21060/* confdefs.h. */
15490#include "confdefs.h" 21061_ACEOF
21062cat confdefs.h >>conftest.$ac_ext
21063cat >>conftest.$ac_ext <<_ACEOF
21064/* end confdefs.h. */
15491 #include <krb5.h> 21065 #include <krb5.h>
15492int 21066int
15493main () 21067main ()
@@ -15498,35 +21072,116 @@ main ()
15498} 21072}
15499_ACEOF 21073_ACEOF
15500rm -f conftest.$ac_objext 21074rm -f conftest.$ac_objext
15501if { (eval echo "$as_me:15501: \"$ac_compile\"") >&5 21075if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502 (eval $ac_compile) 2>&5 21076 (eval $ac_compile) 2>conftest.er1
15503 ac_status=$? 21077 ac_status=$?
15504 echo "$as_me:15504: \$? = $ac_status" >&5 21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); } && 21082 (exit $ac_status); } &&
15506 { ac_try='test -s conftest.$ac_objext' 21083 { ac_try='test -z "$ac_c_werror_flag"
15507 { (eval echo "$as_me:15507: \"$ac_try\"") >&5 21084 || test ! -s conftest.err'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15508 (eval $ac_try) 2>&5 21086 (eval $ac_try) 2>&5
15509 ac_status=$? 21087 ac_status=$?
15510 echo "$as_me:15510: \$? = $ac_status" >&5 21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; } &&
21090 { ac_try='test -s conftest.$ac_objext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21093 ac_status=$?
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }; }; then 21095 (exit $ac_status); }; }; then
15512 echo "$as_me:15512: result: yes" >&5 21096 echo "$as_me:$LINENO: result: yes" >&5
15513echo "${ECHO_T}yes" >&6 21097echo "${ECHO_T}yes" >&6
15514 cat >>confdefs.h <<\EOF 21098 cat >>confdefs.h <<\_ACEOF
15515#define HEIMDAL 1 21099#define HEIMDAL 1
15516EOF 21100_ACEOF
15517 21101
15518 K5LIBS="-lkrb5 -ldes -lcom_err -lasn1 -lroken" 21102 K5LIBS="-lkrb5 -ldes"
21103 K5LIBS="$K5LIBS -lcom_err -lasn1"
21104 echo "$as_me:$LINENO: checking for net_write in -lroken" >&5
21105echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6
21106if test "${ac_cv_lib_roken_net_write+set}" = set; then
21107 echo $ECHO_N "(cached) $ECHO_C" >&6
21108else
21109 ac_check_lib_save_LIBS=$LIBS
21110LIBS="-lroken $LIBS"
21111cat >conftest.$ac_ext <<_ACEOF
21112/* confdefs.h. */
21113_ACEOF
21114cat confdefs.h >>conftest.$ac_ext
21115cat >>conftest.$ac_ext <<_ACEOF
21116/* end confdefs.h. */
15519 21117
21118/* Override any gcc2 internal prototype to avoid an error. */
21119#ifdef __cplusplus
21120extern "C"
21121#endif
21122/* We use char because int might match the return type of a gcc2
21123 builtin and then its argument prototype would still apply. */
21124char net_write ();
21125int
21126main ()
21127{
21128net_write ();
21129 ;
21130 return 0;
21131}
21132_ACEOF
21133rm -f conftest.$ac_objext conftest$ac_exeext
21134if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21135 (eval $ac_link) 2>conftest.er1
21136 ac_status=$?
21137 grep -v '^ *+' conftest.er1 >conftest.err
21138 rm -f conftest.er1
21139 cat conftest.err >&5
21140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21141 (exit $ac_status); } &&
21142 { ac_try='test -z "$ac_c_werror_flag"
21143 || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest$ac_exeext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_lib_roken_net_write=yes
15520else 21156else
15521 echo "$as_me: failed program was:" >&5 21157 echo "$as_me: failed program was:" >&5
15522cat conftest.$ac_ext >&5 21158sed 's/^/| /' conftest.$ac_ext >&5
15523 echo "$as_me:15523: result: no" >&5 21159
21160ac_cv_lib_roken_net_write=no
21161fi
21162rm -f conftest.err conftest.$ac_objext \
21163 conftest$ac_exeext conftest.$ac_ext
21164LIBS=$ac_check_lib_save_LIBS
21165fi
21166echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5
21167echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6
21168if test $ac_cv_lib_roken_net_write = yes; then
21169 K5LIBS="$K5LIBS -lroken"
21170fi
21171
21172
21173else
21174 echo "$as_me: failed program was:" >&5
21175sed 's/^/| /' conftest.$ac_ext >&5
21176
21177 echo "$as_me:$LINENO: result: no" >&5
15524echo "${ECHO_T}no" >&6 21178echo "${ECHO_T}no" >&6
15525 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 21179 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
15526 21180
21181
15527fi 21182fi
15528rm -f conftest.$ac_objext conftest.$ac_ext 21183rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15529 echo "$as_me:15529: checking for library containing dn_expand" >&5 21184 echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
15530echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6 21185echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6
15531if test "${ac_cv_search_dn_expand+set}" = set; then 21186if test "${ac_cv_search_dn_expand+set}" = set; then
15532 echo $ECHO_N "(cached) $ECHO_C" >&6 21187 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15534,8 +21189,11 @@ else
15534 ac_func_search_save_LIBS=$LIBS 21189 ac_func_search_save_LIBS=$LIBS
15535ac_cv_search_dn_expand=no 21190ac_cv_search_dn_expand=no
15536cat >conftest.$ac_ext <<_ACEOF 21191cat >conftest.$ac_ext <<_ACEOF
15537#line 15537 "configure" 21192/* confdefs.h. */
15538#include "confdefs.h" 21193_ACEOF
21194cat confdefs.h >>conftest.$ac_ext
21195cat >>conftest.$ac_ext <<_ACEOF
21196/* end confdefs.h. */
15539 21197
15540/* Override any gcc2 internal prototype to avoid an error. */ 21198/* Override any gcc2 internal prototype to avoid an error. */
15541#ifdef __cplusplus 21199#ifdef __cplusplus
@@ -15553,29 +21211,44 @@ dn_expand ();
15553} 21211}
15554_ACEOF 21212_ACEOF
15555rm -f conftest.$ac_objext conftest$ac_exeext 21213rm -f conftest.$ac_objext conftest$ac_exeext
15556if { (eval echo "$as_me:15556: \"$ac_link\"") >&5 21214if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15557 (eval $ac_link) 2>&5 21215 (eval $ac_link) 2>conftest.er1
15558 ac_status=$? 21216 ac_status=$?
15559 echo "$as_me:15559: \$? = $ac_status" >&5 21217 grep -v '^ *+' conftest.er1 >conftest.err
21218 rm -f conftest.er1
21219 cat conftest.err >&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); } && 21221 (exit $ac_status); } &&
15561 { ac_try='test -s conftest$ac_exeext' 21222 { ac_try='test -z "$ac_c_werror_flag"
15562 { (eval echo "$as_me:15562: \"$ac_try\"") >&5 21223 || test ! -s conftest.err'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15563 (eval $ac_try) 2>&5 21225 (eval $ac_try) 2>&5
15564 ac_status=$? 21226 ac_status=$?
15565 echo "$as_me:15565: \$? = $ac_status" >&5 21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; } &&
21229 { ac_try='test -s conftest$ac_exeext'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21232 ac_status=$?
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); }; }; then 21234 (exit $ac_status); }; }; then
15567 ac_cv_search_dn_expand="none required" 21235 ac_cv_search_dn_expand="none required"
15568else 21236else
15569 echo "$as_me: failed program was:" >&5 21237 echo "$as_me: failed program was:" >&5
15570cat conftest.$ac_ext >&5 21238sed 's/^/| /' conftest.$ac_ext >&5
21239
15571fi 21240fi
15572rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21241rm -f conftest.err conftest.$ac_objext \
21242 conftest$ac_exeext conftest.$ac_ext
15573if test "$ac_cv_search_dn_expand" = no; then 21243if test "$ac_cv_search_dn_expand" = no; then
15574 for ac_lib in resolv; do 21244 for ac_lib in resolv; do
15575 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 21245 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15576 cat >conftest.$ac_ext <<_ACEOF 21246 cat >conftest.$ac_ext <<_ACEOF
15577#line 15577 "configure" 21247/* confdefs.h. */
15578#include "confdefs.h" 21248_ACEOF
21249cat confdefs.h >>conftest.$ac_ext
21250cat >>conftest.$ac_ext <<_ACEOF
21251/* end confdefs.h. */
15579 21252
15580/* Override any gcc2 internal prototype to avoid an error. */ 21253/* Override any gcc2 internal prototype to avoid an error. */
15581#ifdef __cplusplus 21254#ifdef __cplusplus
@@ -15593,36 +21266,49 @@ dn_expand ();
15593} 21266}
15594_ACEOF 21267_ACEOF
15595rm -f conftest.$ac_objext conftest$ac_exeext 21268rm -f conftest.$ac_objext conftest$ac_exeext
15596if { (eval echo "$as_me:15596: \"$ac_link\"") >&5 21269if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15597 (eval $ac_link) 2>&5 21270 (eval $ac_link) 2>conftest.er1
15598 ac_status=$? 21271 ac_status=$?
15599 echo "$as_me:15599: \$? = $ac_status" >&5 21272 grep -v '^ *+' conftest.er1 >conftest.err
21273 rm -f conftest.er1
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); } && 21276 (exit $ac_status); } &&
15601 { ac_try='test -s conftest$ac_exeext' 21277 { ac_try='test -z "$ac_c_werror_flag"
15602 { (eval echo "$as_me:15602: \"$ac_try\"") >&5 21278 || test ! -s conftest.err'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21281 ac_status=$?
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; } &&
21284 { ac_try='test -s conftest$ac_exeext'
21285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15603 (eval $ac_try) 2>&5 21286 (eval $ac_try) 2>&5
15604 ac_status=$? 21287 ac_status=$?
15605 echo "$as_me:15605: \$? = $ac_status" >&5 21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15606 (exit $ac_status); }; }; then 21289 (exit $ac_status); }; }; then
15607 ac_cv_search_dn_expand="-l$ac_lib" 21290 ac_cv_search_dn_expand="-l$ac_lib"
15608break 21291break
15609else 21292else
15610 echo "$as_me: failed program was:" >&5 21293 echo "$as_me: failed program was:" >&5
15611cat conftest.$ac_ext >&5 21294sed 's/^/| /' conftest.$ac_ext >&5
21295
15612fi 21296fi
15613rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21297rm -f conftest.err conftest.$ac_objext \
21298 conftest$ac_exeext conftest.$ac_ext
15614 done 21299 done
15615fi 21300fi
15616LIBS=$ac_func_search_save_LIBS 21301LIBS=$ac_func_search_save_LIBS
15617fi 21302fi
15618echo "$as_me:15618: result: $ac_cv_search_dn_expand" >&5 21303echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
15619echo "${ECHO_T}$ac_cv_search_dn_expand" >&6 21304echo "${ECHO_T}$ac_cv_search_dn_expand" >&6
15620if test "$ac_cv_search_dn_expand" != no; then 21305if test "$ac_cv_search_dn_expand" != no; then
15621 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS" 21306 test "$ac_cv_search_dn_expand" = "none required" || LIBS="$ac_cv_search_dn_expand $LIBS"
15622 21307
15623fi 21308fi
15624 21309
15625 echo "$as_me:15625: checking for gss_init_sec_context in -lgssapi" >&5 21310
21311 echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
15626echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6 21312echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6
15627if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then 21313if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
15628 echo $ECHO_N "(cached) $ECHO_C" >&6 21314 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15630,8 +21316,11 @@ else
15630 ac_check_lib_save_LIBS=$LIBS 21316 ac_check_lib_save_LIBS=$LIBS
15631LIBS="-lgssapi $K5LIBS $LIBS" 21317LIBS="-lgssapi $K5LIBS $LIBS"
15632cat >conftest.$ac_ext <<_ACEOF 21318cat >conftest.$ac_ext <<_ACEOF
15633#line 15633 "configure" 21319/* confdefs.h. */
15634#include "confdefs.h" 21320_ACEOF
21321cat confdefs.h >>conftest.$ac_ext
21322cat >>conftest.$ac_ext <<_ACEOF
21323/* end confdefs.h. */
15635 21324
15636/* Override any gcc2 internal prototype to avoid an error. */ 21325/* Override any gcc2 internal prototype to avoid an error. */
15637#ifdef __cplusplus 21326#ifdef __cplusplus
@@ -15649,36 +21338,48 @@ gss_init_sec_context ();
15649} 21338}
15650_ACEOF 21339_ACEOF
15651rm -f conftest.$ac_objext conftest$ac_exeext 21340rm -f conftest.$ac_objext conftest$ac_exeext
15652if { (eval echo "$as_me:15652: \"$ac_link\"") >&5 21341if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15653 (eval $ac_link) 2>&5 21342 (eval $ac_link) 2>conftest.er1
15654 ac_status=$? 21343 ac_status=$?
15655 echo "$as_me:15655: \$? = $ac_status" >&5 21344 grep -v '^ *+' conftest.er1 >conftest.err
21345 rm -f conftest.er1
21346 cat conftest.err >&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } && 21348 (exit $ac_status); } &&
15657 { ac_try='test -s conftest$ac_exeext' 21349 { ac_try='test -z "$ac_c_werror_flag"
15658 { (eval echo "$as_me:15658: \"$ac_try\"") >&5 21350 || test ! -s conftest.err'
21351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5 21352 (eval $ac_try) 2>&5
15660 ac_status=$? 21353 ac_status=$?
15661 echo "$as_me:15661: \$? = $ac_status" >&5 21354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21355 (exit $ac_status); }; } &&
21356 { ac_try='test -s conftest$ac_exeext'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21359 ac_status=$?
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; }; then 21361 (exit $ac_status); }; }; then
15663 ac_cv_lib_gssapi_gss_init_sec_context=yes 21362 ac_cv_lib_gssapi_gss_init_sec_context=yes
15664else 21363else
15665 echo "$as_me: failed program was:" >&5 21364 echo "$as_me: failed program was:" >&5
15666cat conftest.$ac_ext >&5 21365sed 's/^/| /' conftest.$ac_ext >&5
21366
15667ac_cv_lib_gssapi_gss_init_sec_context=no 21367ac_cv_lib_gssapi_gss_init_sec_context=no
15668fi 21368fi
15669rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21369rm -f conftest.err conftest.$ac_objext \
21370 conftest$ac_exeext conftest.$ac_ext
15670LIBS=$ac_check_lib_save_LIBS 21371LIBS=$ac_check_lib_save_LIBS
15671fi 21372fi
15672echo "$as_me:15672: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 21373echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
15673echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6 21374echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6
15674if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then 21375if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
15675 cat >>confdefs.h <<\EOF 21376 cat >>confdefs.h <<\_ACEOF
15676#define GSSAPI 1 21377#define GSSAPI 1
15677EOF 21378_ACEOF
15678 21379
15679 K5LIBS="-lgssapi $K5LIBS" 21380 K5LIBS="-lgssapi $K5LIBS"
15680else 21381else
15681 echo "$as_me:15681: checking for gss_init_sec_context in -lgssapi_krb5" >&5 21382 echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
15682echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6 21383echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6
15683if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then 21384if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
15684 echo $ECHO_N "(cached) $ECHO_C" >&6 21385 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -15686,8 +21387,11 @@ else
15686 ac_check_lib_save_LIBS=$LIBS 21387 ac_check_lib_save_LIBS=$LIBS
15687LIBS="-lgssapi_krb5 $K5LIBS $LIBS" 21388LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
15688cat >conftest.$ac_ext <<_ACEOF 21389cat >conftest.$ac_ext <<_ACEOF
15689#line 15689 "configure" 21390/* confdefs.h. */
15690#include "confdefs.h" 21391_ACEOF
21392cat confdefs.h >>conftest.$ac_ext
21393cat >>conftest.$ac_ext <<_ACEOF
21394/* end confdefs.h. */
15691 21395
15692/* Override any gcc2 internal prototype to avoid an error. */ 21396/* Override any gcc2 internal prototype to avoid an error. */
15693#ifdef __cplusplus 21397#ifdef __cplusplus
@@ -15705,61 +21409,131 @@ gss_init_sec_context ();
15705} 21409}
15706_ACEOF 21410_ACEOF
15707rm -f conftest.$ac_objext conftest$ac_exeext 21411rm -f conftest.$ac_objext conftest$ac_exeext
15708if { (eval echo "$as_me:15708: \"$ac_link\"") >&5 21412if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15709 (eval $ac_link) 2>&5 21413 (eval $ac_link) 2>conftest.er1
15710 ac_status=$? 21414 ac_status=$?
15711 echo "$as_me:15711: \$? = $ac_status" >&5 21415 grep -v '^ *+' conftest.er1 >conftest.err
21416 rm -f conftest.er1
21417 cat conftest.err >&5
21418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } && 21419 (exit $ac_status); } &&
15713 { ac_try='test -s conftest$ac_exeext' 21420 { ac_try='test -z "$ac_c_werror_flag"
15714 { (eval echo "$as_me:15714: \"$ac_try\"") >&5 21421 || test ! -s conftest.err'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21424 ac_status=$?
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; } &&
21427 { ac_try='test -s conftest$ac_exeext'
21428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5 21429 (eval $ac_try) 2>&5
15716 ac_status=$? 21430 ac_status=$?
15717 echo "$as_me:15717: \$? = $ac_status" >&5 21431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; }; then 21432 (exit $ac_status); }; }; then
15719 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes 21433 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
15720else 21434else
15721 echo "$as_me: failed program was:" >&5 21435 echo "$as_me: failed program was:" >&5
15722cat conftest.$ac_ext >&5 21436sed 's/^/| /' conftest.$ac_ext >&5
21437
15723ac_cv_lib_gssapi_krb5_gss_init_sec_context=no 21438ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
15724fi 21439fi
15725rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 21440rm -f conftest.err conftest.$ac_objext \
21441 conftest$ac_exeext conftest.$ac_ext
15726LIBS=$ac_check_lib_save_LIBS 21442LIBS=$ac_check_lib_save_LIBS
15727fi 21443fi
15728echo "$as_me:15728: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 21444echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
15729echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6 21445echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6
15730if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then 21446if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
15731 cat >>confdefs.h <<\EOF 21447 cat >>confdefs.h <<\_ACEOF
15732#define GSSAPI 1 21448#define GSSAPI 1
15733EOF 21449_ACEOF
15734 21450
15735 K5LIBS="-lgssapi_krb5 $K5LIBS" 21451 K5LIBS="-lgssapi_krb5 $K5LIBS"
15736else 21452else
15737 { echo "$as_me:15737: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 21453 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
15738echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} 21454echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
15739fi 21455fi
15740 21456
21457
15741fi 21458fi
15742 21459
15743 echo "$as_me:15743: checking for gssapi.h" >&5 21460
21461 if test "${ac_cv_header_gssapi_h+set}" = set; then
21462 echo "$as_me:$LINENO: checking for gssapi.h" >&5
15744echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6 21463echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
15745if test "${ac_cv_header_gssapi_h+set}" = set; then 21464if test "${ac_cv_header_gssapi_h+set}" = set; then
15746 echo $ECHO_N "(cached) $ECHO_C" >&6 21465 echo $ECHO_N "(cached) $ECHO_C" >&6
21466fi
21467echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
21468echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
15747else 21469else
15748 cat >conftest.$ac_ext <<_ACEOF 21470 # Is the header compilable?
15749#line 15749 "configure" 21471echo "$as_me:$LINENO: checking gssapi.h usability" >&5
15750#include "confdefs.h" 21472echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6
21473cat >conftest.$ac_ext <<_ACEOF
21474/* confdefs.h. */
21475_ACEOF
21476cat confdefs.h >>conftest.$ac_ext
21477cat >>conftest.$ac_ext <<_ACEOF
21478/* end confdefs.h. */
21479$ac_includes_default
21480#include <gssapi.h>
21481_ACEOF
21482rm -f conftest.$ac_objext
21483if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21484 (eval $ac_compile) 2>conftest.er1
21485 ac_status=$?
21486 grep -v '^ *+' conftest.er1 >conftest.err
21487 rm -f conftest.er1
21488 cat conftest.err >&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try='test -z "$ac_c_werror_flag"
21492 || test ! -s conftest.err'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21495 ac_status=$?
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; } &&
21498 { ac_try='test -s conftest.$ac_objext'
21499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21500 (eval $ac_try) 2>&5
21501 ac_status=$?
21502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21503 (exit $ac_status); }; }; then
21504 ac_header_compiler=yes
21505else
21506 echo "$as_me: failed program was:" >&5
21507sed 's/^/| /' conftest.$ac_ext >&5
21508
21509ac_header_compiler=no
21510fi
21511rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21512echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21513echo "${ECHO_T}$ac_header_compiler" >&6
21514
21515# Is the header present?
21516echo "$as_me:$LINENO: checking gssapi.h presence" >&5
21517echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6
21518cat >conftest.$ac_ext <<_ACEOF
21519/* confdefs.h. */
21520_ACEOF
21521cat confdefs.h >>conftest.$ac_ext
21522cat >>conftest.$ac_ext <<_ACEOF
21523/* end confdefs.h. */
15751#include <gssapi.h> 21524#include <gssapi.h>
15752_ACEOF 21525_ACEOF
15753if { (eval echo "$as_me:15753: \"$ac_cpp conftest.$ac_ext\"") >&5 21526if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15754 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15755 ac_status=$? 21528 ac_status=$?
15756 egrep -v '^ *\+' conftest.er1 >conftest.err 21529 grep -v '^ *+' conftest.er1 >conftest.err
15757 rm -f conftest.er1 21530 rm -f conftest.er1
15758 cat conftest.err >&5 21531 cat conftest.err >&5
15759 echo "$as_me:15759: \$? = $ac_status" >&5 21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } >/dev/null; then 21533 (exit $ac_status); } >/dev/null; then
15761 if test -s conftest.err; then 21534 if test -s conftest.err; then
15762 ac_cpp_err=$ac_c_preproc_warn_flag 21535 ac_cpp_err=$ac_c_preproc_warn_flag
21536 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15763 else 21537 else
15764 ac_cpp_err= 21538 ac_cpp_err=
15765 fi 21539 fi
@@ -15767,16 +21541,60 @@ else
15767 ac_cpp_err=yes 21541 ac_cpp_err=yes
15768fi 21542fi
15769if test -z "$ac_cpp_err"; then 21543if test -z "$ac_cpp_err"; then
15770 ac_cv_header_gssapi_h=yes 21544 ac_header_preproc=yes
15771else 21545else
15772 echo "$as_me: failed program was:" >&5 21546 echo "$as_me: failed program was:" >&5
15773 cat conftest.$ac_ext >&5 21547sed 's/^/| /' conftest.$ac_ext >&5
15774 ac_cv_header_gssapi_h=no 21548
21549 ac_header_preproc=no
15775fi 21550fi
15776rm -f conftest.err conftest.$ac_ext 21551rm -f conftest.err conftest.$ac_ext
21552echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21553echo "${ECHO_T}$ac_header_preproc" >&6
21554
21555# So? What about this header?
21556case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21557 yes:no: )
21558 { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
21559echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21560 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5
21561echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;}
21562 ac_header_preproc=yes
21563 ;;
21564 no:yes:* )
21565 { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5
21566echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;}
21567 { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5
21568echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;}
21569 { echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5
21570echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;}
21571 { echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5
21572echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;}
21573 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
21574echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
21575 { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5
21576echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
21577 (
21578 cat <<\_ASBOX
21579## ------------------------------------------ ##
21580## Report this to the AC_PACKAGE_NAME lists. ##
21581## ------------------------------------------ ##
21582_ASBOX
21583 ) |
21584 sed "s/^/$as_me: WARNING: /" >&2
21585 ;;
21586esac
21587echo "$as_me:$LINENO: checking for gssapi.h" >&5
21588echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6
21589if test "${ac_cv_header_gssapi_h+set}" = set; then
21590 echo $ECHO_N "(cached) $ECHO_C" >&6
21591else
21592 ac_cv_header_gssapi_h=$ac_header_preproc
15777fi 21593fi
15778echo "$as_me:15778: result: $ac_cv_header_gssapi_h" >&5 21594echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
15779echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6 21595echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6
21596
21597fi
15780if test $ac_cv_header_gssapi_h = yes; then 21598if test $ac_cv_header_gssapi_h = yes; then
15781 : 21599 :
15782else 21600else
@@ -15786,26 +21604,82 @@ else
15786for ac_header in gssapi.h 21604for ac_header in gssapi.h
15787do 21605do
15788as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21606as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15789echo "$as_me:15789: checking for $ac_header" >&5 21607if eval "test \"\${$as_ac_Header+set}\" = set"; then
21608 echo "$as_me:$LINENO: checking for $ac_header" >&5
15790echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21609echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15791if eval "test \"\${$as_ac_Header+set}\" = set"; then 21610if eval "test \"\${$as_ac_Header+set}\" = set"; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6 21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21612fi
21613echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21614echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15793else 21615else
15794 cat >conftest.$ac_ext <<_ACEOF 21616 # Is the header compilable?
15795#line 15795 "configure" 21617echo "$as_me:$LINENO: checking $ac_header usability" >&5
15796#include "confdefs.h" 21618echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21619cat >conftest.$ac_ext <<_ACEOF
21620/* confdefs.h. */
21621_ACEOF
21622cat confdefs.h >>conftest.$ac_ext
21623cat >>conftest.$ac_ext <<_ACEOF
21624/* end confdefs.h. */
21625$ac_includes_default
21626#include <$ac_header>
21627_ACEOF
21628rm -f conftest.$ac_objext
21629if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21630 (eval $ac_compile) 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } &&
21637 { ac_try='test -z "$ac_c_werror_flag"
21638 || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 ac_header_compiler=yes
21651else
21652 echo "$as_me: failed program was:" >&5
21653sed 's/^/| /' conftest.$ac_ext >&5
21654
21655ac_header_compiler=no
21656fi
21657rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21658echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21659echo "${ECHO_T}$ac_header_compiler" >&6
21660
21661# Is the header present?
21662echo "$as_me:$LINENO: checking $ac_header presence" >&5
21663echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21664cat >conftest.$ac_ext <<_ACEOF
21665/* confdefs.h. */
21666_ACEOF
21667cat confdefs.h >>conftest.$ac_ext
21668cat >>conftest.$ac_ext <<_ACEOF
21669/* end confdefs.h. */
15797#include <$ac_header> 21670#include <$ac_header>
15798_ACEOF 21671_ACEOF
15799if { (eval echo "$as_me:15799: \"$ac_cpp conftest.$ac_ext\"") >&5 21672if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21673 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15801 ac_status=$? 21674 ac_status=$?
15802 egrep -v '^ *\+' conftest.er1 >conftest.err 21675 grep -v '^ *+' conftest.er1 >conftest.err
15803 rm -f conftest.er1 21676 rm -f conftest.er1
15804 cat conftest.err >&5 21677 cat conftest.err >&5
15805 echo "$as_me:15805: \$? = $ac_status" >&5 21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } >/dev/null; then 21679 (exit $ac_status); } >/dev/null; then
15807 if test -s conftest.err; then 21680 if test -s conftest.err; then
15808 ac_cpp_err=$ac_c_preproc_warn_flag 21681 ac_cpp_err=$ac_c_preproc_warn_flag
21682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15809 else 21683 else
15810 ac_cpp_err= 21684 ac_cpp_err=
15811 fi 21685 fi
@@ -15813,52 +21687,157 @@ else
15813 ac_cpp_err=yes 21687 ac_cpp_err=yes
15814fi 21688fi
15815if test -z "$ac_cpp_err"; then 21689if test -z "$ac_cpp_err"; then
15816 eval "$as_ac_Header=yes" 21690 ac_header_preproc=yes
15817else 21691else
15818 echo "$as_me: failed program was:" >&5 21692 echo "$as_me: failed program was:" >&5
15819 cat conftest.$ac_ext >&5 21693sed 's/^/| /' conftest.$ac_ext >&5
15820 eval "$as_ac_Header=no" 21694
21695 ac_header_preproc=no
15821fi 21696fi
15822rm -f conftest.err conftest.$ac_ext 21697rm -f conftest.err conftest.$ac_ext
21698echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21699echo "${ECHO_T}$ac_header_preproc" >&6
21700
21701# So? What about this header?
21702case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21703 yes:no: )
21704 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21705echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21707echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21708 ac_header_preproc=yes
21709 ;;
21710 no:yes:* )
21711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21712echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21714echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21715 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21716echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21717 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21718echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21719 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21720echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21721 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21722echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21723 (
21724 cat <<\_ASBOX
21725## ------------------------------------------ ##
21726## Report this to the AC_PACKAGE_NAME lists. ##
21727## ------------------------------------------ ##
21728_ASBOX
21729 ) |
21730 sed "s/^/$as_me: WARNING: /" >&2
21731 ;;
21732esac
21733echo "$as_me:$LINENO: checking for $ac_header" >&5
21734echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21735if eval "test \"\${$as_ac_Header+set}\" = set"; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21737else
21738 eval "$as_ac_Header=\$ac_header_preproc"
15823fi 21739fi
15824echo "$as_me:15824: result: `eval echo '${'$as_ac_Header'}'`" >&5 21740echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15825echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 21741echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21742
21743fi
15826if test `eval echo '${'$as_ac_Header'}'` = yes; then 21744if test `eval echo '${'$as_ac_Header'}'` = yes; then
15827 cat >>confdefs.h <<EOF 21745 cat >>confdefs.h <<_ACEOF
15828#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 21746#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15829EOF 21747_ACEOF
15830 21748
15831else 21749else
15832 { echo "$as_me:15832: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 21750 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
15833echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} 21751echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
15834 21752
15835fi 21753fi
21754
15836done 21755done
15837 21756
21757
21758
15838fi 21759fi
15839 21760
21761
21762
15840 oldCPP="$CPPFLAGS" 21763 oldCPP="$CPPFLAGS"
15841 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" 21764 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
15842 echo "$as_me:15842: checking for gssapi_krb5.h" >&5 21765 if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21766 echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
15843echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6 21767echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
15844if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 21768if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
15845 echo $ECHO_N "(cached) $ECHO_C" >&6 21769 echo $ECHO_N "(cached) $ECHO_C" >&6
21770fi
21771echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
21772echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
15846else 21773else
15847 cat >conftest.$ac_ext <<_ACEOF 21774 # Is the header compilable?
15848#line 15848 "configure" 21775echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5
15849#include "confdefs.h" 21776echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6
21777cat >conftest.$ac_ext <<_ACEOF
21778/* confdefs.h. */
21779_ACEOF
21780cat confdefs.h >>conftest.$ac_ext
21781cat >>conftest.$ac_ext <<_ACEOF
21782/* end confdefs.h. */
21783$ac_includes_default
21784#include <gssapi_krb5.h>
21785_ACEOF
21786rm -f conftest.$ac_objext
21787if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21788 (eval $ac_compile) 2>conftest.er1
21789 ac_status=$?
21790 grep -v '^ *+' conftest.er1 >conftest.err
21791 rm -f conftest.er1
21792 cat conftest.err >&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } &&
21795 { ac_try='test -z "$ac_c_werror_flag"
21796 || test ! -s conftest.err'
21797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21798 (eval $ac_try) 2>&5
21799 ac_status=$?
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); }; } &&
21802 { ac_try='test -s conftest.$ac_objext'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21805 ac_status=$?
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; }; then
21808 ac_header_compiler=yes
21809else
21810 echo "$as_me: failed program was:" >&5
21811sed 's/^/| /' conftest.$ac_ext >&5
21812
21813ac_header_compiler=no
21814fi
21815rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21816echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21817echo "${ECHO_T}$ac_header_compiler" >&6
21818
21819# Is the header present?
21820echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5
21821echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6
21822cat >conftest.$ac_ext <<_ACEOF
21823/* confdefs.h. */
21824_ACEOF
21825cat confdefs.h >>conftest.$ac_ext
21826cat >>conftest.$ac_ext <<_ACEOF
21827/* end confdefs.h. */
15850#include <gssapi_krb5.h> 21828#include <gssapi_krb5.h>
15851_ACEOF 21829_ACEOF
15852if { (eval echo "$as_me:15852: \"$ac_cpp conftest.$ac_ext\"") >&5 21830if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15854 ac_status=$? 21832 ac_status=$?
15855 egrep -v '^ *\+' conftest.er1 >conftest.err 21833 grep -v '^ *+' conftest.er1 >conftest.err
15856 rm -f conftest.er1 21834 rm -f conftest.er1
15857 cat conftest.err >&5 21835 cat conftest.err >&5
15858 echo "$as_me:15858: \$? = $ac_status" >&5 21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } >/dev/null; then 21837 (exit $ac_status); } >/dev/null; then
15860 if test -s conftest.err; then 21838 if test -s conftest.err; then
15861 ac_cpp_err=$ac_c_preproc_warn_flag 21839 ac_cpp_err=$ac_c_preproc_warn_flag
21840 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15862 else 21841 else
15863 ac_cpp_err= 21842 ac_cpp_err=
15864 fi 21843 fi
@@ -15866,22 +21845,68 @@ else
15866 ac_cpp_err=yes 21845 ac_cpp_err=yes
15867fi 21846fi
15868if test -z "$ac_cpp_err"; then 21847if test -z "$ac_cpp_err"; then
15869 ac_cv_header_gssapi_krb5_h=yes 21848 ac_header_preproc=yes
15870else 21849else
15871 echo "$as_me: failed program was:" >&5 21850 echo "$as_me: failed program was:" >&5
15872 cat conftest.$ac_ext >&5 21851sed 's/^/| /' conftest.$ac_ext >&5
15873 ac_cv_header_gssapi_krb5_h=no 21852
21853 ac_header_preproc=no
15874fi 21854fi
15875rm -f conftest.err conftest.$ac_ext 21855rm -f conftest.err conftest.$ac_ext
21856echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21857echo "${ECHO_T}$ac_header_preproc" >&6
21858
21859# So? What about this header?
21860case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21861 yes:no: )
21862 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5
21863echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21864 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5
21865echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;}
21866 ac_header_preproc=yes
21867 ;;
21868 no:yes:* )
21869 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5
21870echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;}
21871 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5
21872echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;}
21873 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5
21874echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;}
21875 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5
21876echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;}
21877 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
21878echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
21879 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5
21880echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;}
21881 (
21882 cat <<\_ASBOX
21883## ------------------------------------------ ##
21884## Report this to the AC_PACKAGE_NAME lists. ##
21885## ------------------------------------------ ##
21886_ASBOX
21887 ) |
21888 sed "s/^/$as_me: WARNING: /" >&2
21889 ;;
21890esac
21891echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
21892echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6
21893if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
21894 echo $ECHO_N "(cached) $ECHO_C" >&6
21895else
21896 ac_cv_header_gssapi_krb5_h=$ac_header_preproc
15876fi 21897fi
15877echo "$as_me:15877: result: $ac_cv_header_gssapi_krb5_h" >&5 21898echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
15878echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6 21899echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6
21900
21901fi
15879if test $ac_cv_header_gssapi_krb5_h = yes; then 21902if test $ac_cv_header_gssapi_krb5_h = yes; then
15880 : 21903 :
15881else 21904else
15882 CPPFLAGS="$oldCPP" 21905 CPPFLAGS="$oldCPP"
15883fi 21906fi
15884 21907
21908
21909
15885 fi 21910 fi
15886 if test ! -z "$need_dash_r" ; then 21911 if test ! -z "$need_dash_r" ; then
15887 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib" 21912 LDFLAGS="$LDFLAGS -R${KRB5ROOT}/lib"
@@ -15891,29 +21916,87 @@ fi
15891 fi 21916 fi
15892 fi 21917 fi
15893 21918
21919
21920
15894for ac_header in gssapi.h gssapi/gssapi.h 21921for ac_header in gssapi.h gssapi/gssapi.h
15895do 21922do
15896as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 21923as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15897echo "$as_me:15897: checking for $ac_header" >&5 21924if eval "test \"\${$as_ac_Header+set}\" = set"; then
21925 echo "$as_me:$LINENO: checking for $ac_header" >&5
15898echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 21926echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15899if eval "test \"\${$as_ac_Header+set}\" = set"; then 21927if eval "test \"\${$as_ac_Header+set}\" = set"; then
15900 echo $ECHO_N "(cached) $ECHO_C" >&6 21928 echo $ECHO_N "(cached) $ECHO_C" >&6
21929fi
21930echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21931echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15901else 21932else
15902 cat >conftest.$ac_ext <<_ACEOF 21933 # Is the header compilable?
15903#line 15903 "configure" 21934echo "$as_me:$LINENO: checking $ac_header usability" >&5
15904#include "confdefs.h" 21935echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21936cat >conftest.$ac_ext <<_ACEOF
21937/* confdefs.h. */
21938_ACEOF
21939cat confdefs.h >>conftest.$ac_ext
21940cat >>conftest.$ac_ext <<_ACEOF
21941/* end confdefs.h. */
21942$ac_includes_default
15905#include <$ac_header> 21943#include <$ac_header>
15906_ACEOF 21944_ACEOF
15907if { (eval echo "$as_me:15907: \"$ac_cpp conftest.$ac_ext\"") >&5 21945rm -f conftest.$ac_objext
21946if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21947 (eval $ac_compile) 2>conftest.er1
21948 ac_status=$?
21949 grep -v '^ *+' conftest.er1 >conftest.err
21950 rm -f conftest.er1
21951 cat conftest.err >&5
21952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21953 (exit $ac_status); } &&
21954 { ac_try='test -z "$ac_c_werror_flag"
21955 || test ! -s conftest.err'
21956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21957 (eval $ac_try) 2>&5
21958 ac_status=$?
21959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960 (exit $ac_status); }; } &&
21961 { ac_try='test -s conftest.$ac_objext'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21964 ac_status=$?
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; }; then
21967 ac_header_compiler=yes
21968else
21969 echo "$as_me: failed program was:" >&5
21970sed 's/^/| /' conftest.$ac_ext >&5
21971
21972ac_header_compiler=no
21973fi
21974rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21975echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21976echo "${ECHO_T}$ac_header_compiler" >&6
21977
21978# Is the header present?
21979echo "$as_me:$LINENO: checking $ac_header presence" >&5
21980echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21981cat >conftest.$ac_ext <<_ACEOF
21982/* confdefs.h. */
21983_ACEOF
21984cat confdefs.h >>conftest.$ac_ext
21985cat >>conftest.$ac_ext <<_ACEOF
21986/* end confdefs.h. */
21987#include <$ac_header>
21988_ACEOF
21989if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 21990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15909 ac_status=$? 21991 ac_status=$?
15910 egrep -v '^ *\+' conftest.er1 >conftest.err 21992 grep -v '^ *+' conftest.er1 >conftest.err
15911 rm -f conftest.er1 21993 rm -f conftest.er1
15912 cat conftest.err >&5 21994 cat conftest.err >&5
15913 echo "$as_me:15913: \$? = $ac_status" >&5 21995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); } >/dev/null; then 21996 (exit $ac_status); } >/dev/null; then
15915 if test -s conftest.err; then 21997 if test -s conftest.err; then
15916 ac_cpp_err=$ac_c_preproc_warn_flag 21998 ac_cpp_err=$ac_c_preproc_warn_flag
21999 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15917 else 22000 else
15918 ac_cpp_err= 22001 ac_cpp_err=
15919 fi 22002 fi
@@ -15921,47 +22004,150 @@ else
15921 ac_cpp_err=yes 22004 ac_cpp_err=yes
15922fi 22005fi
15923if test -z "$ac_cpp_err"; then 22006if test -z "$ac_cpp_err"; then
15924 eval "$as_ac_Header=yes" 22007 ac_header_preproc=yes
15925else 22008else
15926 echo "$as_me: failed program was:" >&5 22009 echo "$as_me: failed program was:" >&5
15927 cat conftest.$ac_ext >&5 22010sed 's/^/| /' conftest.$ac_ext >&5
15928 eval "$as_ac_Header=no" 22011
22012 ac_header_preproc=no
15929fi 22013fi
15930rm -f conftest.err conftest.$ac_ext 22014rm -f conftest.err conftest.$ac_ext
22015echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22016echo "${ECHO_T}$ac_header_preproc" >&6
22017
22018# So? What about this header?
22019case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22020 yes:no: )
22021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22022echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22024echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22025 ac_header_preproc=yes
22026 ;;
22027 no:yes:* )
22028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22029echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22031echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22033echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22035echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22037echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22039echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22040 (
22041 cat <<\_ASBOX
22042## ------------------------------------------ ##
22043## Report this to the AC_PACKAGE_NAME lists. ##
22044## ------------------------------------------ ##
22045_ASBOX
22046 ) |
22047 sed "s/^/$as_me: WARNING: /" >&2
22048 ;;
22049esac
22050echo "$as_me:$LINENO: checking for $ac_header" >&5
22051echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22052if eval "test \"\${$as_ac_Header+set}\" = set"; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22054else
22055 eval "$as_ac_Header=\$ac_header_preproc"
15931fi 22056fi
15932echo "$as_me:15932: result: `eval echo '${'$as_ac_Header'}'`" >&5 22057echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15933echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22058echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22059
22060fi
15934if test `eval echo '${'$as_ac_Header'}'` = yes; then 22061if test `eval echo '${'$as_ac_Header'}'` = yes; then
15935 cat >>confdefs.h <<EOF 22062 cat >>confdefs.h <<_ACEOF
15936#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22063#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15937EOF 22064_ACEOF
15938 22065
15939fi 22066fi
22067
15940done 22068done
15941 22069
22070
22071
15942for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h 22072for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h
15943do 22073do
15944as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22074as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15945echo "$as_me:15945: checking for $ac_header" >&5 22075if eval "test \"\${$as_ac_Header+set}\" = set"; then
22076 echo "$as_me:$LINENO: checking for $ac_header" >&5
15946echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22077echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15947if eval "test \"\${$as_ac_Header+set}\" = set"; then 22078if eval "test \"\${$as_ac_Header+set}\" = set"; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6 22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22080fi
22081echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22082echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15949else 22083else
15950 cat >conftest.$ac_ext <<_ACEOF 22084 # Is the header compilable?
15951#line 15951 "configure" 22085echo "$as_me:$LINENO: checking $ac_header usability" >&5
15952#include "confdefs.h" 22086echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22087cat >conftest.$ac_ext <<_ACEOF
22088/* confdefs.h. */
22089_ACEOF
22090cat confdefs.h >>conftest.$ac_ext
22091cat >>conftest.$ac_ext <<_ACEOF
22092/* end confdefs.h. */
22093$ac_includes_default
15953#include <$ac_header> 22094#include <$ac_header>
15954_ACEOF 22095_ACEOF
15955if { (eval echo "$as_me:15955: \"$ac_cpp conftest.$ac_ext\"") >&5 22096rm -f conftest.$ac_objext
22097if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22098 (eval $ac_compile) 2>conftest.er1
22099 ac_status=$?
22100 grep -v '^ *+' conftest.er1 >conftest.err
22101 rm -f conftest.er1
22102 cat conftest.err >&5
22103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22104 (exit $ac_status); } &&
22105 { ac_try='test -z "$ac_c_werror_flag"
22106 || test ! -s conftest.err'
22107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22108 (eval $ac_try) 2>&5
22109 ac_status=$?
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); }; } &&
22112 { ac_try='test -s conftest.$ac_objext'
22113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22114 (eval $ac_try) 2>&5
22115 ac_status=$?
22116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22117 (exit $ac_status); }; }; then
22118 ac_header_compiler=yes
22119else
22120 echo "$as_me: failed program was:" >&5
22121sed 's/^/| /' conftest.$ac_ext >&5
22122
22123ac_header_compiler=no
22124fi
22125rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22126echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22127echo "${ECHO_T}$ac_header_compiler" >&6
22128
22129# Is the header present?
22130echo "$as_me:$LINENO: checking $ac_header presence" >&5
22131echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22132cat >conftest.$ac_ext <<_ACEOF
22133/* confdefs.h. */
22134_ACEOF
22135cat confdefs.h >>conftest.$ac_ext
22136cat >>conftest.$ac_ext <<_ACEOF
22137/* end confdefs.h. */
22138#include <$ac_header>
22139_ACEOF
22140if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15957 ac_status=$? 22142 ac_status=$?
15958 egrep -v '^ *\+' conftest.er1 >conftest.err 22143 grep -v '^ *+' conftest.er1 >conftest.err
15959 rm -f conftest.er1 22144 rm -f conftest.er1
15960 cat conftest.err >&5 22145 cat conftest.err >&5
15961 echo "$as_me:15961: \$? = $ac_status" >&5 22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); } >/dev/null; then 22147 (exit $ac_status); } >/dev/null; then
15963 if test -s conftest.err; then 22148 if test -s conftest.err; then
15964 ac_cpp_err=$ac_c_preproc_warn_flag 22149 ac_cpp_err=$ac_c_preproc_warn_flag
22150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15965 else 22151 else
15966 ac_cpp_err= 22152 ac_cpp_err=
15967 fi 22153 fi
@@ -15969,47 +22155,150 @@ else
15969 ac_cpp_err=yes 22155 ac_cpp_err=yes
15970fi 22156fi
15971if test -z "$ac_cpp_err"; then 22157if test -z "$ac_cpp_err"; then
15972 eval "$as_ac_Header=yes" 22158 ac_header_preproc=yes
15973else 22159else
15974 echo "$as_me: failed program was:" >&5 22160 echo "$as_me: failed program was:" >&5
15975 cat conftest.$ac_ext >&5 22161sed 's/^/| /' conftest.$ac_ext >&5
15976 eval "$as_ac_Header=no" 22162
22163 ac_header_preproc=no
15977fi 22164fi
15978rm -f conftest.err conftest.$ac_ext 22165rm -f conftest.err conftest.$ac_ext
22166echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22167echo "${ECHO_T}$ac_header_preproc" >&6
22168
22169# So? What about this header?
22170case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22171 yes:no: )
22172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22173echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22175echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22176 ac_header_preproc=yes
22177 ;;
22178 no:yes:* )
22179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22180echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22182echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22184echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22186echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22188echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22190echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22191 (
22192 cat <<\_ASBOX
22193## ------------------------------------------ ##
22194## Report this to the AC_PACKAGE_NAME lists. ##
22195## ------------------------------------------ ##
22196_ASBOX
22197 ) |
22198 sed "s/^/$as_me: WARNING: /" >&2
22199 ;;
22200esac
22201echo "$as_me:$LINENO: checking for $ac_header" >&5
22202echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22203if eval "test \"\${$as_ac_Header+set}\" = set"; then
22204 echo $ECHO_N "(cached) $ECHO_C" >&6
22205else
22206 eval "$as_ac_Header=\$ac_header_preproc"
15979fi 22207fi
15980echo "$as_me:15980: result: `eval echo '${'$as_ac_Header'}'`" >&5 22208echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15981echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22209echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22210
22211fi
15982if test `eval echo '${'$as_ac_Header'}'` = yes; then 22212if test `eval echo '${'$as_ac_Header'}'` = yes; then
15983 cat >>confdefs.h <<EOF 22213 cat >>confdefs.h <<_ACEOF
15984#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22214#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15985EOF 22215_ACEOF
15986 22216
15987fi 22217fi
22218
15988done 22219done
15989 22220
22221
22222
15990for ac_header in gssapi_generic.h gssapi/gssapi_generic.h 22223for ac_header in gssapi_generic.h gssapi/gssapi_generic.h
15991do 22224do
15992as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 22225as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15993echo "$as_me:15993: checking for $ac_header" >&5 22226if eval "test \"\${$as_ac_Header+set}\" = set"; then
22227 echo "$as_me:$LINENO: checking for $ac_header" >&5
15994echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 22228echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15995if eval "test \"\${$as_ac_Header+set}\" = set"; then 22229if eval "test \"\${$as_ac_Header+set}\" = set"; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6 22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231fi
22232echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22233echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15997else 22234else
15998 cat >conftest.$ac_ext <<_ACEOF 22235 # Is the header compilable?
15999#line 15999 "configure" 22236echo "$as_me:$LINENO: checking $ac_header usability" >&5
16000#include "confdefs.h" 22237echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22238cat >conftest.$ac_ext <<_ACEOF
22239/* confdefs.h. */
22240_ACEOF
22241cat confdefs.h >>conftest.$ac_ext
22242cat >>conftest.$ac_ext <<_ACEOF
22243/* end confdefs.h. */
22244$ac_includes_default
16001#include <$ac_header> 22245#include <$ac_header>
16002_ACEOF 22246_ACEOF
16003if { (eval echo "$as_me:16003: \"$ac_cpp conftest.$ac_ext\"") >&5 22247rm -f conftest.$ac_objext
22248if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22249 (eval $ac_compile) 2>conftest.er1
22250 ac_status=$?
22251 grep -v '^ *+' conftest.er1 >conftest.err
22252 rm -f conftest.er1
22253 cat conftest.err >&5
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); } &&
22256 { ac_try='test -z "$ac_c_werror_flag"
22257 || test ! -s conftest.err'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; } &&
22263 { ac_try='test -s conftest.$ac_objext'
22264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 (eval $ac_try) 2>&5
22266 ac_status=$?
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); }; }; then
22269 ac_header_compiler=yes
22270else
22271 echo "$as_me: failed program was:" >&5
22272sed 's/^/| /' conftest.$ac_ext >&5
22273
22274ac_header_compiler=no
22275fi
22276rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22277echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22278echo "${ECHO_T}$ac_header_compiler" >&6
22279
22280# Is the header present?
22281echo "$as_me:$LINENO: checking $ac_header presence" >&5
22282echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22283cat >conftest.$ac_ext <<_ACEOF
22284/* confdefs.h. */
22285_ACEOF
22286cat confdefs.h >>conftest.$ac_ext
22287cat >>conftest.$ac_ext <<_ACEOF
22288/* end confdefs.h. */
22289#include <$ac_header>
22290_ACEOF
22291if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 22292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16005 ac_status=$? 22293 ac_status=$?
16006 egrep -v '^ *\+' conftest.er1 >conftest.err 22294 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1 22295 rm -f conftest.er1
16008 cat conftest.err >&5 22296 cat conftest.err >&5
16009 echo "$as_me:16009: \$? = $ac_status" >&5 22297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } >/dev/null; then 22298 (exit $ac_status); } >/dev/null; then
16011 if test -s conftest.err; then 22299 if test -s conftest.err; then
16012 ac_cpp_err=$ac_c_preproc_warn_flag 22300 ac_cpp_err=$ac_c_preproc_warn_flag
22301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16013 else 22302 else
16014 ac_cpp_err= 22303 ac_cpp_err=
16015 fi 22304 fi
@@ -16017,26 +22306,72 @@ else
16017 ac_cpp_err=yes 22306 ac_cpp_err=yes
16018fi 22307fi
16019if test -z "$ac_cpp_err"; then 22308if test -z "$ac_cpp_err"; then
16020 eval "$as_ac_Header=yes" 22309 ac_header_preproc=yes
16021else 22310else
16022 echo "$as_me: failed program was:" >&5 22311 echo "$as_me: failed program was:" >&5
16023 cat conftest.$ac_ext >&5 22312sed 's/^/| /' conftest.$ac_ext >&5
16024 eval "$as_ac_Header=no" 22313
22314 ac_header_preproc=no
16025fi 22315fi
16026rm -f conftest.err conftest.$ac_ext 22316rm -f conftest.err conftest.$ac_ext
22317echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22318echo "${ECHO_T}$ac_header_preproc" >&6
22319
22320# So? What about this header?
22321case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22322 yes:no: )
22323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22324echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22326echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22327 ac_header_preproc=yes
22328 ;;
22329 no:yes:* )
22330 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22331echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22332 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22333echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22334 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22335echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22336 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22337echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22339echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22340 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22341echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22342 (
22343 cat <<\_ASBOX
22344## ------------------------------------------ ##
22345## Report this to the AC_PACKAGE_NAME lists. ##
22346## ------------------------------------------ ##
22347_ASBOX
22348 ) |
22349 sed "s/^/$as_me: WARNING: /" >&2
22350 ;;
22351esac
22352echo "$as_me:$LINENO: checking for $ac_header" >&5
22353echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22354if eval "test \"\${$as_ac_Header+set}\" = set"; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22356else
22357 eval "$as_ac_Header=\$ac_header_preproc"
16027fi 22358fi
16028echo "$as_me:16028: result: `eval echo '${'$as_ac_Header'}'`" >&5 22359echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16029echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 22360echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22361
22362fi
16030if test `eval echo '${'$as_ac_Header'}'` = yes; then 22363if test `eval echo '${'$as_ac_Header'}'` = yes; then
16031 cat >>confdefs.h <<EOF 22364 cat >>confdefs.h <<_ACEOF
16032#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 22365#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16033EOF 22366_ACEOF
16034 22367
16035fi 22368fi
22369
16036done 22370done
16037 22371
22372
16038 LIBS="$LIBS $K5LIBS" 22373 LIBS="$LIBS $K5LIBS"
16039 echo "$as_me:16039: checking for library containing k_hasafs" >&5 22374 echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
16040echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6 22375echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6
16041if test "${ac_cv_search_k_hasafs+set}" = set; then 22376if test "${ac_cv_search_k_hasafs+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6 22377 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -16044,8 +22379,11 @@ else
16044 ac_func_search_save_LIBS=$LIBS 22379 ac_func_search_save_LIBS=$LIBS
16045ac_cv_search_k_hasafs=no 22380ac_cv_search_k_hasafs=no
16046cat >conftest.$ac_ext <<_ACEOF 22381cat >conftest.$ac_ext <<_ACEOF
16047#line 16047 "configure" 22382/* confdefs.h. */
16048#include "confdefs.h" 22383_ACEOF
22384cat confdefs.h >>conftest.$ac_ext
22385cat >>conftest.$ac_ext <<_ACEOF
22386/* end confdefs.h. */
16049 22387
16050/* Override any gcc2 internal prototype to avoid an error. */ 22388/* Override any gcc2 internal prototype to avoid an error. */
16051#ifdef __cplusplus 22389#ifdef __cplusplus
@@ -16063,29 +22401,44 @@ k_hasafs ();
16063} 22401}
16064_ACEOF 22402_ACEOF
16065rm -f conftest.$ac_objext conftest$ac_exeext 22403rm -f conftest.$ac_objext conftest$ac_exeext
16066if { (eval echo "$as_me:16066: \"$ac_link\"") >&5 22404if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16067 (eval $ac_link) 2>&5 22405 (eval $ac_link) 2>conftest.er1
16068 ac_status=$? 22406 ac_status=$?
16069 echo "$as_me:16069: \$? = $ac_status" >&5 22407 grep -v '^ *+' conftest.er1 >conftest.err
22408 rm -f conftest.er1
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } && 22411 (exit $ac_status); } &&
16071 { ac_try='test -s conftest$ac_exeext' 22412 { ac_try='test -z "$ac_c_werror_flag"
16072 { (eval echo "$as_me:16072: \"$ac_try\"") >&5 22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5 22415 (eval $ac_try) 2>&5
16074 ac_status=$? 22416 ac_status=$?
16075 echo "$as_me:16075: \$? = $ac_status" >&5 22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; }; then 22424 (exit $ac_status); }; }; then
16077 ac_cv_search_k_hasafs="none required" 22425 ac_cv_search_k_hasafs="none required"
16078else 22426else
16079 echo "$as_me: failed program was:" >&5 22427 echo "$as_me: failed program was:" >&5
16080cat conftest.$ac_ext >&5 22428sed 's/^/| /' conftest.$ac_ext >&5
22429
16081fi 22430fi
16082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22431rm -f conftest.err conftest.$ac_objext \
22432 conftest$ac_exeext conftest.$ac_ext
16083if test "$ac_cv_search_k_hasafs" = no; then 22433if test "$ac_cv_search_k_hasafs" = no; then
16084 for ac_lib in kafs; do 22434 for ac_lib in kafs; do
16085 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22435 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16086 cat >conftest.$ac_ext <<_ACEOF 22436 cat >conftest.$ac_ext <<_ACEOF
16087#line 16087 "configure" 22437/* confdefs.h. */
16088#include "confdefs.h" 22438_ACEOF
22439cat confdefs.h >>conftest.$ac_ext
22440cat >>conftest.$ac_ext <<_ACEOF
22441/* end confdefs.h. */
16089 22442
16090/* Override any gcc2 internal prototype to avoid an error. */ 22443/* Override any gcc2 internal prototype to avoid an error. */
16091#ifdef __cplusplus 22444#ifdef __cplusplus
@@ -16103,39 +22456,51 @@ k_hasafs ();
16103} 22456}
16104_ACEOF 22457_ACEOF
16105rm -f conftest.$ac_objext conftest$ac_exeext 22458rm -f conftest.$ac_objext conftest$ac_exeext
16106if { (eval echo "$as_me:16106: \"$ac_link\"") >&5 22459if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16107 (eval $ac_link) 2>&5 22460 (eval $ac_link) 2>conftest.er1
16108 ac_status=$? 22461 ac_status=$?
16109 echo "$as_me:16109: \$? = $ac_status" >&5 22462 grep -v '^ *+' conftest.er1 >conftest.err
22463 rm -f conftest.er1
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } && 22466 (exit $ac_status); } &&
16111 { ac_try='test -s conftest$ac_exeext' 22467 { ac_try='test -z "$ac_c_werror_flag"
16112 { (eval echo "$as_me:16112: \"$ac_try\"") >&5 22468 || test ! -s conftest.err'
22469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22470 (eval $ac_try) 2>&5
22471 ac_status=$?
22472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22473 (exit $ac_status); }; } &&
22474 { ac_try='test -s conftest$ac_exeext'
22475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16113 (eval $ac_try) 2>&5 22476 (eval $ac_try) 2>&5
16114 ac_status=$? 22477 ac_status=$?
16115 echo "$as_me:16115: \$? = $ac_status" >&5 22478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); }; }; then 22479 (exit $ac_status); }; }; then
16117 ac_cv_search_k_hasafs="-l$ac_lib" 22480 ac_cv_search_k_hasafs="-l$ac_lib"
16118break 22481break
16119else 22482else
16120 echo "$as_me: failed program was:" >&5 22483 echo "$as_me: failed program was:" >&5
16121cat conftest.$ac_ext >&5 22484sed 's/^/| /' conftest.$ac_ext >&5
22485
16122fi 22486fi
16123rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22487rm -f conftest.err conftest.$ac_objext \
22488 conftest$ac_exeext conftest.$ac_ext
16124 done 22489 done
16125fi 22490fi
16126LIBS=$ac_func_search_save_LIBS 22491LIBS=$ac_func_search_save_LIBS
16127fi 22492fi
16128echo "$as_me:16128: result: $ac_cv_search_k_hasafs" >&5 22493echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
16129echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6 22494echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6
16130if test "$ac_cv_search_k_hasafs" != no; then 22495if test "$ac_cv_search_k_hasafs" != no; then
16131 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS" 22496 test "$ac_cv_search_k_hasafs" = "none required" || LIBS="$ac_cv_search_k_hasafs $LIBS"
16132 cat >>confdefs.h <<\EOF 22497 cat >>confdefs.h <<\_ACEOF
16133#define USE_AFS 1 22498#define USE_AFS 1
16134EOF 22499_ACEOF
16135 22500
16136fi 22501fi
16137 22502
16138 echo "$as_me:16138: checking for library containing krb5_init_ets" >&5 22503 echo "$as_me:$LINENO: checking for library containing krb5_init_ets" >&5
16139echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6 22504echo $ECHO_N "checking for library containing krb5_init_ets... $ECHO_C" >&6
16140if test "${ac_cv_search_krb5_init_ets+set}" = set; then 22505if test "${ac_cv_search_krb5_init_ets+set}" = set; then
16141 echo $ECHO_N "(cached) $ECHO_C" >&6 22506 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -16143,8 +22508,11 @@ else
16143 ac_func_search_save_LIBS=$LIBS 22508 ac_func_search_save_LIBS=$LIBS
16144ac_cv_search_krb5_init_ets=no 22509ac_cv_search_krb5_init_ets=no
16145cat >conftest.$ac_ext <<_ACEOF 22510cat >conftest.$ac_ext <<_ACEOF
16146#line 16146 "configure" 22511/* confdefs.h. */
16147#include "confdefs.h" 22512_ACEOF
22513cat confdefs.h >>conftest.$ac_ext
22514cat >>conftest.$ac_ext <<_ACEOF
22515/* end confdefs.h. */
16148 22516
16149/* Override any gcc2 internal prototype to avoid an error. */ 22517/* Override any gcc2 internal prototype to avoid an error. */
16150#ifdef __cplusplus 22518#ifdef __cplusplus
@@ -16162,29 +22530,44 @@ krb5_init_ets ();
16162} 22530}
16163_ACEOF 22531_ACEOF
16164rm -f conftest.$ac_objext conftest$ac_exeext 22532rm -f conftest.$ac_objext conftest$ac_exeext
16165if { (eval echo "$as_me:16165: \"$ac_link\"") >&5 22533if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16166 (eval $ac_link) 2>&5 22534 (eval $ac_link) 2>conftest.er1
16167 ac_status=$? 22535 ac_status=$?
16168 echo "$as_me:16168: \$? = $ac_status" >&5 22536 grep -v '^ *+' conftest.er1 >conftest.err
22537 rm -f conftest.er1
22538 cat conftest.err >&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); } && 22540 (exit $ac_status); } &&
16170 { ac_try='test -s conftest$ac_exeext' 22541 { ac_try='test -z "$ac_c_werror_flag"
16171 { (eval echo "$as_me:16171: \"$ac_try\"") >&5 22542 || test ! -s conftest.err'
22543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22544 (eval $ac_try) 2>&5
22545 ac_status=$?
22546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22547 (exit $ac_status); }; } &&
22548 { ac_try='test -s conftest$ac_exeext'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16172 (eval $ac_try) 2>&5 22550 (eval $ac_try) 2>&5
16173 ac_status=$? 22551 ac_status=$?
16174 echo "$as_me:16174: \$? = $ac_status" >&5 22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); }; }; then 22553 (exit $ac_status); }; }; then
16176 ac_cv_search_krb5_init_ets="none required" 22554 ac_cv_search_krb5_init_ets="none required"
16177else 22555else
16178 echo "$as_me: failed program was:" >&5 22556 echo "$as_me: failed program was:" >&5
16179cat conftest.$ac_ext >&5 22557sed 's/^/| /' conftest.$ac_ext >&5
22558
16180fi 22559fi
16181rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22560rm -f conftest.err conftest.$ac_objext \
22561 conftest$ac_exeext conftest.$ac_ext
16182if test "$ac_cv_search_krb5_init_ets" = no; then 22562if test "$ac_cv_search_krb5_init_ets" = no; then
16183 for ac_lib in $K5LIBS; do 22563 for ac_lib in $K5LIBS; do
16184 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 22564 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16185 cat >conftest.$ac_ext <<_ACEOF 22565 cat >conftest.$ac_ext <<_ACEOF
16186#line 16186 "configure" 22566/* confdefs.h. */
16187#include "confdefs.h" 22567_ACEOF
22568cat confdefs.h >>conftest.$ac_ext
22569cat >>conftest.$ac_ext <<_ACEOF
22570/* end confdefs.h. */
16188 22571
16189/* Override any gcc2 internal prototype to avoid an error. */ 22572/* Override any gcc2 internal prototype to avoid an error. */
16190#ifdef __cplusplus 22573#ifdef __cplusplus
@@ -16202,38 +22585,52 @@ krb5_init_ets ();
16202} 22585}
16203_ACEOF 22586_ACEOF
16204rm -f conftest.$ac_objext conftest$ac_exeext 22587rm -f conftest.$ac_objext conftest$ac_exeext
16205if { (eval echo "$as_me:16205: \"$ac_link\"") >&5 22588if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16206 (eval $ac_link) 2>&5 22589 (eval $ac_link) 2>conftest.er1
16207 ac_status=$? 22590 ac_status=$?
16208 echo "$as_me:16208: \$? = $ac_status" >&5 22591 grep -v '^ *+' conftest.er1 >conftest.err
22592 rm -f conftest.er1
22593 cat conftest.err >&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16209 (exit $ac_status); } && 22595 (exit $ac_status); } &&
16210 { ac_try='test -s conftest$ac_exeext' 22596 { ac_try='test -z "$ac_c_werror_flag"
16211 { (eval echo "$as_me:16211: \"$ac_try\"") >&5 22597 || test ! -s conftest.err'
22598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16212 (eval $ac_try) 2>&5 22599 (eval $ac_try) 2>&5
16213 ac_status=$? 22600 ac_status=$?
16214 echo "$as_me:16214: \$? = $ac_status" >&5 22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); }; } &&
22603 { ac_try='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22606 ac_status=$?
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); }; }; then 22608 (exit $ac_status); }; }; then
16216 ac_cv_search_krb5_init_ets="-l$ac_lib" 22609 ac_cv_search_krb5_init_ets="-l$ac_lib"
16217break 22610break
16218else 22611else
16219 echo "$as_me: failed program was:" >&5 22612 echo "$as_me: failed program was:" >&5
16220cat conftest.$ac_ext >&5 22613sed 's/^/| /' conftest.$ac_ext >&5
22614
16221fi 22615fi
16222rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 22616rm -f conftest.err conftest.$ac_objext \
22617 conftest$ac_exeext conftest.$ac_ext
16223 done 22618 done
16224fi 22619fi
16225LIBS=$ac_func_search_save_LIBS 22620LIBS=$ac_func_search_save_LIBS
16226fi 22621fi
16227echo "$as_me:16227: result: $ac_cv_search_krb5_init_ets" >&5 22622echo "$as_me:$LINENO: result: $ac_cv_search_krb5_init_ets" >&5
16228echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6 22623echo "${ECHO_T}$ac_cv_search_krb5_init_ets" >&6
16229if test "$ac_cv_search_krb5_init_ets" != no; then 22624if test "$ac_cv_search_krb5_init_ets" != no; then
16230 test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS" 22625 test "$ac_cv_search_krb5_init_ets" = "none required" || LIBS="$ac_cv_search_krb5_init_ets $LIBS"
16231 cat >>confdefs.h <<\EOF 22626 cat >>confdefs.h <<\_ACEOF
16232#define KRB5_INIT_ETS 1 22627#define KRB5_INIT_ETS 1
16233EOF 22628_ACEOF
16234 22629
16235fi 22630fi
16236 22631
22632
22633
16237fi; 22634fi;
16238 22635
16239# Looking for programs, paths and files 22636# Looking for programs, paths and files
@@ -16248,8 +22645,11 @@ if test "${with_privsep_path+set}" = set; then
16248 PRIVSEP_PATH=$withval 22645 PRIVSEP_PATH=$withval
16249 fi 22646 fi
16250 22647
22648
16251fi; 22649fi;
16252 22650
22651
22652
16253# Check whether --with-xauth or --without-xauth was given. 22653# Check whether --with-xauth or --without-xauth was given.
16254if test "${with_xauth+set}" = set; then 22654if test "${with_xauth+set}" = set; then
16255 withval="$with_xauth" 22655 withval="$with_xauth"
@@ -16267,7 +22667,7 @@ else
16267 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" 22667 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
16268 # Extract the first word of "xauth", so it can be a program name with args. 22668 # Extract the first word of "xauth", so it can be a program name with args.
16269set dummy xauth; ac_word=$2 22669set dummy xauth; ac_word=$2
16270echo "$as_me:16270: checking for $ac_word" >&5 22670echo "$as_me:$LINENO: checking for $ac_word" >&5
16271echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 22671echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16272if test "${ac_cv_path_xauth_path+set}" = set; then 22672if test "${ac_cv_path_xauth_path+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6 22673 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -16277,16 +22677,18 @@ else
16277 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path. 22677 ac_cv_path_xauth_path="$xauth_path" # Let the user override the test with a path.
16278 ;; 22678 ;;
16279 *) 22679 *)
16280 ac_save_IFS=$IFS; IFS=$ac_path_separator 22680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16281ac_dummy="$TestPath" 22681for as_dir in $TestPath
16282for ac_dir in $ac_dummy; do 22682do
16283 IFS=$ac_save_IFS 22683 IFS=$as_save_IFS
16284 test -z "$ac_dir" && ac_dir=. 22684 test -z "$as_dir" && as_dir=.
16285 if $as_executable_p "$ac_dir/$ac_word"; then 22685 for ac_exec_ext in '' $ac_executable_extensions; do
16286 ac_cv_path_xauth_path="$ac_dir/$ac_word" 22686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16287 echo "$as_me:16287: found $ac_dir/$ac_word" >&5 22687 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
16288 break 22688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16289fi 22689 break 2
22690 fi
22691done
16290done 22692done
16291 22693
16292 ;; 22694 ;;
@@ -16295,10 +22697,10 @@ fi
16295xauth_path=$ac_cv_path_xauth_path 22697xauth_path=$ac_cv_path_xauth_path
16296 22698
16297if test -n "$xauth_path"; then 22699if test -n "$xauth_path"; then
16298 echo "$as_me:16298: result: $xauth_path" >&5 22700 echo "$as_me:$LINENO: result: $xauth_path" >&5
16299echo "${ECHO_T}$xauth_path" >&6 22701echo "${ECHO_T}$xauth_path" >&6
16300else 22702else
16301 echo "$as_me:16301: result: no" >&5 22703 echo "$as_me:$LINENO: result: no" >&5
16302echo "${ECHO_T}no" >&6 22704echo "${ECHO_T}no" >&6
16303fi 22705fi
16304 22706
@@ -16306,6 +22708,7 @@ fi
16306 xauth_path="/usr/openwin/bin/xauth" 22708 xauth_path="/usr/openwin/bin/xauth"
16307 fi 22709 fi
16308 22710
22711
16309fi; 22712fi;
16310 22713
16311STRIP_OPT=-s 22714STRIP_OPT=-s
@@ -16317,15 +22720,17 @@ if test "${enable_strip+set}" = set; then
16317 STRIP_OPT= 22720 STRIP_OPT=
16318 fi 22721 fi
16319 22722
22723
16320fi; 22724fi;
16321 22725
22726
16322if test -z "$xauth_path" ; then 22727if test -z "$xauth_path" ; then
16323 XAUTH_PATH="undefined" 22728 XAUTH_PATH="undefined"
16324 22729
16325else 22730else
16326 cat >>confdefs.h <<EOF 22731 cat >>confdefs.h <<_ACEOF
16327#define XAUTH_PATH "$xauth_path" 22732#define XAUTH_PATH "$xauth_path"
16328EOF 22733_ACEOF
16329 22734
16330 XAUTH_PATH=$xauth_path 22735 XAUTH_PATH=$xauth_path
16331 22736
@@ -16334,21 +22739,21 @@ fi
16334# Check for mail directory (last resort if we cannot get it from headers) 22739# Check for mail directory (last resort if we cannot get it from headers)
16335if test ! -z "$MAIL" ; then 22740if test ! -z "$MAIL" ; then
16336 maildir=`dirname $MAIL` 22741 maildir=`dirname $MAIL`
16337 cat >>confdefs.h <<EOF 22742 cat >>confdefs.h <<_ACEOF
16338#define MAIL_DIRECTORY "$maildir" 22743#define MAIL_DIRECTORY "$maildir"
16339EOF 22744_ACEOF
16340 22745
16341fi 22746fi
16342 22747
16343if test -z "$no_dev_ptmx" ; then 22748if test -z "$no_dev_ptmx" ; then
16344 if test "x$disable_ptmx_check" != "xyes" ; then 22749 if test "x$disable_ptmx_check" != "xyes" ; then
16345 echo "$as_me:16345: checking for \"/dev/ptmx\"" >&5 22750 echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
16346echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6 22751echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6
16347if test "${ac_cv_file___dev_ptmx_+set}" = set; then 22752if test "${ac_cv_file___dev_ptmx_+set}" = set; then
16348 echo $ECHO_N "(cached) $ECHO_C" >&6 22753 echo $ECHO_N "(cached) $ECHO_C" >&6
16349else 22754else
16350 test "$cross_compiling" = yes && 22755 test "$cross_compiling" = yes &&
16351 { { echo "$as_me:16351: error: cannot check for file existence when cross compiling" >&5 22756 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16352echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 22757echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16353 { (exit 1); exit 1; }; } 22758 { (exit 1); exit 1; }; }
16354if test -r ""/dev/ptmx""; then 22759if test -r ""/dev/ptmx""; then
@@ -16357,27 +22762,28 @@ else
16357 ac_cv_file___dev_ptmx_=no 22762 ac_cv_file___dev_ptmx_=no
16358fi 22763fi
16359fi 22764fi
16360echo "$as_me:16360: result: $ac_cv_file___dev_ptmx_" >&5 22765echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
16361echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6 22766echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6
16362if test $ac_cv_file___dev_ptmx_ = yes; then 22767if test $ac_cv_file___dev_ptmx_ = yes; then
16363 22768
16364 cat >>confdefs.h <<EOF 22769 cat >>confdefs.h <<_ACEOF
16365#define HAVE_DEV_PTMX 1 22770#define HAVE_DEV_PTMX 1
16366EOF 22771_ACEOF
16367 22772
16368 have_dev_ptmx=1 22773 have_dev_ptmx=1
16369 22774
22775
16370fi 22776fi
16371 22777
16372 fi 22778 fi
16373fi 22779fi
16374echo "$as_me:16374: checking for \"/dev/ptc\"" >&5 22780echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
16375echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6 22781echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6
16376if test "${ac_cv_file___dev_ptc_+set}" = set; then 22782if test "${ac_cv_file___dev_ptc_+set}" = set; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6 22783 echo $ECHO_N "(cached) $ECHO_C" >&6
16378else 22784else
16379 test "$cross_compiling" = yes && 22785 test "$cross_compiling" = yes &&
16380 { { echo "$as_me:16380: error: cannot check for file existence when cross compiling" >&5 22786 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16381echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 22787echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16382 { (exit 1); exit 1; }; } 22788 { (exit 1); exit 1; }; }
16383if test -r ""/dev/ptc""; then 22789if test -r ""/dev/ptc""; then
@@ -16386,18 +22792,20 @@ else
16386 ac_cv_file___dev_ptc_=no 22792 ac_cv_file___dev_ptc_=no
16387fi 22793fi
16388fi 22794fi
16389echo "$as_me:16389: result: $ac_cv_file___dev_ptc_" >&5 22795echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
16390echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6 22796echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6
16391if test $ac_cv_file___dev_ptc_ = yes; then 22797if test $ac_cv_file___dev_ptc_ = yes; then
16392 22798
16393 cat >>confdefs.h <<EOF 22799 cat >>confdefs.h <<_ACEOF
16394#define HAVE_DEV_PTS_AND_PTC 1 22800#define HAVE_DEV_PTS_AND_PTC 1
16395EOF 22801_ACEOF
16396 22802
16397 have_dev_ptc=1 22803 have_dev_ptc=1
16398 22804
22805
16399fi 22806fi
16400 22807
22808
16401# Options from here on. Some of these are preset by platform above 22809# Options from here on. Some of these are preset by platform above
16402 22810
16403# Check whether --with-mantype or --without-mantype was given. 22811# Check whether --with-mantype or --without-mantype was given.
@@ -16409,12 +22817,13 @@ if test "${with_mantype+set}" = set; then
16409 MANTYPE=$withval 22817 MANTYPE=$withval
16410 ;; 22818 ;;
16411 *) 22819 *)
16412 { { echo "$as_me:16412: error: invalid man type: $withval" >&5 22820 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
16413echo "$as_me: error: invalid man type: $withval" >&2;} 22821echo "$as_me: error: invalid man type: $withval" >&2;}
16414 { (exit 1); exit 1; }; } 22822 { (exit 1); exit 1; }; }
16415 ;; 22823 ;;
16416 esac 22824 esac
16417 22825
22826
16418fi; 22827fi;
16419if test -z "$MANTYPE"; then 22828if test -z "$MANTYPE"; then
16420 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb" 22829 TestPath="/usr/bin${PATH_SEPARATOR}/usr/ucb"
@@ -16422,7 +22831,7 @@ if test -z "$MANTYPE"; then
16422do 22831do
16423 # Extract the first word of "$ac_prog", so it can be a program name with args. 22832 # Extract the first word of "$ac_prog", so it can be a program name with args.
16424set dummy $ac_prog; ac_word=$2 22833set dummy $ac_prog; ac_word=$2
16425echo "$as_me:16425: checking for $ac_word" >&5 22834echo "$as_me:$LINENO: checking for $ac_word" >&5
16426echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 22835echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16427if test "${ac_cv_path_NROFF+set}" = set; then 22836if test "${ac_cv_path_NROFF+set}" = set; then
16428 echo $ECHO_N "(cached) $ECHO_C" >&6 22837 echo $ECHO_N "(cached) $ECHO_C" >&6
@@ -16432,16 +22841,18 @@ else
16432 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path. 22841 ac_cv_path_NROFF="$NROFF" # Let the user override the test with a path.
16433 ;; 22842 ;;
16434 *) 22843 *)
16435 ac_save_IFS=$IFS; IFS=$ac_path_separator 22844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436ac_dummy="$TestPath" 22845for as_dir in $TestPath
16437for ac_dir in $ac_dummy; do 22846do
16438 IFS=$ac_save_IFS 22847 IFS=$as_save_IFS
16439 test -z "$ac_dir" && ac_dir=. 22848 test -z "$as_dir" && as_dir=.
16440 if $as_executable_p "$ac_dir/$ac_word"; then 22849 for ac_exec_ext in '' $ac_executable_extensions; do
16441 ac_cv_path_NROFF="$ac_dir/$ac_word" 22850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16442 echo "$as_me:16442: found $ac_dir/$ac_word" >&5 22851 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
16443 break 22852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16444fi 22853 break 2
22854 fi
22855done
16445done 22856done
16446 22857
16447 ;; 22858 ;;
@@ -16450,10 +22861,10 @@ fi
16450NROFF=$ac_cv_path_NROFF 22861NROFF=$ac_cv_path_NROFF
16451 22862
16452if test -n "$NROFF"; then 22863if test -n "$NROFF"; then
16453 echo "$as_me:16453: result: $NROFF" >&5 22864 echo "$as_me:$LINENO: result: $NROFF" >&5
16454echo "${ECHO_T}$NROFF" >&6 22865echo "${ECHO_T}$NROFF" >&6
16455else 22866else
16456 echo "$as_me:16456: result: no" >&5 22867 echo "$as_me:$LINENO: result: no" >&5
16457echo "${ECHO_T}no" >&6 22868echo "${ECHO_T}no" >&6
16458fi 22869fi
16459 22870
@@ -16476,6 +22887,7 @@ else
16476 mansubdir=$MANTYPE; 22887 mansubdir=$MANTYPE;
16477fi 22888fi
16478 22889
22890
16479# Check whether to enable MD5 passwords 22891# Check whether to enable MD5 passwords
16480MD5_MSG="no" 22892MD5_MSG="no"
16481 22893
@@ -16484,13 +22896,14 @@ if test "${with_md5_passwords+set}" = set; then
16484 withval="$with_md5_passwords" 22896 withval="$with_md5_passwords"
16485 22897
16486 if test "x$withval" != "xno" ; then 22898 if test "x$withval" != "xno" ; then
16487 cat >>confdefs.h <<\EOF 22899 cat >>confdefs.h <<\_ACEOF
16488#define HAVE_MD5_PASSWORDS 1 22900#define HAVE_MD5_PASSWORDS 1
16489EOF 22901_ACEOF
16490 22902
16491 MD5_MSG="yes" 22903 MD5_MSG="yes"
16492 fi 22904 fi
16493 22905
22906
16494fi; 22907fi;
16495 22908
16496# Whether to disable shadow password support 22909# Whether to disable shadow password support
@@ -16500,21 +22913,25 @@ if test "${with_shadow+set}" = set; then
16500 withval="$with_shadow" 22913 withval="$with_shadow"
16501 22914
16502 if test "x$withval" = "xno" ; then 22915 if test "x$withval" = "xno" ; then
16503 cat >>confdefs.h <<\EOF 22916 cat >>confdefs.h <<\_ACEOF
16504#define DISABLE_SHADOW 1 22917#define DISABLE_SHADOW 1
16505EOF 22918_ACEOF
16506 22919
16507 disable_shadow=yes 22920 disable_shadow=yes
16508 fi 22921 fi
16509 22922
22923
16510fi; 22924fi;
16511 22925
16512if test -z "$disable_shadow" ; then 22926if test -z "$disable_shadow" ; then
16513 echo "$as_me:16513: checking if the systems has expire shadow information" >&5 22927 echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
16514echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6 22928echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6
16515 cat >conftest.$ac_ext <<_ACEOF 22929 cat >conftest.$ac_ext <<_ACEOF
16516#line 16516 "configure" 22930/* confdefs.h. */
16517#include "confdefs.h" 22931_ACEOF
22932cat confdefs.h >>conftest.$ac_ext
22933cat >>conftest.$ac_ext <<_ACEOF
22934/* end confdefs.h. */
16518 22935
16519#include <sys/types.h> 22936#include <sys/types.h>
16520#include <shadow.h> 22937#include <shadow.h>
@@ -16529,34 +22946,46 @@ main ()
16529} 22946}
16530_ACEOF 22947_ACEOF
16531rm -f conftest.$ac_objext 22948rm -f conftest.$ac_objext
16532if { (eval echo "$as_me:16532: \"$ac_compile\"") >&5 22949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16533 (eval $ac_compile) 2>&5 22950 (eval $ac_compile) 2>conftest.er1
16534 ac_status=$? 22951 ac_status=$?
16535 echo "$as_me:16535: \$? = $ac_status" >&5 22952 grep -v '^ *+' conftest.er1 >conftest.err
22953 rm -f conftest.er1
22954 cat conftest.err >&5
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16536 (exit $ac_status); } && 22956 (exit $ac_status); } &&
16537 { ac_try='test -s conftest.$ac_objext' 22957 { ac_try='test -z "$ac_c_werror_flag"
16538 { (eval echo "$as_me:16538: \"$ac_try\"") >&5 22958 || test ! -s conftest.err'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16539 (eval $ac_try) 2>&5 22960 (eval $ac_try) 2>&5
16540 ac_status=$? 22961 ac_status=$?
16541 echo "$as_me:16541: \$? = $ac_status" >&5 22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; } &&
22964 { ac_try='test -s conftest.$ac_objext'
22965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22966 (eval $ac_try) 2>&5
22967 ac_status=$?
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542 (exit $ac_status); }; }; then 22969 (exit $ac_status); }; }; then
16543 sp_expire_available=yes 22970 sp_expire_available=yes
16544else 22971else
16545 echo "$as_me: failed program was:" >&5 22972 echo "$as_me: failed program was:" >&5
16546cat conftest.$ac_ext >&5 22973sed 's/^/| /' conftest.$ac_ext >&5
22974
22975
16547 22976
16548fi 22977fi
16549rm -f conftest.$ac_objext conftest.$ac_ext 22978rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16550 22979
16551 if test "x$sp_expire_available" = "xyes" ; then 22980 if test "x$sp_expire_available" = "xyes" ; then
16552 echo "$as_me:16552: result: yes" >&5 22981 echo "$as_me:$LINENO: result: yes" >&5
16553echo "${ECHO_T}yes" >&6 22982echo "${ECHO_T}yes" >&6
16554 cat >>confdefs.h <<\EOF 22983 cat >>confdefs.h <<\_ACEOF
16555#define HAS_SHADOW_EXPIRE 1 22984#define HAS_SHADOW_EXPIRE 1
16556EOF 22985_ACEOF
16557 22986
16558 else 22987 else
16559 echo "$as_me:16559: result: no" >&5 22988 echo "$as_me:$LINENO: result: no" >&5
16560echo "${ECHO_T}no" >&6 22989echo "${ECHO_T}no" >&6
16561 fi 22990 fi
16562fi 22991fi
@@ -16564,9 +22993,9 @@ fi
16564# Use ip address instead of hostname in $DISPLAY 22993# Use ip address instead of hostname in $DISPLAY
16565if test ! -z "$IPADDR_IN_DISPLAY" ; then 22994if test ! -z "$IPADDR_IN_DISPLAY" ; then
16566 DISPLAY_HACK_MSG="yes" 22995 DISPLAY_HACK_MSG="yes"
16567 cat >>confdefs.h <<\EOF 22996 cat >>confdefs.h <<\_ACEOF
16568#define IPADDR_IN_DISPLAY 1 22997#define IPADDR_IN_DISPLAY 1
16569EOF 22998_ACEOF
16570 22999
16571else 23000else
16572 DISPLAY_HACK_MSG="no" 23001 DISPLAY_HACK_MSG="no"
@@ -16576,13 +23005,14 @@ if test "${with_ipaddr_display+set}" = set; then
16576 withval="$with_ipaddr_display" 23005 withval="$with_ipaddr_display"
16577 23006
16578 if test "x$withval" != "xno" ; then 23007 if test "x$withval" != "xno" ; then
16579 cat >>confdefs.h <<\EOF 23008 cat >>confdefs.h <<\_ACEOF
16580#define IPADDR_IN_DISPLAY 1 23009#define IPADDR_IN_DISPLAY 1
16581EOF 23010_ACEOF
16582 23011
16583 DISPLAY_HACK_MSG="yes" 23012 DISPLAY_HACK_MSG="yes"
16584 fi 23013 fi
16585 23014
23015
16586fi; 23016fi;
16587fi 23017fi
16588 23018
@@ -16593,13 +23023,13 @@ if test "${enable_etc_default_login+set}" = set; then
16593 23023
16594else 23024else
16595 23025
16596echo "$as_me:16596: checking for \"/etc/default/login\"" >&5 23026echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
16597echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6 23027echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6
16598if test "${ac_cv_file___etc_default_login_+set}" = set; then 23028if test "${ac_cv_file___etc_default_login_+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6 23029 echo $ECHO_N "(cached) $ECHO_C" >&6
16600else 23030else
16601 test "$cross_compiling" = yes && 23031 test "$cross_compiling" = yes &&
16602 { { echo "$as_me:16602: error: cannot check for file existence when cross compiling" >&5 23032 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
16603echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 23033echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
16604 { (exit 1); exit 1; }; } 23034 { (exit 1); exit 1; }; }
16605if test -r ""/etc/default/login""; then 23035if test -r ""/etc/default/login""; then
@@ -16608,16 +23038,17 @@ else
16608 ac_cv_file___etc_default_login_=no 23038 ac_cv_file___etc_default_login_=no
16609fi 23039fi
16610fi 23040fi
16611echo "$as_me:16611: result: $ac_cv_file___etc_default_login_" >&5 23041echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5
16612echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6 23042echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6
16613if test $ac_cv_file___etc_default_login_ = yes; then 23043if test $ac_cv_file___etc_default_login_ = yes; then
16614 external_path_file=/etc/default/login 23044 external_path_file=/etc/default/login
16615fi 23045fi
16616 23046
23047
16617if test "x$external_path_file" = "x/etc/default/login"; then 23048if test "x$external_path_file" = "x/etc/default/login"; then
16618 cat >>confdefs.h <<\EOF 23049 cat >>confdefs.h <<\_ACEOF
16619#define HAVE_ETC_DEFAULT_LOGIN 1 23050#define HAVE_ETC_DEFAULT_LOGIN 1
16620EOF 23051_ACEOF
16621 23052
16622fi 23053fi
16623 23054
@@ -16636,7 +23067,7 @@ if test "${with_default_path+set}" = set; then
16636 withval="$with_default_path" 23067 withval="$with_default_path"
16637 23068
16638 if test "x$external_path_file" = "x/etc/login.conf" ; then 23069 if test "x$external_path_file" = "x/etc/login.conf" ; then
16639 { echo "$as_me:16639: WARNING: 23070 { echo "$as_me:$LINENO: WARNING:
16640--with-default-path=PATH has no effect on this system. 23071--with-default-path=PATH has no effect on this system.
16641Edit /etc/login.conf instead." >&5 23072Edit /etc/login.conf instead." >&5
16642echo "$as_me: WARNING: 23073echo "$as_me: WARNING:
@@ -16644,7 +23075,7 @@ echo "$as_me: WARNING:
16644Edit /etc/login.conf instead." >&2;} 23075Edit /etc/login.conf instead." >&2;}
16645 elif test "x$withval" != "xno" ; then 23076 elif test "x$withval" != "xno" ; then
16646 if test ! -z "$external_path_file" ; then 23077 if test ! -z "$external_path_file" ; then
16647 { echo "$as_me:16647: WARNING: 23078 { echo "$as_me:$LINENO: WARNING:
16648--with-default-path=PATH will only be used if PATH is not defined in 23079--with-default-path=PATH will only be used if PATH is not defined in
16649$external_path_file ." >&5 23080$external_path_file ." >&5
16650echo "$as_me: WARNING: 23081echo "$as_me: WARNING:
@@ -16657,11 +23088,11 @@ $external_path_file ." >&2;}
16657 23088
16658else 23089else
16659 if test "x$external_path_file" = "x/etc/login.conf" ; then 23090 if test "x$external_path_file" = "x/etc/login.conf" ; then
16660 { echo "$as_me:16660: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 23091 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
16661echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} 23092echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
16662 else 23093 else
16663 if test ! -z "$external_path_file" ; then 23094 if test ! -z "$external_path_file" ; then
16664 { echo "$as_me:16664: WARNING: 23095 { echo "$as_me:$LINENO: WARNING:
16665If PATH is defined in $external_path_file, ensure the path to scp is included, 23096If PATH is defined in $external_path_file, ensure the path to scp is included,
16666otherwise scp will not work." >&5 23097otherwise scp will not work." >&5
16667echo "$as_me: WARNING: 23098echo "$as_me: WARNING:
@@ -16673,8 +23104,11 @@ otherwise scp will not work." >&2;}
16673 23104
16674else 23105else
16675 cat >conftest.$ac_ext <<_ACEOF 23106 cat >conftest.$ac_ext <<_ACEOF
16676#line 16676 "configure" 23107/* confdefs.h. */
16677#include "confdefs.h" 23108_ACEOF
23109cat confdefs.h >>conftest.$ac_ext
23110cat >>conftest.$ac_ext <<_ACEOF
23111/* end confdefs.h. */
16678 23112
16679/* find out what STDPATH is */ 23113/* find out what STDPATH is */
16680#include <stdio.h> 23114#include <stdio.h>
@@ -16710,24 +23144,26 @@ main()
16710 23144
16711_ACEOF 23145_ACEOF
16712rm -f conftest$ac_exeext 23146rm -f conftest$ac_exeext
16713if { (eval echo "$as_me:16713: \"$ac_link\"") >&5 23147if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16714 (eval $ac_link) 2>&5 23148 (eval $ac_link) 2>&5
16715 ac_status=$? 23149 ac_status=$?
16716 echo "$as_me:16716: \$? = $ac_status" >&5 23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 23151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16718 { (eval echo "$as_me:16718: \"$ac_try\"") >&5 23152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5 23153 (eval $ac_try) 2>&5
16720 ac_status=$? 23154 ac_status=$?
16721 echo "$as_me:16721: \$? = $ac_status" >&5 23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then 23156 (exit $ac_status); }; }; then
16723 user_path=`cat conftest.stdpath` 23157 user_path=`cat conftest.stdpath`
16724else 23158else
16725 echo "$as_me: program exited with status $ac_status" >&5 23159 echo "$as_me: program exited with status $ac_status" >&5
16726echo "$as_me: failed program was:" >&5 23160echo "$as_me: failed program was:" >&5
16727cat conftest.$ac_ext >&5 23161sed 's/^/| /' conftest.$ac_ext >&5
23162
23163( exit $ac_status )
16728 user_path="/usr/bin:/bin:/usr/sbin:/sbin" 23164 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
16729fi 23165fi
16730rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 23166rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16731fi 23167fi
16732# make sure $bindir is in USER_PATH so scp will work 23168# make sure $bindir is in USER_PATH so scp will work
16733 t_bindir=`eval echo ${bindir}` 23169 t_bindir=`eval echo ${bindir}`
@@ -16742,7 +23178,7 @@ fi
16742 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 23178 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
16743 if test $? -ne 0 ; then 23179 if test $? -ne 0 ; then
16744 user_path=$user_path:$t_bindir 23180 user_path=$user_path:$t_bindir
16745 echo "$as_me:16745: result: Adding $t_bindir to USER_PATH so scp will work" >&5 23181 echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
16746echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6 23182echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
16747 fi 23183 fi
16748 fi 23184 fi
@@ -16750,9 +23186,10 @@ echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6
16750 23186
16751fi; 23187fi;
16752if test "x$external_path_file" != "x/etc/login.conf" ; then 23188if test "x$external_path_file" != "x/etc/login.conf" ; then
16753 cat >>confdefs.h <<EOF 23189 cat >>confdefs.h <<_ACEOF
16754#define USER_PATH "$user_path" 23190#define USER_PATH "$user_path"
16755EOF 23191_ACEOF
23192
16756 23193
16757fi 23194fi
16758 23195
@@ -16763,16 +23200,18 @@ if test "${with_superuser_path+set}" = set; then
16763 withval="$with_superuser_path" 23200 withval="$with_superuser_path"
16764 23201
16765 if test "x$withval" != "xno" ; then 23202 if test "x$withval" != "xno" ; then
16766 cat >>confdefs.h <<EOF 23203 cat >>confdefs.h <<_ACEOF
16767#define SUPERUSER_PATH "$withval" 23204#define SUPERUSER_PATH "$withval"
16768EOF 23205_ACEOF
16769 23206
16770 superuser_path=$withval 23207 superuser_path=$withval
16771 fi 23208 fi
16772 23209
23210
16773fi; 23211fi;
16774 23212
16775echo "$as_me:16775: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 23213
23214echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
16776echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6 23215echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6
16777IPV4_IN6_HACK_MSG="no" 23216IPV4_IN6_HACK_MSG="no"
16778 23217
@@ -16781,33 +23220,34 @@ if test "${with_4in6+set}" = set; then
16781 withval="$with_4in6" 23220 withval="$with_4in6"
16782 23221
16783 if test "x$withval" != "xno" ; then 23222 if test "x$withval" != "xno" ; then
16784 echo "$as_me:16784: result: yes" >&5 23223 echo "$as_me:$LINENO: result: yes" >&5
16785echo "${ECHO_T}yes" >&6 23224echo "${ECHO_T}yes" >&6
16786 cat >>confdefs.h <<\EOF 23225 cat >>confdefs.h <<\_ACEOF
16787#define IPV4_IN_IPV6 1 23226#define IPV4_IN_IPV6 1
16788EOF 23227_ACEOF
16789 23228
16790 IPV4_IN6_HACK_MSG="yes" 23229 IPV4_IN6_HACK_MSG="yes"
16791 else 23230 else
16792 echo "$as_me:16792: result: no" >&5 23231 echo "$as_me:$LINENO: result: no" >&5
16793echo "${ECHO_T}no" >&6 23232echo "${ECHO_T}no" >&6
16794 fi 23233 fi
16795 23234
16796else 23235else
16797 23236
16798 if test "x$inet6_default_4in6" = "xyes"; then 23237 if test "x$inet6_default_4in6" = "xyes"; then
16799 echo "$as_me:16799: result: yes (default)" >&5 23238 echo "$as_me:$LINENO: result: yes (default)" >&5
16800echo "${ECHO_T}yes (default)" >&6 23239echo "${ECHO_T}yes (default)" >&6
16801 cat >>confdefs.h <<\EOF 23240 cat >>confdefs.h <<\_ACEOF
16802#define IPV4_IN_IPV6 1 23241#define IPV4_IN_IPV6 1
16803EOF 23242_ACEOF
16804 23243
16805 IPV4_IN6_HACK_MSG="yes" 23244 IPV4_IN6_HACK_MSG="yes"
16806 else 23245 else
16807 echo "$as_me:16807: result: no (default)" >&5 23246 echo "$as_me:$LINENO: result: no (default)" >&5
16808echo "${ECHO_T}no (default)" >&6 23247echo "${ECHO_T}no (default)" >&6
16809 fi 23248 fi
16810 23249
23250
16811fi; 23251fi;
16812 23252
16813# Whether to enable BSD auth support 23253# Whether to enable BSD auth support
@@ -16818,13 +23258,14 @@ if test "${with_bsd_auth+set}" = set; then
16818 withval="$with_bsd_auth" 23258 withval="$with_bsd_auth"
16819 23259
16820 if test "x$withval" != "xno" ; then 23260 if test "x$withval" != "xno" ; then
16821 cat >>confdefs.h <<\EOF 23261 cat >>confdefs.h <<\_ACEOF
16822#define BSD_AUTH 1 23262#define BSD_AUTH 1
16823EOF 23263_ACEOF
16824 23264
16825 BSD_AUTH_MSG=yes 23265 BSD_AUTH_MSG=yes
16826 fi 23266 fi
16827 23267
23268
16828fi; 23269fi;
16829 23270
16830# Where to place sshd.pid 23271# Where to place sshd.pid
@@ -16837,6 +23278,7 @@ if test ! -d $piddir ; then
16837 esac 23278 esac
16838fi 23279fi
16839 23280
23281
16840# Check whether --with-pid-dir or --without-pid-dir was given. 23282# Check whether --with-pid-dir or --without-pid-dir was given.
16841if test "${with_pid_dir+set}" = set; then 23283if test "${with_pid_dir+set}" = set; then
16842 withval="$with_pid_dir" 23284 withval="$with_pid_dir"
@@ -16844,112 +23286,123 @@ if test "${with_pid_dir+set}" = set; then
16844 if test "x$withval" != "xno" ; then 23286 if test "x$withval" != "xno" ; then
16845 piddir=$withval 23287 piddir=$withval
16846 if test ! -d $piddir ; then 23288 if test ! -d $piddir ; then
16847 { echo "$as_me:16847: WARNING: ** no $piddir directory on this system **" >&5 23289 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
16848echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} 23290echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
16849 fi 23291 fi
16850 fi 23292 fi
16851 23293
23294
16852fi; 23295fi;
16853 23296
16854cat >>confdefs.h <<EOF 23297cat >>confdefs.h <<_ACEOF
16855#define _PATH_SSH_PIDDIR "$piddir" 23298#define _PATH_SSH_PIDDIR "$piddir"
16856EOF 23299_ACEOF
23300
23301
16857 23302
16858# Check whether --enable-lastlog or --disable-lastlog was given. 23303# Check whether --enable-lastlog or --disable-lastlog was given.
16859if test "${enable_lastlog+set}" = set; then 23304if test "${enable_lastlog+set}" = set; then
16860 enableval="$enable_lastlog" 23305 enableval="$enable_lastlog"
16861 23306
16862 if test "x$enableval" = "xno" ; then 23307 if test "x$enableval" = "xno" ; then
16863 cat >>confdefs.h <<\EOF 23308 cat >>confdefs.h <<\_ACEOF
16864#define DISABLE_LASTLOG 1 23309#define DISABLE_LASTLOG 1
16865EOF 23310_ACEOF
16866 23311
16867 fi 23312 fi
16868 23313
23314
16869fi; 23315fi;
16870# Check whether --enable-utmp or --disable-utmp was given. 23316# Check whether --enable-utmp or --disable-utmp was given.
16871if test "${enable_utmp+set}" = set; then 23317if test "${enable_utmp+set}" = set; then
16872 enableval="$enable_utmp" 23318 enableval="$enable_utmp"
16873 23319
16874 if test "x$enableval" = "xno" ; then 23320 if test "x$enableval" = "xno" ; then
16875 cat >>confdefs.h <<\EOF 23321 cat >>confdefs.h <<\_ACEOF
16876#define DISABLE_UTMP 1 23322#define DISABLE_UTMP 1
16877EOF 23323_ACEOF
16878 23324
16879 fi 23325 fi
16880 23326
23327
16881fi; 23328fi;
16882# Check whether --enable-utmpx or --disable-utmpx was given. 23329# Check whether --enable-utmpx or --disable-utmpx was given.
16883if test "${enable_utmpx+set}" = set; then 23330if test "${enable_utmpx+set}" = set; then
16884 enableval="$enable_utmpx" 23331 enableval="$enable_utmpx"
16885 23332
16886 if test "x$enableval" = "xno" ; then 23333 if test "x$enableval" = "xno" ; then
16887 cat >>confdefs.h <<\EOF 23334 cat >>confdefs.h <<\_ACEOF
16888#define DISABLE_UTMPX 1 23335#define DISABLE_UTMPX 1
16889EOF 23336_ACEOF
16890 23337
16891 fi 23338 fi
16892 23339
23340
16893fi; 23341fi;
16894# Check whether --enable-wtmp or --disable-wtmp was given. 23342# Check whether --enable-wtmp or --disable-wtmp was given.
16895if test "${enable_wtmp+set}" = set; then 23343if test "${enable_wtmp+set}" = set; then
16896 enableval="$enable_wtmp" 23344 enableval="$enable_wtmp"
16897 23345
16898 if test "x$enableval" = "xno" ; then 23346 if test "x$enableval" = "xno" ; then
16899 cat >>confdefs.h <<\EOF 23347 cat >>confdefs.h <<\_ACEOF
16900#define DISABLE_WTMP 1 23348#define DISABLE_WTMP 1
16901EOF 23349_ACEOF
16902 23350
16903 fi 23351 fi
16904 23352
23353
16905fi; 23354fi;
16906# Check whether --enable-wtmpx or --disable-wtmpx was given. 23355# Check whether --enable-wtmpx or --disable-wtmpx was given.
16907if test "${enable_wtmpx+set}" = set; then 23356if test "${enable_wtmpx+set}" = set; then
16908 enableval="$enable_wtmpx" 23357 enableval="$enable_wtmpx"
16909 23358
16910 if test "x$enableval" = "xno" ; then 23359 if test "x$enableval" = "xno" ; then
16911 cat >>confdefs.h <<\EOF 23360 cat >>confdefs.h <<\_ACEOF
16912#define DISABLE_WTMPX 1 23361#define DISABLE_WTMPX 1
16913EOF 23362_ACEOF
16914 23363
16915 fi 23364 fi
16916 23365
23366
16917fi; 23367fi;
16918# Check whether --enable-libutil or --disable-libutil was given. 23368# Check whether --enable-libutil or --disable-libutil was given.
16919if test "${enable_libutil+set}" = set; then 23369if test "${enable_libutil+set}" = set; then
16920 enableval="$enable_libutil" 23370 enableval="$enable_libutil"
16921 23371
16922 if test "x$enableval" = "xno" ; then 23372 if test "x$enableval" = "xno" ; then
16923 cat >>confdefs.h <<\EOF 23373 cat >>confdefs.h <<\_ACEOF
16924#define DISABLE_LOGIN 1 23374#define DISABLE_LOGIN 1
16925EOF 23375_ACEOF
16926 23376
16927 fi 23377 fi
16928 23378
23379
16929fi; 23380fi;
16930# Check whether --enable-pututline or --disable-pututline was given. 23381# Check whether --enable-pututline or --disable-pututline was given.
16931if test "${enable_pututline+set}" = set; then 23382if test "${enable_pututline+set}" = set; then
16932 enableval="$enable_pututline" 23383 enableval="$enable_pututline"
16933 23384
16934 if test "x$enableval" = "xno" ; then 23385 if test "x$enableval" = "xno" ; then
16935 cat >>confdefs.h <<\EOF 23386 cat >>confdefs.h <<\_ACEOF
16936#define DISABLE_PUTUTLINE 1 23387#define DISABLE_PUTUTLINE 1
16937EOF 23388_ACEOF
16938 23389
16939 fi 23390 fi
16940 23391
23392
16941fi; 23393fi;
16942# Check whether --enable-pututxline or --disable-pututxline was given. 23394# Check whether --enable-pututxline or --disable-pututxline was given.
16943if test "${enable_pututxline+set}" = set; then 23395if test "${enable_pututxline+set}" = set; then
16944 enableval="$enable_pututxline" 23396 enableval="$enable_pututxline"
16945 23397
16946 if test "x$enableval" = "xno" ; then 23398 if test "x$enableval" = "xno" ; then
16947 cat >>confdefs.h <<\EOF 23399 cat >>confdefs.h <<\_ACEOF
16948#define DISABLE_PUTUTXLINE 1 23400#define DISABLE_PUTUTXLINE 1
16949EOF 23401_ACEOF
16950 23402
16951 fi 23403 fi
16952 23404
23405
16953fi; 23406fi;
16954 23407
16955# Check whether --with-lastlog or --without-lastlog was given. 23408# Check whether --with-lastlog or --without-lastlog was given.
@@ -16957,21 +23410,26 @@ if test "${with_lastlog+set}" = set; then
16957 withval="$with_lastlog" 23410 withval="$with_lastlog"
16958 23411
16959 if test "x$withval" = "xno" ; then 23412 if test "x$withval" = "xno" ; then
16960 cat >>confdefs.h <<\EOF 23413 cat >>confdefs.h <<\_ACEOF
16961#define DISABLE_LASTLOG 1 23414#define DISABLE_LASTLOG 1
16962EOF 23415_ACEOF
16963 23416
16964 else 23417 else
16965 conf_lastlog_location=$withval 23418 conf_lastlog_location=$withval
16966 fi 23419 fi
16967 23420
23421
16968fi; 23422fi;
16969 23423
16970echo "$as_me:16970: checking if your system defines LASTLOG_FILE" >&5 23424
23425echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
16971echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6 23426echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6
16972cat >conftest.$ac_ext <<_ACEOF 23427cat >conftest.$ac_ext <<_ACEOF
16973#line 16973 "configure" 23428/* confdefs.h. */
16974#include "confdefs.h" 23429_ACEOF
23430cat confdefs.h >>conftest.$ac_ext
23431cat >>conftest.$ac_ext <<_ACEOF
23432/* end confdefs.h. */
16975 23433
16976#include <sys/types.h> 23434#include <sys/types.h>
16977#include <utmp.h> 23435#include <utmp.h>
@@ -16994,30 +23452,44 @@ main ()
16994} 23452}
16995_ACEOF 23453_ACEOF
16996rm -f conftest.$ac_objext 23454rm -f conftest.$ac_objext
16997if { (eval echo "$as_me:16997: \"$ac_compile\"") >&5 23455if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>&5 23456 (eval $ac_compile) 2>conftest.er1
16999 ac_status=$? 23457 ac_status=$?
17000 echo "$as_me:17000: \$? = $ac_status" >&5 23458 grep -v '^ *+' conftest.er1 >conftest.err
23459 rm -f conftest.er1
23460 cat conftest.err >&5
23461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && 23462 (exit $ac_status); } &&
17002 { ac_try='test -s conftest.$ac_objext' 23463 { ac_try='test -z "$ac_c_werror_flag"
17003 { (eval echo "$as_me:17003: \"$ac_try\"") >&5 23464 || test ! -s conftest.err'
23465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5 23466 (eval $ac_try) 2>&5
17005 ac_status=$? 23467 ac_status=$?
17006 echo "$as_me:17006: \$? = $ac_status" >&5 23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); }; } &&
23470 { ac_try='test -s conftest.$ac_objext'
23471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472 (eval $ac_try) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; }; then 23475 (exit $ac_status); }; }; then
17008 echo "$as_me:17008: result: yes" >&5 23476 echo "$as_me:$LINENO: result: yes" >&5
17009echo "${ECHO_T}yes" >&6 23477echo "${ECHO_T}yes" >&6
17010else 23478else
17011 echo "$as_me: failed program was:" >&5 23479 echo "$as_me: failed program was:" >&5
17012cat conftest.$ac_ext >&5 23480sed 's/^/| /' conftest.$ac_ext >&5
23481
17013 23482
17014 echo "$as_me:17014: result: no" >&5 23483 echo "$as_me:$LINENO: result: no" >&5
17015echo "${ECHO_T}no" >&6 23484echo "${ECHO_T}no" >&6
17016 echo "$as_me:17016: checking if your system defines _PATH_LASTLOG" >&5 23485 echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
17017echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6 23486echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6
17018 cat >conftest.$ac_ext <<_ACEOF 23487 cat >conftest.$ac_ext <<_ACEOF
17019#line 17019 "configure" 23488/* confdefs.h. */
17020#include "confdefs.h" 23489_ACEOF
23490cat confdefs.h >>conftest.$ac_ext
23491cat >>conftest.$ac_ext <<_ACEOF
23492/* end confdefs.h. */
17021 23493
17022#include <sys/types.h> 23494#include <sys/types.h>
17023#include <utmp.h> 23495#include <utmp.h>
@@ -17037,32 +23509,44 @@ main ()
17037} 23509}
17038_ACEOF 23510_ACEOF
17039rm -f conftest.$ac_objext 23511rm -f conftest.$ac_objext
17040if { (eval echo "$as_me:17040: \"$ac_compile\"") >&5 23512if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17041 (eval $ac_compile) 2>&5 23513 (eval $ac_compile) 2>conftest.er1
17042 ac_status=$? 23514 ac_status=$?
17043 echo "$as_me:17043: \$? = $ac_status" >&5 23515 grep -v '^ *+' conftest.er1 >conftest.err
23516 rm -f conftest.er1
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } && 23519 (exit $ac_status); } &&
17045 { ac_try='test -s conftest.$ac_objext' 23520 { ac_try='test -z "$ac_c_werror_flag"
17046 { (eval echo "$as_me:17046: \"$ac_try\"") >&5 23521 || test ! -s conftest.err'
23522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23523 (eval $ac_try) 2>&5
23524 ac_status=$?
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); }; } &&
23527 { ac_try='test -s conftest.$ac_objext'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17047 (eval $ac_try) 2>&5 23529 (eval $ac_try) 2>&5
17048 ac_status=$? 23530 ac_status=$?
17049 echo "$as_me:17049: \$? = $ac_status" >&5 23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); }; }; then 23532 (exit $ac_status); }; }; then
17051 echo "$as_me:17051: result: yes" >&5 23533 echo "$as_me:$LINENO: result: yes" >&5
17052echo "${ECHO_T}yes" >&6 23534echo "${ECHO_T}yes" >&6
17053else 23535else
17054 echo "$as_me: failed program was:" >&5 23536 echo "$as_me: failed program was:" >&5
17055cat conftest.$ac_ext >&5 23537sed 's/^/| /' conftest.$ac_ext >&5
23538
17056 23539
17057 echo "$as_me:17057: result: no" >&5 23540 echo "$as_me:$LINENO: result: no" >&5
17058echo "${ECHO_T}no" >&6 23541echo "${ECHO_T}no" >&6
17059 system_lastlog_path=no 23542 system_lastlog_path=no
17060 23543
17061fi 23544fi
17062rm -f conftest.$ac_objext conftest.$ac_ext 23545rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23546
17063 23547
17064fi 23548fi
17065rm -f conftest.$ac_objext conftest.$ac_ext 23549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17066 23550
17067if test -z "$conf_lastlog_location"; then 23551if test -z "$conf_lastlog_location"; then
17068 if test x"$system_lastlog_path" = x"no" ; then 23552 if test x"$system_lastlog_path" = x"no" ; then
@@ -17072,24 +23556,27 @@ if test -z "$conf_lastlog_location"; then
17072 fi 23556 fi
17073 done 23557 done
17074 if test -z "$conf_lastlog_location"; then 23558 if test -z "$conf_lastlog_location"; then
17075 { echo "$as_me:17075: WARNING: ** Cannot find lastlog **" >&5 23559 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
17076echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} 23560echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
17077 fi 23561 fi
17078 fi 23562 fi
17079fi 23563fi
17080 23564
17081if test -n "$conf_lastlog_location"; then 23565if test -n "$conf_lastlog_location"; then
17082 cat >>confdefs.h <<EOF 23566 cat >>confdefs.h <<_ACEOF
17083#define CONF_LASTLOG_FILE "$conf_lastlog_location" 23567#define CONF_LASTLOG_FILE "$conf_lastlog_location"
17084EOF 23568_ACEOF
17085 23569
17086fi 23570fi
17087 23571
17088echo "$as_me:17088: checking if your system defines UTMP_FILE" >&5 23572echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
17089echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6 23573echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6
17090cat >conftest.$ac_ext <<_ACEOF 23574cat >conftest.$ac_ext <<_ACEOF
17091#line 17091 "configure" 23575/* confdefs.h. */
17092#include "confdefs.h" 23576_ACEOF
23577cat confdefs.h >>conftest.$ac_ext
23578cat >>conftest.$ac_ext <<_ACEOF
23579/* end confdefs.h. */
17093 23580
17094#include <sys/types.h> 23581#include <sys/types.h>
17095#include <utmp.h> 23582#include <utmp.h>
@@ -17106,28 +23593,39 @@ main ()
17106} 23593}
17107_ACEOF 23594_ACEOF
17108rm -f conftest.$ac_objext 23595rm -f conftest.$ac_objext
17109if { (eval echo "$as_me:17109: \"$ac_compile\"") >&5 23596if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>&5 23597 (eval $ac_compile) 2>conftest.er1
17111 ac_status=$? 23598 ac_status=$?
17112 echo "$as_me:17112: \$? = $ac_status" >&5 23599 grep -v '^ *+' conftest.er1 >conftest.err
23600 rm -f conftest.er1
23601 cat conftest.err >&5
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && 23603 (exit $ac_status); } &&
17114 { ac_try='test -s conftest.$ac_objext' 23604 { ac_try='test -z "$ac_c_werror_flag"
17115 { (eval echo "$as_me:17115: \"$ac_try\"") >&5 23605 || test ! -s conftest.err'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; } &&
23611 { ac_try='test -s conftest.$ac_objext'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116 (eval $ac_try) 2>&5 23613 (eval $ac_try) 2>&5
17117 ac_status=$? 23614 ac_status=$?
17118 echo "$as_me:17118: \$? = $ac_status" >&5 23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119 (exit $ac_status); }; }; then 23616 (exit $ac_status); }; }; then
17120 echo "$as_me:17120: result: yes" >&5 23617 echo "$as_me:$LINENO: result: yes" >&5
17121echo "${ECHO_T}yes" >&6 23618echo "${ECHO_T}yes" >&6
17122else 23619else
17123 echo "$as_me: failed program was:" >&5 23620 echo "$as_me: failed program was:" >&5
17124cat conftest.$ac_ext >&5 23621sed 's/^/| /' conftest.$ac_ext >&5
17125 echo "$as_me:17125: result: no" >&5 23622
23623 echo "$as_me:$LINENO: result: no" >&5
17126echo "${ECHO_T}no" >&6 23624echo "${ECHO_T}no" >&6
17127 system_utmp_path=no 23625 system_utmp_path=no
17128 23626
17129fi 23627fi
17130rm -f conftest.$ac_objext conftest.$ac_ext 23628rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17131if test -z "$conf_utmp_location"; then 23629if test -z "$conf_utmp_location"; then
17132 if test x"$system_utmp_path" = x"no" ; then 23630 if test x"$system_utmp_path" = x"no" ; then
17133 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do 23631 for f in /etc/utmp /usr/adm/utmp /var/run/utmp; do
@@ -17136,25 +23634,28 @@ if test -z "$conf_utmp_location"; then
17136 fi 23634 fi
17137 done 23635 done
17138 if test -z "$conf_utmp_location"; then 23636 if test -z "$conf_utmp_location"; then
17139 cat >>confdefs.h <<\EOF 23637 cat >>confdefs.h <<\_ACEOF
17140#define DISABLE_UTMP 1 23638#define DISABLE_UTMP 1
17141EOF 23639_ACEOF
17142 23640
17143 fi 23641 fi
17144 fi 23642 fi
17145fi 23643fi
17146if test -n "$conf_utmp_location"; then 23644if test -n "$conf_utmp_location"; then
17147 cat >>confdefs.h <<EOF 23645 cat >>confdefs.h <<_ACEOF
17148#define CONF_UTMP_FILE "$conf_utmp_location" 23646#define CONF_UTMP_FILE "$conf_utmp_location"
17149EOF 23647_ACEOF
17150 23648
17151fi 23649fi
17152 23650
17153echo "$as_me:17153: checking if your system defines WTMP_FILE" >&5 23651echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
17154echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6 23652echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6
17155cat >conftest.$ac_ext <<_ACEOF 23653cat >conftest.$ac_ext <<_ACEOF
17156#line 17156 "configure" 23654/* confdefs.h. */
17157#include "confdefs.h" 23655_ACEOF
23656cat confdefs.h >>conftest.$ac_ext
23657cat >>conftest.$ac_ext <<_ACEOF
23658/* end confdefs.h. */
17158 23659
17159#include <sys/types.h> 23660#include <sys/types.h>
17160#include <utmp.h> 23661#include <utmp.h>
@@ -17171,28 +23672,39 @@ main ()
17171} 23672}
17172_ACEOF 23673_ACEOF
17173rm -f conftest.$ac_objext 23674rm -f conftest.$ac_objext
17174if { (eval echo "$as_me:17174: \"$ac_compile\"") >&5 23675if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175 (eval $ac_compile) 2>&5 23676 (eval $ac_compile) 2>conftest.er1
17176 ac_status=$? 23677 ac_status=$?
17177 echo "$as_me:17177: \$? = $ac_status" >&5 23678 grep -v '^ *+' conftest.er1 >conftest.err
23679 rm -f conftest.er1
23680 cat conftest.err >&5
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } && 23682 (exit $ac_status); } &&
17179 { ac_try='test -s conftest.$ac_objext' 23683 { ac_try='test -z "$ac_c_werror_flag"
17180 { (eval echo "$as_me:17180: \"$ac_try\"") >&5 23684 || test ! -s conftest.err'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; } &&
23690 { ac_try='test -s conftest.$ac_objext'
23691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5 23692 (eval $ac_try) 2>&5
17182 ac_status=$? 23693 ac_status=$?
17183 echo "$as_me:17183: \$? = $ac_status" >&5 23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then 23695 (exit $ac_status); }; }; then
17185 echo "$as_me:17185: result: yes" >&5 23696 echo "$as_me:$LINENO: result: yes" >&5
17186echo "${ECHO_T}yes" >&6 23697echo "${ECHO_T}yes" >&6
17187else 23698else
17188 echo "$as_me: failed program was:" >&5 23699 echo "$as_me: failed program was:" >&5
17189cat conftest.$ac_ext >&5 23700sed 's/^/| /' conftest.$ac_ext >&5
17190 echo "$as_me:17190: result: no" >&5 23701
23702 echo "$as_me:$LINENO: result: no" >&5
17191echo "${ECHO_T}no" >&6 23703echo "${ECHO_T}no" >&6
17192 system_wtmp_path=no 23704 system_wtmp_path=no
17193 23705
17194fi 23706fi
17195rm -f conftest.$ac_objext conftest.$ac_ext 23707rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17196if test -z "$conf_wtmp_location"; then 23708if test -z "$conf_wtmp_location"; then
17197 if test x"$system_wtmp_path" = x"no" ; then 23709 if test x"$system_wtmp_path" = x"no" ; then
17198 for f in /usr/adm/wtmp /var/log/wtmp; do 23710 for f in /usr/adm/wtmp /var/log/wtmp; do
@@ -17201,25 +23713,29 @@ if test -z "$conf_wtmp_location"; then
17201 fi 23713 fi
17202 done 23714 done
17203 if test -z "$conf_wtmp_location"; then 23715 if test -z "$conf_wtmp_location"; then
17204 cat >>confdefs.h <<\EOF 23716 cat >>confdefs.h <<\_ACEOF
17205#define DISABLE_WTMP 1 23717#define DISABLE_WTMP 1
17206EOF 23718_ACEOF
17207 23719
17208 fi 23720 fi
17209 fi 23721 fi
17210fi 23722fi
17211if test -n "$conf_wtmp_location"; then 23723if test -n "$conf_wtmp_location"; then
17212 cat >>confdefs.h <<EOF 23724 cat >>confdefs.h <<_ACEOF
17213#define CONF_WTMP_FILE "$conf_wtmp_location" 23725#define CONF_WTMP_FILE "$conf_wtmp_location"
17214EOF 23726_ACEOF
17215 23727
17216fi 23728fi
17217 23729
17218echo "$as_me:17218: checking if your system defines UTMPX_FILE" >&5 23730
23731echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
17219echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6 23732echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6
17220cat >conftest.$ac_ext <<_ACEOF 23733cat >conftest.$ac_ext <<_ACEOF
17221#line 17221 "configure" 23734/* confdefs.h. */
17222#include "confdefs.h" 23735_ACEOF
23736cat confdefs.h >>conftest.$ac_ext
23737cat >>conftest.$ac_ext <<_ACEOF
23738/* end confdefs.h. */
17223 23739
17224#include <sys/types.h> 23740#include <sys/types.h>
17225#include <utmp.h> 23741#include <utmp.h>
@@ -17239,47 +23755,61 @@ main ()
17239} 23755}
17240_ACEOF 23756_ACEOF
17241rm -f conftest.$ac_objext 23757rm -f conftest.$ac_objext
17242if { (eval echo "$as_me:17242: \"$ac_compile\"") >&5 23758if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17243 (eval $ac_compile) 2>&5 23759 (eval $ac_compile) 2>conftest.er1
17244 ac_status=$? 23760 ac_status=$?
17245 echo "$as_me:17245: \$? = $ac_status" >&5 23761 grep -v '^ *+' conftest.er1 >conftest.err
23762 rm -f conftest.er1
23763 cat conftest.err >&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } && 23765 (exit $ac_status); } &&
17247 { ac_try='test -s conftest.$ac_objext' 23766 { ac_try='test -z "$ac_c_werror_flag"
17248 { (eval echo "$as_me:17248: \"$ac_try\"") >&5 23767 || test ! -s conftest.err'
23768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17249 (eval $ac_try) 2>&5 23769 (eval $ac_try) 2>&5
17250 ac_status=$? 23770 ac_status=$?
17251 echo "$as_me:17251: \$? = $ac_status" >&5 23771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23772 (exit $ac_status); }; } &&
23773 { ac_try='test -s conftest.$ac_objext'
23774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23775 (eval $ac_try) 2>&5
23776 ac_status=$?
23777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); }; }; then 23778 (exit $ac_status); }; }; then
17253 echo "$as_me:17253: result: yes" >&5 23779 echo "$as_me:$LINENO: result: yes" >&5
17254echo "${ECHO_T}yes" >&6 23780echo "${ECHO_T}yes" >&6
17255else 23781else
17256 echo "$as_me: failed program was:" >&5 23782 echo "$as_me: failed program was:" >&5
17257cat conftest.$ac_ext >&5 23783sed 's/^/| /' conftest.$ac_ext >&5
17258 echo "$as_me:17258: result: no" >&5 23784
23785 echo "$as_me:$LINENO: result: no" >&5
17259echo "${ECHO_T}no" >&6 23786echo "${ECHO_T}no" >&6
17260 system_utmpx_path=no 23787 system_utmpx_path=no
17261 23788
17262fi 23789fi
17263rm -f conftest.$ac_objext conftest.$ac_ext 23790rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17264if test -z "$conf_utmpx_location"; then 23791if test -z "$conf_utmpx_location"; then
17265 if test x"$system_utmpx_path" = x"no" ; then 23792 if test x"$system_utmpx_path" = x"no" ; then
17266 cat >>confdefs.h <<\EOF 23793 cat >>confdefs.h <<\_ACEOF
17267#define DISABLE_UTMPX 1 23794#define DISABLE_UTMPX 1
17268EOF 23795_ACEOF
17269 23796
17270 fi 23797 fi
17271else 23798else
17272 cat >>confdefs.h <<EOF 23799 cat >>confdefs.h <<_ACEOF
17273#define CONF_UTMPX_FILE "$conf_utmpx_location" 23800#define CONF_UTMPX_FILE "$conf_utmpx_location"
17274EOF 23801_ACEOF
17275 23802
17276fi 23803fi
17277 23804
17278echo "$as_me:17278: checking if your system defines WTMPX_FILE" >&5 23805echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
17279echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6 23806echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6
17280cat >conftest.$ac_ext <<_ACEOF 23807cat >conftest.$ac_ext <<_ACEOF
17281#line 17281 "configure" 23808/* confdefs.h. */
17282#include "confdefs.h" 23809_ACEOF
23810cat confdefs.h >>conftest.$ac_ext
23811cat >>conftest.$ac_ext <<_ACEOF
23812/* end confdefs.h. */
17283 23813
17284#include <sys/types.h> 23814#include <sys/types.h>
17285#include <utmp.h> 23815#include <utmp.h>
@@ -17299,45 +23829,57 @@ main ()
17299} 23829}
17300_ACEOF 23830_ACEOF
17301rm -f conftest.$ac_objext 23831rm -f conftest.$ac_objext
17302if { (eval echo "$as_me:17302: \"$ac_compile\"") >&5 23832if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17303 (eval $ac_compile) 2>&5 23833 (eval $ac_compile) 2>conftest.er1
17304 ac_status=$? 23834 ac_status=$?
17305 echo "$as_me:17305: \$? = $ac_status" >&5 23835 grep -v '^ *+' conftest.er1 >conftest.err
23836 rm -f conftest.er1
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } && 23839 (exit $ac_status); } &&
17307 { ac_try='test -s conftest.$ac_objext' 23840 { ac_try='test -z "$ac_c_werror_flag"
17308 { (eval echo "$as_me:17308: \"$ac_try\"") >&5 23841 || test ! -s conftest.err'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; } &&
23847 { ac_try='test -s conftest.$ac_objext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5 23849 (eval $ac_try) 2>&5
17310 ac_status=$? 23850 ac_status=$?
17311 echo "$as_me:17311: \$? = $ac_status" >&5 23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then 23852 (exit $ac_status); }; }; then
17313 echo "$as_me:17313: result: yes" >&5 23853 echo "$as_me:$LINENO: result: yes" >&5
17314echo "${ECHO_T}yes" >&6 23854echo "${ECHO_T}yes" >&6
17315else 23855else
17316 echo "$as_me: failed program was:" >&5 23856 echo "$as_me: failed program was:" >&5
17317cat conftest.$ac_ext >&5 23857sed 's/^/| /' conftest.$ac_ext >&5
17318 echo "$as_me:17318: result: no" >&5 23858
23859 echo "$as_me:$LINENO: result: no" >&5
17319echo "${ECHO_T}no" >&6 23860echo "${ECHO_T}no" >&6
17320 system_wtmpx_path=no 23861 system_wtmpx_path=no
17321 23862
17322fi 23863fi
17323rm -f conftest.$ac_objext conftest.$ac_ext 23864rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17324if test -z "$conf_wtmpx_location"; then 23865if test -z "$conf_wtmpx_location"; then
17325 if test x"$system_wtmpx_path" = x"no" ; then 23866 if test x"$system_wtmpx_path" = x"no" ; then
17326 cat >>confdefs.h <<\EOF 23867 cat >>confdefs.h <<\_ACEOF
17327#define DISABLE_WTMPX 1 23868#define DISABLE_WTMPX 1
17328EOF 23869_ACEOF
17329 23870
17330 fi 23871 fi
17331else 23872else
17332 cat >>confdefs.h <<EOF 23873 cat >>confdefs.h <<_ACEOF
17333#define CONF_WTMPX_FILE "$conf_wtmpx_location" 23874#define CONF_WTMPX_FILE "$conf_wtmpx_location"
17334EOF 23875_ACEOF
17335 23876
17336fi 23877fi
17337 23878
23879
17338if test ! -z "$blibpath" ; then 23880if test ! -z "$blibpath" ; then
17339 LDFLAGS="$LDFLAGS $blibflags$blibpath" 23881 LDFLAGS="$LDFLAGS $blibflags$blibpath"
17340 { echo "$as_me:17340: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 23882 { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
17341echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} 23883echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
17342fi 23884fi
17343 23885
@@ -17348,7 +23890,8 @@ if test "$ac_cv_lib_pam_pam_set_item" = yes ; then
17348 LIBS=`echo $LIBS | sed 's/-ldl //'` 23890 LIBS=`echo $LIBS | sed 's/-ldl //'`
17349fi 23891fi
17350 23892
17351ac_config_files="$ac_config_files Makefile openbsd-compat/Makefile scard/Makefile ssh_prng_cmds" 23893
23894 ac_config_files="$ac_config_files Makefile buildpkg.sh opensshd.init openbsd-compat/Makefile scard/Makefile ssh_prng_cmds"
17352 23895
17353cat >confcache <<\_ACEOF 23896cat >confcache <<\_ACEOF
17354# This file is a shell script that caches the results of configure 23897# This file is a shell script that caches the results of configure
@@ -17360,7 +23903,7 @@ cat >confcache <<\_ACEOF
17360# config.status only pays attention to the cache file if you give it 23903# config.status only pays attention to the cache file if you give it
17361# the --recheck option to rerun configure. 23904# the --recheck option to rerun configure.
17362# 23905#
17363# `ac_cv_env_foo' variables (set or unset) will be overriden when 23906# `ac_cv_env_foo' variables (set or unset) will be overridden when
17364# loading this file, other *unset* `ac_cv_foo' will be assigned the 23907# loading this file, other *unset* `ac_cv_foo' will be assigned the
17365# following values. 23908# following values.
17366 23909
@@ -17378,13 +23921,13 @@ _ACEOF
17378 # `set' does not quote correctly, so add quotes (double-quote 23921 # `set' does not quote correctly, so add quotes (double-quote
17379 # substitution turns \\\\ into \\, and sed turns \\ into \). 23922 # substitution turns \\\\ into \\, and sed turns \\ into \).
17380 sed -n \ 23923 sed -n \
17381 "s/'/'\\\\''/g; 23924 "s/'/'\\\\''/g;
17382 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 23925 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17383 ;; 23926 ;;
17384 *) 23927 *)
17385 # `set' quotes correctly as required by POSIX, so do not add quotes. 23928 # `set' quotes correctly as required by POSIX, so do not add quotes.
17386 sed -n \ 23929 sed -n \
17387 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 23930 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17388 ;; 23931 ;;
17389 esac; 23932 esac;
17390} | 23933} |
@@ -17395,7 +23938,7 @@ _ACEOF
17395 t end 23938 t end
17396 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 23939 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17397 : end' >>confcache 23940 : end' >>confcache
17398if cmp -s $cache_file confcache; then :; else 23941if diff $cache_file confcache >/dev/null 2>&1; then :; else
17399 if test -w $cache_file; then 23942 if test -w $cache_file; then
17400 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" 23943 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17401 cat confcache >$cache_file 23944 cat confcache >$cache_file
@@ -17414,47 +23957,240 @@ test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17414# trailing colons and then remove the whole line if VPATH becomes empty 23957# trailing colons and then remove the whole line if VPATH becomes empty
17415# (actually we leave an empty line to preserve line numbers). 23958# (actually we leave an empty line to preserve line numbers).
17416if test "x$srcdir" = x.; then 23959if test "x$srcdir" = x.; then
17417 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 23960 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17418s/:*\$(srcdir):*/:/; 23961s/:*\$(srcdir):*/:/;
17419s/:*\${srcdir}:*/:/; 23962s/:*\${srcdir}:*/:/;
17420s/:*@srcdir@:*/:/; 23963s/:*@srcdir@:*/:/;
17421s/^\([^=]*=[ ]*\):*/\1/; 23964s/^\([^=]*=[ ]*\):*/\1/;
17422s/:*$//; 23965s/:*$//;
17423s/^[^=]*=[ ]*$//; 23966s/^[^=]*=[ ]*$//;
17424}' 23967}'
17425fi 23968fi
17426 23969
17427DEFS=-DHAVE_CONFIG_H 23970DEFS=-DHAVE_CONFIG_H
17428 23971
23972ac_libobjs=
23973ac_ltlibobjs=
23974for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23975 # 1. Remove the extension, and $U if already installed.
23976 ac_i=`echo "$ac_i" |
23977 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23978 # 2. Add them.
23979 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23980 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23981done
23982LIBOBJS=$ac_libobjs
23983
23984LTLIBOBJS=$ac_ltlibobjs
23985
23986
23987
17429: ${CONFIG_STATUS=./config.status} 23988: ${CONFIG_STATUS=./config.status}
17430ac_clean_files_save=$ac_clean_files 23989ac_clean_files_save=$ac_clean_files
17431ac_clean_files="$ac_clean_files $CONFIG_STATUS" 23990ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17432{ echo "$as_me:17432: creating $CONFIG_STATUS" >&5 23991{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17433echo "$as_me: creating $CONFIG_STATUS" >&6;} 23992echo "$as_me: creating $CONFIG_STATUS" >&6;}
17434cat >$CONFIG_STATUS <<_ACEOF 23993cat >$CONFIG_STATUS <<_ACEOF
17435#! $SHELL 23994#! $SHELL
17436# Generated automatically by configure. 23995# Generated by $as_me.
17437# Run this file to recreate the current configuration. 23996# Run this file to recreate the current configuration.
17438# Compiler output produced by configure, useful for debugging 23997# Compiler output produced by configure, useful for debugging
17439# configure, is in config.log if it exists. 23998# configure, is in config.log if it exists.
17440 23999
17441debug=false 24000debug=false
24001ac_cs_recheck=false
24002ac_cs_silent=false
17442SHELL=\${CONFIG_SHELL-$SHELL} 24003SHELL=\${CONFIG_SHELL-$SHELL}
17443ac_cs_invocation="\$0 \$@"
17444
17445_ACEOF 24004_ACEOF
17446 24005
17447cat >>$CONFIG_STATUS <<\_ACEOF 24006cat >>$CONFIG_STATUS <<\_ACEOF
24007## --------------------- ##
24008## M4sh Initialization. ##
24009## --------------------- ##
24010
17448# Be Bourne compatible 24011# Be Bourne compatible
17449if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 24012if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17450 emulate sh 24013 emulate sh
17451 NULLCMD=: 24014 NULLCMD=:
24015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24016 # is contrary to our usage. Disable this feature.
24017 alias -g '${1+"$@"}'='"$@"'
17452elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 24018elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17453 set -o posix 24019 set -o posix
17454fi 24020fi
24021DUALCASE=1; export DUALCASE # for MKS sh
24022
24023# Support unset when possible.
24024if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24025 as_unset=unset
24026else
24027 as_unset=false
24028fi
24029
24030
24031# Work around bugs in pre-3.0 UWIN ksh.
24032$as_unset ENV MAIL MAILPATH
24033PS1='$ '
24034PS2='> '
24035PS4='+ '
24036
24037# NLS nuisances.
24038for as_var in \
24039 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24040 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24041 LC_TELEPHONE LC_TIME
24042do
24043 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24044 eval $as_var=C; export $as_var
24045 else
24046 $as_unset $as_var
24047 fi
24048done
24049
24050# Required to use basename.
24051if expr a : '\(a\)' >/dev/null 2>&1; then
24052 as_expr=expr
24053else
24054 as_expr=false
24055fi
24056
24057if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
24058 as_basename=basename
24059else
24060 as_basename=false
24061fi
24062
17455 24063
17456# Name of the executable. 24064# Name of the executable.
17457as_me=`echo "$0" |sed 's,.*[\\/],,'` 24065as_me=`$as_basename "$0" ||
24066$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24067 X"$0" : 'X\(//\)$' \| \
24068 X"$0" : 'X\(/\)$' \| \
24069 . : '\(.\)' 2>/dev/null ||
24070echo X/"$0" |
24071 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24072 /^X\/\(\/\/\)$/{ s//\1/; q; }
24073 /^X\/\(\/\).*/{ s//\1/; q; }
24074 s/.*/./; q'`
24075
24076
24077# PATH needs CR, and LINENO needs CR and PATH.
24078# Avoid depending upon Character Ranges.
24079as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24080as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24081as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24082as_cr_digits='0123456789'
24083as_cr_alnum=$as_cr_Letters$as_cr_digits
24084
24085# The user is always right.
24086if test "${PATH_SEPARATOR+set}" != set; then
24087 echo "#! /bin/sh" >conf$$.sh
24088 echo "exit 0" >>conf$$.sh
24089 chmod +x conf$$.sh
24090 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24091 PATH_SEPARATOR=';'
24092 else
24093 PATH_SEPARATOR=:
24094 fi
24095 rm -f conf$$.sh
24096fi
24097
24098
24099 as_lineno_1=$LINENO
24100 as_lineno_2=$LINENO
24101 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24102 test "x$as_lineno_1" != "x$as_lineno_2" &&
24103 test "x$as_lineno_3" = "x$as_lineno_2" || {
24104 # Find who we are. Look in the path if we contain no path at all
24105 # relative or not.
24106 case $0 in
24107 *[\\/]* ) as_myself=$0 ;;
24108 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24109for as_dir in $PATH
24110do
24111 IFS=$as_save_IFS
24112 test -z "$as_dir" && as_dir=.
24113 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24114done
24115
24116 ;;
24117 esac
24118 # We did not find ourselves, most probably we were run as `sh COMMAND'
24119 # in which case we are not to be found in the path.
24120 if test "x$as_myself" = x; then
24121 as_myself=$0
24122 fi
24123 if test ! -f "$as_myself"; then
24124 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24125echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24126 { (exit 1); exit 1; }; }
24127 fi
24128 case $CONFIG_SHELL in
24129 '')
24130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24132do
24133 IFS=$as_save_IFS
24134 test -z "$as_dir" && as_dir=.
24135 for as_base in sh bash ksh sh5; do
24136 case $as_dir in
24137 /*)
24138 if ("$as_dir/$as_base" -c '
24139 as_lineno_1=$LINENO
24140 as_lineno_2=$LINENO
24141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24142 test "x$as_lineno_1" != "x$as_lineno_2" &&
24143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24146 CONFIG_SHELL=$as_dir/$as_base
24147 export CONFIG_SHELL
24148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
24149 fi;;
24150 esac
24151 done
24152done
24153;;
24154 esac
24155
24156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24157 # uniformly replaced by the line number. The first 'sed' inserts a
24158 # line-number line before each line; the second 'sed' does the real
24159 # work. The second script uses 'N' to pair each line-number line
24160 # with the numbered line, and appends trailing '-' during
24161 # substitution so that $LINENO is not a special case at line end.
24162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24164 sed '=' <$as_myself |
24165 sed '
24166 N
24167 s,$,-,
24168 : loop
24169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
24170 t loop
24171 s,-$,,
24172 s,^['$as_cr_digits']*\n,,
24173 ' >$as_me.lineno &&
24174 chmod +x $as_me.lineno ||
24175 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24176echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
24177 { (exit 1); exit 1; }; }
24178
24179 # Don't try to exec as it changes $[0], causing all sort of problems
24180 # (the dirname of $[0] is not the place where we might find the
24181 # original and so on. Autoconf is especially sensible to this).
24182 . ./$as_me.lineno
24183 # Exit status is that of the last command.
24184 exit
24185}
24186
24187
24188case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24189 *c*,-n*) ECHO_N= ECHO_C='
24190' ECHO_T=' ' ;;
24191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
24193esac
17458 24194
17459if expr a : '\(a\)' >/dev/null 2>&1; then 24195if expr a : '\(a\)' >/dev/null 2>&1; then
17460 as_expr=expr 24196 as_expr=expr
@@ -17480,24 +24216,21 @@ else
17480fi 24216fi
17481rm -f conf$$ conf$$.exe conf$$.file 24217rm -f conf$$ conf$$.exe conf$$.file
17482 24218
17483as_executable_p="test -f" 24219if mkdir -p . 2>/dev/null; then
17484 24220 as_mkdir_p=:
17485# Support unset when possible.
17486if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
17487 as_unset=unset
17488else 24221else
17489 as_unset=false 24222 test -d ./-p && rmdir ./-p
24223 as_mkdir_p=false
17490fi 24224fi
17491 24225
17492# NLS nuisances. 24226as_executable_p="test -f"
17493$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 24227
17494$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 24228# Sed expression to map a string onto a valid CPP name.
17495$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 24229as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17496$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 24230
17497$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 24231# Sed expression to map a string onto a valid variable name.
17498$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 24232as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17499$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 24233
17500$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
17501 24234
17502# IFS 24235# IFS
17503# We need space, tab and new line, in precisely that order. 24236# We need space, tab and new line, in precisely that order.
@@ -17506,10 +24239,34 @@ as_nl='
17506IFS=" $as_nl" 24239IFS=" $as_nl"
17507 24240
17508# CDPATH. 24241# CDPATH.
17509$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 24242$as_unset CDPATH
17510 24243
17511exec 6>&1 24244exec 6>&1
17512 24245
24246# Open the log real soon, to keep \$[0] and so on meaningful, and to
24247# report actual input values of CONFIG_FILES etc. instead of their
24248# values after options handling. Logging --version etc. is OK.
24249exec 5>>config.log
24250{
24251 echo
24252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<BOXI_EOF
24253## Running $as_me. ##
24254BOXI_EOF
24255} >&5
24256cat >&5 <<_CSEOF
24257
24258This file was extended by $as_me, which was
24259generated by GNU Autoconf 2.59. Invocation command line was
24260
24261 CONFIG_FILES = $CONFIG_FILES
24262 CONFIG_HEADERS = $CONFIG_HEADERS
24263 CONFIG_LINKS = $CONFIG_LINKS
24264 CONFIG_COMMANDS = $CONFIG_COMMANDS
24265 $ $0 $@
24266
24267_CSEOF
24268echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
24269echo >&5
17513_ACEOF 24270_ACEOF
17514 24271
17515# Files that config.status was made for. 24272# Files that config.status was made for.
@@ -17529,7 +24286,7 @@ if test -n "$ac_config_commands"; then
17529 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 24286 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
17530fi 24287fi
17531 24288
17532cat >>$CONFIG_STATUS <<\EOF 24289cat >>$CONFIG_STATUS <<\_ACEOF
17533 24290
17534ac_cs_usage="\ 24291ac_cs_usage="\
17535\`$as_me' instantiates files from templates according to the 24292\`$as_me' instantiates files from templates according to the
@@ -17539,12 +24296,13 @@ Usage: $0 [OPTIONS] [FILE]...
17539 24296
17540 -h, --help print this help, then exit 24297 -h, --help print this help, then exit
17541 -V, --version print version number, then exit 24298 -V, --version print version number, then exit
24299 -q, --quiet do not print progress messages
17542 -d, --debug don't remove temporary files 24300 -d, --debug don't remove temporary files
17543 --recheck update $as_me by reconfiguring in the same conditions 24301 --recheck update $as_me by reconfiguring in the same conditions
17544 --file=FILE[:TEMPLATE] 24302 --file=FILE[:TEMPLATE]
17545 instantiate the configuration file FILE 24303 instantiate the configuration file FILE
17546 --header=FILE[:TEMPLATE] 24304 --header=FILE[:TEMPLATE]
17547 instantiate the configuration header FILE 24305 instantiate the configuration header FILE
17548 24306
17549Configuration files: 24307Configuration files:
17550$config_files 24308$config_files
@@ -17553,23 +24311,22 @@ Configuration headers:
17553$config_headers 24311$config_headers
17554 24312
17555Report bugs to <bug-autoconf@gnu.org>." 24313Report bugs to <bug-autoconf@gnu.org>."
17556EOF 24314_ACEOF
17557 24315
17558cat >>$CONFIG_STATUS <<EOF 24316cat >>$CONFIG_STATUS <<_ACEOF
17559ac_cs_version="\\ 24317ac_cs_version="\\
17560config.status 24318config.status
17561configured by $0, generated by GNU Autoconf 2.52, 24319configured by $0, generated by GNU Autoconf 2.59,
17562 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 24320 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
17563 24321
17564Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 24322Copyright (C) 2003 Free Software Foundation, Inc.
17565Free Software Foundation, Inc.
17566This config.status script is free software; the Free Software Foundation 24323This config.status script is free software; the Free Software Foundation
17567gives unlimited permission to copy, distribute and modify it." 24324gives unlimited permission to copy, distribute and modify it."
17568srcdir=$srcdir 24325srcdir=$srcdir
17569INSTALL="$INSTALL" 24326INSTALL="$INSTALL"
17570EOF 24327_ACEOF
17571 24328
17572cat >>$CONFIG_STATUS <<\EOF 24329cat >>$CONFIG_STATUS <<\_ACEOF
17573# If no file are specified by the user, then we need to provide default 24330# If no file are specified by the user, then we need to provide default
17574# value. By we need to know if files were specified by the user. 24331# value. By we need to know if files were specified by the user.
17575ac_need_defaults=: 24332ac_need_defaults=:
@@ -17579,30 +24336,30 @@ do
17579 --*=*) 24336 --*=*)
17580 ac_option=`expr "x$1" : 'x\([^=]*\)='` 24337 ac_option=`expr "x$1" : 'x\([^=]*\)='`
17581 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 24338 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
17582 shift 24339 ac_shift=:
17583 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 24340 ;;
17584 shift 24341 -*)
24342 ac_option=$1
24343 ac_optarg=$2
24344 ac_shift=shift
17585 ;; 24345 ;;
17586 -*);;
17587 *) # This is not an option, so the user has probably given explicit 24346 *) # This is not an option, so the user has probably given explicit
17588 # arguments. 24347 # arguments.
24348 ac_option=$1
17589 ac_need_defaults=false;; 24349 ac_need_defaults=false;;
17590 esac 24350 esac
17591 24351
17592 case $1 in 24352 case $ac_option in
17593 # Handling of the options. 24353 # Handling of the options.
17594EOF 24354_ACEOF
17595cat >>$CONFIG_STATUS <<EOF 24355cat >>$CONFIG_STATUS <<\_ACEOF
17596 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 24356 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17597 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 24357 ac_cs_recheck=: ;;
17598 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
17599EOF
17600cat >>$CONFIG_STATUS <<\EOF
17601 --version | --vers* | -V ) 24358 --version | --vers* | -V )
17602 echo "$ac_cs_version"; exit 0 ;; 24359 echo "$ac_cs_version"; exit 0 ;;
17603 --he | --h) 24360 --he | --h)
17604 # Conflict between --help and --header 24361 # Conflict between --help and --header
17605 { { echo "$as_me:17605: error: ambiguous option: $1 24362 { { echo "$as_me:$LINENO: error: ambiguous option: $1
17606Try \`$0 --help' for more information." >&5 24363Try \`$0 --help' for more information." >&5
17607echo "$as_me: error: ambiguous option: $1 24364echo "$as_me: error: ambiguous option: $1
17608Try \`$0 --help' for more information." >&2;} 24365Try \`$0 --help' for more information." >&2;}
@@ -17612,16 +24369,19 @@ Try \`$0 --help' for more information." >&2;}
17612 --debug | --d* | -d ) 24369 --debug | --d* | -d )
17613 debug=: ;; 24370 debug=: ;;
17614 --file | --fil | --fi | --f ) 24371 --file | --fil | --fi | --f )
17615 shift 24372 $ac_shift
17616 CONFIG_FILES="$CONFIG_FILES $1" 24373 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
17617 ac_need_defaults=false;; 24374 ac_need_defaults=false;;
17618 --header | --heade | --head | --hea ) 24375 --header | --heade | --head | --hea )
17619 shift 24376 $ac_shift
17620 CONFIG_HEADERS="$CONFIG_HEADERS $1" 24377 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
17621 ac_need_defaults=false;; 24378 ac_need_defaults=false;;
24379 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24380 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24381 ac_cs_silent=: ;;
17622 24382
17623 # This is an error. 24383 # This is an error.
17624 -*) { { echo "$as_me:17624: error: unrecognized option: $1 24384 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
17625Try \`$0 --help' for more information." >&5 24385Try \`$0 --help' for more information." >&5
17626echo "$as_me: error: unrecognized option: $1 24386echo "$as_me: error: unrecognized option: $1
17627Try \`$0 --help' for more information." >&2;} 24387Try \`$0 --help' for more information." >&2;}
@@ -17633,35 +24393,39 @@ Try \`$0 --help' for more information." >&2;}
17633 shift 24393 shift
17634done 24394done
17635 24395
17636exec 5>>config.log 24396ac_configure_extra_args=
17637cat >&5 << _ACEOF
17638 24397
17639## ----------------------- ## 24398if $ac_cs_silent; then
17640## Running config.status. ## 24399 exec 6>/dev/null
17641## ----------------------- ## 24400 ac_configure_extra_args="$ac_configure_extra_args --silent"
24401fi
17642 24402
17643This file was extended by $as_me 2.52, executed with 24403_ACEOF
17644 CONFIG_FILES = $CONFIG_FILES 24404cat >>$CONFIG_STATUS <<_ACEOF
17645 CONFIG_HEADERS = $CONFIG_HEADERS 24405if \$ac_cs_recheck; then
17646 CONFIG_LINKS = $CONFIG_LINKS 24406 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
17647 CONFIG_COMMANDS = $CONFIG_COMMANDS 24407 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17648 > $ac_cs_invocation 24408fi
17649on `(hostname || uname -n) 2>/dev/null | sed 1q`
17650 24409
17651_ACEOF 24410_ACEOF
17652EOF
17653 24411
17654cat >>$CONFIG_STATUS <<\EOF 24412
24413
24414
24415
24416cat >>$CONFIG_STATUS <<\_ACEOF
17655for ac_config_target in $ac_config_targets 24417for ac_config_target in $ac_config_targets
17656do 24418do
17657 case "$ac_config_target" in 24419 case "$ac_config_target" in
17658 # Handling of arguments. 24420 # Handling of arguments.
17659 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; 24421 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24422 "buildpkg.sh" ) CONFIG_FILES="$CONFIG_FILES buildpkg.sh" ;;
24423 "opensshd.init" ) CONFIG_FILES="$CONFIG_FILES opensshd.init" ;;
17660 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;; 24424 "openbsd-compat/Makefile" ) CONFIG_FILES="$CONFIG_FILES openbsd-compat/Makefile" ;;
17661 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;; 24425 "scard/Makefile" ) CONFIG_FILES="$CONFIG_FILES scard/Makefile" ;;
17662 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 24426 "ssh_prng_cmds" ) CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
17663 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 24427 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17664 *) { { echo "$as_me:17664: error: invalid argument: $ac_config_target" >&5 24428 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17665echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 24429echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17666 { (exit 1); exit 1; }; };; 24430 { (exit 1); exit 1; }; };;
17667 esac 24431 esac
@@ -17676,6 +24440,9 @@ if $ac_need_defaults; then
17676 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 24440 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17677fi 24441fi
17678 24442
24443# Have a temporary directory for convenience. Make it in the build tree
24444# simply because there is no reason to put it here, and in addition,
24445# creating and moving files from /tmp can sometimes cause problems.
17679# Create a temporary directory, and hook for its removal unless debugging. 24446# Create a temporary directory, and hook for its removal unless debugging.
17680$debug || 24447$debug ||
17681{ 24448{
@@ -17684,23 +24451,23 @@ $debug ||
17684} 24451}
17685 24452
17686# Create a (secure) tmp directory for tmp files. 24453# Create a (secure) tmp directory for tmp files.
17687: ${TMPDIR=/tmp} 24454
17688{ 24455{
17689 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 24456 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
17690 test -n "$tmp" && test -d "$tmp" 24457 test -n "$tmp" && test -d "$tmp"
17691} || 24458} ||
17692{ 24459{
17693 tmp=$TMPDIR/cs$$-$RANDOM 24460 tmp=./confstat$$-$RANDOM
17694 (umask 077 && mkdir $tmp) 24461 (umask 077 && mkdir $tmp)
17695} || 24462} ||
17696{ 24463{
17697 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 24464 echo "$me: cannot create a temporary directory in ." >&2
17698 { (exit 1); exit 1; } 24465 { (exit 1); exit 1; }
17699} 24466}
17700 24467
17701EOF 24468_ACEOF
17702 24469
17703cat >>$CONFIG_STATUS <<EOF 24470cat >>$CONFIG_STATUS <<_ACEOF
17704 24471
17705# 24472#
17706# CONFIG_FILES section. 24473# CONFIG_FILES section.
@@ -17713,6 +24480,12 @@ if test -n "\$CONFIG_FILES"; then
17713 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 24480 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
17714 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 24481 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
17715s,@SHELL@,$SHELL,;t t 24482s,@SHELL@,$SHELL,;t t
24483s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24484s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24485s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24486s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24487s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24488s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17716s,@exec_prefix@,$exec_prefix,;t t 24489s,@exec_prefix@,$exec_prefix,;t t
17717s,@prefix@,$prefix,;t t 24490s,@prefix@,$prefix,;t t
17718s,@program_transform_name@,$program_transform_name,;t t 24491s,@program_transform_name@,$program_transform_name,;t t
@@ -17728,19 +24501,13 @@ s,@includedir@,$includedir,;t t
17728s,@oldincludedir@,$oldincludedir,;t t 24501s,@oldincludedir@,$oldincludedir,;t t
17729s,@infodir@,$infodir,;t t 24502s,@infodir@,$infodir,;t t
17730s,@mandir@,$mandir,;t t 24503s,@mandir@,$mandir,;t t
17731s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
17732s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
17733s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
17734s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
17735s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
17736s,@build_alias@,$build_alias,;t t 24504s,@build_alias@,$build_alias,;t t
17737s,@host_alias@,$host_alias,;t t 24505s,@host_alias@,$host_alias,;t t
17738s,@target_alias@,$target_alias,;t t 24506s,@target_alias@,$target_alias,;t t
24507s,@DEFS@,$DEFS,;t t
17739s,@ECHO_C@,$ECHO_C,;t t 24508s,@ECHO_C@,$ECHO_C,;t t
17740s,@ECHO_N@,$ECHO_N,;t t 24509s,@ECHO_N@,$ECHO_N,;t t
17741s,@ECHO_T@,$ECHO_T,;t t 24510s,@ECHO_T@,$ECHO_T,;t t
17742s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
17743s,@DEFS@,$DEFS,;t t
17744s,@LIBS@,$LIBS,;t t 24511s,@LIBS@,$LIBS,;t t
17745s,@CC@,$CC,;t t 24512s,@CC@,$CC,;t t
17746s,@CFLAGS@,$CFLAGS,;t t 24513s,@CFLAGS@,$CFLAGS,;t t
@@ -17765,14 +24532,21 @@ s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
17765s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 24532s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
17766s,@INSTALL_DATA@,$INSTALL_DATA,;t t 24533s,@INSTALL_DATA@,$INSTALL_DATA,;t t
17767s,@AR@,$AR,;t t 24534s,@AR@,$AR,;t t
24535s,@CAT@,$CAT,;t t
24536s,@KILL@,$KILL,;t t
17768s,@PERL@,$PERL,;t t 24537s,@PERL@,$PERL,;t t
17769s,@SED@,$SED,;t t 24538s,@SED@,$SED,;t t
17770s,@ENT@,$ENT,;t t 24539s,@ENT@,$ENT,;t t
17771s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t 24540s,@TEST_MINUS_S_SH@,$TEST_MINUS_S_SH,;t t
17772s,@SH@,$SH,;t t 24541s,@SH@,$SH,;t t
24542s,@TEST_SHELL@,$TEST_SHELL,;t t
24543s,@PATH_GROUPADD_PROG@,$PATH_GROUPADD_PROG,;t t
24544s,@PATH_USERADD_PROG@,$PATH_USERADD_PROG,;t t
24545s,@MAKE_PACKAGE_SUPPORTED@,$MAKE_PACKAGE_SUPPORTED,;t t
17773s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t 24546s,@LOGIN_PROGRAM_FALLBACK@,$LOGIN_PROGRAM_FALLBACK,;t t
17774s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t 24547s,@PATH_PASSWD_PROG@,$PATH_PASSWD_PROG,;t t
17775s,@LD@,$LD,;t t 24548s,@LD@,$LD,;t t
24549s,@EGREP@,$EGREP,;t t
17776s,@LIBWRAP@,$LIBWRAP,;t t 24550s,@LIBWRAP@,$LIBWRAP,;t t
17777s,@LIBPAM@,$LIBPAM,;t t 24551s,@LIBPAM@,$LIBPAM,;t t
17778s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t 24552s,@INSTALL_SSH_RAND_HELPER@,$INSTALL_SSH_RAND_HELPER,;t t
@@ -17804,11 +24578,13 @@ s,@MANTYPE@,$MANTYPE,;t t
17804s,@mansubdir@,$mansubdir,;t t 24578s,@mansubdir@,$mansubdir,;t t
17805s,@user_path@,$user_path,;t t 24579s,@user_path@,$user_path,;t t
17806s,@piddir@,$piddir,;t t 24580s,@piddir@,$piddir,;t t
24581s,@LIBOBJS@,$LIBOBJS,;t t
24582s,@LTLIBOBJS@,$LTLIBOBJS,;t t
17807CEOF 24583CEOF
17808 24584
17809EOF 24585_ACEOF
17810 24586
17811 cat >>$CONFIG_STATUS <<\EOF 24587 cat >>$CONFIG_STATUS <<\_ACEOF
17812 # Split the substitutions into bite-sized pieces for seds with 24588 # Split the substitutions into bite-sized pieces for seds with
17813 # small command number limits, like on Digital OSF/1 and HP-UX. 24589 # small command number limits, like on Digital OSF/1 and HP-UX.
17814 ac_max_sed_lines=48 24590 ac_max_sed_lines=48
@@ -17833,9 +24609,9 @@ EOF
17833 (echo ':t 24609 (echo ':t
17834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 24610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
17835 if test -z "$ac_sed_cmds"; then 24611 if test -z "$ac_sed_cmds"; then
17836 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 24612 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
17837 else 24613 else
17838 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 24614 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
17839 fi 24615 fi
17840 ac_sed_frag=`expr $ac_sed_frag + 1` 24616 ac_sed_frag=`expr $ac_sed_frag + 1`
17841 ac_beg=$ac_end 24617 ac_beg=$ac_end
@@ -17847,86 +24623,144 @@ EOF
17847 fi 24623 fi
17848fi # test -n "$CONFIG_FILES" 24624fi # test -n "$CONFIG_FILES"
17849 24625
17850EOF 24626_ACEOF
17851cat >>$CONFIG_STATUS <<\EOF 24627cat >>$CONFIG_STATUS <<\_ACEOF
17852for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 24628for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
17853 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 24629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17854 case $ac_file in 24630 case $ac_file in
17855 - | *:- | *:-:* ) # input from stdin 24631 - | *:- | *:-:* ) # input from stdin
17856 cat >$tmp/stdin 24632 cat >$tmp/stdin
17857 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 24633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17858 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 24634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17859 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 24635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
17860 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 24636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
17861 * ) ac_file_in=$ac_file.in ;; 24637 * ) ac_file_in=$ac_file.in ;;
17862 esac 24638 esac
17863 24639
17864 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 24640 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
17865 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 24641 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
17866 X"$ac_file" : 'X\(//\)[^/]' \| \ 24642$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17867 X"$ac_file" : 'X\(//\)$' \| \ 24643 X"$ac_file" : 'X\(//\)[^/]' \| \
17868 X"$ac_file" : 'X\(/\)' \| \ 24644 X"$ac_file" : 'X\(//\)$' \| \
17869 . : '\(.\)' 2>/dev/null || 24645 X"$ac_file" : 'X\(/\)' \| \
24646 . : '\(.\)' 2>/dev/null ||
17870echo X"$ac_file" | 24647echo X"$ac_file" |
17871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 24648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
17872 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 24649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
17873 /^X\(\/\/\)$/{ s//\1/; q; } 24650 /^X\(\/\/\)$/{ s//\1/; q; }
17874 /^X\(\/\).*/{ s//\1/; q; } 24651 /^X\(\/\).*/{ s//\1/; q; }
17875 s/.*/./; q'` 24652 s/.*/./; q'`
17876 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 24653 { if $as_mkdir_p; then
17877 { case "$ac_dir" in 24654 mkdir -p "$ac_dir"
17878 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
17879 *) as_incr_dir=.;;
17880esac
17881as_dummy="$ac_dir"
17882for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
17883 case $as_mkdir_dir in
17884 # Skip DOS drivespec
17885 ?:) as_incr_dir=$as_mkdir_dir ;;
17886 *)
17887 as_incr_dir=$as_incr_dir/$as_mkdir_dir
17888 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
17889 ;;
17890 esac
17891done; }
17892
17893 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
17894 # A "../" for each directory in $ac_dir_suffix.
17895 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
17896 else 24655 else
17897 ac_dir_suffix= ac_dots= 24656 as_dir="$ac_dir"
17898 fi 24657 as_dirs=
24658 while test ! -d "$as_dir"; do
24659 as_dirs="$as_dir $as_dirs"
24660 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24661$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24662 X"$as_dir" : 'X\(//\)[^/]' \| \
24663 X"$as_dir" : 'X\(//\)$' \| \
24664 X"$as_dir" : 'X\(/\)' \| \
24665 . : '\(.\)' 2>/dev/null ||
24666echo X"$as_dir" |
24667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24669 /^X\(\/\/\)$/{ s//\1/; q; }
24670 /^X\(\/\).*/{ s//\1/; q; }
24671 s/.*/./; q'`
24672 done
24673 test ! -n "$as_dirs" || mkdir $as_dirs
24674 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24675echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24676 { (exit 1); exit 1; }; }; }
17899 24677
17900 case $srcdir in 24678 ac_builddir=.
17901 .) ac_srcdir=. 24679
17902 if test -z "$ac_dots"; then 24680if test "$ac_dir" != .; then
17903 ac_top_srcdir=. 24681 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
17904 else 24682 # A "../" for each directory in $ac_dir_suffix.
17905 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` 24683 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
17906 fi ;; 24684else
17907 [\\/]* | ?:[\\/]* ) 24685 ac_dir_suffix= ac_top_builddir=
17908 ac_srcdir=$srcdir$ac_dir_suffix; 24686fi
17909 ac_top_srcdir=$srcdir ;; 24687
24688case $srcdir in
24689 .) # No --srcdir option. We are building in place.
24690 ac_srcdir=.
24691 if test -z "$ac_top_builddir"; then
24692 ac_top_srcdir=.
24693 else
24694 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24695 fi ;;
24696 [\\/]* | ?:[\\/]* ) # Absolute path.
24697 ac_srcdir=$srcdir$ac_dir_suffix;
24698 ac_top_srcdir=$srcdir ;;
17910 *) # Relative path. 24699 *) # Relative path.
17911 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix 24700 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
17912 ac_top_srcdir=$ac_dots$srcdir ;; 24701 ac_top_srcdir=$ac_top_builddir$srcdir ;;
17913 esac 24702esac
24703
24704# Do not use `cd foo && pwd` to compute absolute paths, because
24705# the directories may not exist.
24706case `pwd` in
24707.) ac_abs_builddir="$ac_dir";;
24708*)
24709 case "$ac_dir" in
24710 .) ac_abs_builddir=`pwd`;;
24711 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
24712 *) ac_abs_builddir=`pwd`/"$ac_dir";;
24713 esac;;
24714esac
24715case $ac_abs_builddir in
24716.) ac_abs_top_builddir=${ac_top_builddir}.;;
24717*)
24718 case ${ac_top_builddir}. in
24719 .) ac_abs_top_builddir=$ac_abs_builddir;;
24720 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
24721 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
24722 esac;;
24723esac
24724case $ac_abs_builddir in
24725.) ac_abs_srcdir=$ac_srcdir;;
24726*)
24727 case $ac_srcdir in
24728 .) ac_abs_srcdir=$ac_abs_builddir;;
24729 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
24730 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
24731 esac;;
24732esac
24733case $ac_abs_builddir in
24734.) ac_abs_top_srcdir=$ac_top_srcdir;;
24735*)
24736 case $ac_top_srcdir in
24737 .) ac_abs_top_srcdir=$ac_abs_builddir;;
24738 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
24739 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24740 esac;;
24741esac
24742
17914 24743
17915 case $INSTALL in 24744 case $INSTALL in
17916 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 24745 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17917 *) ac_INSTALL=$ac_dots$INSTALL ;; 24746 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
17918 esac 24747 esac
17919 24748
17920 if test x"$ac_file" != x-; then 24749 if test x"$ac_file" != x-; then
17921 { echo "$as_me:17921: creating $ac_file" >&5 24750 { echo "$as_me:$LINENO: creating $ac_file" >&5
17922echo "$as_me: creating $ac_file" >&6;} 24751echo "$as_me: creating $ac_file" >&6;}
17923 rm -f "$ac_file" 24752 rm -f "$ac_file"
17924 fi 24753 fi
17925 # Let's still pretend it is `configure' which instantiates (i.e., don't 24754 # Let's still pretend it is `configure' which instantiates (i.e., don't
17926 # use $as_me), people would be surprised to read: 24755 # use $as_me), people would be surprised to read:
17927 # /* config.h. Generated automatically by config.status. */ 24756 # /* config.h. Generated by config.status. */
17928 configure_input="Generated automatically from `echo $ac_file_in | 24757 if test x"$ac_file" = x-; then
17929 sed 's,.*/,,'` by configure." 24758 configure_input=
24759 else
24760 configure_input="$ac_file. "
24761 fi
24762 configure_input=$configure_input"Generated from `echo $ac_file_in |
24763 sed 's,.*/,,'` by configure."
17930 24764
17931 # First look for the input files in the build tree, otherwise in the 24765 # First look for the input files in the build tree, otherwise in the
17932 # src tree. 24766 # src tree.
@@ -17935,37 +24769,43 @@ echo "$as_me: creating $ac_file" >&6;}
17935 case $f in 24769 case $f in
17936 -) echo $tmp/stdin ;; 24770 -) echo $tmp/stdin ;;
17937 [\\/$]*) 24771 [\\/$]*)
17938 # Absolute (can't be DOS-style, as IFS=:) 24772 # Absolute (can't be DOS-style, as IFS=:)
17939 test -f "$f" || { { echo "$as_me:17939: error: cannot find input file: $f" >&5 24773 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17940echo "$as_me: error: cannot find input file: $f" >&2;} 24774echo "$as_me: error: cannot find input file: $f" >&2;}
17941 { (exit 1); exit 1; }; } 24775 { (exit 1); exit 1; }; }
17942 echo $f;; 24776 echo "$f";;
17943 *) # Relative 24777 *) # Relative
17944 if test -f "$f"; then 24778 if test -f "$f"; then
17945 # Build tree 24779 # Build tree
17946 echo $f 24780 echo "$f"
17947 elif test -f "$srcdir/$f"; then 24781 elif test -f "$srcdir/$f"; then
17948 # Source tree 24782 # Source tree
17949 echo $srcdir/$f 24783 echo "$srcdir/$f"
17950 else 24784 else
17951 # /dev/null tree 24785 # /dev/null tree
17952 { { echo "$as_me:17952: error: cannot find input file: $f" >&5 24786 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
17953echo "$as_me: error: cannot find input file: $f" >&2;} 24787echo "$as_me: error: cannot find input file: $f" >&2;}
17954 { (exit 1); exit 1; }; } 24788 { (exit 1); exit 1; }; }
17955 fi;; 24789 fi;;
17956 esac 24790 esac
17957 done` || { (exit 1); exit 1; } 24791 done` || { (exit 1); exit 1; }
17958EOF 24792_ACEOF
17959cat >>$CONFIG_STATUS <<EOF 24793cat >>$CONFIG_STATUS <<_ACEOF
17960 sed "$ac_vpsub 24794 sed "$ac_vpsub
17961$extrasub 24795$extrasub
17962EOF 24796_ACEOF
17963cat >>$CONFIG_STATUS <<\EOF 24797cat >>$CONFIG_STATUS <<\_ACEOF
17964:t 24798:t
17965/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 24799/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17966s,@configure_input@,$configure_input,;t t 24800s,@configure_input@,$configure_input,;t t
17967s,@srcdir@,$ac_srcdir,;t t 24801s,@srcdir@,$ac_srcdir,;t t
24802s,@abs_srcdir@,$ac_abs_srcdir,;t t
17968s,@top_srcdir@,$ac_top_srcdir,;t t 24803s,@top_srcdir@,$ac_top_srcdir,;t t
24804s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24805s,@builddir@,$ac_builddir,;t t
24806s,@abs_builddir@,$ac_abs_builddir,;t t
24807s,@top_builddir@,$ac_top_builddir,;t t
24808s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
17969s,@INSTALL@,$ac_INSTALL,;t t 24809s,@INSTALL@,$ac_INSTALL,;t t
17970" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 24810" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
17971 rm -f $tmp/stdin 24811 rm -f $tmp/stdin
@@ -17977,8 +24817,8 @@ s,@INSTALL@,$ac_INSTALL,;t t
17977 fi 24817 fi
17978 24818
17979done 24819done
17980EOF 24820_ACEOF
17981cat >>$CONFIG_STATUS <<\EOF 24821cat >>$CONFIG_STATUS <<\_ACEOF
17982 24822
17983# 24823#
17984# CONFIG_HEADER section. 24824# CONFIG_HEADER section.
@@ -17988,12 +24828,12 @@ cat >>$CONFIG_STATUS <<\EOF
17988# NAME is the cpp macro being defined and VALUE is the value it is being given. 24828# NAME is the cpp macro being defined and VALUE is the value it is being given.
17989# 24829#
17990# ac_d sets the value in "#define NAME VALUE" lines. 24830# ac_d sets the value in "#define NAME VALUE" lines.
17991ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' 24831ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17992ac_dB='[ ].*$,\1#\2' 24832ac_dB='[ ].*$,\1#\2'
17993ac_dC=' ' 24833ac_dC=' '
17994ac_dD=',;t' 24834ac_dD=',;t'
17995# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". 24835# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17996ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' 24836ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17997ac_uB='$,\1#\2define\3' 24837ac_uB='$,\1#\2define\3'
17998ac_uC=' ' 24838ac_uC=' '
17999ac_uD=',;t' 24839ac_uD=',;t'
@@ -18002,15 +24842,15 @@ for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18002 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 24842 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18003 case $ac_file in 24843 case $ac_file in
18004 - | *:- | *:-:* ) # input from stdin 24844 - | *:- | *:-:* ) # input from stdin
18005 cat >$tmp/stdin 24845 cat >$tmp/stdin
18006 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 24846 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18007 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 24847 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18008 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 24848 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 24849 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18010 * ) ac_file_in=$ac_file.in ;; 24850 * ) ac_file_in=$ac_file.in ;;
18011 esac 24851 esac
18012 24852
18013 test x"$ac_file" != x- && { echo "$as_me:18013: creating $ac_file" >&5 24853 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18014echo "$as_me: creating $ac_file" >&6;} 24854echo "$as_me: creating $ac_file" >&6;}
18015 24855
18016 # First look for the input files in the build tree, otherwise in the 24856 # First look for the input files in the build tree, otherwise in the
@@ -18020,30 +24860,31 @@ echo "$as_me: creating $ac_file" >&6;}
18020 case $f in 24860 case $f in
18021 -) echo $tmp/stdin ;; 24861 -) echo $tmp/stdin ;;
18022 [\\/$]*) 24862 [\\/$]*)
18023 # Absolute (can't be DOS-style, as IFS=:) 24863 # Absolute (can't be DOS-style, as IFS=:)
18024 test -f "$f" || { { echo "$as_me:18024: error: cannot find input file: $f" >&5 24864 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18025echo "$as_me: error: cannot find input file: $f" >&2;} 24865echo "$as_me: error: cannot find input file: $f" >&2;}
18026 { (exit 1); exit 1; }; } 24866 { (exit 1); exit 1; }; }
18027 echo $f;; 24867 # Do quote $f, to prevent DOS paths from being IFS'd.
24868 echo "$f";;
18028 *) # Relative 24869 *) # Relative
18029 if test -f "$f"; then 24870 if test -f "$f"; then
18030 # Build tree 24871 # Build tree
18031 echo $f 24872 echo "$f"
18032 elif test -f "$srcdir/$f"; then 24873 elif test -f "$srcdir/$f"; then
18033 # Source tree 24874 # Source tree
18034 echo $srcdir/$f 24875 echo "$srcdir/$f"
18035 else 24876 else
18036 # /dev/null tree 24877 # /dev/null tree
18037 { { echo "$as_me:18037: error: cannot find input file: $f" >&5 24878 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18038echo "$as_me: error: cannot find input file: $f" >&2;} 24879echo "$as_me: error: cannot find input file: $f" >&2;}
18039 { (exit 1); exit 1; }; } 24880 { (exit 1); exit 1; }; }
18040 fi;; 24881 fi;;
18041 esac 24882 esac
18042 done` || { (exit 1); exit 1; } 24883 done` || { (exit 1); exit 1; }
18043 # Remove the trailing spaces. 24884 # Remove the trailing spaces.
18044 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in 24885 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18045 24886
18046EOF 24887_ACEOF
18047 24888
18048# Transform confdefs.h into two sed scripts, `conftest.defines' and 24889# Transform confdefs.h into two sed scripts, `conftest.defines' and
18049# `conftest.undefs', that substitutes the proper values into 24890# `conftest.undefs', that substitutes the proper values into
@@ -18059,16 +24900,16 @@ rm -f conftest.defines conftest.undefs
18059# `end' is used to avoid that the second main sed command (meant for 24900# `end' is used to avoid that the second main sed command (meant for
18060# 0-ary CPP macros) applies to n-ary macro definitions. 24901# 0-ary CPP macros) applies to n-ary macro definitions.
18061# See the Autoconf documentation for `clear'. 24902# See the Autoconf documentation for `clear'.
18062cat >confdef2sed.sed <<\EOF 24903cat >confdef2sed.sed <<\_ACEOF
18063s/[\\&,]/\\&/g 24904s/[\\&,]/\\&/g
18064s,[\\$`],\\&,g 24905s,[\\$`],\\&,g
18065t clear 24906t clear
18066: clear 24907: clear
18067s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp 24908s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18068t end 24909t end
18069s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp 24910s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18070: end 24911: end
18071EOF 24912_ACEOF
18072# If some macros were called several times there might be several times 24913# If some macros were called several times there might be several times
18073# the same #defines, which is useless. Nevertheless, we may not want to 24914# the same #defines, which is useless. Nevertheless, we may not want to
18074# sort them, since we want the *last* AC-DEFINE to be honored. 24915# sort them, since we want the *last* AC-DEFINE to be honored.
@@ -18079,14 +24920,14 @@ rm -f confdef2sed.sed
18079# This sed command replaces #undef with comments. This is necessary, for 24920# This sed command replaces #undef with comments. This is necessary, for
18080# example, in the case of _POSIX_SOURCE, which is predefined and required 24921# example, in the case of _POSIX_SOURCE, which is predefined and required
18081# on some systems where configure will not decide to define it. 24922# on some systems where configure will not decide to define it.
18082cat >>conftest.undefs <<\EOF 24923cat >>conftest.undefs <<\_ACEOF
18083s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, 24924s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18084EOF 24925_ACEOF
18085 24926
18086# Break up conftest.defines because some shells have a limit on the size 24927# Break up conftest.defines because some shells have a limit on the size
18087# of here documents, and old seds have small limits too (100 cmds). 24928# of here documents, and old seds have small limits too (100 cmds).
18088echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS 24929echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18089echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS 24930echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18090echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS 24931echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18091echo ' :' >>$CONFIG_STATUS 24932echo ' :' >>$CONFIG_STATUS
18092rm -f conftest.tail 24933rm -f conftest.tail
@@ -18095,7 +24936,7 @@ do
18095 # Write a limited-size here document to $tmp/defines.sed. 24936 # Write a limited-size here document to $tmp/defines.sed.
18096 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS 24937 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18097 # Speed up: don't consider the non `#define' lines. 24938 # Speed up: don't consider the non `#define' lines.
18098 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS 24939 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18099 # Work around the forget-to-reset-the-flag bug. 24940 # Work around the forget-to-reset-the-flag bug.
18100 echo 't clr' >>$CONFIG_STATUS 24941 echo 't clr' >>$CONFIG_STATUS
18101 echo ': clr' >>$CONFIG_STATUS 24942 echo ': clr' >>$CONFIG_STATUS
@@ -18110,7 +24951,7 @@ do
18110 mv conftest.tail conftest.defines 24951 mv conftest.tail conftest.defines
18111done 24952done
18112rm -f conftest.defines 24953rm -f conftest.defines
18113echo ' fi # egrep' >>$CONFIG_STATUS 24954echo ' fi # grep' >>$CONFIG_STATUS
18114echo >>$CONFIG_STATUS 24955echo >>$CONFIG_STATUS
18115 24956
18116# Break up conftest.undefs because some shells have a limit on the size 24957# Break up conftest.undefs because some shells have a limit on the size
@@ -18122,7 +24963,7 @@ do
18122 # Write a limited-size here document to $tmp/undefs.sed. 24963 # Write a limited-size here document to $tmp/undefs.sed.
18123 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS 24964 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18124 # Speed up: don't consider the non `#undef' 24965 # Speed up: don't consider the non `#undef'
18125 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS 24966 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18126 # Work around the forget-to-reset-the-flag bug. 24967 # Work around the forget-to-reset-the-flag bug.
18127 echo 't clr' >>$CONFIG_STATUS 24968 echo 't clr' >>$CONFIG_STATUS
18128 echo ': clr' >>$CONFIG_STATUS 24969 echo ': clr' >>$CONFIG_STATUS
@@ -18138,51 +24979,59 @@ do
18138done 24979done
18139rm -f conftest.undefs 24980rm -f conftest.undefs
18140 24981
18141cat >>$CONFIG_STATUS <<\EOF 24982cat >>$CONFIG_STATUS <<\_ACEOF
18142 # Let's still pretend it is `configure' which instantiates (i.e., don't 24983 # Let's still pretend it is `configure' which instantiates (i.e., don't
18143 # use $as_me), people would be surprised to read: 24984 # use $as_me), people would be surprised to read:
18144 # /* config.h. Generated automatically by config.status. */ 24985 # /* config.h. Generated by config.status. */
18145 if test x"$ac_file" = x-; then 24986 if test x"$ac_file" = x-; then
18146 echo "/* Generated automatically by configure. */" >$tmp/config.h 24987 echo "/* Generated by configure. */" >$tmp/config.h
18147 else 24988 else
18148 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h 24989 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18149 fi 24990 fi
18150 cat $tmp/in >>$tmp/config.h 24991 cat $tmp/in >>$tmp/config.h
18151 rm -f $tmp/in 24992 rm -f $tmp/in
18152 if test x"$ac_file" != x-; then 24993 if test x"$ac_file" != x-; then
18153 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then 24994 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
18154 { echo "$as_me:18154: $ac_file is unchanged" >&5 24995 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18155echo "$as_me: $ac_file is unchanged" >&6;} 24996echo "$as_me: $ac_file is unchanged" >&6;}
18156 else 24997 else
18157 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 24998 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18158 X"$ac_file" : 'X\(//\)[^/]' \| \ 24999$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18159 X"$ac_file" : 'X\(//\)$' \| \ 25000 X"$ac_file" : 'X\(//\)[^/]' \| \
18160 X"$ac_file" : 'X\(/\)' \| \ 25001 X"$ac_file" : 'X\(//\)$' \| \
18161 . : '\(.\)' 2>/dev/null || 25002 X"$ac_file" : 'X\(/\)' \| \
25003 . : '\(.\)' 2>/dev/null ||
18162echo X"$ac_file" | 25004echo X"$ac_file" |
18163 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 25005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18164 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 25006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18165 /^X\(\/\/\)$/{ s//\1/; q; } 25007 /^X\(\/\/\)$/{ s//\1/; q; }
18166 /^X\(\/\).*/{ s//\1/; q; } 25008 /^X\(\/\).*/{ s//\1/; q; }
18167 s/.*/./; q'` 25009 s/.*/./; q'`
18168 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 25010 { if $as_mkdir_p; then
18169 { case "$ac_dir" in 25011 mkdir -p "$ac_dir"
18170 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 25012 else
18171 *) as_incr_dir=.;; 25013 as_dir="$ac_dir"
18172esac 25014 as_dirs=
18173as_dummy="$ac_dir" 25015 while test ! -d "$as_dir"; do
18174for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 25016 as_dirs="$as_dir $as_dirs"
18175 case $as_mkdir_dir in 25017 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18176 # Skip DOS drivespec 25018$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18177 ?:) as_incr_dir=$as_mkdir_dir ;; 25019 X"$as_dir" : 'X\(//\)[^/]' \| \
18178 *) 25020 X"$as_dir" : 'X\(//\)$' \| \
18179 as_incr_dir=$as_incr_dir/$as_mkdir_dir 25021 X"$as_dir" : 'X\(/\)' \| \
18180 test -d "$as_incr_dir" || mkdir "$as_incr_dir" 25022 . : '\(.\)' 2>/dev/null ||
18181 ;; 25023echo X"$as_dir" |
18182 esac 25024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18183done; } 25025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25026 /^X\(\/\/\)$/{ s//\1/; q; }
25027 /^X\(\/\).*/{ s//\1/; q; }
25028 s/.*/./; q'`
25029 done
25030 test ! -n "$as_dirs" || mkdir $as_dirs
25031 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25032echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25033 { (exit 1); exit 1; }; }; }
18184 25034
18185 fi
18186 rm -f $ac_file 25035 rm -f $ac_file
18187 mv $tmp/config.h $ac_file 25036 mv $tmp/config.h $ac_file
18188 fi 25037 fi
@@ -18191,15 +25040,16 @@ done; }
18191 rm -f $tmp/config.h 25040 rm -f $tmp/config.h
18192 fi 25041 fi
18193done 25042done
18194EOF 25043_ACEOF
18195 25044
18196cat >>$CONFIG_STATUS <<\EOF 25045cat >>$CONFIG_STATUS <<\_ACEOF
18197 25046
18198{ (exit 0); exit 0; } 25047{ (exit 0); exit 0; }
18199EOF 25048_ACEOF
18200chmod +x $CONFIG_STATUS 25049chmod +x $CONFIG_STATUS
18201ac_clean_files=$ac_clean_files_save 25050ac_clean_files=$ac_clean_files_save
18202 25051
25052
18203# configure is writing to config.log, and then calls config.status. 25053# configure is writing to config.log, and then calls config.status.
18204# config.status does its own redirection, appending to config.log. 25054# config.status does its own redirection, appending to config.log.
18205# Unfortunately, on DOS this fails, as config.log is still kept open 25055# Unfortunately, on DOS this fails, as config.log is still kept open
@@ -18210,14 +25060,18 @@ ac_clean_files=$ac_clean_files_save
18210# need to make the FD available again. 25060# need to make the FD available again.
18211if test "$no_create" != yes; then 25061if test "$no_create" != yes; then
18212 ac_cs_success=: 25062 ac_cs_success=:
25063 ac_config_status_args=
25064 test "$silent" = yes &&
25065 ac_config_status_args="$ac_config_status_args --quiet"
18213 exec 5>/dev/null 25066 exec 5>/dev/null
18214 $SHELL $CONFIG_STATUS || ac_cs_success=false 25067 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18215 exec 5>>config.log 25068 exec 5>>config.log
18216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 25069 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18217 # would make configure fail if this is the last instruction. 25070 # would make configure fail if this is the last instruction.
18218 $ac_cs_success || { (exit 1); exit 1; } 25071 $ac_cs_success || { (exit 1); exit 1; }
18219fi 25072fi
18220 25073
25074
18221# Print summary of options 25075# Print summary of options
18222 25076
18223# Someone please show me a better way :) 25077# Someone please show me a better way :)
@@ -18280,6 +25134,10 @@ echo " Libraries: ${LIBWRAP} ${LIBPAM} ${LIBS}"
18280 25134
18281echo "" 25135echo ""
18282 25136
25137if test "x$MAKE_PACKAGE_SUPPORTED" = "xyes" ; then
25138 echo "SVR4 style packages are supported with \"make package\"\n"
25139fi
25140
18283if test "x$PAM_MSG" = "xyes" ; then 25141if test "x$PAM_MSG" = "xyes" ; then
18284 echo "PAM is enabled. You may need to install a PAM control file " 25142 echo "PAM is enabled. You may need to install a PAM control file "
18285 echo "for sshd, otherwise password authentication may fail. " 25143 echo "for sshd, otherwise password authentication may fail. "
@@ -18296,3 +25154,13 @@ if test ! -z "$RAND_HELPER_CMDHASH" ; then
18296 echo "" 25154 echo ""
18297fi 25155fi
18298 25156
25157if test ! -z "$NO_PEERCHECK" ; then
25158 echo "WARNING: the operating system that you are using does not "
25159 echo "appear to support either the getpeereid() API nor the "
25160 echo "SO_PEERCRED getsockopt() option. These facilities are used to "
25161 echo "enforce security checks to prevent unauthorised connections to "
25162 echo "ssh-agent. Their absence increases the risk that a malicious "
25163 echo "user can connect to your agent. "
25164 echo ""
25165fi
25166