summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog279
-rw-r--r--ChangeLog.gssapi8
-rw-r--r--Makefile.in18
-rw-r--r--README4
-rw-r--r--README.platform14
-rw-r--r--auth-pam.c10
-rw-r--r--auth-passwd.c2
-rw-r--r--auth-sia.c53
-rw-r--r--auth1.c10
-rw-r--r--auth2-jpake.c7
-rw-r--r--auth2-kbdint.c4
-rw-r--r--auth2-none.c4
-rw-r--r--auth2-passwd.c4
-rw-r--r--auth2-pubkey.c4
-rw-r--r--auth2.c4
-rw-r--r--canohost.c24
-rw-r--r--canohost.h4
-rw-r--r--channels.c6
-rw-r--r--clientloop.c25
-rw-r--r--config.h.in34
-rwxr-xr-xconfigure12027
-rw-r--r--configure.ac108
-rwxr-xr-xcontrib/aix/buildbff.sh11
-rw-r--r--contrib/caldera/openssh.spec6
-rw-r--r--contrib/cygwin/ssh-host-config43
-rw-r--r--contrib/cygwin/ssh-user-config20
-rw-r--r--contrib/redhat/openssh.spec2
-rw-r--r--contrib/suse/openssh.spec2
-rw-r--r--debian/changelog8
-rw-r--r--defines.h13
-rw-r--r--gss-genr.c2
-rw-r--r--includes.h3
-rw-r--r--jpake.c181
-rw-r--r--jpake.h38
-rw-r--r--kex.c4
-rw-r--r--kex.h4
-rw-r--r--kexdhs.c6
-rw-r--r--kexgexs.c6
-rw-r--r--moduli.02
-rw-r--r--monitor.c25
-rw-r--r--monitor_mm.c2
-rw-r--r--monitor_wrap.c31
-rw-r--r--monitor_wrap.h10
-rw-r--r--openbsd-compat/bsd-cygwin_util.c124
-rw-r--r--openbsd-compat/bsd-cygwin_util.h5
-rw-r--r--openbsd-compat/daemon.c10
-rw-r--r--openbsd-compat/getrrsetbyname.c2
-rw-r--r--openbsd-compat/openssl-compat.c11
-rw-r--r--openbsd-compat/openssl-compat.h6
-rw-r--r--openbsd-compat/port-aix.c19
-rw-r--r--openbsd-compat/port-aix.h9
-rw-r--r--packet.c973
-rw-r--r--packet.h17
-rw-r--r--readconf.c12
-rw-r--r--readconf.h4
-rw-r--r--roaming.h38
-rw-r--r--roaming_common.c201
-rw-r--r--roaming_dummy.c61
-rw-r--r--schnorr.c376
-rw-r--r--schnorr.h60
-rw-r--r--scp.02
-rw-r--r--servconf.c10
-rw-r--r--serverloop.c15
-rw-r--r--session.c30
-rw-r--r--sftp-client.c2
-rw-r--r--sftp-server.04
-rw-r--r--sftp-server.86
-rw-r--r--sftp-server.c6
-rw-r--r--sftp.02
-rw-r--r--ssh-add.02
-rw-r--r--ssh-agent.04
-rw-r--r--ssh-agent.16
-rw-r--r--ssh-agent.c7
-rw-r--r--ssh-keygen.02
-rw-r--r--ssh-keygen.c2
-rw-r--r--ssh-keyscan.02
-rw-r--r--ssh-keysign.02
-rw-r--r--ssh-rand-helper.02
-rw-r--r--ssh.012
-rw-r--r--ssh.127
-rw-r--r--ssh.c21
-rw-r--r--ssh_config.02
-rw-r--r--sshconnect.c10
-rw-r--r--sshconnect.h4
-rw-r--r--sshconnect2.c3
-rw-r--r--sshd.04
-rw-r--r--sshd.86
-rw-r--r--sshd.c9
-rw-r--r--sshd_config.019
-rw-r--r--sshd_config.519
-rw-r--r--sshlogin.c10
-rw-r--r--uuencode.c13
-rw-r--r--version.h4
93 files changed, 8896 insertions, 6373 deletions
diff --git a/ChangeLog b/ChangeLog
index f802c0d7f..b2df66023 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,282 @@
120090926
2 - (djm) [contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
3 [contrib/suse/openssh.spec] Update for release
4 - (djm) [README] update relnotes URL
5 - (djm) [packet.c] Restore EWOULDBLOCK handling that got lost somewhere
6 - (djm) Release 5.3p1
7
820090911
9 - (dtucker) [configure.ac] Change the -lresolv check so it works on Mac OS X
10 10.6 (which doesn't have BIND8_COMPAT and thus uses res_9_query). Patch
11 from jbasney at ncsa uiuc edu.
12
1320090908
14 - (djm) [serverloop.c] Fix test for server-assigned remote forwarding port
15 (-R 0:...); bz#1578, spotted and fix by gavin AT emf.net; ok dtucker@
16
1720090901
18 - (dtucker) [configure.ac] Bug #1639: use AC_PATH_PROG to search the path for
19 krb5-config if it's not in the location specified by --with-kerberos5.
20 Patch from jchadima at redhat.
21
2220090829
23 - (dtucker) [README.platform] Add text about development packages, based on
24 text from Chris Pepper in bug #1631.
25
2620090828
27 - dtucker [auth-sia.c] Roll back the change for bug #1241 as it apparently
28 causes problems in some Tru64 configurations.
29 - (djm) [sshd_config.5] downgrade mention of login.conf to be an example
30 and mention PAM as another provider for ChallengeResponseAuthentication;
31 bz#1408; ok dtucker@
32 - (djm) [sftp-server.c] bz#1535: accept ENOSYS as a fallback error when
33 attempting atomic rename(); ok dtucker@
34 - (djm) [Makefile.in] bz#1505: Solaris make(1) doesn't accept make variables
35 in argv, so pass them in the environment; ok dtucker@
36 - (dtucker) [channels.c configure.ac] Bug #1528: skip the tcgetattr call on
37 the pty master on Solaris, since it never succeeds and can hang if large
38 amounts of data is sent to the slave (eg a copy-paste). Based on a patch
39 originally from Doke Scott, ok djm@
40 - (dtucker) [clientloop.c configure.ac defines.h] Make the client's IO buffer
41 size a compile-time option and set it to 64k on Cygwin, since Corinna
42 reports that it makes a significant difference to performance. ok djm@
43 - (dtucker) [configure.ac] Fix the syntax of the Solaris tcgetattr entry.
44
4520090820
46 - (dtucker) [includes.h] Bug #1634: do not include system glob.h if we're not
47 using it since the type conflicts can cause problems on FreeBSD. Patch
48 from Jonathan Chen.
49 - (dtucker) [session.c openbsd-compat/port-aix.h] Bugs #1249 and #1567: move
50 the setpcred call on AIX to immediately before the permanently_set_uid().
51 Ensures that we still have privileges when we call chroot and
52 pam_open_sesson. Based on a patch from David Leonard.
53
5420090817
55 - (dtucker) [configure.ac] Check for headers before libraries for openssl an
56 zlib, which should make the errors slightly more meaningful on platforms
57 where there's separate "-devel" packages for those.
58 - (dtucker) [sshlogin.c openbsd-compat/port-aix.{c,h}] Bug #1595: make
59 PrintLastLog work on AIX. Based in part on a patch from Miguel Sanders.
60
6120090729
62 - (tim) [contrib/cygwin/ssh-user-config] Change script to call correct error
63 function. Patch from Corinna Vinschen.
64
6520090713
66 - (dtucker) [openbsd-compat/getrrsetbyname.c] Reduce answer buffer size so it
67 fits into 16 bits to work around a bug in glibc's resolver where it masks
68 off the buffer size at 16 bits. Patch from Hauke Lampe, ok djm jakob.
69
7020090712
71 - (dtucker) [configure.ac] Include sys/param.h for the sys/mount.h test,
72 prevents configure complaining on older BSDs.
73 - (dtucker [contrib/cygwin/ssh-{host,user}-config] Add license text. Patch
74 from Corinna Vinschen.
75 - (dtucker) [auth-pam.c] Bug #1534: move the deletion of PAM credentials on
76 logout to after the session close. Patch from Anicka Bernathova,
77 originally from Andreas Schwab via Novelll ok djm.
78
7920090707
80 - (dtucker) [contrib/cygwin/ssh-host-config] better support for automated
81 scripts and fix usage of eval. Patch from Corinna Vinschen.
82
8320090705
84 - (dtucker) OpenBSD CVS Sync
85 - andreas@cvs.openbsd.org 2009/06/27 09:29:06
86 [packet.h packet.c]
87 packet_bacup_state() and packet_restore_state() will be used to
88 temporarily save the current state ren resuming a suspended connection.
89 ok markus@
90 - andreas@cvs.openbsd.org 2009/06/27 09:32:43
91 [roaming_common.c roaming.h]
92 It may be necessary to retransmit some data when resuming, so add it
93 to a buffer when roaming is enabled.
94 Most of this code was written by Martin Forssen, maf at appgate dot com.
95 ok markus@
96 - andreas@cvs.openbsd.org 2009/06/27 09:35:06
97 [readconf.h readconf.c]
98 Add client option UseRoaming. It doesn't do anything yet but will
99 control whether the client tries to use roaming if enabled on the
100 server. From Martin Forssen.
101 ok markus@
102 - markus@cvs.openbsd.org 2009/06/30 14:54:40
103 [version.h]
104 crank version; ok deraadt
105 - dtucker@cvs.openbsd.org 2009/07/02 02:11:47
106 [ssh.c]
107 allow for long home dir paths (bz #1615). ok deraadt
108 (based in part on a patch from jchadima at redhat)
109 - stevesk@cvs.openbsd.org 2009/07/05 19:28:33
110 [clientloop.c]
111 only send SSH2_MSG_DISCONNECT if we're in compat20; from dtucker@
112 ok deraadt@ markus@
113
11420090622
115 - (dtucker) OpenBSD CVS Sync
116 - dtucker@cvs.openbsd.org 2009/06/22 05:39:28
117 [monitor_wrap.c monitor_mm.c ssh-keygen.c auth2.c gss-genr.c sftp-client.c]
118 alphabetize includes; reduces diff vs portable and style(9).
119 ok stevesk djm
120 (Id sync only; these were already in order in -portable)
121
12220090621
123 - (dtucker) OpenBSD CVS Sync
124 - markus@cvs.openbsd.org 2009/03/17 21:37:00
125 [ssh.c]
126 pass correct argv[0] to openlog(); ok djm@
127 - jmc@cvs.openbsd.org 2009/03/19 15:15:09
128 [ssh.1]
129 for "Ciphers", just point the reader to the keyword in ssh_config(5), just
130 as we do for "MACs": this stops us getting out of sync when the lists
131 change;
132 fixes documentation/6102, submitted by Peter J. Philipp
133 alternative fix proposed by djm
134 ok markus
135 - tobias@cvs.openbsd.org 2009/03/23 08:31:19
136 [ssh-agent.c]
137 Fixed a possible out-of-bounds memory access if the environment variable
138 SHELL is shorter than 3 characters.
139 with input by and ok dtucker
140 - tobias@cvs.openbsd.org 2009/03/23 19:38:04
141 [ssh-agent.c]
142 My previous commit didn't fix the problem at all, so stick at my first
143 version of the fix presented to dtucker.
144 Issue notified by Matthias Barkhoff (matthias dot barkhoff at gmx dot de).
145 ok dtucker
146 - sobrado@cvs.openbsd.org 2009/03/26 08:38:39
147 [sftp-server.8 sshd.8 ssh-agent.1]
148 fix a few typographical errors found by spell(1).
149 ok dtucker@, jmc@
150 - stevesk@cvs.openbsd.org 2009/04/13 19:07:44
151 [sshd_config.5]
152 fix possessive; ok djm@
153 - stevesk@cvs.openbsd.org 2009/04/14 16:33:42
154 [sftp-server.c]
155 remove unused option character from getopt() optstring; ok markus@
156 - jj@cvs.openbsd.org 2009/04/14 21:10:54
157 [servconf.c]
158 Fixed a few the-the misspellings in comments. Skipped a bunch in
159 binutils,gcc and so on. ok jmc@
160 - stevesk@cvs.openbsd.org 2009/04/17 19:23:06
161 [session.c]
162 use INTERNAL_SFTP_NAME for setproctitle() of in-process sftp-server;
163 ok djm@ markus@
164 - stevesk@cvs.openbsd.org 2009/04/17 19:40:17
165 [sshd_config.5]
166 clarify that even internal-sftp needs /dev/log for logging to work; ok
167 markus@
168 - jmc@cvs.openbsd.org 2009/04/18 18:39:10
169 [sshd_config.5]
170 tweak previous; ok stevesk
171 - stevesk@cvs.openbsd.org 2009/04/21 15:13:17
172 [sshd_config.5]
173 clarify we cd to user's home after chroot; ok markus@ on
174 earlier version; tweaks and ok jmc@
175 - andreas@cvs.openbsd.org 2009/05/25 06:48:01
176 [channels.c packet.c clientloop.c packet.h serverloop.c monitor_wrap.c
177 monitor.c]
178 Put the globals in packet.c into a struct and don't access it directly
179 from other files. No functional changes.
180 ok markus@ djm@
181 - andreas@cvs.openbsd.org 2009/05/27 06:31:25
182 [canohost.h canohost.c]
183 Add clear_cached_addr(), needed for upcoming changes allowing the peer
184 address to change.
185 ok markus@
186 - andreas@cvs.openbsd.org 2009/05/27 06:33:39
187 [clientloop.c]
188 Send SSH2_MSG_DISCONNECT when the client disconnects. From a larger
189 change from Martin Forssen, maf at appgate dot com.
190 ok markus@
191 - andreas@cvs.openbsd.org 2009/05/27 06:34:36
192 [kex.c kex.h]
193 Move the KEX_COOKIE_LEN define to kex.h
194 ok markus@
195 - andreas@cvs.openbsd.org 2009/05/27 06:36:07
196 [packet.h packet.c]
197 Add packet_put_int64() and packet_get_int64(), part of a larger change
198 from Martin Forssen.
199 ok markus@
200 - andreas@cvs.openbsd.org 2009/05/27 06:38:16
201 [sshconnect.h sshconnect.c]
202 Un-static ssh_exchange_identification(), part of a larger change from
203 Martin Forssen and needed for upcoming changes.
204 ok markus@
205 - andreas@cvs.openbsd.org 2009/05/28 16:50:16
206 [sshd.c packet.c serverloop.c monitor_wrap.c clientloop.c sshconnect.c
207 monitor.c Added roaming.h roaming_common.c roaming_dummy.c]
208 Keep track of number of bytes read and written. Needed for upcoming
209 changes. Most code from Martin Forssen, maf at appgate dot com.
210 ok markus@
211 Also, applied appropriate changes to Makefile.in
212 - andreas@cvs.openbsd.org 2009/06/12 20:43:22
213 [monitor.c packet.c]
214 Fix warnings found by chl@ and djm@ and change roaming_atomicio's
215 return type to match atomicio's
216 Diff from djm@, ok markus@
217 - andreas@cvs.openbsd.org 2009/06/12 20:58:32
218 [packet.c]
219 Move some more statics into session_state
220 ok markus@ djm@
221 - dtucker@cvs.openbsd.org 2009/06/21 07:37:15
222 [kexdhs.c kexgexs.c]
223 abort if key_sign fails, preventing possible null deref. Based on report
224 from Paolo Ganci, ok markus@ djm@
225 - dtucker@cvs.openbsd.org 2009/06/21 09:04:03
226 [roaming.h roaming_common.c roaming_dummy.c]
227 Add tags for the benefit of the sync scripts
228 Also: pull in the changes for 1.1->1.2 missed in the previous sync.
229 - (dtucker) [auth2-jpake.c auth2.c canohost.h session.c] Whitespace and
230 header-order changes to reduce diff vs OpenBSD.
231 - (dtucker) [servconf.c sshd.c] More whitespace sync.
232 - (dtucker) [roaming_common.c roaming_dummy.c] Wrap #include <inttypes.h> in
233 ifdef.
234
23520090616
236 - (dtucker) [configure.ac defines.h] Bug #1607: handle the case where fsid_t
237 is a struct with a __val member. Fixes build on, eg, Redhat 6.2.
238
23920090504
240 - (dtucker) [sshlogin.c] Move the NO_SSH_LASTLOG #ifndef line to include
241 variable declarations. Should prevent unused warnings anywhere it's set
242 (only Crays as far as I can tell) and be a no-op everywhere else.
243
24420090318
245 - (tim) [configure.ac] Remove setting IP_TOS_IS_BROKEN for Cygwin. The problem
246 that setsockopt(IP_TOS) doesn't work on Cygwin has been fixed since 2005.
247 Based on patch from vinschen at redhat com.
248
24920090308
250 - (dtucker) [auth-passwd.c auth1.c auth2-kbdint.c auth2-none.c auth2-passwd.c
251 auth2-pubkey.c session.c openbsd-compat/bsd-cygwin_util.{c,h}
252 openbsd-compat/daemon.c] Remove support for Windows 95/98/ME and very old
253 version of Cygwin. Patch from vinschen at redhat com.
254
25520090307
256 - (dtucker) [contrib/aix/buildbff.sh] Only try to rename ssh_prng_cmds if it
257 exists (it's not created if OpenSSL's PRNG is self-seeded, eg if the OS
258 has a /dev/random).
259 - (dtucker) [schnorr.c openbsd-compat/openssl-compat.{c,h}] Add
260 EVP_DigestUpdate to the OLD_EVP compatibility functions and tell schnorr.c
261 to use them. Allows building with older OpenSSL versions.
262 - (dtucker) [configure.ac defines.h] Check for in_port_t and typedef if needed.
263 - (dtucker) [configure.ac] Missing comma in type list.
264 - (dtucker) [configure.ac openbsd-compat/openssl-compat.{c,h}]
265 EVP_DigestUpdate does not exactly match the other OLD_EVP functions (eg
266 in openssl 0.9.6) so add an explicit test for it.
267
26820090306
269 - (djm) OpenBSD CVS Sync
270 - djm@cvs.openbsd.org 2009/03/05 07:18:19
271 [auth2-jpake.c jpake.c jpake.h monitor_wrap.c monitor_wrap.h schnorr.c]
272 [sshconnect2.c]
273 refactor the (disabled) Schnorr proof code to make it a little more
274 generally useful
275 - djm@cvs.openbsd.org 2009/03/05 11:30:50
276 [uuencode.c]
277 document what these functions do so I don't ever have to recuse into
278 b64_pton/ntop to remember their return values
279
120090223 28020090223
2 - (djm) OpenBSD CVS Sync 281 - (djm) OpenBSD CVS Sync
3 - djm@cvs.openbsd.org 2009/02/22 23:50:57 282 - djm@cvs.openbsd.org 2009/02/22 23:50:57
diff --git a/ChangeLog.gssapi b/ChangeLog.gssapi
index 927b98bc9..0c3f5a44f 100644
--- a/ChangeLog.gssapi
+++ b/ChangeLog.gssapi
@@ -1,3 +1,11 @@
120100124
2 - [ sshconnect2.c ]
3 Adapt to deal with additional element in Authmethod structure. Thanks to
4 Colin Wilson
5 - [ clientloop.c ]
6 Protect credentials updated code with suitable #ifdefs. Thanks to Colin
7 Wilson
8
120090615 920090615
2 - [ gss-genr.c gss-serv.c kexgssc.c kexgsss.c monitor.c sshconnect2.c 10 - [ gss-genr.c gss-serv.c kexgssc.c kexgsss.c monitor.c sshconnect2.c
3 sshd.c ] 11 sshd.c ]
diff --git a/Makefile.in b/Makefile.in
index fc3aabdc1..99f2ccb11 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.298 2008/11/05 05:20:46 djm Exp $ 1# $Id: Makefile.in,v 1.300 2009/08/28 00:47:38 djm Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -77,7 +77,8 @@ LIBSSH_OBJS=acss.o authfd.o authfile.o bufaux.o bufbn.o buffer.o \
77 kexgssc.o 77 kexgssc.o
78 78
79SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \ 79SSHOBJS= ssh.o readconf.o clientloop.o sshtty.o \
80 sshconnect.o sshconnect1.o sshconnect2.o mux.o 80 sshconnect.o sshconnect1.o sshconnect2.o mux.o \
81 roaming_common.o
81 82
82SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \ 83SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
83 sshpty.o sshlogin.o servconf.o serverloop.o \ 84 sshpty.o sshlogin.o servconf.o serverloop.o \
@@ -89,7 +90,8 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o \
89 auth-krb5.o \ 90 auth-krb5.o \
90 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\ 91 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o\
91 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \ 92 loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
92 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o 93 audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \
94 roaming_common.o
93 95
94MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-rand-helper.8.out ssh-keysign.8.out ssh-vulnkey.1.out sshd_config.5.out ssh_config.5.out 96MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-rand-helper.8.out ssh-keysign.8.out ssh-vulnkey.1.out sshd_config.5.out ssh_config.5.out
95MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-rand-helper.8 ssh-keysign.8 ssh-vulnkey.1 sshd_config.5 ssh_config.5 97MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-rand-helper.8 ssh-keysign.8 ssh-vulnkey.1 sshd_config.5 ssh_config.5
@@ -154,11 +156,11 @@ ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o
154ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o 156ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o
155 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 157 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
156 158
157ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o 159ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o roaming_dummy.o
158 $(LD) -o $@ ssh-keysign.o readconf.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 160 $(LD) -o $@ ssh-keysign.o readconf.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
159 161
160ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o 162ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keyscan.o roaming_dummy.o
161 $(LD) -o $@ ssh-keyscan.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) 163 $(LD) -o $@ ssh-keyscan.o roaming_dummy.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS)
162 164
163sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o 165sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a sftp.o sftp-common.o sftp-server.o sftp-server-main.o
164 $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 166 $(LD) -o $@ sftp-server.o sftp-common.o sftp-server-main.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
@@ -246,7 +248,7 @@ check-config:
246 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config 248 -$(DESTDIR)$(sbindir)/sshd -t -f $(DESTDIR)$(sysconfdir)/sshd_config
247 249
248scard-install: 250scard-install:
249 (cd scard && $(MAKE) DESTDIR=$(DESTDIR) install) 251 (cd scard && env DESTDIR=$(DESTDIR) $(MAKE) DESTDIR=$(DESTDIR) install)
250 252
251install-files: scard-install 253install-files: scard-install
252 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) 254 $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
diff --git a/README b/README
index 9de00c093..8538e8c9b 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
1See http://www.openssh.com/txt/release-5.2 for the release notes. 1See http://www.openssh.com/txt/release-5.3 for the release notes.
2 2
3- A Japanese translation of this document and of the OpenSSH FAQ is 3- A Japanese translation of this document and of the OpenSSH FAQ is
4- available at http://www.unixuser.org/~haruyama/security/openssh/index.html 4- available at http://www.unixuser.org/~haruyama/security/openssh/index.html
@@ -62,4 +62,4 @@ References -
62[6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9 62[6] http://www.openbsd.org/cgi-bin/man.cgi?query=style&sektion=9
63[7] http://www.openssh.com/faq.html 63[7] http://www.openssh.com/faq.html
64 64
65$Id: README,v 1.70 2009/02/23 00:11:57 djm Exp $ 65$Id: README,v 1.70.4.1 2009/09/26 04:11:47 djm Exp $
diff --git a/README.platform b/README.platform
index 3d7db1494..d1982321e 100644
--- a/README.platform
+++ b/README.platform
@@ -56,6 +56,18 @@ using a third party driver. More information is available at:
56 http://www-user.rhrk.uni-kl.de/~nissler/tuntap/ 56 http://www-user.rhrk.uni-kl.de/~nissler/tuntap/
57 57
58 58
59Linux
60-----
61
62Some Linux distributions (including Red Hat/Fedora/CentOS) include
63headers and library links in the -devel RPMs rather than the main
64binary RPMs. If you get an error about headers, or complaining about a
65missing prerequisite then you may need to install the equivalent
66development packages. On Redhat based distros these may be openssl-devel,
67zlib-devel and pam-devel, on Debian based distros these may be
68libssl-dev, libz-dev and libpam-dev.
69
70
59Solaris 71Solaris
60------- 72-------
61If you enable BSM auditing on Solaris, you need to update audit_event(4) 73If you enable BSM auditing on Solaris, you need to update audit_event(4)
@@ -81,4 +93,4 @@ account stacks which will prevent authentication entirely, but will still
81return the output from pam_nologin to the client. 93return the output from pam_nologin to the client.
82 94
83 95
84$Id: README.platform,v 1.9 2007/08/09 04:31:53 dtucker Exp $ 96$Id: README.platform,v 1.10 2009/08/28 23:14:48 dtucker Exp $
diff --git a/auth-pam.c b/auth-pam.c
index ccdb9937e..675006e6f 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -602,16 +602,16 @@ sshpam_cleanup(void)
602 return; 602 return;
603 debug("PAM: cleanup"); 603 debug("PAM: cleanup");
604 pam_set_item(sshpam_handle, PAM_CONV, (const void *)&null_conv); 604 pam_set_item(sshpam_handle, PAM_CONV, (const void *)&null_conv);
605 if (sshpam_cred_established) {
606 debug("PAM: deleting credentials");
607 pam_setcred(sshpam_handle, PAM_DELETE_CRED);
608 sshpam_cred_established = 0;
609 }
610 if (sshpam_session_open) { 605 if (sshpam_session_open) {
611 debug("PAM: closing session"); 606 debug("PAM: closing session");
612 pam_close_session(sshpam_handle, PAM_SILENT); 607 pam_close_session(sshpam_handle, PAM_SILENT);
613 sshpam_session_open = 0; 608 sshpam_session_open = 0;
614 } 609 }
610 if (sshpam_cred_established) {
611 debug("PAM: deleting credentials");
612 pam_setcred(sshpam_handle, PAM_DELETE_CRED);
613 sshpam_cred_established = 0;
614 }
615 sshpam_authenticated = 0; 615 sshpam_authenticated = 0;
616 pam_end(sshpam_handle, sshpam_err); 616 pam_end(sshpam_handle, sshpam_err);
617 sshpam_handle = NULL; 617 sshpam_handle = NULL;
diff --git a/auth-passwd.c b/auth-passwd.c
index bdfced023..b1c6ce092 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -102,7 +102,7 @@ auth_password(Authctxt *authctxt, const char *password)
102 } 102 }
103#endif 103#endif
104#ifdef HAVE_CYGWIN 104#ifdef HAVE_CYGWIN
105 if (is_winnt) { 105 {
106 HANDLE hToken = cygwin_logon_user(pw, password); 106 HANDLE hToken = cygwin_logon_user(pw, password);
107 107
108 if (hToken == INVALID_HANDLE_VALUE) 108 if (hToken == INVALID_HANDLE_VALUE)
diff --git a/auth-sia.c b/auth-sia.c
index debf30201..a9e1c258c 100644
--- a/auth-sia.c
+++ b/auth-sia.c
@@ -34,10 +34,6 @@
34#include <unistd.h> 34#include <unistd.h>
35#include <stdarg.h> 35#include <stdarg.h>
36#include <string.h> 36#include <string.h>
37#include <sys/types.h>
38#include <sys/security.h>
39#include <prot.h>
40#include <time.h>
41 37
42#include "ssh.h" 38#include "ssh.h"
43#include "key.h" 39#include "key.h"
@@ -53,52 +49,6 @@ extern ServerOptions options;
53extern int saved_argc; 49extern int saved_argc;
54extern char **saved_argv; 50extern char **saved_argv;
55 51
56static int
57sia_password_change_required(const char *user)
58{
59 struct es_passwd *acct;
60 time_t pw_life;
61 time_t pw_date;
62
63 set_auth_parameters(saved_argc, saved_argv);
64
65 if ((acct = getespwnam(user)) == NULL) {
66 error("Couldn't access protected database entry for %s", user);
67 endprpwent();
68 return (0);
69 }
70
71 /* If forced password change flag is set, honor it */
72 if (acct->uflg->fg_psw_chg_reqd && acct->ufld->fd_psw_chg_reqd) {
73 endprpwent();
74 return (1);
75 }
76
77 /* Obtain password lifetime; if none, it can't have expired */
78 if (acct->uflg->fg_expire)
79 pw_life = acct->ufld->fd_expire;
80 else if (acct->sflg->fg_expire)
81 pw_life = acct->sfld->fd_expire;
82 else {
83 endprpwent();
84 return (0);
85 }
86
87 /* Offset from last change; if none, it must be expired */
88 if (acct->uflg->fg_schange)
89 pw_date = acct->ufld->fd_schange + pw_life;
90 else {
91 endprpwent();
92 return (1);
93 }
94
95 endprpwent();
96
97 /* If expiration date is prior to now, change password */
98
99 return (pw_date <= time((time_t *) NULL));
100}
101
102int 52int
103sys_auth_passwd(Authctxt *authctxt, const char *pass) 53sys_auth_passwd(Authctxt *authctxt, const char *pass)
104{ 54{
@@ -126,9 +76,6 @@ sys_auth_passwd(Authctxt *authctxt, const char *pass)
126 76
127 sia_ses_release(&ent); 77 sia_ses_release(&ent);
128 78
129 authctxt->force_pwchange = sia_password_change_required(
130 authctxt->user);
131
132 return (1); 79 return (1);
133} 80}
134 81
diff --git a/auth1.c b/auth1.c
index 8ff98d493..184ee0545 100644
--- a/auth1.c
+++ b/auth1.c
@@ -318,15 +318,7 @@ do_authloop(Authctxt *authctxt)
318 } 318 }
319#endif /* _UNICOS */ 319#endif /* _UNICOS */
320 320
321#ifdef HAVE_CYGWIN 321#ifndef HAVE_CYGWIN
322 if (authenticated &&
323 !check_nt_auth(type == SSH_CMSG_AUTH_PASSWORD,
324 authctxt->pw)) {
325 packet_disconnect("Authentication rejected for uid %d.",
326 authctxt->pw == NULL ? -1 : authctxt->pw->pw_uid);
327 authenticated = 0;
328 }
329#else
330 /* Special handling for root */ 322 /* Special handling for root */
331 if (authenticated && authctxt->pw->pw_uid == 0 && 323 if (authenticated && authctxt->pw->pw_uid == 0 &&
332 !auth_root_allowed(meth->name)) { 324 !auth_root_allowed(meth->name)) {
diff --git a/auth2-jpake.c b/auth2-jpake.c
index efe7ff2a3..5de5506a6 100644
--- a/auth2-jpake.c
+++ b/auth2-jpake.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2-jpake.c,v 1.2 2008/11/07 23:34:48 dtucker Exp $ */ 1/* $OpenBSD: auth2-jpake.c,v 1.3 2009/03/05 07:18:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Damien Miller. All rights reserved. 3 * Copyright (c) 2008 Damien Miller. All rights reserved.
4 * 4 *
@@ -42,8 +42,8 @@
42#include "ssh2.h" 42#include "ssh2.h"
43#include "key.h" 43#include "key.h"
44#include "hostfile.h" 44#include "hostfile.h"
45#include "buffer.h"
46#include "auth.h" 45#include "auth.h"
46#include "buffer.h"
47#include "packet.h" 47#include "packet.h"
48#include "dispatch.h" 48#include "dispatch.h"
49#include "log.h" 49#include "log.h"
@@ -55,6 +55,7 @@
55#endif 55#endif
56#include "monitor_wrap.h" 56#include "monitor_wrap.h"
57 57
58#include "schnorr.h"
58#include "jpake.h" 59#include "jpake.h"
59 60
60/* 61/*
@@ -359,7 +360,7 @@ auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s,
359} 360}
360 361
361/* 362/*
362 * Being authentication attempt. 363 * Begin authentication attempt.
363 * Note, sets authctxt->postponed while in subprotocol 364 * Note, sets authctxt->postponed while in subprotocol
364 */ 365 */
365static int 366static int
diff --git a/auth2-kbdint.c b/auth2-kbdint.c
index a4fc9e6f7..fae67da6e 100644
--- a/auth2-kbdint.c
+++ b/auth2-kbdint.c
@@ -58,10 +58,6 @@ userauth_kbdint(Authctxt *authctxt)
58 58
59 xfree(devs); 59 xfree(devs);
60 xfree(lang); 60 xfree(lang);
61#ifdef HAVE_CYGWIN
62 if (check_nt_auth(0, authctxt->pw) == 0)
63 authenticated = 0;
64#endif
65 return authenticated; 61 return authenticated;
66} 62}
67 63
diff --git a/auth2-none.c b/auth2-none.c
index 10accfe55..08f2f935f 100644
--- a/auth2-none.c
+++ b/auth2-none.c
@@ -61,10 +61,6 @@ userauth_none(Authctxt *authctxt)
61{ 61{
62 none_enabled = 0; 62 none_enabled = 0;
63 packet_check_eom(); 63 packet_check_eom();
64#ifdef HAVE_CYGWIN
65 if (check_nt_auth(1, authctxt->pw) == 0)
66 return (0);
67#endif
68 if (options.password_authentication) 64 if (options.password_authentication)
69 return (PRIVSEP(auth_password(authctxt, ""))); 65 return (PRIVSEP(auth_password(authctxt, "")));
70 return (0); 66 return (0);
diff --git a/auth2-passwd.c b/auth2-passwd.c
index 421c5c25d..5f1f3635f 100644
--- a/auth2-passwd.c
+++ b/auth2-passwd.c
@@ -68,10 +68,6 @@ userauth_passwd(Authctxt *authctxt)
68 logit("password change not supported"); 68 logit("password change not supported");
69 else if (PRIVSEP(auth_password(authctxt, password)) == 1) 69 else if (PRIVSEP(auth_password(authctxt, password)) == 1)
70 authenticated = 1; 70 authenticated = 1;
71#ifdef HAVE_CYGWIN
72 if (check_nt_auth(1, authctxt->pw) == 0)
73 authenticated = 0;
74#endif
75 memset(password, 0, len); 71 memset(password, 0, len);
76 xfree(password); 72 xfree(password);
77 return authenticated; 73 return authenticated;
diff --git a/auth2-pubkey.c b/auth2-pubkey.c
index 4014444fb..8cb477662 100644
--- a/auth2-pubkey.c
+++ b/auth2-pubkey.c
@@ -170,10 +170,6 @@ done:
170 key_free(key); 170 key_free(key);
171 xfree(pkalg); 171 xfree(pkalg);
172 xfree(pkblob); 172 xfree(pkblob);
173#ifdef HAVE_CYGWIN
174 if (check_nt_auth(0, authctxt->pw) == 0)
175 authenticated = 0;
176#endif
177 return authenticated; 173 return authenticated;
178} 174}
179 175
diff --git a/auth2.c b/auth2.c
index 1f6530ab7..04ae2bdb2 100644
--- a/auth2.c
+++ b/auth2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth2.c,v 1.120 2008/11/04 08:22:12 djm Exp $ */ 1/* $OpenBSD: auth2.c,v 1.121 2009/06/22 05:39:28 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -35,8 +35,8 @@
35#include <string.h> 35#include <string.h>
36#include <unistd.h> 36#include <unistd.h>
37 37
38#include "xmalloc.h"
39#include "atomicio.h" 38#include "atomicio.h"
39#include "xmalloc.h"
40#include "ssh2.h" 40#include "ssh2.h"
41#include "packet.h" 41#include "packet.h"
42#include "log.h" 42#include "log.h"
diff --git a/canohost.c b/canohost.c
index 7138f48d0..22b19bb9f 100644
--- a/canohost.c
+++ b/canohost.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: canohost.c,v 1.64 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: canohost.c,v 1.65 2009/05/27 06:31:25 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -35,6 +35,8 @@
35#include "misc.h" 35#include "misc.h"
36 36
37static void check_ip_options(int, char *); 37static void check_ip_options(int, char *);
38static char *canonical_host_ip = NULL;
39static int cached_port = -1;
38 40
39/* 41/*
40 * Return the canonical name of the host at the other end of the socket. The 42 * Return the canonical name of the host at the other end of the socket. The
@@ -304,6 +306,16 @@ get_local_name(int sock)
304 return get_socket_address(sock, 0, NI_NAMEREQD); 306 return get_socket_address(sock, 0, NI_NAMEREQD);
305} 307}
306 308
309void
310clear_cached_addr(void)
311{
312 if (canonical_host_ip != NULL) {
313 xfree(canonical_host_ip);
314 canonical_host_ip = NULL;
315 }
316 cached_port = -1;
317}
318
307/* 319/*
308 * Returns the IP-address of the remote host as a string. The returned 320 * Returns the IP-address of the remote host as a string. The returned
309 * string must not be freed. 321 * string must not be freed.
@@ -312,8 +324,6 @@ get_local_name(int sock)
312const char * 324const char *
313get_remote_ipaddr(void) 325get_remote_ipaddr(void)
314{ 326{
315 static char *canonical_host_ip = NULL;
316
317 /* Check whether we have cached the ipaddr. */ 327 /* Check whether we have cached the ipaddr. */
318 if (canonical_host_ip == NULL) { 328 if (canonical_host_ip == NULL) {
319 if (packet_connection_is_on_socket()) { 329 if (packet_connection_is_on_socket()) {
@@ -402,13 +412,11 @@ get_peer_port(int sock)
402int 412int
403get_remote_port(void) 413get_remote_port(void)
404{ 414{
405 static int port = -1;
406
407 /* Cache to avoid getpeername() on a dead connection */ 415 /* Cache to avoid getpeername() on a dead connection */
408 if (port == -1) 416 if (cached_port == -1)
409 port = get_port(0); 417 cached_port = get_port(0);
410 418
411 return port; 419 return cached_port;
412} 420}
413 421
414int 422int
diff --git a/canohost.h b/canohost.h
index d9b41ffe5..4c8636f42 100644
--- a/canohost.h
+++ b/canohost.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: canohost.h,v 1.10 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: canohost.h,v 1.11 2009/05/27 06:31:25 andreas Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -24,6 +24,6 @@ char *get_local_name(int);
24int get_remote_port(void); 24int get_remote_port(void);
25int get_local_port(void); 25int get_local_port(void);
26int get_sock_port(int, int); 26int get_sock_port(int, int);
27 27void clear_cached_addr(void);
28 28
29void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *); 29void ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *);
diff --git a/channels.c b/channels.c
index f0b8aa7d0..94065a443 100644
--- a/channels.c
+++ b/channels.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: channels.c,v 1.295 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: channels.c,v 1.296 2009/05/25 06:48:00 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1653,6 +1653,7 @@ channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset)
1653 } 1653 }
1654 return -1; 1654 return -1;
1655 } 1655 }
1656#ifndef BROKEN_TCGETATTR_ICANON
1656 if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') { 1657 if (compat20 && c->isatty && dlen >= 1 && buf[0] != '\r') {
1657 if (tcgetattr(c->wfd, &tio) == 0 && 1658 if (tcgetattr(c->wfd, &tio) == 0 &&
1658 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) { 1659 !(tio.c_lflag & ECHO) && (tio.c_lflag & ICANON)) {
@@ -1666,6 +1667,7 @@ channel_handle_wfd(Channel *c, fd_set *readset, fd_set *writeset)
1666 packet_send(); 1667 packet_send();
1667 } 1668 }
1668 } 1669 }
1670#endif
1669 buffer_consume(&c->output, len); 1671 buffer_consume(&c->output, len);
1670 if (compat20 && len > 0) { 1672 if (compat20 && len > 0) {
1671 c->local_consumed += len; 1673 c->local_consumed += len;
@@ -2431,7 +2433,7 @@ channel_input_status_confirm(int type, u_int32_t seq, void *ctxt)
2431 int id; 2433 int id;
2432 2434
2433 /* Reset keepalive timeout */ 2435 /* Reset keepalive timeout */
2434 keep_alive_timeouts = 0; 2436 packet_set_alive_timeouts(0);
2435 2437
2436 id = packet_get_int(); 2438 id = packet_get_int();
2437 packet_check_eom(); 2439 packet_check_eom();
diff --git a/clientloop.c b/clientloop.c
index cecc20915..cea0d617a 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.209 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.213 2009/07/05 19:28:33 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -109,6 +109,7 @@
109#include "misc.h" 109#include "misc.h"
110#include "match.h" 110#include "match.h"
111#include "msg.h" 111#include "msg.h"
112#include "roaming.h"
112 113
113#ifdef GSSAPI 114#ifdef GSSAPI
114#include "ssh-gss.h" 115#include "ssh-gss.h"
@@ -495,14 +496,14 @@ client_global_request_reply(int type, u_int32_t seq, void *ctxt)
495 xfree(gc); 496 xfree(gc);
496 } 497 }
497 498
498 keep_alive_timeouts = 0; 499 packet_set_alive_timeouts(0);
499} 500}
500 501
501static void 502static void
502server_alive_check(void) 503server_alive_check(void)
503{ 504{
504 if (compat20) { 505 if (compat20) {
505 if (++keep_alive_timeouts > options.server_alive_count_max) { 506 if (packet_inc_alive_timeouts() > options.server_alive_count_max) {
506 logit("Timeout, server not responding."); 507 logit("Timeout, server not responding.");
507 cleanup_exit(255); 508 cleanup_exit(255);
508 } 509 }
@@ -643,8 +644,8 @@ client_suspend_self(Buffer *bin, Buffer *bout, Buffer *berr)
643static void 644static void
644client_process_net_input(fd_set *readset) 645client_process_net_input(fd_set *readset)
645{ 646{
646 int len; 647 int len, cont = 0;
647 char buf[8192]; 648 char buf[SSH_IOBUFSZ];
648 649
649 /* 650 /*
650 * Read input from the server, and add any such data to the buffer of 651 * Read input from the server, and add any such data to the buffer of
@@ -652,8 +653,8 @@ client_process_net_input(fd_set *readset)
652 */ 653 */
653 if (FD_ISSET(connection_in, readset)) { 654 if (FD_ISSET(connection_in, readset)) {
654 /* Read as much as possible. */ 655 /* Read as much as possible. */
655 len = read(connection_in, buf, sizeof(buf)); 656 len = roaming_read(connection_in, buf, sizeof(buf), &cont);
656 if (len == 0) { 657 if (len == 0 && cont == 0) {
657 /* 658 /*
658 * Received EOF. The remote host has closed the 659 * Received EOF. The remote host has closed the
659 * connection. 660 * connection.
@@ -1137,7 +1138,7 @@ static void
1137client_process_input(fd_set *readset) 1138client_process_input(fd_set *readset)
1138{ 1139{
1139 int len; 1140 int len;
1140 char buf[8192]; 1141 char buf[SSH_IOBUFSZ];
1141 1142
1142 /* Read input from stdin. */ 1143 /* Read input from stdin. */
1143 if (FD_ISSET(fileno(stdin), readset)) { 1144 if (FD_ISSET(fileno(stdin), readset)) {
@@ -1494,6 +1495,14 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
1494 /* Stop watching for window change. */ 1495 /* Stop watching for window change. */
1495 signal(SIGWINCH, SIG_DFL); 1496 signal(SIGWINCH, SIG_DFL);
1496 1497
1498 if (compat20) {
1499 packet_start(SSH2_MSG_DISCONNECT);
1500 packet_put_int(SSH2_DISCONNECT_BY_APPLICATION);
1501 packet_put_cstring("disconnected by user");
1502 packet_send();
1503 packet_write_wait();
1504 }
1505
1497 channel_free_all(); 1506 channel_free_all();
1498 1507
1499 if (have_pty) 1508 if (have_pty)
diff --git a/config.h.in b/config.h.in
index a1b719751..939840fc2 100644
--- a/config.h.in
+++ b/config.h.in
@@ -1,5 +1,8 @@
1/* config.h.in. Generated from configure.ac by autoheader. */ 1/* config.h.in. Generated from configure.ac by autoheader. */
2 2
3/* Define if building universal (internal helper macro) */
4#undef AC_APPLE_UNIVERSAL_BUILD
5
3/* Define if you have a getaddrinfo that fails for the all-zeros IPv6 address 6/* Define if you have a getaddrinfo that fails for the all-zeros IPv6 address
4 */ 7 */
5#undef AIX_GETNAMEINFO_HACK 8#undef AIX_GETNAMEINFO_HACK
@@ -68,6 +71,9 @@
68/* Define if your snprintf is busted */ 71/* Define if your snprintf is busted */
69#undef BROKEN_SNPRINTF 72#undef BROKEN_SNPRINTF
70 73
74/* tcgetattr with ICANON may hang */
75#undef BROKEN_TCGETATTR_ICANON
76
71/* updwtmpx is broken (if present) */ 77/* updwtmpx is broken (if present) */
72#undef BROKEN_UPDWTMPX 78#undef BROKEN_UPDWTMPX
73 79
@@ -122,9 +128,12 @@
122/* Builtin PRNG command timeout */ 128/* Builtin PRNG command timeout */
123#undef ENTROPY_TIMEOUT_MSEC 129#undef ENTROPY_TIMEOUT_MSEC
124 130
125/* f_fsid has members */ 131/* fsid_t has member val */
126#undef FSID_HAS_VAL 132#undef FSID_HAS_VAL
127 133
134/* fsid_t has member __val */
135#undef FSID_HAS___VAL
136
128/* Define to 1 if the `getpgrp' function requires zero arguments. */ 137/* Define to 1 if the `getpgrp' function requires zero arguments. */
129#undef GETPGRP_VOID 138#undef GETPGRP_VOID
130 139
@@ -518,6 +527,9 @@
518/* Define to 1 if the system has the type `in_addr_t'. */ 527/* Define to 1 if the system has the type `in_addr_t'. */
519#undef HAVE_IN_ADDR_T 528#undef HAVE_IN_ADDR_T
520 529
530/* Define to 1 if the system has the type `in_port_t'. */
531#undef HAVE_IN_PORT_T
532
521/* Define to 1 if you have the <lastlog.h> header file. */ 533/* Define to 1 if you have the <lastlog.h> header file. */
522#undef HAVE_LASTLOG_H 534#undef HAVE_LASTLOG_H
523 535
@@ -1229,6 +1241,9 @@
1229/* Adjust Linux out-of-memory killer */ 1241/* Adjust Linux out-of-memory killer */
1230#undef OOM_ADJUST 1242#undef OOM_ADJUST
1231 1243
1244/* Define if EVP_DigestUpdate returns void */
1245#undef OPENSSL_EVP_DIGESTUPDATE_VOID
1246
1232/* libcrypto is missing AES 192 and 256 bit functions */ 1247/* libcrypto is missing AES 192 and 256 bit functions */
1233#undef OPENSSL_LOBOTOMISED_AES 1248#undef OPENSSL_LOBOTOMISED_AES
1234 1249
@@ -1312,6 +1327,9 @@
1312/* Use audit debugging module */ 1327/* Use audit debugging module */
1313#undef SSH_AUDIT_EVENTS 1328#undef SSH_AUDIT_EVENTS
1314 1329
1330/* Windows is sensitive to read buffer size */
1331#undef SSH_IOBUFSZ
1332
1315/* non-privileged user for privilege separation */ 1333/* non-privileged user for privilege separation */
1316#undef SSH_PRIVSEP_USER 1334#undef SSH_PRIVSEP_USER
1317 1335
@@ -1406,9 +1424,17 @@
1406/* Define if you want SELinux support. */ 1424/* Define if you want SELinux support. */
1407#undef WITH_SELINUX 1425#undef WITH_SELINUX
1408 1426
1409/* Define to 1 if your processor stores words with the most significant byte 1427/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
1410 first (like Motorola and SPARC, unlike Intel and VAX). */ 1428 significant byte first (like Motorola and SPARC, unlike Intel). */
1411#undef WORDS_BIGENDIAN 1429#if defined AC_APPLE_UNIVERSAL_BUILD
1430# if defined __BIG_ENDIAN__
1431# define WORDS_BIGENDIAN 1
1432# endif
1433#else
1434# ifndef WORDS_BIGENDIAN
1435# undef WORDS_BIGENDIAN
1436# endif
1437#endif
1412 1438
1413/* Define if xauth is found in your path */ 1439/* Define if xauth is found in your path */
1414#undef XAUTH_PATH 1440#undef XAUTH_PATH
diff --git a/configure b/configure
index e8831e5cc..2d999ad47 100755
--- a/configure
+++ b/configure
@@ -1,12 +1,12 @@
1#! /bin/sh 1#! /bin/sh
2# From configure.ac Revision: 1.415 . 2# From configure.ac Revision: 1.427 .
3# Guess values for system-dependent variables and create Makefiles. 3# Guess values for system-dependent variables and create Makefiles.
4# Generated by GNU Autoconf 2.61 for OpenSSH Portable. 4# Generated by GNU Autoconf 2.62 for OpenSSH Portable.
5# 5#
6# Report bugs to <openssh-unix-dev@mindrot.org>. 6# Report bugs to <openssh-unix-dev@mindrot.org>.
7# 7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 9# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10# This configure script is free software; the Free Software Foundation 10# This configure script is free software; the Free Software Foundation
11# gives unlimited permission to copy, distribute and modify it. 11# gives unlimited permission to copy, distribute and modify it.
12## --------------------- ## 12## --------------------- ##
@@ -18,7 +18,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 18if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh 19 emulate sh
20 NULLCMD=: 20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature. 22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"' 23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST 24 setopt NO_GLOB_SUBST
@@ -40,17 +40,45 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40as_cr_digits='0123456789' 40as_cr_digits='0123456789'
41as_cr_alnum=$as_cr_Letters$as_cr_digits 41as_cr_alnum=$as_cr_Letters$as_cr_digits
42 42
43# The user is always right. 43as_nl='
44if test "${PATH_SEPARATOR+set}" != set; then 44'
45 echo "#! /bin/sh" >conf$$.sh 45export as_nl
46 echo "exit 0" >>conf$$.sh 46# Printing a long string crashes Solaris 7 /usr/bin/printf.
47 chmod +x conf$$.sh 47as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 48as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 PATH_SEPARATOR=';' 49as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
50 else 57 else
51 PATH_SEPARATOR=: 58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
52 fi 70 fi
53 rm -f conf$$.sh 71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73fi
74
75# The user is always right.
76if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
54fi 82fi
55 83
56# Support unset when possible. 84# Support unset when possible.
@@ -66,8 +94,6 @@ fi
66# there to prevent editors from complaining about space-tab. 94# there to prevent editors from complaining about space-tab.
67# (If _AS_PATH_WALK were called with IFS unset, it would disable word 95# (If _AS_PATH_WALK were called with IFS unset, it would disable word
68# splitting by setting IFS to empty value.) 96# splitting by setting IFS to empty value.)
69as_nl='
70'
71IFS=" "" $as_nl" 97IFS=" "" $as_nl"
72 98
73# Find who we are. Look in the path if we contain no directory separator. 99# Find who we are. Look in the path if we contain no directory separator.
@@ -90,7 +116,7 @@ if test "x$as_myself" = x; then
90 as_myself=$0 116 as_myself=$0
91fi 117fi
92if test ! -f "$as_myself"; then 118if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; } 120 { (exit 1); exit 1; }
95fi 121fi
96 122
@@ -103,17 +129,10 @@ PS2='> '
103PS4='+ ' 129PS4='+ '
104 130
105# NLS nuisances. 131# NLS nuisances.
106for as_var in \ 132LC_ALL=C
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 133export LC_ALL
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 134LANGUAGE=C
109 LC_TELEPHONE LC_TIME 135export LANGUAGE
110do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116done
117 136
118# Required to use basename. 137# Required to use basename.
119if expr a : '\(a\)' >/dev/null 2>&1 && 138if expr a : '\(a\)' >/dev/null 2>&1 &&
@@ -135,7 +154,7 @@ as_me=`$as_basename -- "$0" ||
135$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 154$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \ 155 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null || 156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138echo X/"$0" | 157$as_echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{ 158 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/ 159 s//\1/
141 q 160 q
@@ -161,7 +180,7 @@ else
161 as_have_required=no 180 as_have_required=no
162fi 181fi
163 182
164 if test $as_have_required = yes && (eval ": 183 if test $as_have_required = yes && (eval ":
165(as_func_return () { 184(as_func_return () {
166 (exit \$1) 185 (exit \$1)
167} 186}
@@ -243,7 +262,7 @@ IFS=$as_save_IFS
243if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh 263 emulate sh
245 NULLCMD=: 264 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature. 266 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"' 267 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST 268 setopt NO_GLOB_SUBST
@@ -264,7 +283,7 @@ _ASEOF
264if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 283if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh 284 emulate sh
266 NULLCMD=: 285 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature. 287 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"' 288 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST 289 setopt NO_GLOB_SUBST
@@ -344,10 +363,10 @@ fi
344 363
345 if test "x$CONFIG_SHELL" != x; then 364 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV 365 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done 367 done
349 export CONFIG_SHELL 368 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351fi 370fi
352 371
353 372
@@ -416,9 +435,10 @@ fi
416 435
417test \$exitcode = 0") || { 436test \$exitcode = 0") || {
418 echo No shell found that supports shell functions. 437 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system, 438 echo Please tell bug-autoconf@gnu.org about your system,
420 echo including any error possibly output before this 439 echo including any error possibly output before this message.
421 echo message 440 echo This can help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
422} 442}
423 443
424 444
@@ -454,7 +474,7 @@ test \$exitcode = 0") || {
454 s/-\n.*// 474 s/-\n.*//
455 ' >$as_me.lineno && 475 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" || 476 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; } 478 { (exit 1); exit 1; }; }
459 479
460 # Don't try to exec as it changes $[0], causing all sort of problems 480 # Don't try to exec as it changes $[0], causing all sort of problems
@@ -482,7 +502,6 @@ case `echo -n x` in
482*) 502*)
483 ECHO_N='-n';; 503 ECHO_N='-n';;
484esac 504esac
485
486if expr a : '\(a\)' >/dev/null 2>&1 && 505if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then 506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr 507 as_expr=expr
@@ -495,19 +514,22 @@ if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file 514 rm -f conf$$.dir/conf$$.file
496else 515else
497 rm -f conf$$.dir 516 rm -f conf$$.dir
498 mkdir conf$$.dir 517 mkdir conf$$.dir 2>/dev/null
499fi 518fi
500echo >conf$$.file 519if (echo >conf$$.file) 2>/dev/null; then
501if ln -s conf$$.file conf$$ 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s' 521 as_ln_s='ln -s'
503 # ... but there are two gotchas: 522 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'. 525 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -p'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
508 as_ln_s='cp -p' 531 as_ln_s='cp -p'
509elif ln conf$$.file conf$$ 2>/dev/null; then 532 fi
510 as_ln_s=ln
511else 533else
512 as_ln_s='cp -p' 534 as_ln_s='cp -p'
513fi 535fi
@@ -532,10 +554,10 @@ else
532 as_test_x=' 554 as_test_x='
533 eval sh -c '\'' 555 eval sh -c '\''
534 if test -d "$1"; then 556 if test -d "$1"; then
535 test -d "$1/."; 557 test -d "$1/.";
536 else 558 else
537 case $1 in 559 case $1 in
538 -*)set "./$1";; 560 -*)set "./$1";;
539 esac; 561 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi 563 ???[sx]*):;;*)false;;esac;fi
@@ -714,6 +736,7 @@ PROG_IPCS
714PROG_TAIL 736PROG_TAIL
715INSTALL_SSH_PRNG_CMDS 737INSTALL_SSH_PRNG_CMDS
716OPENSC_CONFIG 738OPENSC_CONFIG
739KRB5CONF
717PRIVSEP_PATH 740PRIVSEP_PATH
718xauth_path 741xauth_path
719STRIP_OPT 742STRIP_OPT
@@ -727,6 +750,60 @@ TEST_SSH_IPV6
727LIBOBJS 750LIBOBJS
728LTLIBOBJS' 751LTLIBOBJS'
729ac_subst_files='' 752ac_subst_files=''
753ac_user_opts='
754enable_option_checking
755enable_largefile
756with_stackprotect
757with_rpath
758with_cflags
759with_cppflags
760with_ldflags
761with_libs
762with_Werror
763with_solaris_contracts
764with_osfsia
765with_zlib
766with_zlib_version_check
767with_skey
768with_tcp_wrappers
769with_libedit
770with_audit
771with_ssl_dir
772with_openssl_header_check
773with_ssl_engine
774with_pam
775with_rand_helper
776with_prngd_port
777with_prngd_socket
778with_entropy_timeout
779with_privsep_user
780with_sectok
781with_opensc
782with_selinux
783with_kerberos5
784with_privsep_path
785with_xauth
786enable_strip
787with_mantype
788with_md5_passwords
789with_shadow
790with_ipaddr_display
791enable_etc_default_login
792with_default_path
793with_superuser_path
794with_4in6
795with_bsd_auth
796with_pid_dir
797enable_lastlog
798enable_utmp
799enable_utmpx
800enable_wtmp
801enable_wtmpx
802enable_libutil
803enable_pututline
804enable_pututxline
805with_lastlog
806'
730 ac_precious_vars='build_alias 807 ac_precious_vars='build_alias
731host_alias 808host_alias
732target_alias 809target_alias
@@ -741,6 +818,8 @@ CPP'
741# Initialize some variables set by options. 818# Initialize some variables set by options.
742ac_init_help= 819ac_init_help=
743ac_init_version=false 820ac_init_version=false
821ac_unrecognized_opts=
822ac_unrecognized_sep=
744# The variables have the same names as the options, with 823# The variables have the same names as the options, with
745# dashes changed to underlines. 824# dashes changed to underlines.
746cache_file=/dev/null 825cache_file=/dev/null
@@ -839,13 +918,21 @@ do
839 datarootdir=$ac_optarg ;; 918 datarootdir=$ac_optarg ;;
840 919
841 -disable-* | --disable-*) 920 -disable-* | --disable-*)
842 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 921 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
843 # Reject names that are not valid shell variable names. 922 # Reject names that are not valid shell variable names.
844 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
845 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 924 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
846 { (exit 1); exit 1; }; } 925 { (exit 1); exit 1; }; }
847 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 926 ac_useropt_orig=$ac_useropt
848 eval enable_$ac_feature=no ;; 927 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
929 *"
930"enable_$ac_useropt"
931"*) ;;
932 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep=', ';;
934 esac
935 eval enable_$ac_useropt=no ;;
849 936
850 -docdir | --docdir | --docdi | --doc | --do) 937 -docdir | --docdir | --docdi | --doc | --do)
851 ac_prev=docdir ;; 938 ac_prev=docdir ;;
@@ -858,13 +945,21 @@ do
858 dvidir=$ac_optarg ;; 945 dvidir=$ac_optarg ;;
859 946
860 -enable-* | --enable-*) 947 -enable-* | --enable-*)
861 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 948 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
862 # Reject names that are not valid shell variable names. 949 # Reject names that are not valid shell variable names.
863 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
864 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 951 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
865 { (exit 1); exit 1; }; } 952 { (exit 1); exit 1; }; }
866 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 953 ac_useropt_orig=$ac_useropt
867 eval enable_$ac_feature=\$ac_optarg ;; 954 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
956 *"
957"enable_$ac_useropt"
958"*) ;;
959 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
960 ac_unrecognized_sep=', ';;
961 esac
962 eval enable_$ac_useropt=\$ac_optarg ;;
868 963
869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 964 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 965 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -1055,22 +1150,38 @@ do
1055 ac_init_version=: ;; 1150 ac_init_version=: ;;
1056 1151
1057 -with-* | --with-*) 1152 -with-* | --with-*)
1058 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1153 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1059 # Reject names that are not valid shell variable names. 1154 # Reject names that are not valid shell variable names.
1060 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1155 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061 { echo "$as_me: error: invalid package name: $ac_package" >&2 1156 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1062 { (exit 1); exit 1; }; } 1157 { (exit 1); exit 1; }; }
1063 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1158 ac_useropt_orig=$ac_useropt
1064 eval with_$ac_package=\$ac_optarg ;; 1159 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160 case $ac_user_opts in
1161 *"
1162"with_$ac_useropt"
1163"*) ;;
1164 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1165 ac_unrecognized_sep=', ';;
1166 esac
1167 eval with_$ac_useropt=\$ac_optarg ;;
1065 1168
1066 -without-* | --without-*) 1169 -without-* | --without-*)
1067 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1170 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1068 # Reject names that are not valid shell variable names. 1171 # Reject names that are not valid shell variable names.
1069 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070 { echo "$as_me: error: invalid package name: $ac_package" >&2 1173 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1071 { (exit 1); exit 1; }; } 1174 { (exit 1); exit 1; }; }
1072 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 1175 ac_useropt_orig=$ac_useropt
1073 eval with_$ac_package=no ;; 1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1178 *"
1179"with_$ac_useropt"
1180"*) ;;
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1183 esac
1184 eval with_$ac_useropt=no ;;
1074 1185
1075 --x) 1186 --x)
1076 # Obsolete; use --with-x. 1187 # Obsolete; use --with-x.
@@ -1090,7 +1201,7 @@ do
1090 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1091 x_libraries=$ac_optarg ;; 1202 x_libraries=$ac_optarg ;;
1092 1203
1093 -*) { echo "$as_me: error: unrecognized option: $ac_option 1204 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1094Try \`$0 --help' for more information." >&2 1205Try \`$0 --help' for more information." >&2
1095 { (exit 1); exit 1; }; } 1206 { (exit 1); exit 1; }; }
1096 ;; 1207 ;;
@@ -1099,16 +1210,16 @@ Try \`$0 --help' for more information." >&2
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1210 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names. 1211 # Reject names that are not valid shell variable names.
1101 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1212 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1102 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1213 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1103 { (exit 1); exit 1; }; } 1214 { (exit 1); exit 1; }; }
1104 eval $ac_envvar=\$ac_optarg 1215 eval $ac_envvar=\$ac_optarg
1105 export $ac_envvar ;; 1216 export $ac_envvar ;;
1106 1217
1107 *) 1218 *)
1108 # FIXME: should be removed in autoconf 3.0. 1219 # FIXME: should be removed in autoconf 3.0.
1109 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1110 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1112 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1223 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 ;; 1224 ;;
1114 1225
@@ -1117,22 +1228,38 @@ done
1117 1228
1118if test -n "$ac_prev"; then 1229if test -n "$ac_prev"; then
1119 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1230 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1120 { echo "$as_me: error: missing argument to $ac_option" >&2 1231 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1121 { (exit 1); exit 1; }; } 1232 { (exit 1); exit 1; }; }
1122fi 1233fi
1123 1234
1124# Be sure to have absolute directory names. 1235if test -n "$ac_unrecognized_opts"; then
1236 case $enable_option_checking in
1237 no) ;;
1238 fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1239 { (exit 1); exit 1; }; } ;;
1240 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1241 esac
1242fi
1243
1244# Check all directory arguments for consistency.
1125for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1245for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \ 1246 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir 1248 libdir localedir mandir
1129do 1249do
1130 eval ac_val=\$$ac_var 1250 eval ac_val=\$$ac_var
1251 # Remove trailing slashes.
1252 case $ac_val in
1253 */ )
1254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1255 eval $ac_var=\$ac_val;;
1256 esac
1257 # Be sure to have absolute directory names.
1131 case $ac_val in 1258 case $ac_val in
1132 [\\/$]* | ?:[\\/]* ) continue;; 1259 [\\/$]* | ?:[\\/]* ) continue;;
1133 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1134 esac 1261 esac
1135 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1262 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1136 { (exit 1); exit 1; }; } 1263 { (exit 1); exit 1; }; }
1137done 1264done
1138 1265
@@ -1147,7 +1274,7 @@ target=$target_alias
1147if test "x$host_alias" != x; then 1274if test "x$host_alias" != x; then
1148 if test "x$build_alias" = x; then 1275 if test "x$build_alias" = x; then
1149 cross_compiling=maybe 1276 cross_compiling=maybe
1150 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1277 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1151 If a cross compiler is detected then cross compile mode will be used." >&2 1278 If a cross compiler is detected then cross compile mode will be used." >&2
1152 elif test "x$build_alias" != "x$host_alias"; then 1279 elif test "x$build_alias" != "x$host_alias"; then
1153 cross_compiling=yes 1280 cross_compiling=yes
@@ -1163,10 +1290,10 @@ test "$silent" = yes && exec 6>/dev/null
1163ac_pwd=`pwd` && test -n "$ac_pwd" && 1290ac_pwd=`pwd` && test -n "$ac_pwd" &&
1164ac_ls_di=`ls -di .` && 1291ac_ls_di=`ls -di .` &&
1165ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1292ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1166 { echo "$as_me: error: Working directory cannot be determined" >&2 1293 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1167 { (exit 1); exit 1; }; } 1294 { (exit 1); exit 1; }; }
1168test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1295test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1169 { echo "$as_me: error: pwd does not report name of working directory" >&2 1296 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1170 { (exit 1); exit 1; }; } 1297 { (exit 1); exit 1; }; }
1171 1298
1172 1299
@@ -1174,12 +1301,12 @@ test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1174if test -z "$srcdir"; then 1301if test -z "$srcdir"; then
1175 ac_srcdir_defaulted=yes 1302 ac_srcdir_defaulted=yes
1176 # Try the directory containing this script, then the parent directory. 1303 # Try the directory containing this script, then the parent directory.
1177 ac_confdir=`$as_dirname -- "$0" || 1304 ac_confdir=`$as_dirname -- "$as_myself" ||
1178$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1305$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1179 X"$0" : 'X\(//\)[^/]' \| \ 1306 X"$as_myself" : 'X\(//\)[^/]' \| \
1180 X"$0" : 'X\(//\)$' \| \ 1307 X"$as_myself" : 'X\(//\)$' \| \
1181 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1308 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1182echo X"$0" | 1309$as_echo X"$as_myself" |
1183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1184 s//\1/ 1311 s//\1/
1185 q 1312 q
@@ -1206,12 +1333,12 @@ else
1206fi 1333fi
1207if test ! -r "$srcdir/$ac_unique_file"; then 1334if test ! -r "$srcdir/$ac_unique_file"; then
1208 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1335 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1209 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1336 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1210 { (exit 1); exit 1; }; } 1337 { (exit 1); exit 1; }; }
1211fi 1338fi
1212ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1339ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1213ac_abs_confdir=`( 1340ac_abs_confdir=`(
1214 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1341 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1215 { (exit 1); exit 1; }; } 1342 { (exit 1); exit 1; }; }
1216 pwd)` 1343 pwd)`
1217# When building in place, set srcdir=. 1344# When building in place, set srcdir=.
@@ -1260,9 +1387,9 @@ Configuration:
1260 1387
1261Installation directories: 1388Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX 1389 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix] 1390 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1391 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX] 1392 [PREFIX]
1266 1393
1267By default, \`make install' will install all the files in 1394By default, \`make install' will install all the files in
1268\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1395\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
@@ -1272,25 +1399,25 @@ for instance \`--prefix=\$HOME'.
1272For better control, use the options below. 1399For better control, use the options below.
1273 1400
1274Fine tuning of the installation directories: 1401Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin] 1402 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin] 1403 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec] 1404 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1405 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1406 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1407 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --libdir=DIR object code libraries [EPREFIX/lib] 1408 --libdir=DIR object code libraries [EPREFIX/lib]
1282 --includedir=DIR C header files [PREFIX/include] 1409 --includedir=DIR C header files [PREFIX/include]
1283 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1410 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1284 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1411 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1412 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 --infodir=DIR info documentation [DATAROOTDIR/info] 1413 --infodir=DIR info documentation [DATAROOTDIR/info]
1287 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1414 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 --mandir=DIR man documentation [DATAROOTDIR/man] 1415 --mandir=DIR man documentation [DATAROOTDIR/man]
1289 --docdir=DIR documentation root [DATAROOTDIR/doc/openssh] 1416 --docdir=DIR documentation root [DATAROOTDIR/doc/openssh]
1290 --htmldir=DIR html documentation [DOCDIR] 1417 --htmldir=DIR html documentation [DOCDIR]
1291 --dvidir=DIR dvi documentation [DOCDIR] 1418 --dvidir=DIR dvi documentation [DOCDIR]
1292 --pdfdir=DIR pdf documentation [DOCDIR] 1419 --pdfdir=DIR pdf documentation [DOCDIR]
1293 --psdir=DIR ps documentation [DOCDIR] 1420 --psdir=DIR ps documentation [DOCDIR]
1294_ACEOF 1421_ACEOF
1295 1422
1296 cat <<\_ACEOF 1423 cat <<\_ACEOF
@@ -1308,6 +1435,7 @@ if test -n "$ac_init_help"; then
1308 cat <<\_ACEOF 1435 cat <<\_ACEOF
1309 1436
1310Optional Features: 1437Optional Features:
1438 --disable-option-checking ignore unrecognized --enable/--with options
1311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1439 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1440 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313 --disable-largefile omit support for large files 1441 --disable-largefile omit support for large files
@@ -1387,15 +1515,17 @@ fi
1387if test "$ac_init_help" = "recursive"; then 1515if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help. 1516 # If there are subdirs, report their specific --help.
1389 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1390 test -d "$ac_dir" || continue 1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1520 continue
1391 ac_builddir=. 1521 ac_builddir=.
1392 1522
1393case "$ac_dir" in 1523case "$ac_dir" in
1394.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1524.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1395*) 1525*)
1396 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1526 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1397 # A ".." for each directory in $ac_dir_suffix. 1527 # A ".." for each directory in $ac_dir_suffix.
1398 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1399 case $ac_top_builddir_sub in 1529 case $ac_top_builddir_sub in
1400 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1401 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -1431,7 +1561,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1431 echo && 1561 echo &&
1432 $SHELL "$ac_srcdir/configure" --help=recursive 1562 $SHELL "$ac_srcdir/configure" --help=recursive
1433 else 1563 else
1434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1435 fi || ac_status=$? 1565 fi || ac_status=$?
1436 cd "$ac_pwd" || { ac_status=$?; break; } 1566 cd "$ac_pwd" || { ac_status=$?; break; }
1437 done 1567 done
@@ -1441,10 +1571,10 @@ test -n "$ac_init_help" && exit $ac_status
1441if $ac_init_version; then 1571if $ac_init_version; then
1442 cat <<\_ACEOF 1572 cat <<\_ACEOF
1443OpenSSH configure Portable 1573OpenSSH configure Portable
1444generated by GNU Autoconf 2.61 1574generated by GNU Autoconf 2.62
1445 1575
1446Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1576Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14472002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 15772002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1448This configure script is free software; the Free Software Foundation 1578This configure script is free software; the Free Software Foundation
1449gives unlimited permission to copy, distribute and modify it. 1579gives unlimited permission to copy, distribute and modify it.
1450_ACEOF 1580_ACEOF
@@ -1455,7 +1585,7 @@ This file contains any messages produced by compilers while
1455running configure, to aid debugging if configure makes a mistake. 1585running configure, to aid debugging if configure makes a mistake.
1456 1586
1457It was created by OpenSSH $as_me Portable, which was 1587It was created by OpenSSH $as_me Portable, which was
1458generated by GNU Autoconf 2.61. Invocation command line was 1588generated by GNU Autoconf 2.62. Invocation command line was
1459 1589
1460 $ $0 $@ 1590 $ $0 $@
1461 1591
@@ -1491,7 +1621,7 @@ for as_dir in $PATH
1491do 1621do
1492 IFS=$as_save_IFS 1622 IFS=$as_save_IFS
1493 test -z "$as_dir" && as_dir=. 1623 test -z "$as_dir" && as_dir=.
1494 echo "PATH: $as_dir" 1624 $as_echo "PATH: $as_dir"
1495done 1625done
1496IFS=$as_save_IFS 1626IFS=$as_save_IFS
1497 1627
@@ -1526,7 +1656,7 @@ do
1526 | -silent | --silent | --silen | --sile | --sil) 1656 | -silent | --silent | --silen | --sile | --sil)
1527 continue ;; 1657 continue ;;
1528 *\'*) 1658 *\'*)
1529 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1659 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1530 esac 1660 esac
1531 case $ac_pass in 1661 case $ac_pass in
1532 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1662 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
@@ -1578,11 +1708,12 @@ _ASBOX
1578 case $ac_val in #( 1708 case $ac_val in #(
1579 *${as_nl}*) 1709 *${as_nl}*)
1580 case $ac_var in #( 1710 case $ac_var in #(
1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1711 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1582echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 1712$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1583 esac 1713 esac
1584 case $ac_var in #( 1714 case $ac_var in #(
1585 _ | IFS | as_nl) ;; #( 1715 _ | IFS | as_nl) ;; #(
1716 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1586 *) $as_unset $ac_var ;; 1717 *) $as_unset $ac_var ;;
1587 esac ;; 1718 esac ;;
1588 esac 1719 esac
@@ -1612,9 +1743,9 @@ _ASBOX
1612 do 1743 do
1613 eval ac_val=\$$ac_var 1744 eval ac_val=\$$ac_var
1614 case $ac_val in 1745 case $ac_val in
1615 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1746 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1616 esac 1747 esac
1617 echo "$ac_var='\''$ac_val'\''" 1748 $as_echo "$ac_var='\''$ac_val'\''"
1618 done | sort 1749 done | sort
1619 echo 1750 echo
1620 1751
@@ -1629,9 +1760,9 @@ _ASBOX
1629 do 1760 do
1630 eval ac_val=\$$ac_var 1761 eval ac_val=\$$ac_var
1631 case $ac_val in 1762 case $ac_val in
1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1763 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac 1764 esac
1634 echo "$ac_var='\''$ac_val'\''" 1765 $as_echo "$ac_var='\''$ac_val'\''"
1635 done | sort 1766 done | sort
1636 echo 1767 echo
1637 fi 1768 fi
@@ -1647,8 +1778,8 @@ _ASBOX
1647 echo 1778 echo
1648 fi 1779 fi
1649 test "$ac_signal" != 0 && 1780 test "$ac_signal" != 0 &&
1650 echo "$as_me: caught signal $ac_signal" 1781 $as_echo "$as_me: caught signal $ac_signal"
1651 echo "$as_me: exit $exit_status" 1782 $as_echo "$as_me: exit $exit_status"
1652 } >&5 1783 } >&5
1653 rm -f core *.core core.conftest.* && 1784 rm -f core *.core core.conftest.* &&
1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1785 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
@@ -1690,21 +1821,24 @@ _ACEOF
1690 1821
1691 1822
1692# Let the site file select an alternate cache file if it wants to. 1823# Let the site file select an alternate cache file if it wants to.
1693# Prefer explicitly selected file to automatically selected ones. 1824# Prefer an explicitly selected file to automatically selected ones.
1825ac_site_file1=NONE
1826ac_site_file2=NONE
1694if test -n "$CONFIG_SITE"; then 1827if test -n "$CONFIG_SITE"; then
1695 set x "$CONFIG_SITE" 1828 ac_site_file1=$CONFIG_SITE
1696elif test "x$prefix" != xNONE; then 1829elif test "x$prefix" != xNONE; then
1697 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1830 ac_site_file1=$prefix/share/config.site
1831 ac_site_file2=$prefix/etc/config.site
1698else 1832else
1699 set x "$ac_default_prefix/share/config.site" \ 1833 ac_site_file1=$ac_default_prefix/share/config.site
1700 "$ac_default_prefix/etc/config.site" 1834 ac_site_file2=$ac_default_prefix/etc/config.site
1701fi 1835fi
1702shift 1836for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1703for ac_site_file
1704do 1837do
1838 test "x$ac_site_file" = xNONE && continue
1705 if test -r "$ac_site_file"; then 1839 if test -r "$ac_site_file"; then
1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1840 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1707echo "$as_me: loading site script $ac_site_file" >&6;} 1841$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1708 sed 's/^/| /' "$ac_site_file" >&5 1842 sed 's/^/| /' "$ac_site_file" >&5
1709 . "$ac_site_file" 1843 . "$ac_site_file"
1710 fi 1844 fi
@@ -1714,16 +1848,16 @@ if test -r "$cache_file"; then
1714 # Some versions of bash will fail to source /dev/null (special 1848 # Some versions of bash will fail to source /dev/null (special
1715 # files actually), so we avoid doing that. 1849 # files actually), so we avoid doing that.
1716 if test -f "$cache_file"; then 1850 if test -f "$cache_file"; then
1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1851 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1718echo "$as_me: loading cache $cache_file" >&6;} 1852$as_echo "$as_me: loading cache $cache_file" >&6;}
1719 case $cache_file in 1853 case $cache_file in
1720 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1854 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1721 *) . "./$cache_file";; 1855 *) . "./$cache_file";;
1722 esac 1856 esac
1723 fi 1857 fi
1724else 1858else
1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1859 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1726echo "$as_me: creating cache $cache_file" >&6;} 1860$as_echo "$as_me: creating cache $cache_file" >&6;}
1727 >$cache_file 1861 >$cache_file
1728fi 1862fi
1729 1863
@@ -1737,29 +1871,38 @@ for ac_var in $ac_precious_vars; do
1737 eval ac_new_val=\$ac_env_${ac_var}_value 1871 eval ac_new_val=\$ac_env_${ac_var}_value
1738 case $ac_old_set,$ac_new_set in 1872 case $ac_old_set,$ac_new_set in
1739 set,) 1873 set,)
1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1874 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1741echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1875$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1742 ac_cache_corrupted=: ;; 1876 ac_cache_corrupted=: ;;
1743 ,set) 1877 ,set)
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1878 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1745echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1879$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1746 ac_cache_corrupted=: ;; 1880 ac_cache_corrupted=: ;;
1747 ,);; 1881 ,);;
1748 *) 1882 *)
1749 if test "x$ac_old_val" != "x$ac_new_val"; then 1883 if test "x$ac_old_val" != "x$ac_new_val"; then
1750 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1884 # differences in whitespace do not lead to failure.
1751echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1885 ac_old_val_w=`echo x $ac_old_val`
1752 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1886 ac_new_val_w=`echo x $ac_new_val`
1753echo "$as_me: former value: $ac_old_val" >&2;} 1887 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1754 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1888 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1755echo "$as_me: current value: $ac_new_val" >&2;} 1889$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1756 ac_cache_corrupted=: 1890 ac_cache_corrupted=:
1891 else
1892 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1893$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1894 eval $ac_var=\$ac_old_val
1895 fi
1896 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1897$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1898 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1899$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1757 fi;; 1900 fi;;
1758 esac 1901 esac
1759 # Pass precious variables to config.status. 1902 # Pass precious variables to config.status.
1760 if test "$ac_new_set" = set; then 1903 if test "$ac_new_set" = set; then
1761 case $ac_new_val in 1904 case $ac_new_val in
1762 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1905 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1763 *) ac_arg=$ac_var=$ac_new_val ;; 1906 *) ac_arg=$ac_var=$ac_new_val ;;
1764 esac 1907 esac
1765 case " $ac_configure_args " in 1908 case " $ac_configure_args " in
@@ -1769,10 +1912,10 @@ echo "$as_me: current value: $ac_new_val" >&2;}
1769 fi 1912 fi
1770done 1913done
1771if $ac_cache_corrupted; then 1914if $ac_cache_corrupted; then
1772 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1915 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1773echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1916$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1774 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1917 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1775echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1918$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1776 { (exit 1); exit 1; }; } 1919 { (exit 1); exit 1; }; }
1777fi 1920fi
1778 1921
@@ -1820,10 +1963,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
1820if test -n "$ac_tool_prefix"; then 1963if test -n "$ac_tool_prefix"; then
1821 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1964 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1822set dummy ${ac_tool_prefix}gcc; ac_word=$2 1965set dummy ${ac_tool_prefix}gcc; ac_word=$2
1823{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1966{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1824echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1967$as_echo_n "checking for $ac_word... " >&6; }
1825if test "${ac_cv_prog_CC+set}" = set; then 1968if test "${ac_cv_prog_CC+set}" = set; then
1826 echo $ECHO_N "(cached) $ECHO_C" >&6 1969 $as_echo_n "(cached) " >&6
1827else 1970else
1828 if test -n "$CC"; then 1971 if test -n "$CC"; then
1829 ac_cv_prog_CC="$CC" # Let the user override the test. 1972 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -1836,7 +1979,7 @@ do
1836 for ac_exec_ext in '' $ac_executable_extensions; do 1979 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 1980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1838 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1981 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1982 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1840 break 2 1983 break 2
1841 fi 1984 fi
1842done 1985done
@@ -1847,11 +1990,11 @@ fi
1847fi 1990fi
1848CC=$ac_cv_prog_CC 1991CC=$ac_cv_prog_CC
1849if test -n "$CC"; then 1992if test -n "$CC"; then
1850 { echo "$as_me:$LINENO: result: $CC" >&5 1993 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1851echo "${ECHO_T}$CC" >&6; } 1994$as_echo "$CC" >&6; }
1852else 1995else
1853 { echo "$as_me:$LINENO: result: no" >&5 1996 { $as_echo "$as_me:$LINENO: result: no" >&5
1854echo "${ECHO_T}no" >&6; } 1997$as_echo "no" >&6; }
1855fi 1998fi
1856 1999
1857 2000
@@ -1860,10 +2003,10 @@ if test -z "$ac_cv_prog_CC"; then
1860 ac_ct_CC=$CC 2003 ac_ct_CC=$CC
1861 # Extract the first word of "gcc", so it can be a program name with args. 2004 # Extract the first word of "gcc", so it can be a program name with args.
1862set dummy gcc; ac_word=$2 2005set dummy gcc; ac_word=$2
1863{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2006{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1864echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2007$as_echo_n "checking for $ac_word... " >&6; }
1865if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2008if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6 2009 $as_echo_n "(cached) " >&6
1867else 2010else
1868 if test -n "$ac_ct_CC"; then 2011 if test -n "$ac_ct_CC"; then
1869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2012 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -1876,7 +2019,7 @@ do
1876 for ac_exec_ext in '' $ac_executable_extensions; do 2019 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1878 ac_cv_prog_ac_ct_CC="gcc" 2021 ac_cv_prog_ac_ct_CC="gcc"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1880 break 2 2023 break 2
1881 fi 2024 fi
1882done 2025done
@@ -1887,11 +2030,11 @@ fi
1887fi 2030fi
1888ac_ct_CC=$ac_cv_prog_ac_ct_CC 2031ac_ct_CC=$ac_cv_prog_ac_ct_CC
1889if test -n "$ac_ct_CC"; then 2032if test -n "$ac_ct_CC"; then
1890 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2033 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1891echo "${ECHO_T}$ac_ct_CC" >&6; } 2034$as_echo "$ac_ct_CC" >&6; }
1892else 2035else
1893 { echo "$as_me:$LINENO: result: no" >&5 2036 { $as_echo "$as_me:$LINENO: result: no" >&5
1894echo "${ECHO_T}no" >&6; } 2037$as_echo "no" >&6; }
1895fi 2038fi
1896 2039
1897 if test "x$ac_ct_CC" = x; then 2040 if test "x$ac_ct_CC" = x; then
@@ -1899,10 +2042,10 @@ fi
1899 else 2042 else
1900 case $cross_compiling:$ac_tool_warned in 2043 case $cross_compiling:$ac_tool_warned in
1901yes:) 2044yes:)
1902{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2045{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1903whose name does not start with the host triplet. If you think this 2046whose name does not start with the host triplet. If you think this
1904configuration is useful to you, please write to autoconf@gnu.org." >&5 2047configuration is useful to you, please write to autoconf@gnu.org." >&5
1905echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2048$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1906whose name does not start with the host triplet. If you think this 2049whose name does not start with the host triplet. If you think this
1907configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2050configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1908ac_tool_warned=yes ;; 2051ac_tool_warned=yes ;;
@@ -1917,10 +2060,10 @@ if test -z "$CC"; then
1917 if test -n "$ac_tool_prefix"; then 2060 if test -n "$ac_tool_prefix"; then
1918 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1919set dummy ${ac_tool_prefix}cc; ac_word=$2 2062set dummy ${ac_tool_prefix}cc; ac_word=$2
1920{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2063{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1921echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2064$as_echo_n "checking for $ac_word... " >&6; }
1922if test "${ac_cv_prog_CC+set}" = set; then 2065if test "${ac_cv_prog_CC+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6 2066 $as_echo_n "(cached) " >&6
1924else 2067else
1925 if test -n "$CC"; then 2068 if test -n "$CC"; then
1926 ac_cv_prog_CC="$CC" # Let the user override the test. 2069 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -1933,7 +2076,7 @@ do
1933 for ac_exec_ext in '' $ac_executable_extensions; do 2076 for ac_exec_ext in '' $ac_executable_extensions; do
1934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1935 ac_cv_prog_CC="${ac_tool_prefix}cc" 2078 ac_cv_prog_CC="${ac_tool_prefix}cc"
1936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2079 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1937 break 2 2080 break 2
1938 fi 2081 fi
1939done 2082done
@@ -1944,11 +2087,11 @@ fi
1944fi 2087fi
1945CC=$ac_cv_prog_CC 2088CC=$ac_cv_prog_CC
1946if test -n "$CC"; then 2089if test -n "$CC"; then
1947 { echo "$as_me:$LINENO: result: $CC" >&5 2090 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1948echo "${ECHO_T}$CC" >&6; } 2091$as_echo "$CC" >&6; }
1949else 2092else
1950 { echo "$as_me:$LINENO: result: no" >&5 2093 { $as_echo "$as_me:$LINENO: result: no" >&5
1951echo "${ECHO_T}no" >&6; } 2094$as_echo "no" >&6; }
1952fi 2095fi
1953 2096
1954 2097
@@ -1957,10 +2100,10 @@ fi
1957if test -z "$CC"; then 2100if test -z "$CC"; then
1958 # Extract the first word of "cc", so it can be a program name with args. 2101 # Extract the first word of "cc", so it can be a program name with args.
1959set dummy cc; ac_word=$2 2102set dummy cc; ac_word=$2
1960{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2103{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1961echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2104$as_echo_n "checking for $ac_word... " >&6; }
1962if test "${ac_cv_prog_CC+set}" = set; then 2105if test "${ac_cv_prog_CC+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6 2106 $as_echo_n "(cached) " >&6
1964else 2107else
1965 if test -n "$CC"; then 2108 if test -n "$CC"; then
1966 ac_cv_prog_CC="$CC" # Let the user override the test. 2109 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -1978,7 +2121,7 @@ do
1978 continue 2121 continue
1979 fi 2122 fi
1980 ac_cv_prog_CC="cc" 2123 ac_cv_prog_CC="cc"
1981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1982 break 2 2125 break 2
1983 fi 2126 fi
1984done 2127done
@@ -2001,11 +2144,11 @@ fi
2001fi 2144fi
2002CC=$ac_cv_prog_CC 2145CC=$ac_cv_prog_CC
2003if test -n "$CC"; then 2146if test -n "$CC"; then
2004 { echo "$as_me:$LINENO: result: $CC" >&5 2147 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2005echo "${ECHO_T}$CC" >&6; } 2148$as_echo "$CC" >&6; }
2006else 2149else
2007 { echo "$as_me:$LINENO: result: no" >&5 2150 { $as_echo "$as_me:$LINENO: result: no" >&5
2008echo "${ECHO_T}no" >&6; } 2151$as_echo "no" >&6; }
2009fi 2152fi
2010 2153
2011 2154
@@ -2016,10 +2159,10 @@ if test -z "$CC"; then
2016 do 2159 do
2017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2018set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2161set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2019{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2162{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2020echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2163$as_echo_n "checking for $ac_word... " >&6; }
2021if test "${ac_cv_prog_CC+set}" = set; then 2164if test "${ac_cv_prog_CC+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6 2165 $as_echo_n "(cached) " >&6
2023else 2166else
2024 if test -n "$CC"; then 2167 if test -n "$CC"; then
2025 ac_cv_prog_CC="$CC" # Let the user override the test. 2168 ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2032,7 +2175,7 @@ do
2032 for ac_exec_ext in '' $ac_executable_extensions; do 2175 for ac_exec_ext in '' $ac_executable_extensions; do
2033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2034 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2177 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2178 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 break 2 2179 break 2
2037 fi 2180 fi
2038done 2181done
@@ -2043,11 +2186,11 @@ fi
2043fi 2186fi
2044CC=$ac_cv_prog_CC 2187CC=$ac_cv_prog_CC
2045if test -n "$CC"; then 2188if test -n "$CC"; then
2046 { echo "$as_me:$LINENO: result: $CC" >&5 2189 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2047echo "${ECHO_T}$CC" >&6; } 2190$as_echo "$CC" >&6; }
2048else 2191else
2049 { echo "$as_me:$LINENO: result: no" >&5 2192 { $as_echo "$as_me:$LINENO: result: no" >&5
2050echo "${ECHO_T}no" >&6; } 2193$as_echo "no" >&6; }
2051fi 2194fi
2052 2195
2053 2196
@@ -2060,10 +2203,10 @@ if test -z "$CC"; then
2060do 2203do
2061 # Extract the first word of "$ac_prog", so it can be a program name with args. 2204 # Extract the first word of "$ac_prog", so it can be a program name with args.
2062set dummy $ac_prog; ac_word=$2 2205set dummy $ac_prog; ac_word=$2
2063{ echo "$as_me:$LINENO: checking for $ac_word" >&5 2206{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2064echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 2207$as_echo_n "checking for $ac_word... " >&6; }
2065if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 2208if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6 2209 $as_echo_n "(cached) " >&6
2067else 2210else
2068 if test -n "$ac_ct_CC"; then 2211 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2076,7 +2219,7 @@ do
2076 for ac_exec_ext in '' $ac_executable_extensions; do 2219 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2078 ac_cv_prog_ac_ct_CC="$ac_prog" 2221 ac_cv_prog_ac_ct_CC="$ac_prog"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2222 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2 2223 break 2
2081 fi 2224 fi
2082done 2225done
@@ -2087,11 +2230,11 @@ fi
2087fi 2230fi
2088ac_ct_CC=$ac_cv_prog_ac_ct_CC 2231ac_ct_CC=$ac_cv_prog_ac_ct_CC
2089if test -n "$ac_ct_CC"; then 2232if test -n "$ac_ct_CC"; then
2090 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2233 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2091echo "${ECHO_T}$ac_ct_CC" >&6; } 2234$as_echo "$ac_ct_CC" >&6; }
2092else 2235else
2093 { echo "$as_me:$LINENO: result: no" >&5 2236 { $as_echo "$as_me:$LINENO: result: no" >&5
2094echo "${ECHO_T}no" >&6; } 2237$as_echo "no" >&6; }
2095fi 2238fi
2096 2239
2097 2240
@@ -2103,10 +2246,10 @@ done
2103 else 2246 else
2104 case $cross_compiling:$ac_tool_warned in 2247 case $cross_compiling:$ac_tool_warned in
2105yes:) 2248yes:)
2106{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2249{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2107whose name does not start with the host triplet. If you think this 2250whose name does not start with the host triplet. If you think this
2108configuration is useful to you, please write to autoconf@gnu.org." >&5 2251configuration is useful to you, please write to autoconf@gnu.org." >&5
2109echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 2252$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2110whose name does not start with the host triplet. If you think this 2253whose name does not start with the host triplet. If you think this
2111configuration is useful to you, please write to autoconf@gnu.org." >&2;} 2254configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2112ac_tool_warned=yes ;; 2255ac_tool_warned=yes ;;
@@ -2118,44 +2261,48 @@ fi
2118fi 2261fi
2119 2262
2120 2263
2121test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2264test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2122See \`config.log' for more details." >&5 2265See \`config.log' for more details." >&5
2123echo "$as_me: error: no acceptable C compiler found in \$PATH 2266$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2124See \`config.log' for more details." >&2;} 2267See \`config.log' for more details." >&2;}
2125 { (exit 1); exit 1; }; } 2268 { (exit 1); exit 1; }; }
2126 2269
2127# Provide some information about the compiler. 2270# Provide some information about the compiler.
2128echo "$as_me:$LINENO: checking for C compiler version" >&5 2271$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2129ac_compiler=`set X $ac_compile; echo $2` 2272set X $ac_compile
2273ac_compiler=$2
2130{ (ac_try="$ac_compiler --version >&5" 2274{ (ac_try="$ac_compiler --version >&5"
2131case "(($ac_try" in 2275case "(($ac_try" in
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;; 2277 *) ac_try_echo=$ac_try;;
2134esac 2278esac
2135eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2279eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2280$as_echo "$ac_try_echo") >&5
2136 (eval "$ac_compiler --version >&5") 2>&5 2281 (eval "$ac_compiler --version >&5") 2>&5
2137 ac_status=$? 2282 ac_status=$?
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2283 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); } 2284 (exit $ac_status); }
2140{ (ac_try="$ac_compiler -v >&5" 2285{ (ac_try="$ac_compiler -v >&5"
2141case "(($ac_try" in 2286case "(($ac_try" in
2142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2143 *) ac_try_echo=$ac_try;; 2288 *) ac_try_echo=$ac_try;;
2144esac 2289esac
2145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2291$as_echo "$ac_try_echo") >&5
2146 (eval "$ac_compiler -v >&5") 2>&5 2292 (eval "$ac_compiler -v >&5") 2>&5
2147 ac_status=$? 2293 ac_status=$?
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); } 2295 (exit $ac_status); }
2150{ (ac_try="$ac_compiler -V >&5" 2296{ (ac_try="$ac_compiler -V >&5"
2151case "(($ac_try" in 2297case "(($ac_try" in
2152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2153 *) ac_try_echo=$ac_try;; 2299 *) ac_try_echo=$ac_try;;
2154esac 2300esac
2155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2302$as_echo "$ac_try_echo") >&5
2156 (eval "$ac_compiler -V >&5") 2>&5 2303 (eval "$ac_compiler -V >&5") 2>&5
2157 ac_status=$? 2304 ac_status=$?
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); } 2306 (exit $ac_status); }
2160 2307
2161cat >conftest.$ac_ext <<_ACEOF 2308cat >conftest.$ac_ext <<_ACEOF
@@ -2174,27 +2321,22 @@ main ()
2174} 2321}
2175_ACEOF 2322_ACEOF
2176ac_clean_files_save=$ac_clean_files 2323ac_clean_files_save=$ac_clean_files
2177ac_clean_files="$ac_clean_files a.out a.exe b.out" 2324ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2178# Try to create an executable without -o first, disregard a.out. 2325# Try to create an executable without -o first, disregard a.out.
2179# It will help us diagnose broken compilers, and finding out an intuition 2326# It will help us diagnose broken compilers, and finding out an intuition
2180# of exeext. 2327# of exeext.
2181{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2328{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2182echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2329$as_echo_n "checking for C compiler default output file name... " >&6; }
2183ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2330ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2184# 2331
2185# List of possible output files, starting from the most likely. 2332# The possible output files:
2186# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2333ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2187# only as a last resort. b.out is created by i960 compilers. 2334
2188ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2189#
2190# The IRIX 6 linker writes into existing files which may not be
2191# executable, retaining their permissions. Remove them first so a
2192# subsequent execution test works.
2193ac_rmfiles= 2335ac_rmfiles=
2194for ac_file in $ac_files 2336for ac_file in $ac_files
2195do 2337do
2196 case $ac_file in 2338 case $ac_file in
2197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2198 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2340 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2199 esac 2341 esac
2200done 2342done
@@ -2205,10 +2347,11 @@ case "(($ac_try" in
2205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2206 *) ac_try_echo=$ac_try;; 2348 *) ac_try_echo=$ac_try;;
2207esac 2349esac
2208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2350eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2351$as_echo "$ac_try_echo") >&5
2209 (eval "$ac_link_default") 2>&5 2352 (eval "$ac_link_default") 2>&5
2210 ac_status=$? 2353 ac_status=$?
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; then 2355 (exit $ac_status); }; then
2213 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2356 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2214# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2357# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
@@ -2219,7 +2362,7 @@ for ac_file in $ac_files ''
2219do 2362do
2220 test -f "$ac_file" || continue 2363 test -f "$ac_file" || continue
2221 case $ac_file in 2364 case $ac_file in
2222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2365 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2223 ;; 2366 ;;
2224 [ab].out ) 2367 [ab].out )
2225 # We found the default executable, but exeext='' is most 2368 # We found the default executable, but exeext='' is most
@@ -2246,15 +2389,15 @@ else
2246 ac_file='' 2389 ac_file=''
2247fi 2390fi
2248 2391
2249{ echo "$as_me:$LINENO: result: $ac_file" >&5 2392{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2250echo "${ECHO_T}$ac_file" >&6; } 2393$as_echo "$ac_file" >&6; }
2251if test -z "$ac_file"; then 2394if test -z "$ac_file"; then
2252 echo "$as_me: failed program was:" >&5 2395 $as_echo "$as_me: failed program was:" >&5
2253sed 's/^/| /' conftest.$ac_ext >&5 2396sed 's/^/| /' conftest.$ac_ext >&5
2254 2397
2255{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2398{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2256See \`config.log' for more details." >&5 2399See \`config.log' for more details." >&5
2257echo "$as_me: error: C compiler cannot create executables 2400$as_echo "$as_me: error: C compiler cannot create executables
2258See \`config.log' for more details." >&2;} 2401See \`config.log' for more details." >&2;}
2259 { (exit 77); exit 77; }; } 2402 { (exit 77); exit 77; }; }
2260fi 2403fi
@@ -2263,8 +2406,8 @@ ac_exeext=$ac_cv_exeext
2263 2406
2264# Check that the compiler produces executables we can run. If not, either 2407# Check that the compiler produces executables we can run. If not, either
2265# the compiler is broken, or we cross compile. 2408# the compiler is broken, or we cross compile.
2266{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2409{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2267echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2410$as_echo_n "checking whether the C compiler works... " >&6; }
2268# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 2411# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2269# If not cross compiling, check that we can run a simple program. 2412# If not cross compiling, check that we can run a simple program.
2270if test "$cross_compiling" != yes; then 2413if test "$cross_compiling" != yes; then
@@ -2273,49 +2416,51 @@ if test "$cross_compiling" != yes; then
2273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2274 *) ac_try_echo=$ac_try;; 2417 *) ac_try_echo=$ac_try;;
2275esac 2418esac
2276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2419eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2420$as_echo "$ac_try_echo") >&5
2277 (eval "$ac_try") 2>&5 2421 (eval "$ac_try") 2>&5
2278 ac_status=$? 2422 ac_status=$?
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; }; then 2424 (exit $ac_status); }; }; then
2281 cross_compiling=no 2425 cross_compiling=no
2282 else 2426 else
2283 if test "$cross_compiling" = maybe; then 2427 if test "$cross_compiling" = maybe; then
2284 cross_compiling=yes 2428 cross_compiling=yes
2285 else 2429 else
2286 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2430 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2287If you meant to cross compile, use \`--host'. 2431If you meant to cross compile, use \`--host'.
2288See \`config.log' for more details." >&5 2432See \`config.log' for more details." >&5
2289echo "$as_me: error: cannot run C compiled programs. 2433$as_echo "$as_me: error: cannot run C compiled programs.
2290If you meant to cross compile, use \`--host'. 2434If you meant to cross compile, use \`--host'.
2291See \`config.log' for more details." >&2;} 2435See \`config.log' for more details." >&2;}
2292 { (exit 1); exit 1; }; } 2436 { (exit 1); exit 1; }; }
2293 fi 2437 fi
2294 fi 2438 fi
2295fi 2439fi
2296{ echo "$as_me:$LINENO: result: yes" >&5 2440{ $as_echo "$as_me:$LINENO: result: yes" >&5
2297echo "${ECHO_T}yes" >&6; } 2441$as_echo "yes" >&6; }
2298 2442
2299rm -f a.out a.exe conftest$ac_cv_exeext b.out 2443rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2300ac_clean_files=$ac_clean_files_save 2444ac_clean_files=$ac_clean_files_save
2301# Check that the compiler produces executables we can run. If not, either 2445# Check that the compiler produces executables we can run. If not, either
2302# the compiler is broken, or we cross compile. 2446# the compiler is broken, or we cross compile.
2303{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2447{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2304echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2448$as_echo_n "checking whether we are cross compiling... " >&6; }
2305{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2449{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2306echo "${ECHO_T}$cross_compiling" >&6; } 2450$as_echo "$cross_compiling" >&6; }
2307 2451
2308{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2452{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2309echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2453$as_echo_n "checking for suffix of executables... " >&6; }
2310if { (ac_try="$ac_link" 2454if { (ac_try="$ac_link"
2311case "(($ac_try" in 2455case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;; 2457 *) ac_try_echo=$ac_try;;
2314esac 2458esac
2315eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2459eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2460$as_echo "$ac_try_echo") >&5
2316 (eval "$ac_link") 2>&5 2461 (eval "$ac_link") 2>&5
2317 ac_status=$? 2462 ac_status=$?
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; then 2464 (exit $ac_status); }; then
2320 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2465 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2321# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2466# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
@@ -2324,31 +2469,31 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2324for ac_file in conftest.exe conftest conftest.*; do 2469for ac_file in conftest.exe conftest conftest.*; do
2325 test -f "$ac_file" || continue 2470 test -f "$ac_file" || continue
2326 case $ac_file in 2471 case $ac_file in
2327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2328 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2329 break;; 2474 break;;
2330 * ) break;; 2475 * ) break;;
2331 esac 2476 esac
2332done 2477done
2333else 2478else
2334 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2479 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2335See \`config.log' for more details." >&5 2480See \`config.log' for more details." >&5
2336echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2481$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2337See \`config.log' for more details." >&2;} 2482See \`config.log' for more details." >&2;}
2338 { (exit 1); exit 1; }; } 2483 { (exit 1); exit 1; }; }
2339fi 2484fi
2340 2485
2341rm -f conftest$ac_cv_exeext 2486rm -f conftest$ac_cv_exeext
2342{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2487{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2343echo "${ECHO_T}$ac_cv_exeext" >&6; } 2488$as_echo "$ac_cv_exeext" >&6; }
2344 2489
2345rm -f conftest.$ac_ext 2490rm -f conftest.$ac_ext
2346EXEEXT=$ac_cv_exeext 2491EXEEXT=$ac_cv_exeext
2347ac_exeext=$EXEEXT 2492ac_exeext=$EXEEXT
2348{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2493{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2349echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2494$as_echo_n "checking for suffix of object files... " >&6; }
2350if test "${ac_cv_objext+set}" = set; then 2495if test "${ac_cv_objext+set}" = set; then
2351 echo $ECHO_N "(cached) $ECHO_C" >&6 2496 $as_echo_n "(cached) " >&6
2352else 2497else
2353 cat >conftest.$ac_ext <<_ACEOF 2498 cat >conftest.$ac_ext <<_ACEOF
2354/* confdefs.h. */ 2499/* confdefs.h. */
@@ -2371,40 +2516,41 @@ case "(($ac_try" in
2371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2372 *) ac_try_echo=$ac_try;; 2517 *) ac_try_echo=$ac_try;;
2373esac 2518esac
2374eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2520$as_echo "$ac_try_echo") >&5
2375 (eval "$ac_compile") 2>&5 2521 (eval "$ac_compile") 2>&5
2376 ac_status=$? 2522 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; then 2524 (exit $ac_status); }; then
2379 for ac_file in conftest.o conftest.obj conftest.*; do 2525 for ac_file in conftest.o conftest.obj conftest.*; do
2380 test -f "$ac_file" || continue; 2526 test -f "$ac_file" || continue;
2381 case $ac_file in 2527 case $ac_file in
2382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2383 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2384 break;; 2530 break;;
2385 esac 2531 esac
2386done 2532done
2387else 2533else
2388 echo "$as_me: failed program was:" >&5 2534 $as_echo "$as_me: failed program was:" >&5
2389sed 's/^/| /' conftest.$ac_ext >&5 2535sed 's/^/| /' conftest.$ac_ext >&5
2390 2536
2391{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2537{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2392See \`config.log' for more details." >&5 2538See \`config.log' for more details." >&5
2393echo "$as_me: error: cannot compute suffix of object files: cannot compile 2539$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2394See \`config.log' for more details." >&2;} 2540See \`config.log' for more details." >&2;}
2395 { (exit 1); exit 1; }; } 2541 { (exit 1); exit 1; }; }
2396fi 2542fi
2397 2543
2398rm -f conftest.$ac_cv_objext conftest.$ac_ext 2544rm -f conftest.$ac_cv_objext conftest.$ac_ext
2399fi 2545fi
2400{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2546{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2401echo "${ECHO_T}$ac_cv_objext" >&6; } 2547$as_echo "$ac_cv_objext" >&6; }
2402OBJEXT=$ac_cv_objext 2548OBJEXT=$ac_cv_objext
2403ac_objext=$OBJEXT 2549ac_objext=$OBJEXT
2404{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2550{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2405echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } 2551$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2406if test "${ac_cv_c_compiler_gnu+set}" = set; then 2552if test "${ac_cv_c_compiler_gnu+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6 2553 $as_echo_n "(cached) " >&6
2408else 2554else
2409 cat >conftest.$ac_ext <<_ACEOF 2555 cat >conftest.$ac_ext <<_ACEOF
2410/* confdefs.h. */ 2556/* confdefs.h. */
@@ -2430,20 +2576,21 @@ case "(($ac_try" in
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;; 2577 *) ac_try_echo=$ac_try;;
2432esac 2578esac
2433eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2580$as_echo "$ac_try_echo") >&5
2434 (eval "$ac_compile") 2>conftest.er1 2581 (eval "$ac_compile") 2>conftest.er1
2435 ac_status=$? 2582 ac_status=$?
2436 grep -v '^ *+' conftest.er1 >conftest.err 2583 grep -v '^ *+' conftest.er1 >conftest.err
2437 rm -f conftest.er1 2584 rm -f conftest.er1
2438 cat conftest.err >&5 2585 cat conftest.err >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); } && { 2587 (exit $ac_status); } && {
2441 test -z "$ac_c_werror_flag" || 2588 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err 2589 test ! -s conftest.err
2443 } && test -s conftest.$ac_objext; then 2590 } && test -s conftest.$ac_objext; then
2444 ac_compiler_gnu=yes 2591 ac_compiler_gnu=yes
2445else 2592else
2446 echo "$as_me: failed program was:" >&5 2593 $as_echo "$as_me: failed program was:" >&5
2447sed 's/^/| /' conftest.$ac_ext >&5 2594sed 's/^/| /' conftest.$ac_ext >&5
2448 2595
2449 ac_compiler_gnu=no 2596 ac_compiler_gnu=no
@@ -2453,15 +2600,19 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453ac_cv_c_compiler_gnu=$ac_compiler_gnu 2600ac_cv_c_compiler_gnu=$ac_compiler_gnu
2454 2601
2455fi 2602fi
2456{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2603{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2457echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2604$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2458GCC=`test $ac_compiler_gnu = yes && echo yes` 2605if test $ac_compiler_gnu = yes; then
2606 GCC=yes
2607else
2608 GCC=
2609fi
2459ac_test_CFLAGS=${CFLAGS+set} 2610ac_test_CFLAGS=${CFLAGS+set}
2460ac_save_CFLAGS=$CFLAGS 2611ac_save_CFLAGS=$CFLAGS
2461{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2612{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2462echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2613$as_echo_n "checking whether $CC accepts -g... " >&6; }
2463if test "${ac_cv_prog_cc_g+set}" = set; then 2614if test "${ac_cv_prog_cc_g+set}" = set; then
2464 echo $ECHO_N "(cached) $ECHO_C" >&6 2615 $as_echo_n "(cached) " >&6
2465else 2616else
2466 ac_save_c_werror_flag=$ac_c_werror_flag 2617 ac_save_c_werror_flag=$ac_c_werror_flag
2467 ac_c_werror_flag=yes 2618 ac_c_werror_flag=yes
@@ -2488,20 +2639,21 @@ case "(($ac_try" in
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;; 2640 *) ac_try_echo=$ac_try;;
2490esac 2641esac
2491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2643$as_echo "$ac_try_echo") >&5
2492 (eval "$ac_compile") 2>conftest.er1 2644 (eval "$ac_compile") 2>conftest.er1
2493 ac_status=$? 2645 ac_status=$?
2494 grep -v '^ *+' conftest.er1 >conftest.err 2646 grep -v '^ *+' conftest.er1 >conftest.err
2495 rm -f conftest.er1 2647 rm -f conftest.er1
2496 cat conftest.err >&5 2648 cat conftest.err >&5
2497 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2498 (exit $ac_status); } && { 2650 (exit $ac_status); } && {
2499 test -z "$ac_c_werror_flag" || 2651 test -z "$ac_c_werror_flag" ||
2500 test ! -s conftest.err 2652 test ! -s conftest.err
2501 } && test -s conftest.$ac_objext; then 2653 } && test -s conftest.$ac_objext; then
2502 ac_cv_prog_cc_g=yes 2654 ac_cv_prog_cc_g=yes
2503else 2655else
2504 echo "$as_me: failed program was:" >&5 2656 $as_echo "$as_me: failed program was:" >&5
2505sed 's/^/| /' conftest.$ac_ext >&5 2657sed 's/^/| /' conftest.$ac_ext >&5
2506 2658
2507 CFLAGS="" 2659 CFLAGS=""
@@ -2526,20 +2678,21 @@ case "(($ac_try" in
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;; 2679 *) ac_try_echo=$ac_try;;
2528esac 2680esac
2529eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2681eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2682$as_echo "$ac_try_echo") >&5
2530 (eval "$ac_compile") 2>conftest.er1 2683 (eval "$ac_compile") 2>conftest.er1
2531 ac_status=$? 2684 ac_status=$?
2532 grep -v '^ *+' conftest.er1 >conftest.err 2685 grep -v '^ *+' conftest.er1 >conftest.err
2533 rm -f conftest.er1 2686 rm -f conftest.er1
2534 cat conftest.err >&5 2687 cat conftest.err >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); } && { 2689 (exit $ac_status); } && {
2537 test -z "$ac_c_werror_flag" || 2690 test -z "$ac_c_werror_flag" ||
2538 test ! -s conftest.err 2691 test ! -s conftest.err
2539 } && test -s conftest.$ac_objext; then 2692 } && test -s conftest.$ac_objext; then
2540 : 2693 :
2541else 2694else
2542 echo "$as_me: failed program was:" >&5 2695 $as_echo "$as_me: failed program was:" >&5
2543sed 's/^/| /' conftest.$ac_ext >&5 2696sed 's/^/| /' conftest.$ac_ext >&5
2544 2697
2545 ac_c_werror_flag=$ac_save_c_werror_flag 2698 ac_c_werror_flag=$ac_save_c_werror_flag
@@ -2565,20 +2718,21 @@ case "(($ac_try" in
2565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2566 *) ac_try_echo=$ac_try;; 2719 *) ac_try_echo=$ac_try;;
2567esac 2720esac
2568eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2721eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2722$as_echo "$ac_try_echo") >&5
2569 (eval "$ac_compile") 2>conftest.er1 2723 (eval "$ac_compile") 2>conftest.er1
2570 ac_status=$? 2724 ac_status=$?
2571 grep -v '^ *+' conftest.er1 >conftest.err 2725 grep -v '^ *+' conftest.er1 >conftest.err
2572 rm -f conftest.er1 2726 rm -f conftest.er1
2573 cat conftest.err >&5 2727 cat conftest.err >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2728 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); } && { 2729 (exit $ac_status); } && {
2576 test -z "$ac_c_werror_flag" || 2730 test -z "$ac_c_werror_flag" ||
2577 test ! -s conftest.err 2731 test ! -s conftest.err
2578 } && test -s conftest.$ac_objext; then 2732 } && test -s conftest.$ac_objext; then
2579 ac_cv_prog_cc_g=yes 2733 ac_cv_prog_cc_g=yes
2580else 2734else
2581 echo "$as_me: failed program was:" >&5 2735 $as_echo "$as_me: failed program was:" >&5
2582sed 's/^/| /' conftest.$ac_ext >&5 2736sed 's/^/| /' conftest.$ac_ext >&5
2583 2737
2584 2738
@@ -2593,8 +2747,8 @@ fi
2593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2747rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2594 ac_c_werror_flag=$ac_save_c_werror_flag 2748 ac_c_werror_flag=$ac_save_c_werror_flag
2595fi 2749fi
2596{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2750{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2597echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2751$as_echo "$ac_cv_prog_cc_g" >&6; }
2598if test "$ac_test_CFLAGS" = set; then 2752if test "$ac_test_CFLAGS" = set; then
2599 CFLAGS=$ac_save_CFLAGS 2753 CFLAGS=$ac_save_CFLAGS
2600elif test $ac_cv_prog_cc_g = yes; then 2754elif test $ac_cv_prog_cc_g = yes; then
@@ -2610,10 +2764,10 @@ else
2610 CFLAGS= 2764 CFLAGS=
2611 fi 2765 fi
2612fi 2766fi
2613{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2767{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2614echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } 2768$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2615if test "${ac_cv_prog_cc_c89+set}" = set; then 2769if test "${ac_cv_prog_cc_c89+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6 2770 $as_echo_n "(cached) " >&6
2617else 2771else
2618 ac_cv_prog_cc_c89=no 2772 ac_cv_prog_cc_c89=no
2619ac_save_CC=$CC 2773ac_save_CC=$CC
@@ -2684,20 +2838,21 @@ case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;; 2839 *) ac_try_echo=$ac_try;;
2686esac 2840esac
2687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2841eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2842$as_echo "$ac_try_echo") >&5
2688 (eval "$ac_compile") 2>conftest.er1 2843 (eval "$ac_compile") 2>conftest.er1
2689 ac_status=$? 2844 ac_status=$?
2690 grep -v '^ *+' conftest.er1 >conftest.err 2845 grep -v '^ *+' conftest.er1 >conftest.err
2691 rm -f conftest.er1 2846 rm -f conftest.er1
2692 cat conftest.err >&5 2847 cat conftest.err >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); } && { 2849 (exit $ac_status); } && {
2695 test -z "$ac_c_werror_flag" || 2850 test -z "$ac_c_werror_flag" ||
2696 test ! -s conftest.err 2851 test ! -s conftest.err
2697 } && test -s conftest.$ac_objext; then 2852 } && test -s conftest.$ac_objext; then
2698 ac_cv_prog_cc_c89=$ac_arg 2853 ac_cv_prog_cc_c89=$ac_arg
2699else 2854else
2700 echo "$as_me: failed program was:" >&5 2855 $as_echo "$as_me: failed program was:" >&5
2701sed 's/^/| /' conftest.$ac_ext >&5 2856sed 's/^/| /' conftest.$ac_ext >&5
2702 2857
2703 2858
@@ -2713,15 +2868,15 @@ fi
2713# AC_CACHE_VAL 2868# AC_CACHE_VAL
2714case "x$ac_cv_prog_cc_c89" in 2869case "x$ac_cv_prog_cc_c89" in
2715 x) 2870 x)
2716 { echo "$as_me:$LINENO: result: none needed" >&5 2871 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2717echo "${ECHO_T}none needed" >&6; } ;; 2872$as_echo "none needed" >&6; } ;;
2718 xno) 2873 xno)
2719 { echo "$as_me:$LINENO: result: unsupported" >&5 2874 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2720echo "${ECHO_T}unsupported" >&6; } ;; 2875$as_echo "unsupported" >&6; } ;;
2721 *) 2876 *)
2722 CC="$CC $ac_cv_prog_cc_c89" 2877 CC="$CC $ac_cv_prog_cc_c89"
2723 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2878 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2724echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2879$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2725esac 2880esac
2726 2881
2727 2882
@@ -2748,8 +2903,8 @@ for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2748 fi 2903 fi
2749done 2904done
2750if test -z "$ac_aux_dir"; then 2905if test -z "$ac_aux_dir"; then
2751 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 2906 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2752echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} 2907$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2753 { (exit 1); exit 1; }; } 2908 { (exit 1); exit 1; }; }
2754fi 2909fi
2755 2910
@@ -2764,34 +2919,34 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2764 2919
2765# Make sure we can run config.sub. 2920# Make sure we can run config.sub.
2766$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 2921$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2767 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 2922 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2768echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} 2923$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2769 { (exit 1); exit 1; }; } 2924 { (exit 1); exit 1; }; }
2770 2925
2771{ echo "$as_me:$LINENO: checking build system type" >&5 2926{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2772echo $ECHO_N "checking build system type... $ECHO_C" >&6; } 2927$as_echo_n "checking build system type... " >&6; }
2773if test "${ac_cv_build+set}" = set; then 2928if test "${ac_cv_build+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6 2929 $as_echo_n "(cached) " >&6
2775else 2930else
2776 ac_build_alias=$build_alias 2931 ac_build_alias=$build_alias
2777test "x$ac_build_alias" = x && 2932test "x$ac_build_alias" = x &&
2778 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 2933 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2779test "x$ac_build_alias" = x && 2934test "x$ac_build_alias" = x &&
2780 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 2935 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2781echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 2936$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2782 { (exit 1); exit 1; }; } 2937 { (exit 1); exit 1; }; }
2783ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 2938ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2784 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 2939 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2785echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} 2940$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2786 { (exit 1); exit 1; }; } 2941 { (exit 1); exit 1; }; }
2787 2942
2788fi 2943fi
2789{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 2944{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2790echo "${ECHO_T}$ac_cv_build" >&6; } 2945$as_echo "$ac_cv_build" >&6; }
2791case $ac_cv_build in 2946case $ac_cv_build in
2792*-*-*) ;; 2947*-*-*) ;;
2793*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 2948*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2794echo "$as_me: error: invalid value of canonical build" >&2;} 2949$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2795 { (exit 1); exit 1; }; };; 2950 { (exit 1); exit 1; }; };;
2796esac 2951esac
2797build=$ac_cv_build 2952build=$ac_cv_build
@@ -2808,27 +2963,27 @@ IFS=$ac_save_IFS
2808case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 2963case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2809 2964
2810 2965
2811{ echo "$as_me:$LINENO: checking host system type" >&5 2966{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2812echo $ECHO_N "checking host system type... $ECHO_C" >&6; } 2967$as_echo_n "checking host system type... " >&6; }
2813if test "${ac_cv_host+set}" = set; then 2968if test "${ac_cv_host+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6 2969 $as_echo_n "(cached) " >&6
2815else 2970else
2816 if test "x$host_alias" = x; then 2971 if test "x$host_alias" = x; then
2817 ac_cv_host=$ac_cv_build 2972 ac_cv_host=$ac_cv_build
2818else 2973else
2819 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2820 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 2975 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2821echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} 2976$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2822 { (exit 1); exit 1; }; } 2977 { (exit 1); exit 1; }; }
2823fi 2978fi
2824 2979
2825fi 2980fi
2826{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 2981{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2827echo "${ECHO_T}$ac_cv_host" >&6; } 2982$as_echo "$ac_cv_host" >&6; }
2828case $ac_cv_host in 2983case $ac_cv_host in
2829*-*-*) ;; 2984*-*-*) ;;
2830*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 2985*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2831echo "$as_me: error: invalid value of canonical host" >&2;} 2986$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2832 { (exit 1); exit 1; }; };; 2987 { (exit 1); exit 1; }; };;
2833esac 2988esac
2834host=$ac_cv_host 2989host=$ac_cv_host
@@ -2851,15 +3006,15 @@ ac_cpp='$CPP $CPPFLAGS'
2851ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2852ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2853ac_compiler_gnu=$ac_cv_c_compiler_gnu 3008ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 3009{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2855echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 3010$as_echo_n "checking how to run the C preprocessor... " >&6; }
2856# On Suns, sometimes $CPP names a directory. 3011# On Suns, sometimes $CPP names a directory.
2857if test -n "$CPP" && test -d "$CPP"; then 3012if test -n "$CPP" && test -d "$CPP"; then
2858 CPP= 3013 CPP=
2859fi 3014fi
2860if test -z "$CPP"; then 3015if test -z "$CPP"; then
2861 if test "${ac_cv_prog_CPP+set}" = set; then 3016 if test "${ac_cv_prog_CPP+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6 3017 $as_echo_n "(cached) " >&6
2863else 3018else
2864 # Double quotes because CPP needs to be expanded 3019 # Double quotes because CPP needs to be expanded
2865 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3020 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
@@ -2891,20 +3046,21 @@ case "(($ac_try" in
2891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2892 *) ac_try_echo=$ac_try;; 3047 *) ac_try_echo=$ac_try;;
2893esac 3048esac
2894eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3049eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3050$as_echo "$ac_try_echo") >&5
2895 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3051 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2896 ac_status=$? 3052 ac_status=$?
2897 grep -v '^ *+' conftest.er1 >conftest.err 3053 grep -v '^ *+' conftest.er1 >conftest.err
2898 rm -f conftest.er1 3054 rm -f conftest.er1
2899 cat conftest.err >&5 3055 cat conftest.err >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); } >/dev/null && { 3057 (exit $ac_status); } >/dev/null && {
2902 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3058 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2903 test ! -s conftest.err 3059 test ! -s conftest.err
2904 }; then 3060 }; then
2905 : 3061 :
2906else 3062else
2907 echo "$as_me: failed program was:" >&5 3063 $as_echo "$as_me: failed program was:" >&5
2908sed 's/^/| /' conftest.$ac_ext >&5 3064sed 's/^/| /' conftest.$ac_ext >&5
2909 3065
2910 # Broken: fails on valid input. 3066 # Broken: fails on valid input.
@@ -2928,13 +3084,14 @@ case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;; 3085 *) ac_try_echo=$ac_try;;
2930esac 3086esac
2931eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3087eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3088$as_echo "$ac_try_echo") >&5
2932 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3089 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2933 ac_status=$? 3090 ac_status=$?
2934 grep -v '^ *+' conftest.er1 >conftest.err 3091 grep -v '^ *+' conftest.er1 >conftest.err
2935 rm -f conftest.er1 3092 rm -f conftest.er1
2936 cat conftest.err >&5 3093 cat conftest.err >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3094 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); } >/dev/null && { 3095 (exit $ac_status); } >/dev/null && {
2939 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3096 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2940 test ! -s conftest.err 3097 test ! -s conftest.err
@@ -2942,7 +3099,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 # Broken: success on invalid input. 3099 # Broken: success on invalid input.
2943continue 3100continue
2944else 3101else
2945 echo "$as_me: failed program was:" >&5 3102 $as_echo "$as_me: failed program was:" >&5
2946sed 's/^/| /' conftest.$ac_ext >&5 3103sed 's/^/| /' conftest.$ac_ext >&5
2947 3104
2948 # Passes both tests. 3105 # Passes both tests.
@@ -2967,8 +3124,8 @@ fi
2967else 3124else
2968 ac_cv_prog_CPP=$CPP 3125 ac_cv_prog_CPP=$CPP
2969fi 3126fi
2970{ echo "$as_me:$LINENO: result: $CPP" >&5 3127{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
2971echo "${ECHO_T}$CPP" >&6; } 3128$as_echo "$CPP" >&6; }
2972ac_preproc_ok=false 3129ac_preproc_ok=false
2973for ac_c_preproc_warn_flag in '' yes 3130for ac_c_preproc_warn_flag in '' yes
2974do 3131do
@@ -2996,20 +3153,21 @@ case "(($ac_try" in
2996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2997 *) ac_try_echo=$ac_try;; 3154 *) ac_try_echo=$ac_try;;
2998esac 3155esac
2999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3157$as_echo "$ac_try_echo") >&5
3000 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3001 ac_status=$? 3159 ac_status=$?
3002 grep -v '^ *+' conftest.er1 >conftest.err 3160 grep -v '^ *+' conftest.er1 >conftest.err
3003 rm -f conftest.er1 3161 rm -f conftest.er1
3004 cat conftest.err >&5 3162 cat conftest.err >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); } >/dev/null && { 3164 (exit $ac_status); } >/dev/null && {
3007 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3008 test ! -s conftest.err 3166 test ! -s conftest.err
3009 }; then 3167 }; then
3010 : 3168 :
3011else 3169else
3012 echo "$as_me: failed program was:" >&5 3170 $as_echo "$as_me: failed program was:" >&5
3013sed 's/^/| /' conftest.$ac_ext >&5 3171sed 's/^/| /' conftest.$ac_ext >&5
3014 3172
3015 # Broken: fails on valid input. 3173 # Broken: fails on valid input.
@@ -3033,13 +3191,14 @@ case "(($ac_try" in
3033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3034 *) ac_try_echo=$ac_try;; 3192 *) ac_try_echo=$ac_try;;
3035esac 3193esac
3036eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3194eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195$as_echo "$ac_try_echo") >&5
3037 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 3196 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3038 ac_status=$? 3197 ac_status=$?
3039 grep -v '^ *+' conftest.er1 >conftest.err 3198 grep -v '^ *+' conftest.er1 >conftest.err
3040 rm -f conftest.er1 3199 rm -f conftest.er1
3041 cat conftest.err >&5 3200 cat conftest.err >&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } >/dev/null && { 3202 (exit $ac_status); } >/dev/null && {
3044 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 3203 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3045 test ! -s conftest.err 3204 test ! -s conftest.err
@@ -3047,7 +3206,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047 # Broken: success on invalid input. 3206 # Broken: success on invalid input.
3048continue 3207continue
3049else 3208else
3050 echo "$as_me: failed program was:" >&5 3209 $as_echo "$as_me: failed program was:" >&5
3051sed 's/^/| /' conftest.$ac_ext >&5 3210sed 's/^/| /' conftest.$ac_ext >&5
3052 3211
3053 # Passes both tests. 3212 # Passes both tests.
@@ -3063,9 +3222,9 @@ rm -f conftest.err conftest.$ac_ext
3063if $ac_preproc_ok; then 3222if $ac_preproc_ok; then
3064 : 3223 :
3065else 3224else
3066 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 3225 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3067See \`config.log' for more details." >&5 3226See \`config.log' for more details." >&5
3068echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 3227$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3069See \`config.log' for more details." >&2;} 3228See \`config.log' for more details." >&2;}
3070 { (exit 1); exit 1; }; } 3229 { (exit 1); exit 1; }; }
3071fi 3230fi
@@ -3077,42 +3236,37 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
3077ac_compiler_gnu=$ac_cv_c_compiler_gnu 3236ac_compiler_gnu=$ac_cv_c_compiler_gnu
3078 3237
3079 3238
3080{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 3239{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3081echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } 3240$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3082if test "${ac_cv_path_GREP+set}" = set; then 3241if test "${ac_cv_path_GREP+set}" = set; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6 3242 $as_echo_n "(cached) " >&6
3084else
3085 # Extract the first word of "grep ggrep" to use in msg output
3086if test -z "$GREP"; then
3087set dummy grep ggrep; ac_prog_name=$2
3088if test "${ac_cv_path_GREP+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3090else 3243else
3244 if test -z "$GREP"; then
3091 ac_path_GREP_found=false 3245 ac_path_GREP_found=false
3092# Loop through the user's path and test for each of PROGNAME-LIST 3246 # Loop through the user's path and test for each of PROGNAME-LIST
3093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3094for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3248for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3095do 3249do
3096 IFS=$as_save_IFS 3250 IFS=$as_save_IFS
3097 test -z "$as_dir" && as_dir=. 3251 test -z "$as_dir" && as_dir=.
3098 for ac_prog in grep ggrep; do 3252 for ac_prog in grep ggrep; do
3099 for ac_exec_ext in '' $ac_executable_extensions; do 3253 for ac_exec_ext in '' $ac_executable_extensions; do
3100 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3254 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3101 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3255 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3102 # Check for GNU ac_path_GREP and select it if it is found. 3256# Check for GNU ac_path_GREP and select it if it is found.
3103 # Check for GNU $ac_path_GREP 3257 # Check for GNU $ac_path_GREP
3104case `"$ac_path_GREP" --version 2>&1` in 3258case `"$ac_path_GREP" --version 2>&1` in
3105*GNU*) 3259*GNU*)
3106 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3260 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3107*) 3261*)
3108 ac_count=0 3262 ac_count=0
3109 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3263 $as_echo_n 0123456789 >"conftest.in"
3110 while : 3264 while :
3111 do 3265 do
3112 cat "conftest.in" "conftest.in" >"conftest.tmp" 3266 cat "conftest.in" "conftest.in" >"conftest.tmp"
3113 mv "conftest.tmp" "conftest.in" 3267 mv "conftest.tmp" "conftest.in"
3114 cp "conftest.in" "conftest.nl" 3268 cp "conftest.in" "conftest.nl"
3115 echo 'GREP' >> "conftest.nl" 3269 $as_echo 'GREP' >> "conftest.nl"
3116 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3270 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3117 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3271 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3118 ac_count=`expr $ac_count + 1` 3272 ac_count=`expr $ac_count + 1`
@@ -3127,74 +3281,60 @@ case `"$ac_path_GREP" --version 2>&1` in
3127 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3281 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3128esac 3282esac
3129 3283
3130 3284 $ac_path_GREP_found && break 3
3131 $ac_path_GREP_found && break 3 3285 done
3132 done 3286 done
3133done 3287done
3134
3135done
3136IFS=$as_save_IFS 3288IFS=$as_save_IFS
3137 3289 if test -z "$ac_cv_path_GREP"; then
3138 3290 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3139fi 3291$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3140
3141GREP="$ac_cv_path_GREP"
3142if test -z "$GREP"; then
3143 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3144echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3145 { (exit 1); exit 1; }; } 3292 { (exit 1); exit 1; }; }
3146fi 3293 fi
3147
3148else 3294else
3149 ac_cv_path_GREP=$GREP 3295 ac_cv_path_GREP=$GREP
3150fi 3296fi
3151 3297
3152
3153fi 3298fi
3154{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 3299{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3155echo "${ECHO_T}$ac_cv_path_GREP" >&6; } 3300$as_echo "$ac_cv_path_GREP" >&6; }
3156 GREP="$ac_cv_path_GREP" 3301 GREP="$ac_cv_path_GREP"
3157 3302
3158 3303
3159{ echo "$as_me:$LINENO: checking for egrep" >&5 3304{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3160echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 3305$as_echo_n "checking for egrep... " >&6; }
3161if test "${ac_cv_path_EGREP+set}" = set; then 3306if test "${ac_cv_path_EGREP+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6 3307 $as_echo_n "(cached) " >&6
3163else 3308else
3164 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3309 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3165 then ac_cv_path_EGREP="$GREP -E" 3310 then ac_cv_path_EGREP="$GREP -E"
3166 else 3311 else
3167 # Extract the first word of "egrep" to use in msg output 3312 if test -z "$EGREP"; then
3168if test -z "$EGREP"; then
3169set dummy egrep; ac_prog_name=$2
3170if test "${ac_cv_path_EGREP+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3172else
3173 ac_path_EGREP_found=false 3313 ac_path_EGREP_found=false
3174# Loop through the user's path and test for each of PROGNAME-LIST 3314 # Loop through the user's path and test for each of PROGNAME-LIST
3175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3316for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3177do 3317do
3178 IFS=$as_save_IFS 3318 IFS=$as_save_IFS
3179 test -z "$as_dir" && as_dir=. 3319 test -z "$as_dir" && as_dir=.
3180 for ac_prog in egrep; do 3320 for ac_prog in egrep; do
3181 for ac_exec_ext in '' $ac_executable_extensions; do 3321 for ac_exec_ext in '' $ac_executable_extensions; do
3182 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3322 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3183 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3323 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3184 # Check for GNU ac_path_EGREP and select it if it is found. 3324# Check for GNU ac_path_EGREP and select it if it is found.
3185 # Check for GNU $ac_path_EGREP 3325 # Check for GNU $ac_path_EGREP
3186case `"$ac_path_EGREP" --version 2>&1` in 3326case `"$ac_path_EGREP" --version 2>&1` in
3187*GNU*) 3327*GNU*)
3188 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3328 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3189*) 3329*)
3190 ac_count=0 3330 ac_count=0
3191 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 3331 $as_echo_n 0123456789 >"conftest.in"
3192 while : 3332 while :
3193 do 3333 do
3194 cat "conftest.in" "conftest.in" >"conftest.tmp" 3334 cat "conftest.in" "conftest.in" >"conftest.tmp"
3195 mv "conftest.tmp" "conftest.in" 3335 mv "conftest.tmp" "conftest.in"
3196 cp "conftest.in" "conftest.nl" 3336 cp "conftest.in" "conftest.nl"
3197 echo 'EGREP' >> "conftest.nl" 3337 $as_echo 'EGREP' >> "conftest.nl"
3198 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3338 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3199 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3339 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3200 ac_count=`expr $ac_count + 1` 3340 ac_count=`expr $ac_count + 1`
@@ -3209,40 +3349,31 @@ case `"$ac_path_EGREP" --version 2>&1` in
3209 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3349 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3210esac 3350esac
3211 3351
3212 3352 $ac_path_EGREP_found && break 3
3213 $ac_path_EGREP_found && break 3 3353 done
3214 done 3354 done
3215done 3355done
3216
3217done
3218IFS=$as_save_IFS 3356IFS=$as_save_IFS
3219 3357 if test -z "$ac_cv_path_EGREP"; then
3220 3358 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3221fi 3359$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3222
3223EGREP="$ac_cv_path_EGREP"
3224if test -z "$EGREP"; then
3225 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3226echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3227 { (exit 1); exit 1; }; } 3360 { (exit 1); exit 1; }; }
3228fi 3361 fi
3229
3230else 3362else
3231 ac_cv_path_EGREP=$EGREP 3363 ac_cv_path_EGREP=$EGREP
3232fi 3364fi
3233 3365
3234
3235 fi 3366 fi
3236fi 3367fi
3237{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 3368{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3238echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 3369$as_echo "$ac_cv_path_EGREP" >&6; }
3239 EGREP="$ac_cv_path_EGREP" 3370 EGREP="$ac_cv_path_EGREP"
3240 3371
3241 3372
3242{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3373{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3243echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } 3374$as_echo_n "checking for ANSI C header files... " >&6; }
3244if test "${ac_cv_header_stdc+set}" = set; then 3375if test "${ac_cv_header_stdc+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6 3376 $as_echo_n "(cached) " >&6
3246else 3377else
3247 cat >conftest.$ac_ext <<_ACEOF 3378 cat >conftest.$ac_ext <<_ACEOF
3248/* confdefs.h. */ 3379/* confdefs.h. */
@@ -3269,20 +3400,21 @@ case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;; 3401 *) ac_try_echo=$ac_try;;
3271esac 3402esac
3272eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3403eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404$as_echo "$ac_try_echo") >&5
3273 (eval "$ac_compile") 2>conftest.er1 3405 (eval "$ac_compile") 2>conftest.er1
3274 ac_status=$? 3406 ac_status=$?
3275 grep -v '^ *+' conftest.er1 >conftest.err 3407 grep -v '^ *+' conftest.er1 >conftest.err
3276 rm -f conftest.er1 3408 rm -f conftest.er1
3277 cat conftest.err >&5 3409 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } && { 3411 (exit $ac_status); } && {
3280 test -z "$ac_c_werror_flag" || 3412 test -z "$ac_c_werror_flag" ||
3281 test ! -s conftest.err 3413 test ! -s conftest.err
3282 } && test -s conftest.$ac_objext; then 3414 } && test -s conftest.$ac_objext; then
3283 ac_cv_header_stdc=yes 3415 ac_cv_header_stdc=yes
3284else 3416else
3285 echo "$as_me: failed program was:" >&5 3417 $as_echo "$as_me: failed program was:" >&5
3286sed 's/^/| /' conftest.$ac_ext >&5 3418sed 's/^/| /' conftest.$ac_ext >&5
3287 3419
3288 ac_cv_header_stdc=no 3420 ac_cv_header_stdc=no
@@ -3374,37 +3506,40 @@ case "(($ac_try" in
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;; 3507 *) ac_try_echo=$ac_try;;
3376esac 3508esac
3377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3509eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3510$as_echo "$ac_try_echo") >&5
3378 (eval "$ac_link") 2>&5 3511 (eval "$ac_link") 2>&5
3379 ac_status=$? 3512 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3382 { (case "(($ac_try" in 3515 { (case "(($ac_try" in
3383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;; 3517 *) ac_try_echo=$ac_try;;
3385esac 3518esac
3386eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3520$as_echo "$ac_try_echo") >&5
3387 (eval "$ac_try") 2>&5 3521 (eval "$ac_try") 2>&5
3388 ac_status=$? 3522 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; }; then 3524 (exit $ac_status); }; }; then
3391 : 3525 :
3392else 3526else
3393 echo "$as_me: program exited with status $ac_status" >&5 3527 $as_echo "$as_me: program exited with status $ac_status" >&5
3394echo "$as_me: failed program was:" >&5 3528$as_echo "$as_me: failed program was:" >&5
3395sed 's/^/| /' conftest.$ac_ext >&5 3529sed 's/^/| /' conftest.$ac_ext >&5
3396 3530
3397( exit $ac_status ) 3531( exit $ac_status )
3398ac_cv_header_stdc=no 3532ac_cv_header_stdc=no
3399fi 3533fi
3534rm -rf conftest.dSYM
3400rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3535rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3401fi 3536fi
3402 3537
3403 3538
3404fi 3539fi
3405fi 3540fi
3406{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3541{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3407echo "${ECHO_T}$ac_cv_header_stdc" >&6; } 3542$as_echo "$ac_cv_header_stdc" >&6; }
3408if test $ac_cv_header_stdc = yes; then 3543if test $ac_cv_header_stdc = yes; then
3409 3544
3410cat >>confdefs.h <<\_ACEOF 3545cat >>confdefs.h <<\_ACEOF
@@ -3426,11 +3561,11 @@ fi
3426for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3561for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3427 inttypes.h stdint.h unistd.h 3562 inttypes.h stdint.h unistd.h
3428do 3563do
3429as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 3564as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3430{ echo "$as_me:$LINENO: checking for $ac_header" >&5 3565{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3431echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 3566$as_echo_n "checking for $ac_header... " >&6; }
3432if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 3567if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6 3568 $as_echo_n "(cached) " >&6
3434else 3569else
3435 cat >conftest.$ac_ext <<_ACEOF 3570 cat >conftest.$ac_ext <<_ACEOF
3436/* confdefs.h. */ 3571/* confdefs.h. */
@@ -3448,20 +3583,21 @@ case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;; 3584 *) ac_try_echo=$ac_try;;
3450esac 3585esac
3451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3586eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3587$as_echo "$ac_try_echo") >&5
3452 (eval "$ac_compile") 2>conftest.er1 3588 (eval "$ac_compile") 2>conftest.er1
3453 ac_status=$? 3589 ac_status=$?
3454 grep -v '^ *+' conftest.er1 >conftest.err 3590 grep -v '^ *+' conftest.er1 >conftest.err
3455 rm -f conftest.er1 3591 rm -f conftest.er1
3456 cat conftest.err >&5 3592 cat conftest.err >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3593 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } && { 3594 (exit $ac_status); } && {
3459 test -z "$ac_c_werror_flag" || 3595 test -z "$ac_c_werror_flag" ||
3460 test ! -s conftest.err 3596 test ! -s conftest.err
3461 } && test -s conftest.$ac_objext; then 3597 } && test -s conftest.$ac_objext; then
3462 eval "$as_ac_Header=yes" 3598 eval "$as_ac_Header=yes"
3463else 3599else
3464 echo "$as_me: failed program was:" >&5 3600 $as_echo "$as_me: failed program was:" >&5
3465sed 's/^/| /' conftest.$ac_ext >&5 3601sed 's/^/| /' conftest.$ac_ext >&5
3466 3602
3467 eval "$as_ac_Header=no" 3603 eval "$as_ac_Header=no"
@@ -3469,12 +3605,14 @@ fi
3469 3605
3470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3606rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3471fi 3607fi
3472ac_res=`eval echo '${'$as_ac_Header'}'` 3608ac_res=`eval 'as_val=${'$as_ac_Header'}
3473 { echo "$as_me:$LINENO: result: $ac_res" >&5 3609 $as_echo "$as_val"'`
3474echo "${ECHO_T}$ac_res" >&6; } 3610 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3475if test `eval echo '${'$as_ac_Header'}'` = yes; then 3611$as_echo "$ac_res" >&6; }
3612if test `eval 'as_val=${'$as_ac_Header'}
3613 $as_echo "$as_val"'` = yes; then
3476 cat >>confdefs.h <<_ACEOF 3614 cat >>confdefs.h <<_ACEOF
3477#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 3615#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3478_ACEOF 3616_ACEOF
3479 3617
3480fi 3618fi
@@ -3482,28 +3620,78 @@ fi
3482done 3620done
3483 3621
3484 3622
3485{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 3623
3486echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 3624 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3625$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
3487if test "${ac_cv_c_bigendian+set}" = set; then 3626if test "${ac_cv_c_bigendian+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6 3627 $as_echo_n "(cached) " >&6
3489else 3628else
3490 # See if sys/param.h defines the BYTE_ORDER macro. 3629 ac_cv_c_bigendian=unknown
3491cat >conftest.$ac_ext <<_ACEOF 3630 # See if we're dealing with a universal compiler.
3631 cat >conftest.$ac_ext <<_ACEOF
3632/* confdefs.h. */
3633_ACEOF
3634cat confdefs.h >>conftest.$ac_ext
3635cat >>conftest.$ac_ext <<_ACEOF
3636/* end confdefs.h. */
3637#ifndef __APPLE_CC__
3638 not a universal capable compiler
3639 #endif
3640 typedef int dummy;
3641
3642_ACEOF
3643rm -f conftest.$ac_objext
3644if { (ac_try="$ac_compile"
3645case "(($ac_try" in
3646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3647 *) ac_try_echo=$ac_try;;
3648esac
3649eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3650$as_echo "$ac_try_echo") >&5
3651 (eval "$ac_compile") 2>conftest.er1
3652 ac_status=$?
3653 grep -v '^ *+' conftest.er1 >conftest.err
3654 rm -f conftest.er1
3655 cat conftest.err >&5
3656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); } && {
3658 test -z "$ac_c_werror_flag" ||
3659 test ! -s conftest.err
3660 } && test -s conftest.$ac_objext; then
3661
3662 # Check for potential -arch flags. It is not universal unless
3663 # there are some -arch flags. Note that *ppc* also matches
3664 # ppc64. This check is also rather less than ideal.
3665 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
3666 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
3667 esac
3668else
3669 $as_echo "$as_me: failed program was:" >&5
3670sed 's/^/| /' conftest.$ac_ext >&5
3671
3672
3673fi
3674
3675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3676 if test $ac_cv_c_bigendian = unknown; then
3677 # See if sys/param.h defines the BYTE_ORDER macro.
3678 cat >conftest.$ac_ext <<_ACEOF
3492/* confdefs.h. */ 3679/* confdefs.h. */
3493_ACEOF 3680_ACEOF
3494cat confdefs.h >>conftest.$ac_ext 3681cat confdefs.h >>conftest.$ac_ext
3495cat >>conftest.$ac_ext <<_ACEOF 3682cat >>conftest.$ac_ext <<_ACEOF
3496/* end confdefs.h. */ 3683/* end confdefs.h. */
3497#include <sys/types.h> 3684#include <sys/types.h>
3498#include <sys/param.h> 3685 #include <sys/param.h>
3499 3686
3500int 3687int
3501main () 3688main ()
3502{ 3689{
3503#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 3690#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
3504 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 3691 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
3505 bogus endian macros 3692 && LITTLE_ENDIAN)
3506#endif 3693 bogus endian macros
3694 #endif
3507 3695
3508 ; 3696 ;
3509 return 0; 3697 return 0;
@@ -3515,33 +3703,34 @@ case "(($ac_try" in
3515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3516 *) ac_try_echo=$ac_try;; 3704 *) ac_try_echo=$ac_try;;
3517esac 3705esac
3518eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3706eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3707$as_echo "$ac_try_echo") >&5
3519 (eval "$ac_compile") 2>conftest.er1 3708 (eval "$ac_compile") 2>conftest.er1
3520 ac_status=$? 3709 ac_status=$?
3521 grep -v '^ *+' conftest.er1 >conftest.err 3710 grep -v '^ *+' conftest.er1 >conftest.err
3522 rm -f conftest.er1 3711 rm -f conftest.er1
3523 cat conftest.err >&5 3712 cat conftest.err >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); } && { 3714 (exit $ac_status); } && {
3526 test -z "$ac_c_werror_flag" || 3715 test -z "$ac_c_werror_flag" ||
3527 test ! -s conftest.err 3716 test ! -s conftest.err
3528 } && test -s conftest.$ac_objext; then 3717 } && test -s conftest.$ac_objext; then
3529 # It does; now see whether it defined to BIG_ENDIAN or not. 3718 # It does; now see whether it defined to BIG_ENDIAN or not.
3530cat >conftest.$ac_ext <<_ACEOF 3719 cat >conftest.$ac_ext <<_ACEOF
3531/* confdefs.h. */ 3720/* confdefs.h. */
3532_ACEOF 3721_ACEOF
3533cat confdefs.h >>conftest.$ac_ext 3722cat confdefs.h >>conftest.$ac_ext
3534cat >>conftest.$ac_ext <<_ACEOF 3723cat >>conftest.$ac_ext <<_ACEOF
3535/* end confdefs.h. */ 3724/* end confdefs.h. */
3536#include <sys/types.h> 3725#include <sys/types.h>
3537#include <sys/param.h> 3726 #include <sys/param.h>
3538 3727
3539int 3728int
3540main () 3729main ()
3541{ 3730{
3542#if BYTE_ORDER != BIG_ENDIAN 3731#if BYTE_ORDER != BIG_ENDIAN
3543 not big endian 3732 not big endian
3544#endif 3733 #endif
3545 3734
3546 ; 3735 ;
3547 return 0; 3736 return 0;
@@ -3553,20 +3742,21 @@ case "(($ac_try" in
3553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 *) ac_try_echo=$ac_try;; 3743 *) ac_try_echo=$ac_try;;
3555esac 3744esac
3556eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3745eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3746$as_echo "$ac_try_echo") >&5
3557 (eval "$ac_compile") 2>conftest.er1 3747 (eval "$ac_compile") 2>conftest.er1
3558 ac_status=$? 3748 ac_status=$?
3559 grep -v '^ *+' conftest.er1 >conftest.err 3749 grep -v '^ *+' conftest.er1 >conftest.err
3560 rm -f conftest.er1 3750 rm -f conftest.er1
3561 cat conftest.err >&5 3751 cat conftest.err >&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } && { 3753 (exit $ac_status); } && {
3564 test -z "$ac_c_werror_flag" || 3754 test -z "$ac_c_werror_flag" ||
3565 test ! -s conftest.err 3755 test ! -s conftest.err
3566 } && test -s conftest.$ac_objext; then 3756 } && test -s conftest.$ac_objext; then
3567 ac_cv_c_bigendian=yes 3757 ac_cv_c_bigendian=yes
3568else 3758else
3569 echo "$as_me: failed program was:" >&5 3759 $as_echo "$as_me: failed program was:" >&5
3570sed 's/^/| /' conftest.$ac_ext >&5 3760sed 's/^/| /' conftest.$ac_ext >&5
3571 3761
3572 ac_cv_c_bigendian=no 3762 ac_cv_c_bigendian=no
@@ -3574,29 +3764,31 @@ fi
3574 3764
3575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3576else 3766else
3577 echo "$as_me: failed program was:" >&5 3767 $as_echo "$as_me: failed program was:" >&5
3578sed 's/^/| /' conftest.$ac_ext >&5 3768sed 's/^/| /' conftest.$ac_ext >&5
3579 3769
3580 # It does not; compile a test program. 3770
3581if test "$cross_compiling" = yes; then 3771fi
3582 # try to guess the endianness by grepping values into an object file 3772
3583 ac_cv_c_bigendian=unknown 3773rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 cat >conftest.$ac_ext <<_ACEOF 3774 fi
3775 if test $ac_cv_c_bigendian = unknown; then
3776 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
3777 cat >conftest.$ac_ext <<_ACEOF
3585/* confdefs.h. */ 3778/* confdefs.h. */
3586_ACEOF 3779_ACEOF
3587cat confdefs.h >>conftest.$ac_ext 3780cat confdefs.h >>conftest.$ac_ext
3588cat >>conftest.$ac_ext <<_ACEOF 3781cat >>conftest.$ac_ext <<_ACEOF
3589/* end confdefs.h. */ 3782/* end confdefs.h. */
3590short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 3783#include <limits.h>
3591short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 3784
3592void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3593short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3594short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3595void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3596int 3785int
3597main () 3786main ()
3598{ 3787{
3599 _ascii (); _ebcdic (); 3788#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
3789 bogus endian macros
3790 #endif
3791
3600 ; 3792 ;
3601 return 0; 3793 return 0;
3602} 3794}
@@ -3607,30 +3799,139 @@ case "(($ac_try" in
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;; 3800 *) ac_try_echo=$ac_try;;
3609esac 3801esac
3610eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3802eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3803$as_echo "$ac_try_echo") >&5
3611 (eval "$ac_compile") 2>conftest.er1 3804 (eval "$ac_compile") 2>conftest.er1
3612 ac_status=$? 3805 ac_status=$?
3613 grep -v '^ *+' conftest.er1 >conftest.err 3806 grep -v '^ *+' conftest.er1 >conftest.err
3614 rm -f conftest.er1 3807 rm -f conftest.er1
3615 cat conftest.err >&5 3808 cat conftest.err >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } && {
3811 test -z "$ac_c_werror_flag" ||
3812 test ! -s conftest.err
3813 } && test -s conftest.$ac_objext; then
3814 # It does; now see whether it defined to _BIG_ENDIAN or not.
3815 cat >conftest.$ac_ext <<_ACEOF
3816/* confdefs.h. */
3817_ACEOF
3818cat confdefs.h >>conftest.$ac_ext
3819cat >>conftest.$ac_ext <<_ACEOF
3820/* end confdefs.h. */
3821#include <limits.h>
3822
3823int
3824main ()
3825{
3826#ifndef _BIG_ENDIAN
3827 not big endian
3828 #endif
3829
3830 ;
3831 return 0;
3832}
3833_ACEOF
3834rm -f conftest.$ac_objext
3835if { (ac_try="$ac_compile"
3836case "(($ac_try" in
3837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3839esac
3840eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3841$as_echo "$ac_try_echo") >&5
3842 (eval "$ac_compile") 2>conftest.er1
3843 ac_status=$?
3844 grep -v '^ *+' conftest.er1 >conftest.err
3845 rm -f conftest.er1
3846 cat conftest.err >&5
3847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); } && { 3848 (exit $ac_status); } && {
3618 test -z "$ac_c_werror_flag" || 3849 test -z "$ac_c_werror_flag" ||
3619 test ! -s conftest.err 3850 test ! -s conftest.err
3620 } && test -s conftest.$ac_objext; then 3851 } && test -s conftest.$ac_objext; then
3621 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3622 ac_cv_c_bigendian=yes 3852 ac_cv_c_bigendian=yes
3853else
3854 $as_echo "$as_me: failed program was:" >&5
3855sed 's/^/| /' conftest.$ac_ext >&5
3856
3857 ac_cv_c_bigendian=no
3623fi 3858fi
3624if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 3859
3625 if test "$ac_cv_c_bigendian" = unknown; then 3860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3626 ac_cv_c_bigendian=no 3861else
3627 else 3862 $as_echo "$as_me: failed program was:" >&5
3628 # finding both strings is unlikely to happen, but who knows? 3863sed 's/^/| /' conftest.$ac_ext >&5
3629 ac_cv_c_bigendian=unknown 3864
3630 fi 3865
3631fi 3866fi
3867
3868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3869 fi
3870 if test $ac_cv_c_bigendian = unknown; then
3871 # Compile a test program.
3872 if test "$cross_compiling" = yes; then
3873 # Try to guess by grepping values from an object file.
3874 cat >conftest.$ac_ext <<_ACEOF
3875/* confdefs.h. */
3876_ACEOF
3877cat confdefs.h >>conftest.$ac_ext
3878cat >>conftest.$ac_ext <<_ACEOF
3879/* end confdefs.h. */
3880short int ascii_mm[] =
3881 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3882 short int ascii_ii[] =
3883 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3884 int use_ascii (int i) {
3885 return ascii_mm[i] + ascii_ii[i];
3886 }
3887 short int ebcdic_ii[] =
3888 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3889 short int ebcdic_mm[] =
3890 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3891 int use_ebcdic (int i) {
3892 return ebcdic_mm[i] + ebcdic_ii[i];
3893 }
3894 extern int foo;
3895
3896int
3897main ()
3898{
3899return use_ascii (foo) == use_ebcdic (foo);
3900 ;
3901 return 0;
3902}
3903_ACEOF
3904rm -f conftest.$ac_objext
3905if { (ac_try="$ac_compile"
3906case "(($ac_try" in
3907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908 *) ac_try_echo=$ac_try;;
3909esac
3910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3911$as_echo "$ac_try_echo") >&5
3912 (eval "$ac_compile") 2>conftest.er1
3913 ac_status=$?
3914 grep -v '^ *+' conftest.er1 >conftest.err
3915 rm -f conftest.er1
3916 cat conftest.err >&5
3917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3918 (exit $ac_status); } && {
3919 test -z "$ac_c_werror_flag" ||
3920 test ! -s conftest.err
3921 } && test -s conftest.$ac_objext; then
3922 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
3923 ac_cv_c_bigendian=yes
3924 fi
3925 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3926 if test "$ac_cv_c_bigendian" = unknown; then
3927 ac_cv_c_bigendian=no
3928 else
3929 # finding both strings is unlikely to happen, but who knows?
3930 ac_cv_c_bigendian=unknown
3931 fi
3932 fi
3632else 3933else
3633 echo "$as_me: failed program was:" >&5 3934 $as_echo "$as_me: failed program was:" >&5
3634sed 's/^/| /' conftest.$ac_ext >&5 3935sed 's/^/| /' conftest.$ac_ext >&5
3635 3936
3636 3937
@@ -3649,14 +3950,14 @@ int
3649main () 3950main ()
3650{ 3951{
3651 3952
3652 /* Are we little or big endian? From Harbison&Steele. */ 3953 /* Are we little or big endian? From Harbison&Steele. */
3653 union 3954 union
3654 { 3955 {
3655 long int l; 3956 long int l;
3656 char c[sizeof (long int)]; 3957 char c[sizeof (long int)];
3657 } u; 3958 } u;
3658 u.l = 1; 3959 u.l = 1;
3659 return u.c[sizeof (long int) - 1] == 1; 3960 return u.c[sizeof (long int) - 1] == 1;
3660 3961
3661 ; 3962 ;
3662 return 0; 3963 return 0;
@@ -3668,55 +3969,62 @@ case "(($ac_try" in
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;; 3970 *) ac_try_echo=$ac_try;;
3670esac 3971esac
3671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3972eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3973$as_echo "$ac_try_echo") >&5
3672 (eval "$ac_link") 2>&5 3974 (eval "$ac_link") 2>&5
3673 ac_status=$? 3975 ac_status=$?
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3977 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3676 { (case "(($ac_try" in 3978 { (case "(($ac_try" in
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;; 3980 *) ac_try_echo=$ac_try;;
3679esac 3981esac
3680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 3982eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3983$as_echo "$ac_try_echo") >&5
3681 (eval "$ac_try") 2>&5 3984 (eval "$ac_try") 2>&5
3682 ac_status=$? 3985 ac_status=$?
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3986 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then 3987 (exit $ac_status); }; }; then
3685 ac_cv_c_bigendian=no 3988 ac_cv_c_bigendian=no
3686else 3989else
3687 echo "$as_me: program exited with status $ac_status" >&5 3990 $as_echo "$as_me: program exited with status $ac_status" >&5
3688echo "$as_me: failed program was:" >&5 3991$as_echo "$as_me: failed program was:" >&5
3689sed 's/^/| /' conftest.$ac_ext >&5 3992sed 's/^/| /' conftest.$ac_ext >&5
3690 3993
3691( exit $ac_status ) 3994( exit $ac_status )
3692ac_cv_c_bigendian=yes 3995ac_cv_c_bigendian=yes
3693fi 3996fi
3997rm -rf conftest.dSYM
3694rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3998rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3695fi 3999fi
3696 4000
3697 4001
4002 fi
3698fi 4003fi
3699 4004{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4005$as_echo "$ac_cv_c_bigendian" >&6; }
3701fi 4006 case $ac_cv_c_bigendian in #(
3702{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 4007 yes)
3703echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 4008 cat >>confdefs.h <<\_ACEOF
3704case $ac_cv_c_bigendian in 4009#define WORDS_BIGENDIAN 1
3705 yes) 4010_ACEOF
4011;; #(
4012 no)
4013 ;; #(
4014 universal)
3706 4015
3707cat >>confdefs.h <<\_ACEOF 4016cat >>confdefs.h <<\_ACEOF
3708#define WORDS_BIGENDIAN 1 4017#define AC_APPLE_UNIVERSAL_BUILD 1
3709_ACEOF 4018_ACEOF
3710 ;; 4019
3711 no) 4020 ;; #(
3712 ;; 4021 *)
3713 *) 4022 { { $as_echo "$as_me:$LINENO: error: unknown endianness
3714 { { echo "$as_me:$LINENO: error: unknown endianness 4023 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3715presetting ac_cv_c_bigendian=no (or yes) will help" >&5 4024$as_echo "$as_me: error: unknown endianness
3716echo "$as_me: error: unknown endianness 4025 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3717presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3718 { (exit 1); exit 1; }; } ;; 4026 { (exit 1); exit 1; }; } ;;
3719esac 4027 esac
3720 4028
3721 4029
3722# Checks for programs. 4030# Checks for programs.
@@ -3724,10 +4032,10 @@ for ac_prog in gawk mawk nawk awk
3724do 4032do
3725 # Extract the first word of "$ac_prog", so it can be a program name with args. 4033 # Extract the first word of "$ac_prog", so it can be a program name with args.
3726set dummy $ac_prog; ac_word=$2 4034set dummy $ac_prog; ac_word=$2
3727{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4035{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3728echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4036$as_echo_n "checking for $ac_word... " >&6; }
3729if test "${ac_cv_prog_AWK+set}" = set; then 4037if test "${ac_cv_prog_AWK+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6 4038 $as_echo_n "(cached) " >&6
3731else 4039else
3732 if test -n "$AWK"; then 4040 if test -n "$AWK"; then
3733 ac_cv_prog_AWK="$AWK" # Let the user override the test. 4041 ac_cv_prog_AWK="$AWK" # Let the user override the test.
@@ -3740,7 +4048,7 @@ do
3740 for ac_exec_ext in '' $ac_executable_extensions; do 4048 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_AWK="$ac_prog" 4050 ac_cv_prog_AWK="$ac_prog"
3743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4051 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2 4052 break 2
3745 fi 4053 fi
3746done 4054done
@@ -3751,11 +4059,11 @@ fi
3751fi 4059fi
3752AWK=$ac_cv_prog_AWK 4060AWK=$ac_cv_prog_AWK
3753if test -n "$AWK"; then 4061if test -n "$AWK"; then
3754 { echo "$as_me:$LINENO: result: $AWK" >&5 4062 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3755echo "${ECHO_T}$AWK" >&6; } 4063$as_echo "$AWK" >&6; }
3756else 4064else
3757 { echo "$as_me:$LINENO: result: no" >&5 4065 { $as_echo "$as_me:$LINENO: result: no" >&5
3758echo "${ECHO_T}no" >&6; } 4066$as_echo "no" >&6; }
3759fi 4067fi
3760 4068
3761 4069
@@ -3767,15 +4075,15 @@ ac_cpp='$CPP $CPPFLAGS'
3767ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3768ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3769ac_compiler_gnu=$ac_cv_c_compiler_gnu 4077ac_compiler_gnu=$ac_cv_c_compiler_gnu
3770{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 4078{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3771echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } 4079$as_echo_n "checking how to run the C preprocessor... " >&6; }
3772# On Suns, sometimes $CPP names a directory. 4080# On Suns, sometimes $CPP names a directory.
3773if test -n "$CPP" && test -d "$CPP"; then 4081if test -n "$CPP" && test -d "$CPP"; then
3774 CPP= 4082 CPP=
3775fi 4083fi
3776if test -z "$CPP"; then 4084if test -z "$CPP"; then
3777 if test "${ac_cv_prog_CPP+set}" = set; then 4085 if test "${ac_cv_prog_CPP+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6 4086 $as_echo_n "(cached) " >&6
3779else 4087else
3780 # Double quotes because CPP needs to be expanded 4088 # Double quotes because CPP needs to be expanded
3781 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
@@ -3807,20 +4115,21 @@ case "(($ac_try" in
3807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808 *) ac_try_echo=$ac_try;; 4116 *) ac_try_echo=$ac_try;;
3809esac 4117esac
3810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4119$as_echo "$ac_try_echo") >&5
3811 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4120 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3812 ac_status=$? 4121 ac_status=$?
3813 grep -v '^ *+' conftest.er1 >conftest.err 4122 grep -v '^ *+' conftest.er1 >conftest.err
3814 rm -f conftest.er1 4123 rm -f conftest.er1
3815 cat conftest.err >&5 4124 cat conftest.err >&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } >/dev/null && { 4126 (exit $ac_status); } >/dev/null && {
3818 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4127 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3819 test ! -s conftest.err 4128 test ! -s conftest.err
3820 }; then 4129 }; then
3821 : 4130 :
3822else 4131else
3823 echo "$as_me: failed program was:" >&5 4132 $as_echo "$as_me: failed program was:" >&5
3824sed 's/^/| /' conftest.$ac_ext >&5 4133sed 's/^/| /' conftest.$ac_ext >&5
3825 4134
3826 # Broken: fails on valid input. 4135 # Broken: fails on valid input.
@@ -3844,13 +4153,14 @@ case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;; 4154 *) ac_try_echo=$ac_try;;
3846esac 4155esac
3847eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4157$as_echo "$ac_try_echo") >&5
3848 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3849 ac_status=$? 4159 ac_status=$?
3850 grep -v '^ *+' conftest.er1 >conftest.err 4160 grep -v '^ *+' conftest.er1 >conftest.err
3851 rm -f conftest.er1 4161 rm -f conftest.er1
3852 cat conftest.err >&5 4162 cat conftest.err >&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } >/dev/null && { 4164 (exit $ac_status); } >/dev/null && {
3855 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4165 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3856 test ! -s conftest.err 4166 test ! -s conftest.err
@@ -3858,7 +4168,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3858 # Broken: success on invalid input. 4168 # Broken: success on invalid input.
3859continue 4169continue
3860else 4170else
3861 echo "$as_me: failed program was:" >&5 4171 $as_echo "$as_me: failed program was:" >&5
3862sed 's/^/| /' conftest.$ac_ext >&5 4172sed 's/^/| /' conftest.$ac_ext >&5
3863 4173
3864 # Passes both tests. 4174 # Passes both tests.
@@ -3883,8 +4193,8 @@ fi
3883else 4193else
3884 ac_cv_prog_CPP=$CPP 4194 ac_cv_prog_CPP=$CPP
3885fi 4195fi
3886{ echo "$as_me:$LINENO: result: $CPP" >&5 4196{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3887echo "${ECHO_T}$CPP" >&6; } 4197$as_echo "$CPP" >&6; }
3888ac_preproc_ok=false 4198ac_preproc_ok=false
3889for ac_c_preproc_warn_flag in '' yes 4199for ac_c_preproc_warn_flag in '' yes
3890do 4200do
@@ -3912,20 +4222,21 @@ case "(($ac_try" in
3912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913 *) ac_try_echo=$ac_try;; 4223 *) ac_try_echo=$ac_try;;
3914esac 4224esac
3915eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4225eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4226$as_echo "$ac_try_echo") >&5
3916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3917 ac_status=$? 4228 ac_status=$?
3918 grep -v '^ *+' conftest.er1 >conftest.err 4229 grep -v '^ *+' conftest.er1 >conftest.err
3919 rm -f conftest.er1 4230 rm -f conftest.er1
3920 cat conftest.err >&5 4231 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } >/dev/null && { 4233 (exit $ac_status); } >/dev/null && {
3923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3924 test ! -s conftest.err 4235 test ! -s conftest.err
3925 }; then 4236 }; then
3926 : 4237 :
3927else 4238else
3928 echo "$as_me: failed program was:" >&5 4239 $as_echo "$as_me: failed program was:" >&5
3929sed 's/^/| /' conftest.$ac_ext >&5 4240sed 's/^/| /' conftest.$ac_ext >&5
3930 4241
3931 # Broken: fails on valid input. 4242 # Broken: fails on valid input.
@@ -3949,13 +4260,14 @@ case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;; 4261 *) ac_try_echo=$ac_try;;
3951esac 4262esac
3952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4264$as_echo "$ac_try_echo") >&5
3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 4265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3954 ac_status=$? 4266 ac_status=$?
3955 grep -v '^ *+' conftest.er1 >conftest.err 4267 grep -v '^ *+' conftest.er1 >conftest.err
3956 rm -f conftest.er1 4268 rm -f conftest.er1
3957 cat conftest.err >&5 4269 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } >/dev/null && { 4271 (exit $ac_status); } >/dev/null && {
3960 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 4272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3961 test ! -s conftest.err 4273 test ! -s conftest.err
@@ -3963,7 +4275,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 # Broken: success on invalid input. 4275 # Broken: success on invalid input.
3964continue 4276continue
3965else 4277else
3966 echo "$as_me: failed program was:" >&5 4278 $as_echo "$as_me: failed program was:" >&5
3967sed 's/^/| /' conftest.$ac_ext >&5 4279sed 's/^/| /' conftest.$ac_ext >&5
3968 4280
3969 # Passes both tests. 4281 # Passes both tests.
@@ -3979,9 +4291,9 @@ rm -f conftest.err conftest.$ac_ext
3979if $ac_preproc_ok; then 4291if $ac_preproc_ok; then
3980 : 4292 :
3981else 4293else
3982 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 4294 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3983See \`config.log' for more details." >&5 4295See \`config.log' for more details." >&5
3984echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 4296$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3985See \`config.log' for more details." >&2;} 4297See \`config.log' for more details." >&2;}
3986 { (exit 1); exit 1; }; } 4298 { (exit 1); exit 1; }; }
3987fi 4299fi
@@ -3995,10 +4307,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
3995if test -n "$ac_tool_prefix"; then 4307if test -n "$ac_tool_prefix"; then
3996 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4308 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3997set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4309set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3998{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4310{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3999echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4311$as_echo_n "checking for $ac_word... " >&6; }
4000if test "${ac_cv_prog_RANLIB+set}" = set; then 4312if test "${ac_cv_prog_RANLIB+set}" = set; then
4001 echo $ECHO_N "(cached) $ECHO_C" >&6 4313 $as_echo_n "(cached) " >&6
4002else 4314else
4003 if test -n "$RANLIB"; then 4315 if test -n "$RANLIB"; then
4004 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4316 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
@@ -4011,7 +4323,7 @@ do
4011 for ac_exec_ext in '' $ac_executable_extensions; do 4323 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4013 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4325 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4326 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 break 2 4327 break 2
4016 fi 4328 fi
4017done 4329done
@@ -4022,11 +4334,11 @@ fi
4022fi 4334fi
4023RANLIB=$ac_cv_prog_RANLIB 4335RANLIB=$ac_cv_prog_RANLIB
4024if test -n "$RANLIB"; then 4336if test -n "$RANLIB"; then
4025 { echo "$as_me:$LINENO: result: $RANLIB" >&5 4337 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4026echo "${ECHO_T}$RANLIB" >&6; } 4338$as_echo "$RANLIB" >&6; }
4027else 4339else
4028 { echo "$as_me:$LINENO: result: no" >&5 4340 { $as_echo "$as_me:$LINENO: result: no" >&5
4029echo "${ECHO_T}no" >&6; } 4341$as_echo "no" >&6; }
4030fi 4342fi
4031 4343
4032 4344
@@ -4035,10 +4347,10 @@ if test -z "$ac_cv_prog_RANLIB"; then
4035 ac_ct_RANLIB=$RANLIB 4347 ac_ct_RANLIB=$RANLIB
4036 # Extract the first word of "ranlib", so it can be a program name with args. 4348 # Extract the first word of "ranlib", so it can be a program name with args.
4037set dummy ranlib; ac_word=$2 4349set dummy ranlib; ac_word=$2
4038{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4350{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4039echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4351$as_echo_n "checking for $ac_word... " >&6; }
4040if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then 4352if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6 4353 $as_echo_n "(cached) " >&6
4042else 4354else
4043 if test -n "$ac_ct_RANLIB"; then 4355 if test -n "$ac_ct_RANLIB"; then
4044 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4356 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
@@ -4051,7 +4363,7 @@ do
4051 for ac_exec_ext in '' $ac_executable_extensions; do 4363 for ac_exec_ext in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 ac_cv_prog_ac_ct_RANLIB="ranlib" 4365 ac_cv_prog_ac_ct_RANLIB="ranlib"
4054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 break 2 4367 break 2
4056 fi 4368 fi
4057done 4369done
@@ -4062,11 +4374,11 @@ fi
4062fi 4374fi
4063ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4375ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4064if test -n "$ac_ct_RANLIB"; then 4376if test -n "$ac_ct_RANLIB"; then
4065 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 4377 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4066echo "${ECHO_T}$ac_ct_RANLIB" >&6; } 4378$as_echo "$ac_ct_RANLIB" >&6; }
4067else 4379else
4068 { echo "$as_me:$LINENO: result: no" >&5 4380 { $as_echo "$as_me:$LINENO: result: no" >&5
4069echo "${ECHO_T}no" >&6; } 4381$as_echo "no" >&6; }
4070fi 4382fi
4071 4383
4072 if test "x$ac_ct_RANLIB" = x; then 4384 if test "x$ac_ct_RANLIB" = x; then
@@ -4074,10 +4386,10 @@ fi
4074 else 4386 else
4075 case $cross_compiling:$ac_tool_warned in 4387 case $cross_compiling:$ac_tool_warned in
4076yes:) 4388yes:)
4077{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 4389{ $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4078whose name does not start with the host triplet. If you think this 4390whose name does not start with the host triplet. If you think this
4079configuration is useful to you, please write to autoconf@gnu.org." >&5 4391configuration is useful to you, please write to autoconf@gnu.org." >&5
4080echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools 4392$as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4081whose name does not start with the host triplet. If you think this 4393whose name does not start with the host triplet. If you think this
4082configuration is useful to you, please write to autoconf@gnu.org." >&2;} 4394configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4083ac_tool_warned=yes ;; 4395ac_tool_warned=yes ;;
@@ -4101,11 +4413,12 @@ fi
4101# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 4413# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4102# OS/2's system install, which has a completely different semantic 4414# OS/2's system install, which has a completely different semantic
4103# ./install, which can be erroneously created by make from ./install.sh. 4415# ./install, which can be erroneously created by make from ./install.sh.
4104{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 4416# Reject install programs that cannot install multiple files.
4105echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } 4417{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4418$as_echo_n "checking for a BSD-compatible install... " >&6; }
4106if test -z "$INSTALL"; then 4419if test -z "$INSTALL"; then
4107if test "${ac_cv_path_install+set}" = set; then 4420if test "${ac_cv_path_install+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6 4421 $as_echo_n "(cached) " >&6
4109else 4422else
4110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111for as_dir in $PATH 4424for as_dir in $PATH
@@ -4134,17 +4447,29 @@ case $as_dir/ in
4134 # program-specific install script used by HP pwplus--don't use. 4447 # program-specific install script used by HP pwplus--don't use.
4135 : 4448 :
4136 else 4449 else
4137 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 4450 rm -rf conftest.one conftest.two conftest.dir
4138 break 3 4451 echo one > conftest.one
4452 echo two > conftest.two
4453 mkdir conftest.dir
4454 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4455 test -s conftest.one && test -s conftest.two &&
4456 test -s conftest.dir/conftest.one &&
4457 test -s conftest.dir/conftest.two
4458 then
4459 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4460 break 3
4461 fi
4139 fi 4462 fi
4140 fi 4463 fi
4141 done 4464 done
4142 done 4465 done
4143 ;; 4466 ;;
4144esac 4467esac
4468
4145done 4469done
4146IFS=$as_save_IFS 4470IFS=$as_save_IFS
4147 4471
4472rm -rf conftest.one conftest.two conftest.dir
4148 4473
4149fi 4474fi
4150 if test "${ac_cv_path_install+set}" = set; then 4475 if test "${ac_cv_path_install+set}" = set; then
@@ -4157,8 +4482,8 @@ fi
4157 INSTALL=$ac_install_sh 4482 INSTALL=$ac_install_sh
4158 fi 4483 fi
4159fi 4484fi
4160{ echo "$as_me:$LINENO: result: $INSTALL" >&5 4485{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4161echo "${ECHO_T}$INSTALL" >&6; } 4486$as_echo "$INSTALL" >&6; }
4162 4487
4163# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 4488# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4164# It thinks the first close brace ends the variable substitution. 4489# It thinks the first close brace ends the variable substitution.
@@ -4168,45 +4493,40 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4168 4493
4169test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 4494test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4170 4495
4171{ echo "$as_me:$LINENO: checking for egrep" >&5 4496{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4172echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } 4497$as_echo_n "checking for egrep... " >&6; }
4173if test "${ac_cv_path_EGREP+set}" = set; then 4498if test "${ac_cv_path_EGREP+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6 4499 $as_echo_n "(cached) " >&6
4175else 4500else
4176 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4501 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4177 then ac_cv_path_EGREP="$GREP -E" 4502 then ac_cv_path_EGREP="$GREP -E"
4178 else 4503 else
4179 # Extract the first word of "egrep" to use in msg output 4504 if test -z "$EGREP"; then
4180if test -z "$EGREP"; then
4181set dummy egrep; ac_prog_name=$2
4182if test "${ac_cv_path_EGREP+set}" = set; then
4183 echo $ECHO_N "(cached) $ECHO_C" >&6
4184else
4185 ac_path_EGREP_found=false 4505 ac_path_EGREP_found=false
4186# Loop through the user's path and test for each of PROGNAME-LIST 4506 # Loop through the user's path and test for each of PROGNAME-LIST
4187as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4188for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4508for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4189do 4509do
4190 IFS=$as_save_IFS 4510 IFS=$as_save_IFS
4191 test -z "$as_dir" && as_dir=. 4511 test -z "$as_dir" && as_dir=.
4192 for ac_prog in egrep; do 4512 for ac_prog in egrep; do
4193 for ac_exec_ext in '' $ac_executable_extensions; do 4513 for ac_exec_ext in '' $ac_executable_extensions; do
4194 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4514 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4195 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 4515 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4196 # Check for GNU ac_path_EGREP and select it if it is found. 4516# Check for GNU ac_path_EGREP and select it if it is found.
4197 # Check for GNU $ac_path_EGREP 4517 # Check for GNU $ac_path_EGREP
4198case `"$ac_path_EGREP" --version 2>&1` in 4518case `"$ac_path_EGREP" --version 2>&1` in
4199*GNU*) 4519*GNU*)
4200 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4520 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4201*) 4521*)
4202 ac_count=0 4522 ac_count=0
4203 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" 4523 $as_echo_n 0123456789 >"conftest.in"
4204 while : 4524 while :
4205 do 4525 do
4206 cat "conftest.in" "conftest.in" >"conftest.tmp" 4526 cat "conftest.in" "conftest.in" >"conftest.tmp"
4207 mv "conftest.tmp" "conftest.in" 4527 mv "conftest.tmp" "conftest.in"
4208 cp "conftest.in" "conftest.nl" 4528 cp "conftest.in" "conftest.nl"
4209 echo 'EGREP' >> "conftest.nl" 4529 $as_echo 'EGREP' >> "conftest.nl"
4210 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4530 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4211 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4212 ac_count=`expr $ac_count + 1` 4532 ac_count=`expr $ac_count + 1`
@@ -4221,42 +4541,33 @@ case `"$ac_path_EGREP" --version 2>&1` in
4221 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4222esac 4542esac
4223 4543
4224 4544 $ac_path_EGREP_found && break 3
4225 $ac_path_EGREP_found && break 3 4545 done
4226 done 4546 done
4227done 4547done
4228
4229done
4230IFS=$as_save_IFS 4548IFS=$as_save_IFS
4231 4549 if test -z "$ac_cv_path_EGREP"; then
4232 4550 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4233fi 4551$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4234
4235EGREP="$ac_cv_path_EGREP"
4236if test -z "$EGREP"; then
4237 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4238echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4239 { (exit 1); exit 1; }; } 4552 { (exit 1); exit 1; }; }
4240fi 4553 fi
4241
4242else 4554else
4243 ac_cv_path_EGREP=$EGREP 4555 ac_cv_path_EGREP=$EGREP
4244fi 4556fi
4245 4557
4246
4247 fi 4558 fi
4248fi 4559fi
4249{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 4560{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4250echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } 4561$as_echo "$ac_cv_path_EGREP" >&6; }
4251 EGREP="$ac_cv_path_EGREP" 4562 EGREP="$ac_cv_path_EGREP"
4252 4563
4253 4564
4254# Extract the first word of "ar", so it can be a program name with args. 4565# Extract the first word of "ar", so it can be a program name with args.
4255set dummy ar; ac_word=$2 4566set dummy ar; ac_word=$2
4256{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4567{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4257echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4568$as_echo_n "checking for $ac_word... " >&6; }
4258if test "${ac_cv_path_AR+set}" = set; then 4569if test "${ac_cv_path_AR+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6 4570 $as_echo_n "(cached) " >&6
4260else 4571else
4261 case $AR in 4572 case $AR in
4262 [\\/]* | ?:[\\/]*) 4573 [\\/]* | ?:[\\/]*)
@@ -4271,7 +4582,7 @@ do
4271 for ac_exec_ext in '' $ac_executable_extensions; do 4582 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" 4584 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4585 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4275 break 2 4586 break 2
4276 fi 4587 fi
4277done 4588done
@@ -4283,20 +4594,20 @@ esac
4283fi 4594fi
4284AR=$ac_cv_path_AR 4595AR=$ac_cv_path_AR
4285if test -n "$AR"; then 4596if test -n "$AR"; then
4286 { echo "$as_me:$LINENO: result: $AR" >&5 4597 { $as_echo "$as_me:$LINENO: result: $AR" >&5
4287echo "${ECHO_T}$AR" >&6; } 4598$as_echo "$AR" >&6; }
4288else 4599else
4289 { echo "$as_me:$LINENO: result: no" >&5 4600 { $as_echo "$as_me:$LINENO: result: no" >&5
4290echo "${ECHO_T}no" >&6; } 4601$as_echo "no" >&6; }
4291fi 4602fi
4292 4603
4293 4604
4294# Extract the first word of "cat", so it can be a program name with args. 4605# Extract the first word of "cat", so it can be a program name with args.
4295set dummy cat; ac_word=$2 4606set dummy cat; ac_word=$2
4296{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4607{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4297echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4608$as_echo_n "checking for $ac_word... " >&6; }
4298if test "${ac_cv_path_CAT+set}" = set; then 4609if test "${ac_cv_path_CAT+set}" = set; then
4299 echo $ECHO_N "(cached) $ECHO_C" >&6 4610 $as_echo_n "(cached) " >&6
4300else 4611else
4301 case $CAT in 4612 case $CAT in
4302 [\\/]* | ?:[\\/]*) 4613 [\\/]* | ?:[\\/]*)
@@ -4311,7 +4622,7 @@ do
4311 for ac_exec_ext in '' $ac_executable_extensions; do 4622 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext" 4624 ac_cv_path_CAT="$as_dir/$ac_word$ac_exec_ext"
4314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4315 break 2 4626 break 2
4316 fi 4627 fi
4317done 4628done
@@ -4323,20 +4634,20 @@ esac
4323fi 4634fi
4324CAT=$ac_cv_path_CAT 4635CAT=$ac_cv_path_CAT
4325if test -n "$CAT"; then 4636if test -n "$CAT"; then
4326 { echo "$as_me:$LINENO: result: $CAT" >&5 4637 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4327echo "${ECHO_T}$CAT" >&6; } 4638$as_echo "$CAT" >&6; }
4328else 4639else
4329 { echo "$as_me:$LINENO: result: no" >&5 4640 { $as_echo "$as_me:$LINENO: result: no" >&5
4330echo "${ECHO_T}no" >&6; } 4641$as_echo "no" >&6; }
4331fi 4642fi
4332 4643
4333 4644
4334# Extract the first word of "kill", so it can be a program name with args. 4645# Extract the first word of "kill", so it can be a program name with args.
4335set dummy kill; ac_word=$2 4646set dummy kill; ac_word=$2
4336{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4647{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4337echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4648$as_echo_n "checking for $ac_word... " >&6; }
4338if test "${ac_cv_path_KILL+set}" = set; then 4649if test "${ac_cv_path_KILL+set}" = set; then
4339 echo $ECHO_N "(cached) $ECHO_C" >&6 4650 $as_echo_n "(cached) " >&6
4340else 4651else
4341 case $KILL in 4652 case $KILL in
4342 [\\/]* | ?:[\\/]*) 4653 [\\/]* | ?:[\\/]*)
@@ -4351,7 +4662,7 @@ do
4351 for ac_exec_ext in '' $ac_executable_extensions; do 4662 for ac_exec_ext in '' $ac_executable_extensions; do
4352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353 ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext" 4664 ac_cv_path_KILL="$as_dir/$ac_word$ac_exec_ext"
4354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4665 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 break 2 4666 break 2
4356 fi 4667 fi
4357done 4668done
@@ -4363,11 +4674,11 @@ esac
4363fi 4674fi
4364KILL=$ac_cv_path_KILL 4675KILL=$ac_cv_path_KILL
4365if test -n "$KILL"; then 4676if test -n "$KILL"; then
4366 { echo "$as_me:$LINENO: result: $KILL" >&5 4677 { $as_echo "$as_me:$LINENO: result: $KILL" >&5
4367echo "${ECHO_T}$KILL" >&6; } 4678$as_echo "$KILL" >&6; }
4368else 4679else
4369 { echo "$as_me:$LINENO: result: no" >&5 4680 { $as_echo "$as_me:$LINENO: result: no" >&5
4370echo "${ECHO_T}no" >&6; } 4681$as_echo "no" >&6; }
4371fi 4682fi
4372 4683
4373 4684
@@ -4375,10 +4686,10 @@ for ac_prog in perl5 perl
4375do 4686do
4376 # Extract the first word of "$ac_prog", so it can be a program name with args. 4687 # Extract the first word of "$ac_prog", so it can be a program name with args.
4377set dummy $ac_prog; ac_word=$2 4688set dummy $ac_prog; ac_word=$2
4378{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4689{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4379echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4690$as_echo_n "checking for $ac_word... " >&6; }
4380if test "${ac_cv_path_PERL+set}" = set; then 4691if test "${ac_cv_path_PERL+set}" = set; then
4381 echo $ECHO_N "(cached) $ECHO_C" >&6 4692 $as_echo_n "(cached) " >&6
4382else 4693else
4383 case $PERL in 4694 case $PERL in
4384 [\\/]* | ?:[\\/]*) 4695 [\\/]* | ?:[\\/]*)
@@ -4393,7 +4704,7 @@ do
4393 for ac_exec_ext in '' $ac_executable_extensions; do 4704 for ac_exec_ext in '' $ac_executable_extensions; do
4394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4395 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext" 4706 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4707 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 break 2 4708 break 2
4398 fi 4709 fi
4399done 4710done
@@ -4405,11 +4716,11 @@ esac
4405fi 4716fi
4406PERL=$ac_cv_path_PERL 4717PERL=$ac_cv_path_PERL
4407if test -n "$PERL"; then 4718if test -n "$PERL"; then
4408 { echo "$as_me:$LINENO: result: $PERL" >&5 4719 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
4409echo "${ECHO_T}$PERL" >&6; } 4720$as_echo "$PERL" >&6; }
4410else 4721else
4411 { echo "$as_me:$LINENO: result: no" >&5 4722 { $as_echo "$as_me:$LINENO: result: no" >&5
4412echo "${ECHO_T}no" >&6; } 4723$as_echo "no" >&6; }
4413fi 4724fi
4414 4725
4415 4726
@@ -4418,10 +4729,10 @@ done
4418 4729
4419# Extract the first word of "sed", so it can be a program name with args. 4730# Extract the first word of "sed", so it can be a program name with args.
4420set dummy sed; ac_word=$2 4731set dummy sed; ac_word=$2
4421{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4732{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4422echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4733$as_echo_n "checking for $ac_word... " >&6; }
4423if test "${ac_cv_path_SED+set}" = set; then 4734if test "${ac_cv_path_SED+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6 4735 $as_echo_n "(cached) " >&6
4425else 4736else
4426 case $SED in 4737 case $SED in
4427 [\\/]* | ?:[\\/]*) 4738 [\\/]* | ?:[\\/]*)
@@ -4436,7 +4747,7 @@ do
4436 for ac_exec_ext in '' $ac_executable_extensions; do 4747 for ac_exec_ext in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" 4749 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
4439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4750 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 break 2 4751 break 2
4441 fi 4752 fi
4442done 4753done
@@ -4448,21 +4759,21 @@ esac
4448fi 4759fi
4449SED=$ac_cv_path_SED 4760SED=$ac_cv_path_SED
4450if test -n "$SED"; then 4761if test -n "$SED"; then
4451 { echo "$as_me:$LINENO: result: $SED" >&5 4762 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4452echo "${ECHO_T}$SED" >&6; } 4763$as_echo "$SED" >&6; }
4453else 4764else
4454 { echo "$as_me:$LINENO: result: no" >&5 4765 { $as_echo "$as_me:$LINENO: result: no" >&5
4455echo "${ECHO_T}no" >&6; } 4766$as_echo "no" >&6; }
4456fi 4767fi
4457 4768
4458 4769
4459 4770
4460# Extract the first word of "ent", so it can be a program name with args. 4771# Extract the first word of "ent", so it can be a program name with args.
4461set dummy ent; ac_word=$2 4772set dummy ent; ac_word=$2
4462{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4773{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4463echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4774$as_echo_n "checking for $ac_word... " >&6; }
4464if test "${ac_cv_path_ENT+set}" = set; then 4775if test "${ac_cv_path_ENT+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6 4776 $as_echo_n "(cached) " >&6
4466else 4777else
4467 case $ENT in 4778 case $ENT in
4468 [\\/]* | ?:[\\/]*) 4779 [\\/]* | ?:[\\/]*)
@@ -4477,7 +4788,7 @@ do
4477 for ac_exec_ext in '' $ac_executable_extensions; do 4788 for ac_exec_ext in '' $ac_executable_extensions; do
4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4479 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext" 4790 ac_cv_path_ENT="$as_dir/$ac_word$ac_exec_ext"
4480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4791 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 break 2 4792 break 2
4482 fi 4793 fi
4483done 4794done
@@ -4489,21 +4800,21 @@ esac
4489fi 4800fi
4490ENT=$ac_cv_path_ENT 4801ENT=$ac_cv_path_ENT
4491if test -n "$ENT"; then 4802if test -n "$ENT"; then
4492 { echo "$as_me:$LINENO: result: $ENT" >&5 4803 { $as_echo "$as_me:$LINENO: result: $ENT" >&5
4493echo "${ECHO_T}$ENT" >&6; } 4804$as_echo "$ENT" >&6; }
4494else 4805else
4495 { echo "$as_me:$LINENO: result: no" >&5 4806 { $as_echo "$as_me:$LINENO: result: no" >&5
4496echo "${ECHO_T}no" >&6; } 4807$as_echo "no" >&6; }
4497fi 4808fi
4498 4809
4499 4810
4500 4811
4501# Extract the first word of "bash", so it can be a program name with args. 4812# Extract the first word of "bash", so it can be a program name with args.
4502set dummy bash; ac_word=$2 4813set dummy bash; ac_word=$2
4503{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4814{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4504echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4815$as_echo_n "checking for $ac_word... " >&6; }
4505if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 4816if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4506 echo $ECHO_N "(cached) $ECHO_C" >&6 4817 $as_echo_n "(cached) " >&6
4507else 4818else
4508 case $TEST_MINUS_S_SH in 4819 case $TEST_MINUS_S_SH in
4509 [\\/]* | ?:[\\/]*) 4820 [\\/]* | ?:[\\/]*)
@@ -4518,7 +4829,7 @@ do
4518 for ac_exec_ext in '' $ac_executable_extensions; do 4829 for ac_exec_ext in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4520 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" 4831 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 break 2 4833 break 2
4523 fi 4834 fi
4524done 4835done
@@ -4530,20 +4841,20 @@ esac
4530fi 4841fi
4531TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 4842TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4532if test -n "$TEST_MINUS_S_SH"; then 4843if test -n "$TEST_MINUS_S_SH"; then
4533 { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 4844 { $as_echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4534echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } 4845$as_echo "$TEST_MINUS_S_SH" >&6; }
4535else 4846else
4536 { echo "$as_me:$LINENO: result: no" >&5 4847 { $as_echo "$as_me:$LINENO: result: no" >&5
4537echo "${ECHO_T}no" >&6; } 4848$as_echo "no" >&6; }
4538fi 4849fi
4539 4850
4540 4851
4541# Extract the first word of "ksh", so it can be a program name with args. 4852# Extract the first word of "ksh", so it can be a program name with args.
4542set dummy ksh; ac_word=$2 4853set dummy ksh; ac_word=$2
4543{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4854{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4544echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4855$as_echo_n "checking for $ac_word... " >&6; }
4545if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 4856if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6 4857 $as_echo_n "(cached) " >&6
4547else 4858else
4548 case $TEST_MINUS_S_SH in 4859 case $TEST_MINUS_S_SH in
4549 [\\/]* | ?:[\\/]*) 4860 [\\/]* | ?:[\\/]*)
@@ -4558,7 +4869,7 @@ do
4558 for ac_exec_ext in '' $ac_executable_extensions; do 4869 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" 4871 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4872 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 break 2 4873 break 2
4563 fi 4874 fi
4564done 4875done
@@ -4570,20 +4881,20 @@ esac
4570fi 4881fi
4571TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 4882TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4572if test -n "$TEST_MINUS_S_SH"; then 4883if test -n "$TEST_MINUS_S_SH"; then
4573 { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 4884 { $as_echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4574echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } 4885$as_echo "$TEST_MINUS_S_SH" >&6; }
4575else 4886else
4576 { echo "$as_me:$LINENO: result: no" >&5 4887 { $as_echo "$as_me:$LINENO: result: no" >&5
4577echo "${ECHO_T}no" >&6; } 4888$as_echo "no" >&6; }
4578fi 4889fi
4579 4890
4580 4891
4581# Extract the first word of "sh", so it can be a program name with args. 4892# Extract the first word of "sh", so it can be a program name with args.
4582set dummy sh; ac_word=$2 4893set dummy sh; ac_word=$2
4583{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4894{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4895$as_echo_n "checking for $ac_word... " >&6; }
4585if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then 4896if test "${ac_cv_path_TEST_MINUS_S_SH+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6 4897 $as_echo_n "(cached) " >&6
4587else 4898else
4588 case $TEST_MINUS_S_SH in 4899 case $TEST_MINUS_S_SH in
4589 [\\/]* | ?:[\\/]*) 4900 [\\/]* | ?:[\\/]*)
@@ -4598,7 +4909,7 @@ do
4598 for ac_exec_ext in '' $ac_executable_extensions; do 4909 for ac_exec_ext in '' $ac_executable_extensions; do
4599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext" 4911 ac_cv_path_TEST_MINUS_S_SH="$as_dir/$ac_word$ac_exec_ext"
4601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4912 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4602 break 2 4913 break 2
4603 fi 4914 fi
4604done 4915done
@@ -4610,20 +4921,20 @@ esac
4610fi 4921fi
4611TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH 4922TEST_MINUS_S_SH=$ac_cv_path_TEST_MINUS_S_SH
4612if test -n "$TEST_MINUS_S_SH"; then 4923if test -n "$TEST_MINUS_S_SH"; then
4613 { echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5 4924 { $as_echo "$as_me:$LINENO: result: $TEST_MINUS_S_SH" >&5
4614echo "${ECHO_T}$TEST_MINUS_S_SH" >&6; } 4925$as_echo "$TEST_MINUS_S_SH" >&6; }
4615else 4926else
4616 { echo "$as_me:$LINENO: result: no" >&5 4927 { $as_echo "$as_me:$LINENO: result: no" >&5
4617echo "${ECHO_T}no" >&6; } 4928$as_echo "no" >&6; }
4618fi 4929fi
4619 4930
4620 4931
4621# Extract the first word of "sh", so it can be a program name with args. 4932# Extract the first word of "sh", so it can be a program name with args.
4622set dummy sh; ac_word=$2 4933set dummy sh; ac_word=$2
4623{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4934{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4624echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4935$as_echo_n "checking for $ac_word... " >&6; }
4625if test "${ac_cv_path_SH+set}" = set; then 4936if test "${ac_cv_path_SH+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6 4937 $as_echo_n "(cached) " >&6
4627else 4938else
4628 case $SH in 4939 case $SH in
4629 [\\/]* | ?:[\\/]*) 4940 [\\/]* | ?:[\\/]*)
@@ -4638,7 +4949,7 @@ do
4638 for ac_exec_ext in '' $ac_executable_extensions; do 4949 for ac_exec_ext in '' $ac_executable_extensions; do
4639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4640 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext" 4951 ac_cv_path_SH="$as_dir/$ac_word$ac_exec_ext"
4641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4952 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4642 break 2 4953 break 2
4643 fi 4954 fi
4644done 4955done
@@ -4650,11 +4961,11 @@ esac
4650fi 4961fi
4651SH=$ac_cv_path_SH 4962SH=$ac_cv_path_SH
4652if test -n "$SH"; then 4963if test -n "$SH"; then
4653 { echo "$as_me:$LINENO: result: $SH" >&5 4964 { $as_echo "$as_me:$LINENO: result: $SH" >&5
4654echo "${ECHO_T}$SH" >&6; } 4965$as_echo "$SH" >&6; }
4655else 4966else
4656 { echo "$as_me:$LINENO: result: no" >&5 4967 { $as_echo "$as_me:$LINENO: result: no" >&5
4657echo "${ECHO_T}no" >&6; } 4968$as_echo "no" >&6; }
4658fi 4969fi
4659 4970
4660 4971
@@ -4663,10 +4974,10 @@ TEST_SHELL=sh
4663 4974
4664# Extract the first word of "groupadd", so it can be a program name with args. 4975# Extract the first word of "groupadd", so it can be a program name with args.
4665set dummy groupadd; ac_word=$2 4976set dummy groupadd; ac_word=$2
4666{ echo "$as_me:$LINENO: checking for $ac_word" >&5 4977{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4667echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 4978$as_echo_n "checking for $ac_word... " >&6; }
4668if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then 4979if test "${ac_cv_path_PATH_GROUPADD_PROG+set}" = set; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6 4980 $as_echo_n "(cached) " >&6
4670else 4981else
4671 case $PATH_GROUPADD_PROG in 4982 case $PATH_GROUPADD_PROG in
4672 [\\/]* | ?:[\\/]*) 4983 [\\/]* | ?:[\\/]*)
@@ -4681,7 +4992,7 @@ do
4681 for ac_exec_ext in '' $ac_executable_extensions; do 4992 for ac_exec_ext in '' $ac_executable_extensions; do
4682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 4993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4683 ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext" 4994 ac_cv_path_PATH_GROUPADD_PROG="$as_dir/$ac_word$ac_exec_ext"
4684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4995 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4685 break 2 4996 break 2
4686 fi 4997 fi
4687done 4998done
@@ -4694,20 +5005,20 @@ esac
4694fi 5005fi
4695PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG 5006PATH_GROUPADD_PROG=$ac_cv_path_PATH_GROUPADD_PROG
4696if test -n "$PATH_GROUPADD_PROG"; then 5007if test -n "$PATH_GROUPADD_PROG"; then
4697 { echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5 5008 { $as_echo "$as_me:$LINENO: result: $PATH_GROUPADD_PROG" >&5
4698echo "${ECHO_T}$PATH_GROUPADD_PROG" >&6; } 5009$as_echo "$PATH_GROUPADD_PROG" >&6; }
4699else 5010else
4700 { echo "$as_me:$LINENO: result: no" >&5 5011 { $as_echo "$as_me:$LINENO: result: no" >&5
4701echo "${ECHO_T}no" >&6; } 5012$as_echo "no" >&6; }
4702fi 5013fi
4703 5014
4704 5015
4705# Extract the first word of "useradd", so it can be a program name with args. 5016# Extract the first word of "useradd", so it can be a program name with args.
4706set dummy useradd; ac_word=$2 5017set dummy useradd; ac_word=$2
4707{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5018{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4708echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5019$as_echo_n "checking for $ac_word... " >&6; }
4709if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then 5020if test "${ac_cv_path_PATH_USERADD_PROG+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6 5021 $as_echo_n "(cached) " >&6
4711else 5022else
4712 case $PATH_USERADD_PROG in 5023 case $PATH_USERADD_PROG in
4713 [\\/]* | ?:[\\/]*) 5024 [\\/]* | ?:[\\/]*)
@@ -4722,7 +5033,7 @@ do
4722 for ac_exec_ext in '' $ac_executable_extensions; do 5033 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext" 5035 ac_cv_path_PATH_USERADD_PROG="$as_dir/$ac_word$ac_exec_ext"
4725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5036 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 break 2 5037 break 2
4727 fi 5038 fi
4728done 5039done
@@ -4735,20 +5046,20 @@ esac
4735fi 5046fi
4736PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG 5047PATH_USERADD_PROG=$ac_cv_path_PATH_USERADD_PROG
4737if test -n "$PATH_USERADD_PROG"; then 5048if test -n "$PATH_USERADD_PROG"; then
4738 { echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5 5049 { $as_echo "$as_me:$LINENO: result: $PATH_USERADD_PROG" >&5
4739echo "${ECHO_T}$PATH_USERADD_PROG" >&6; } 5050$as_echo "$PATH_USERADD_PROG" >&6; }
4740else 5051else
4741 { echo "$as_me:$LINENO: result: no" >&5 5052 { $as_echo "$as_me:$LINENO: result: no" >&5
4742echo "${ECHO_T}no" >&6; } 5053$as_echo "no" >&6; }
4743fi 5054fi
4744 5055
4745 5056
4746# Extract the first word of "pkgmk", so it can be a program name with args. 5057# Extract the first word of "pkgmk", so it can be a program name with args.
4747set dummy pkgmk; ac_word=$2 5058set dummy pkgmk; ac_word=$2
4748{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5059{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4749echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5060$as_echo_n "checking for $ac_word... " >&6; }
4750if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then 5061if test "${ac_cv_prog_MAKE_PACKAGE_SUPPORTED+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6 5062 $as_echo_n "(cached) " >&6
4752else 5063else
4753 if test -n "$MAKE_PACKAGE_SUPPORTED"; then 5064 if test -n "$MAKE_PACKAGE_SUPPORTED"; then
4754 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test. 5065 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="$MAKE_PACKAGE_SUPPORTED" # Let the user override the test.
@@ -4761,7 +5072,7 @@ do
4761 for ac_exec_ext in '' $ac_executable_extensions; do 5072 for ac_exec_ext in '' $ac_executable_extensions; do
4762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes" 5074 ac_cv_prog_MAKE_PACKAGE_SUPPORTED="yes"
4764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4765 break 2 5076 break 2
4766 fi 5077 fi
4767done 5078done
@@ -4773,11 +5084,11 @@ fi
4773fi 5084fi
4774MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED 5085MAKE_PACKAGE_SUPPORTED=$ac_cv_prog_MAKE_PACKAGE_SUPPORTED
4775if test -n "$MAKE_PACKAGE_SUPPORTED"; then 5086if test -n "$MAKE_PACKAGE_SUPPORTED"; then
4776 { echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5 5087 { $as_echo "$as_me:$LINENO: result: $MAKE_PACKAGE_SUPPORTED" >&5
4777echo "${ECHO_T}$MAKE_PACKAGE_SUPPORTED" >&6; } 5088$as_echo "$MAKE_PACKAGE_SUPPORTED" >&6; }
4778else 5089else
4779 { echo "$as_me:$LINENO: result: no" >&5 5090 { $as_echo "$as_me:$LINENO: result: no" >&5
4780echo "${ECHO_T}no" >&6; } 5091$as_echo "no" >&6; }
4781fi 5092fi
4782 5093
4783 5094
@@ -4797,10 +5108,10 @@ fi
4797 5108
4798if test "$enable_largefile" != no; then 5109if test "$enable_largefile" != no; then
4799 5110
4800 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5 5111 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
4801echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; } 5112$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4802if test "${ac_cv_sys_largefile_CC+set}" = set; then 5113if test "${ac_cv_sys_largefile_CC+set}" = set; then
4803 echo $ECHO_N "(cached) $ECHO_C" >&6 5114 $as_echo_n "(cached) " >&6
4804else 5115else
4805 ac_cv_sys_largefile_CC=no 5116 ac_cv_sys_largefile_CC=no
4806 if test "$GCC" != yes; then 5117 if test "$GCC" != yes; then
@@ -4837,20 +5148,21 @@ case "(($ac_try" in
4837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;; 5149 *) ac_try_echo=$ac_try;;
4839esac 5150esac
4840eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5152$as_echo "$ac_try_echo") >&5
4841 (eval "$ac_compile") 2>conftest.er1 5153 (eval "$ac_compile") 2>conftest.er1
4842 ac_status=$? 5154 ac_status=$?
4843 grep -v '^ *+' conftest.er1 >conftest.err 5155 grep -v '^ *+' conftest.er1 >conftest.err
4844 rm -f conftest.er1 5156 rm -f conftest.er1
4845 cat conftest.err >&5 5157 cat conftest.err >&5
4846 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); } && { 5159 (exit $ac_status); } && {
4848 test -z "$ac_c_werror_flag" || 5160 test -z "$ac_c_werror_flag" ||
4849 test ! -s conftest.err 5161 test ! -s conftest.err
4850 } && test -s conftest.$ac_objext; then 5162 } && test -s conftest.$ac_objext; then
4851 break 5163 break
4852else 5164else
4853 echo "$as_me: failed program was:" >&5 5165 $as_echo "$as_me: failed program was:" >&5
4854sed 's/^/| /' conftest.$ac_ext >&5 5166sed 's/^/| /' conftest.$ac_ext >&5
4855 5167
4856 5168
@@ -4864,20 +5176,21 @@ case "(($ac_try" in
4864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;; 5177 *) ac_try_echo=$ac_try;;
4866esac 5178esac
4867eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5180$as_echo "$ac_try_echo") >&5
4868 (eval "$ac_compile") 2>conftest.er1 5181 (eval "$ac_compile") 2>conftest.er1
4869 ac_status=$? 5182 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err 5183 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1 5184 rm -f conftest.er1
4872 cat conftest.err >&5 5185 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } && { 5187 (exit $ac_status); } && {
4875 test -z "$ac_c_werror_flag" || 5188 test -z "$ac_c_werror_flag" ||
4876 test ! -s conftest.err 5189 test ! -s conftest.err
4877 } && test -s conftest.$ac_objext; then 5190 } && test -s conftest.$ac_objext; then
4878 ac_cv_sys_largefile_CC=' -n32'; break 5191 ac_cv_sys_largefile_CC=' -n32'; break
4879else 5192else
4880 echo "$as_me: failed program was:" >&5 5193 $as_echo "$as_me: failed program was:" >&5
4881sed 's/^/| /' conftest.$ac_ext >&5 5194sed 's/^/| /' conftest.$ac_ext >&5
4882 5195
4883 5196
@@ -4890,16 +5203,16 @@ rm -f core conftest.err conftest.$ac_objext
4890 rm -f conftest.$ac_ext 5203 rm -f conftest.$ac_ext
4891 fi 5204 fi
4892fi 5205fi
4893{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5 5206{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
4894echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; } 5207$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4895 if test "$ac_cv_sys_largefile_CC" != no; then 5208 if test "$ac_cv_sys_largefile_CC" != no; then
4896 CC=$CC$ac_cv_sys_largefile_CC 5209 CC=$CC$ac_cv_sys_largefile_CC
4897 fi 5210 fi
4898 5211
4899 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5 5212 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4900echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; } 5213$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4901if test "${ac_cv_sys_file_offset_bits+set}" = set; then 5214if test "${ac_cv_sys_file_offset_bits+set}" = set; then
4902 echo $ECHO_N "(cached) $ECHO_C" >&6 5215 $as_echo_n "(cached) " >&6
4903else 5216else
4904 while :; do 5217 while :; do
4905 cat >conftest.$ac_ext <<_ACEOF 5218 cat >conftest.$ac_ext <<_ACEOF
@@ -4931,20 +5244,21 @@ case "(($ac_try" in
4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;; 5245 *) ac_try_echo=$ac_try;;
4933esac 5246esac
4934eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5247eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5248$as_echo "$ac_try_echo") >&5
4935 (eval "$ac_compile") 2>conftest.er1 5249 (eval "$ac_compile") 2>conftest.er1
4936 ac_status=$? 5250 ac_status=$?
4937 grep -v '^ *+' conftest.er1 >conftest.err 5251 grep -v '^ *+' conftest.er1 >conftest.err
4938 rm -f conftest.er1 5252 rm -f conftest.er1
4939 cat conftest.err >&5 5253 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); } && { 5255 (exit $ac_status); } && {
4942 test -z "$ac_c_werror_flag" || 5256 test -z "$ac_c_werror_flag" ||
4943 test ! -s conftest.err 5257 test ! -s conftest.err
4944 } && test -s conftest.$ac_objext; then 5258 } && test -s conftest.$ac_objext; then
4945 ac_cv_sys_file_offset_bits=no; break 5259 ac_cv_sys_file_offset_bits=no; break
4946else 5260else
4947 echo "$as_me: failed program was:" >&5 5261 $as_echo "$as_me: failed program was:" >&5
4948sed 's/^/| /' conftest.$ac_ext >&5 5262sed 's/^/| /' conftest.$ac_ext >&5
4949 5263
4950 5264
@@ -4981,20 +5295,21 @@ case "(($ac_try" in
4981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982 *) ac_try_echo=$ac_try;; 5296 *) ac_try_echo=$ac_try;;
4983esac 5297esac
4984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5298eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5299$as_echo "$ac_try_echo") >&5
4985 (eval "$ac_compile") 2>conftest.er1 5300 (eval "$ac_compile") 2>conftest.er1
4986 ac_status=$? 5301 ac_status=$?
4987 grep -v '^ *+' conftest.er1 >conftest.err 5302 grep -v '^ *+' conftest.er1 >conftest.err
4988 rm -f conftest.er1 5303 rm -f conftest.er1
4989 cat conftest.err >&5 5304 cat conftest.err >&5
4990 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5305 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4991 (exit $ac_status); } && { 5306 (exit $ac_status); } && {
4992 test -z "$ac_c_werror_flag" || 5307 test -z "$ac_c_werror_flag" ||
4993 test ! -s conftest.err 5308 test ! -s conftest.err
4994 } && test -s conftest.$ac_objext; then 5309 } && test -s conftest.$ac_objext; then
4995 ac_cv_sys_file_offset_bits=64; break 5310 ac_cv_sys_file_offset_bits=64; break
4996else 5311else
4997 echo "$as_me: failed program was:" >&5 5312 $as_echo "$as_me: failed program was:" >&5
4998sed 's/^/| /' conftest.$ac_ext >&5 5313sed 's/^/| /' conftest.$ac_ext >&5
4999 5314
5000 5315
@@ -5005,8 +5320,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5005 break 5320 break
5006done 5321done
5007fi 5322fi
5008{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5 5323{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
5009echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; } 5324$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5010case $ac_cv_sys_file_offset_bits in #( 5325case $ac_cv_sys_file_offset_bits in #(
5011 no | unknown) ;; 5326 no | unknown) ;;
5012 *) 5327 *)
@@ -5015,12 +5330,12 @@ cat >>confdefs.h <<_ACEOF
5015_ACEOF 5330_ACEOF
5016;; 5331;;
5017esac 5332esac
5018rm -f conftest* 5333rm -rf conftest*
5019 if test $ac_cv_sys_file_offset_bits = unknown; then 5334 if test $ac_cv_sys_file_offset_bits = unknown; then
5020 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5 5335 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
5021echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; } 5336$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5022if test "${ac_cv_sys_large_files+set}" = set; then 5337if test "${ac_cv_sys_large_files+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6 5338 $as_echo_n "(cached) " >&6
5024else 5339else
5025 while :; do 5340 while :; do
5026 cat >conftest.$ac_ext <<_ACEOF 5341 cat >conftest.$ac_ext <<_ACEOF
@@ -5052,20 +5367,21 @@ case "(($ac_try" in
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;; 5368 *) ac_try_echo=$ac_try;;
5054esac 5369esac
5055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5370eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5371$as_echo "$ac_try_echo") >&5
5056 (eval "$ac_compile") 2>conftest.er1 5372 (eval "$ac_compile") 2>conftest.er1
5057 ac_status=$? 5373 ac_status=$?
5058 grep -v '^ *+' conftest.er1 >conftest.err 5374 grep -v '^ *+' conftest.er1 >conftest.err
5059 rm -f conftest.er1 5375 rm -f conftest.er1
5060 cat conftest.err >&5 5376 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } && { 5378 (exit $ac_status); } && {
5063 test -z "$ac_c_werror_flag" || 5379 test -z "$ac_c_werror_flag" ||
5064 test ! -s conftest.err 5380 test ! -s conftest.err
5065 } && test -s conftest.$ac_objext; then 5381 } && test -s conftest.$ac_objext; then
5066 ac_cv_sys_large_files=no; break 5382 ac_cv_sys_large_files=no; break
5067else 5383else
5068 echo "$as_me: failed program was:" >&5 5384 $as_echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5 5385sed 's/^/| /' conftest.$ac_ext >&5
5070 5386
5071 5387
@@ -5102,20 +5418,21 @@ case "(($ac_try" in
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;; 5419 *) ac_try_echo=$ac_try;;
5104esac 5420esac
5105eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5421eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5422$as_echo "$ac_try_echo") >&5
5106 (eval "$ac_compile") 2>conftest.er1 5423 (eval "$ac_compile") 2>conftest.er1
5107 ac_status=$? 5424 ac_status=$?
5108 grep -v '^ *+' conftest.er1 >conftest.err 5425 grep -v '^ *+' conftest.er1 >conftest.err
5109 rm -f conftest.er1 5426 rm -f conftest.er1
5110 cat conftest.err >&5 5427 cat conftest.err >&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); } && { 5429 (exit $ac_status); } && {
5113 test -z "$ac_c_werror_flag" || 5430 test -z "$ac_c_werror_flag" ||
5114 test ! -s conftest.err 5431 test ! -s conftest.err
5115 } && test -s conftest.$ac_objext; then 5432 } && test -s conftest.$ac_objext; then
5116 ac_cv_sys_large_files=1; break 5433 ac_cv_sys_large_files=1; break
5117else 5434else
5118 echo "$as_me: failed program was:" >&5 5435 $as_echo "$as_me: failed program was:" >&5
5119sed 's/^/| /' conftest.$ac_ext >&5 5436sed 's/^/| /' conftest.$ac_ext >&5
5120 5437
5121 5438
@@ -5126,8 +5443,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5126 break 5443 break
5127done 5444done
5128fi 5445fi
5129{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5 5446{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
5130echo "${ECHO_T}$ac_cv_sys_large_files" >&6; } 5447$as_echo "$ac_cv_sys_large_files" >&6; }
5131case $ac_cv_sys_large_files in #( 5448case $ac_cv_sys_large_files in #(
5132 no | unknown) ;; 5449 no | unknown) ;;
5133 *) 5450 *)
@@ -5136,14 +5453,14 @@ cat >>confdefs.h <<_ACEOF
5136_ACEOF 5453_ACEOF
5137;; 5454;;
5138esac 5455esac
5139rm -f conftest* 5456rm -rf conftest*
5140 fi 5457 fi
5141fi 5458fi
5142 5459
5143 5460
5144if test -z "$AR" ; then 5461if test -z "$AR" ; then
5145 { { echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5 5462 { { $as_echo "$as_me:$LINENO: error: *** 'ar' missing, please install or fix your \$PATH ***" >&5
5146echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;} 5463$as_echo "$as_me: error: *** 'ar' missing, please install or fix your \$PATH ***" >&2;}
5147 { (exit 1); exit 1; }; } 5464 { (exit 1); exit 1; }; }
5148fi 5465fi
5149 5466
@@ -5158,10 +5475,10 @@ else
5158 # Search for login 5475 # Search for login
5159 # Extract the first word of "login", so it can be a program name with args. 5476 # Extract the first word of "login", so it can be a program name with args.
5160set dummy login; ac_word=$2 5477set dummy login; ac_word=$2
5161{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5478{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5162echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5479$as_echo_n "checking for $ac_word... " >&6; }
5163if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then 5480if test "${ac_cv_path_LOGIN_PROGRAM_FALLBACK+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6 5481 $as_echo_n "(cached) " >&6
5165else 5482else
5166 case $LOGIN_PROGRAM_FALLBACK in 5483 case $LOGIN_PROGRAM_FALLBACK in
5167 [\\/]* | ?:[\\/]*) 5484 [\\/]* | ?:[\\/]*)
@@ -5176,7 +5493,7 @@ do
5176 for ac_exec_ext in '' $ac_executable_extensions; do 5493 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext" 5495 ac_cv_path_LOGIN_PROGRAM_FALLBACK="$as_dir/$ac_word$ac_exec_ext"
5179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5496 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2 5497 break 2
5181 fi 5498 fi
5182done 5499done
@@ -5188,11 +5505,11 @@ esac
5188fi 5505fi
5189LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK 5506LOGIN_PROGRAM_FALLBACK=$ac_cv_path_LOGIN_PROGRAM_FALLBACK
5190if test -n "$LOGIN_PROGRAM_FALLBACK"; then 5507if test -n "$LOGIN_PROGRAM_FALLBACK"; then
5191 { echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5 5508 { $as_echo "$as_me:$LINENO: result: $LOGIN_PROGRAM_FALLBACK" >&5
5192echo "${ECHO_T}$LOGIN_PROGRAM_FALLBACK" >&6; } 5509$as_echo "$LOGIN_PROGRAM_FALLBACK" >&6; }
5193else 5510else
5194 { echo "$as_me:$LINENO: result: no" >&5 5511 { $as_echo "$as_me:$LINENO: result: no" >&5
5195echo "${ECHO_T}no" >&6; } 5512$as_echo "no" >&6; }
5196fi 5513fi
5197 5514
5198 5515
@@ -5206,10 +5523,10 @@ fi
5206 5523
5207# Extract the first word of "passwd", so it can be a program name with args. 5524# Extract the first word of "passwd", so it can be a program name with args.
5208set dummy passwd; ac_word=$2 5525set dummy passwd; ac_word=$2
5209{ echo "$as_me:$LINENO: checking for $ac_word" >&5 5526{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5210echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 5527$as_echo_n "checking for $ac_word... " >&6; }
5211if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then 5528if test "${ac_cv_path_PATH_PASSWD_PROG+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6 5529 $as_echo_n "(cached) " >&6
5213else 5530else
5214 case $PATH_PASSWD_PROG in 5531 case $PATH_PASSWD_PROG in
5215 [\\/]* | ?:[\\/]*) 5532 [\\/]* | ?:[\\/]*)
@@ -5224,7 +5541,7 @@ do
5224 for ac_exec_ext in '' $ac_executable_extensions; do 5541 for ac_exec_ext in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 5542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext" 5543 ac_cv_path_PATH_PASSWD_PROG="$as_dir/$ac_word$ac_exec_ext"
5227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 5544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5228 break 2 5545 break 2
5229 fi 5546 fi
5230done 5547done
@@ -5236,11 +5553,11 @@ esac
5236fi 5553fi
5237PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG 5554PATH_PASSWD_PROG=$ac_cv_path_PATH_PASSWD_PROG
5238if test -n "$PATH_PASSWD_PROG"; then 5555if test -n "$PATH_PASSWD_PROG"; then
5239 { echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5 5556 { $as_echo "$as_me:$LINENO: result: $PATH_PASSWD_PROG" >&5
5240echo "${ECHO_T}$PATH_PASSWD_PROG" >&6; } 5557$as_echo "$PATH_PASSWD_PROG" >&6; }
5241else 5558else
5242 { echo "$as_me:$LINENO: result: no" >&5 5559 { $as_echo "$as_me:$LINENO: result: no" >&5
5243echo "${ECHO_T}no" >&6; } 5560$as_echo "no" >&6; }
5244fi 5561fi
5245 5562
5246 5563
@@ -5257,10 +5574,10 @@ if test -z "$LD" ; then
5257fi 5574fi
5258 5575
5259 5576
5260{ echo "$as_me:$LINENO: checking for inline" >&5 5577{ $as_echo "$as_me:$LINENO: checking for inline" >&5
5261echo $ECHO_N "checking for inline... $ECHO_C" >&6; } 5578$as_echo_n "checking for inline... " >&6; }
5262if test "${ac_cv_c_inline+set}" = set; then 5579if test "${ac_cv_c_inline+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6 5580 $as_echo_n "(cached) " >&6
5264else 5581else
5265 ac_cv_c_inline=no 5582 ac_cv_c_inline=no
5266for ac_kw in inline __inline__ __inline; do 5583for ac_kw in inline __inline__ __inline; do
@@ -5283,20 +5600,21 @@ case "(($ac_try" in
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;; 5601 *) ac_try_echo=$ac_try;;
5285esac 5602esac
5286eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5604$as_echo "$ac_try_echo") >&5
5287 (eval "$ac_compile") 2>conftest.er1 5605 (eval "$ac_compile") 2>conftest.er1
5288 ac_status=$? 5606 ac_status=$?
5289 grep -v '^ *+' conftest.er1 >conftest.err 5607 grep -v '^ *+' conftest.er1 >conftest.err
5290 rm -f conftest.er1 5608 rm -f conftest.er1
5291 cat conftest.err >&5 5609 cat conftest.err >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); } && { 5611 (exit $ac_status); } && {
5294 test -z "$ac_c_werror_flag" || 5612 test -z "$ac_c_werror_flag" ||
5295 test ! -s conftest.err 5613 test ! -s conftest.err
5296 } && test -s conftest.$ac_objext; then 5614 } && test -s conftest.$ac_objext; then
5297 ac_cv_c_inline=$ac_kw 5615 ac_cv_c_inline=$ac_kw
5298else 5616else
5299 echo "$as_me: failed program was:" >&5 5617 $as_echo "$as_me: failed program was:" >&5
5300sed 's/^/| /' conftest.$ac_ext >&5 5618sed 's/^/| /' conftest.$ac_ext >&5
5301 5619
5302 5620
@@ -5307,8 +5625,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307done 5625done
5308 5626
5309fi 5627fi
5310{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 5628{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
5311echo "${ECHO_T}$ac_cv_c_inline" >&6; } 5629$as_echo "$ac_cv_c_inline" >&6; }
5312 5630
5313 5631
5314case $ac_cv_c_inline in 5632case $ac_cv_c_inline in
@@ -5327,10 +5645,10 @@ _ACEOF
5327esac 5645esac
5328 5646
5329 5647
5330{ echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 5648{ $as_echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5
5331echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } 5649$as_echo_n "checking whether LLONG_MAX is declared... " >&6; }
5332if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then 5650if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6 5651 $as_echo_n "(cached) " >&6
5334else 5652else
5335 cat >conftest.$ac_ext <<_ACEOF 5653 cat >conftest.$ac_ext <<_ACEOF
5336/* confdefs.h. */ 5654/* confdefs.h. */
@@ -5357,20 +5675,21 @@ case "(($ac_try" in
5357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5358 *) ac_try_echo=$ac_try;; 5676 *) ac_try_echo=$ac_try;;
5359esac 5677esac
5360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5678eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5679$as_echo "$ac_try_echo") >&5
5361 (eval "$ac_compile") 2>conftest.er1 5680 (eval "$ac_compile") 2>conftest.er1
5362 ac_status=$? 5681 ac_status=$?
5363 grep -v '^ *+' conftest.er1 >conftest.err 5682 grep -v '^ *+' conftest.er1 >conftest.err
5364 rm -f conftest.er1 5683 rm -f conftest.er1
5365 cat conftest.err >&5 5684 cat conftest.err >&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } && { 5686 (exit $ac_status); } && {
5368 test -z "$ac_c_werror_flag" || 5687 test -z "$ac_c_werror_flag" ||
5369 test ! -s conftest.err 5688 test ! -s conftest.err
5370 } && test -s conftest.$ac_objext; then 5689 } && test -s conftest.$ac_objext; then
5371 ac_cv_have_decl_LLONG_MAX=yes 5690 ac_cv_have_decl_LLONG_MAX=yes
5372else 5691else
5373 echo "$as_me: failed program was:" >&5 5692 $as_echo "$as_me: failed program was:" >&5
5374sed 's/^/| /' conftest.$ac_ext >&5 5693sed 's/^/| /' conftest.$ac_ext >&5
5375 5694
5376 ac_cv_have_decl_LLONG_MAX=no 5695 ac_cv_have_decl_LLONG_MAX=no
@@ -5378,8 +5697,8 @@ fi
5378 5697
5379rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380fi 5699fi
5381{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 5700{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5
5382echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } 5701$as_echo "$ac_cv_have_decl_LLONG_MAX" >&6; }
5383if test $ac_cv_have_decl_LLONG_MAX = yes; then 5702if test $ac_cv_have_decl_LLONG_MAX = yes; then
5384 have_llong_max=1 5703 have_llong_max=1
5385fi 5704fi
@@ -5411,8 +5730,8 @@ if test "$GCC" = "yes" || test "$GCC" = "egcs"; then
5411 *) ;; 5730 *) ;;
5412 esac 5731 esac
5413 5732
5414 { echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5 5733 { $as_echo "$as_me:$LINENO: checking if $CC accepts -fno-builtin-memset" >&5
5415echo $ECHO_N "checking if $CC accepts -fno-builtin-memset... $ECHO_C" >&6; } 5734$as_echo_n "checking if $CC accepts -fno-builtin-memset... " >&6; }
5416 saved_CFLAGS="$CFLAGS" 5735 saved_CFLAGS="$CFLAGS"
5417 CFLAGS="$CFLAGS -fno-builtin-memset" 5736 CFLAGS="$CFLAGS -fno-builtin-memset"
5418 cat >conftest.$ac_ext <<_ACEOF 5737 cat >conftest.$ac_ext <<_ACEOF
@@ -5432,30 +5751,34 @@ case "(($ac_try" in
5432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5433 *) ac_try_echo=$ac_try;; 5752 *) ac_try_echo=$ac_try;;
5434esac 5753esac
5435eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5754eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5755$as_echo "$ac_try_echo") >&5
5436 (eval "$ac_link") 2>conftest.er1 5756 (eval "$ac_link") 2>conftest.er1
5437 ac_status=$? 5757 ac_status=$?
5438 grep -v '^ *+' conftest.er1 >conftest.err 5758 grep -v '^ *+' conftest.er1 >conftest.err
5439 rm -f conftest.er1 5759 rm -f conftest.er1
5440 cat conftest.err >&5 5760 cat conftest.err >&5
5441 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5442 (exit $ac_status); } && { 5762 (exit $ac_status); } && {
5443 test -z "$ac_c_werror_flag" || 5763 test -z "$ac_c_werror_flag" ||
5444 test ! -s conftest.err 5764 test ! -s conftest.err
5445 } && test -s conftest$ac_exeext && 5765 } && test -s conftest$ac_exeext && {
5446 $as_test_x conftest$ac_exeext; then 5766 test "$cross_compiling" = yes ||
5447 { echo "$as_me:$LINENO: result: yes" >&5 5767 $as_test_x conftest$ac_exeext
5448echo "${ECHO_T}yes" >&6; } 5768 }; then
5769 { $as_echo "$as_me:$LINENO: result: yes" >&5
5770$as_echo "yes" >&6; }
5449else 5771else
5450 echo "$as_me: failed program was:" >&5 5772 $as_echo "$as_me: failed program was:" >&5
5451sed 's/^/| /' conftest.$ac_ext >&5 5773sed 's/^/| /' conftest.$ac_ext >&5
5452 5774
5453 { echo "$as_me:$LINENO: result: no" >&5 5775 { $as_echo "$as_me:$LINENO: result: no" >&5
5454echo "${ECHO_T}no" >&6; } 5776$as_echo "no" >&6; }
5455 CFLAGS="$saved_CFLAGS" 5777 CFLAGS="$saved_CFLAGS"
5456 5778
5457fi 5779fi
5458 5780
5781rm -rf conftest.dSYM
5459rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5782rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5460 conftest$ac_exeext conftest.$ac_ext 5783 conftest$ac_exeext conftest.$ac_ext
5461 5784
@@ -5464,8 +5787,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5464 # on a given platform gcc will emit a warning so we use -Werror. 5787 # on a given platform gcc will emit a warning so we use -Werror.
5465 if test "x$use_stack_protector" = "x1"; then 5788 if test "x$use_stack_protector" = "x1"; then
5466 for t in -fstack-protector-all -fstack-protector; do 5789 for t in -fstack-protector-all -fstack-protector; do
5467 { echo "$as_me:$LINENO: checking if $CC supports $t" >&5 5790 { $as_echo "$as_me:$LINENO: checking if $CC supports $t" >&5
5468echo $ECHO_N "checking if $CC supports $t... $ECHO_C" >&6; } 5791$as_echo_n "checking if $CC supports $t... " >&6; }
5469 saved_CFLAGS="$CFLAGS" 5792 saved_CFLAGS="$CFLAGS"
5470 saved_LDFLAGS="$LDFLAGS" 5793 saved_LDFLAGS="$LDFLAGS"
5471 CFLAGS="$CFLAGS $t -Werror" 5794 CFLAGS="$CFLAGS $t -Werror"
@@ -5487,27 +5810,30 @@ case "(($ac_try" in
5487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;; 5811 *) ac_try_echo=$ac_try;;
5489esac 5812esac
5490eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5813eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5814$as_echo "$ac_try_echo") >&5
5491 (eval "$ac_link") 2>conftest.er1 5815 (eval "$ac_link") 2>conftest.er1
5492 ac_status=$? 5816 ac_status=$?
5493 grep -v '^ *+' conftest.er1 >conftest.err 5817 grep -v '^ *+' conftest.er1 >conftest.err
5494 rm -f conftest.er1 5818 rm -f conftest.er1
5495 cat conftest.err >&5 5819 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5820 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && { 5821 (exit $ac_status); } && {
5498 test -z "$ac_c_werror_flag" || 5822 test -z "$ac_c_werror_flag" ||
5499 test ! -s conftest.err 5823 test ! -s conftest.err
5500 } && test -s conftest$ac_exeext && 5824 } && test -s conftest$ac_exeext && {
5501 $as_test_x conftest$ac_exeext; then 5825 test "$cross_compiling" = yes ||
5502 { echo "$as_me:$LINENO: result: yes" >&5 5826 $as_test_x conftest$ac_exeext
5503echo "${ECHO_T}yes" >&6; } 5827 }; then
5828 { $as_echo "$as_me:$LINENO: result: yes" >&5
5829$as_echo "yes" >&6; }
5504 CFLAGS="$saved_CFLAGS $t" 5830 CFLAGS="$saved_CFLAGS $t"
5505 LDFLAGS="$saved_LDFLAGS $t" 5831 LDFLAGS="$saved_LDFLAGS $t"
5506 { echo "$as_me:$LINENO: checking if $t works" >&5 5832 { $as_echo "$as_me:$LINENO: checking if $t works" >&5
5507echo $ECHO_N "checking if $t works... $ECHO_C" >&6; } 5833$as_echo_n "checking if $t works... " >&6; }
5508 if test "$cross_compiling" = yes; then 5834 if test "$cross_compiling" = yes; then
5509 { echo "$as_me:$LINENO: WARNING: cross compiling: cannot test" >&5 5835 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: cannot test" >&5
5510echo "$as_me: WARNING: cross compiling: cannot test" >&2;} 5836$as_echo "$as_me: WARNING: cross compiling: cannot test" >&2;}
5511 break 5837 break
5512 5838
5513else 5839else
@@ -5528,46 +5854,50 @@ case "(($ac_try" in
5528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5529 *) ac_try_echo=$ac_try;; 5855 *) ac_try_echo=$ac_try;;
5530esac 5856esac
5531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5857eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5858$as_echo "$ac_try_echo") >&5
5532 (eval "$ac_link") 2>&5 5859 (eval "$ac_link") 2>&5
5533 ac_status=$? 5860 ac_status=$?
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 5862 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5536 { (case "(($ac_try" in 5863 { (case "(($ac_try" in
5537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;; 5865 *) ac_try_echo=$ac_try;;
5539esac 5866esac
5540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5868$as_echo "$ac_try_echo") >&5
5541 (eval "$ac_try") 2>&5 5869 (eval "$ac_try") 2>&5
5542 ac_status=$? 5870 ac_status=$?
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; }; then 5872 (exit $ac_status); }; }; then
5545 { echo "$as_me:$LINENO: result: yes" >&5 5873 { $as_echo "$as_me:$LINENO: result: yes" >&5
5546echo "${ECHO_T}yes" >&6; } 5874$as_echo "yes" >&6; }
5547 break 5875 break
5548else 5876else
5549 echo "$as_me: program exited with status $ac_status" >&5 5877 $as_echo "$as_me: program exited with status $ac_status" >&5
5550echo "$as_me: failed program was:" >&5 5878$as_echo "$as_me: failed program was:" >&5
5551sed 's/^/| /' conftest.$ac_ext >&5 5879sed 's/^/| /' conftest.$ac_ext >&5
5552 5880
5553( exit $ac_status ) 5881( exit $ac_status )
5554 { echo "$as_me:$LINENO: result: no" >&5 5882 { $as_echo "$as_me:$LINENO: result: no" >&5
5555echo "${ECHO_T}no" >&6; } 5883$as_echo "no" >&6; }
5556fi 5884fi
5885rm -rf conftest.dSYM
5557rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 5886rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5558fi 5887fi
5559 5888
5560 5889
5561 5890
5562else 5891else
5563 echo "$as_me: failed program was:" >&5 5892 $as_echo "$as_me: failed program was:" >&5
5564sed 's/^/| /' conftest.$ac_ext >&5 5893sed 's/^/| /' conftest.$ac_ext >&5
5565 5894
5566 { echo "$as_me:$LINENO: result: no" >&5 5895 { $as_echo "$as_me:$LINENO: result: no" >&5
5567echo "${ECHO_T}no" >&6; } 5896$as_echo "no" >&6; }
5568 5897
5569fi 5898fi
5570 5899
5900rm -rf conftest.dSYM
5571rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 5901rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5572 conftest$ac_exeext conftest.$ac_ext 5902 conftest$ac_exeext conftest.$ac_ext
5573 CFLAGS="$saved_CFLAGS" 5903 CFLAGS="$saved_CFLAGS"
@@ -5580,10 +5910,10 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5580 unset ac_cv_have_decl_LLONG_MAX 5910 unset ac_cv_have_decl_LLONG_MAX
5581 saved_CFLAGS="$CFLAGS" 5911 saved_CFLAGS="$CFLAGS"
5582 CFLAGS="$CFLAGS -std=gnu99" 5912 CFLAGS="$CFLAGS -std=gnu99"
5583 { echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5 5913 { $as_echo "$as_me:$LINENO: checking whether LLONG_MAX is declared" >&5
5584echo $ECHO_N "checking whether LLONG_MAX is declared... $ECHO_C" >&6; } 5914$as_echo_n "checking whether LLONG_MAX is declared... " >&6; }
5585if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then 5915if test "${ac_cv_have_decl_LLONG_MAX+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6 5916 $as_echo_n "(cached) " >&6
5587else 5917else
5588 cat >conftest.$ac_ext <<_ACEOF 5918 cat >conftest.$ac_ext <<_ACEOF
5589/* confdefs.h. */ 5919/* confdefs.h. */
@@ -5611,20 +5941,21 @@ case "(($ac_try" in
5611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;; 5942 *) ac_try_echo=$ac_try;;
5613esac 5943esac
5614eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5944eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5945$as_echo "$ac_try_echo") >&5
5615 (eval "$ac_compile") 2>conftest.er1 5946 (eval "$ac_compile") 2>conftest.er1
5616 ac_status=$? 5947 ac_status=$?
5617 grep -v '^ *+' conftest.er1 >conftest.err 5948 grep -v '^ *+' conftest.er1 >conftest.err
5618 rm -f conftest.er1 5949 rm -f conftest.er1
5619 cat conftest.err >&5 5950 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && { 5952 (exit $ac_status); } && {
5622 test -z "$ac_c_werror_flag" || 5953 test -z "$ac_c_werror_flag" ||
5623 test ! -s conftest.err 5954 test ! -s conftest.err
5624 } && test -s conftest.$ac_objext; then 5955 } && test -s conftest.$ac_objext; then
5625 ac_cv_have_decl_LLONG_MAX=yes 5956 ac_cv_have_decl_LLONG_MAX=yes
5626else 5957else
5627 echo "$as_me: failed program was:" >&5 5958 $as_echo "$as_me: failed program was:" >&5
5628sed 's/^/| /' conftest.$ac_ext >&5 5959sed 's/^/| /' conftest.$ac_ext >&5
5629 5960
5630 ac_cv_have_decl_LLONG_MAX=no 5961 ac_cv_have_decl_LLONG_MAX=no
@@ -5632,8 +5963,8 @@ fi
5632 5963
5633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5634fi 5965fi
5635{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5 5966{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_LLONG_MAX" >&5
5636echo "${ECHO_T}$ac_cv_have_decl_LLONG_MAX" >&6; } 5967$as_echo "$ac_cv_have_decl_LLONG_MAX" >&6; }
5637if test $ac_cv_have_decl_LLONG_MAX = yes; then 5968if test $ac_cv_have_decl_LLONG_MAX = yes; then
5638 have_llong_max=1 5969 have_llong_max=1
5639else 5970else
@@ -5793,7 +6124,6 @@ fi
5793 6124
5794 6125
5795 6126
5796
5797for ac_header in \ 6127for ac_header in \
5798 bstring.h \ 6128 bstring.h \
5799 crypt.h \ 6129 crypt.h \
@@ -5833,7 +6163,6 @@ for ac_header in \
5833 sys/cdefs.h \ 6163 sys/cdefs.h \
5834 sys/dir.h \ 6164 sys/dir.h \
5835 sys/mman.h \ 6165 sys/mman.h \
5836 sys/mount.h \
5837 sys/ndir.h \ 6166 sys/ndir.h \
5838 sys/poll.h \ 6167 sys/poll.h \
5839 sys/prctl.h \ 6168 sys/prctl.h \
@@ -5861,20 +6190,21 @@ for ac_header in \
5861 vis.h \ 6190 vis.h \
5862 6191
5863do 6192do
5864as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6193as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5865if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6194if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5866 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6195 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5867echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6196$as_echo_n "checking for $ac_header... " >&6; }
5868if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6 6198 $as_echo_n "(cached) " >&6
5870fi 6199fi
5871ac_res=`eval echo '${'$as_ac_Header'}'` 6200ac_res=`eval 'as_val=${'$as_ac_Header'}
5872 { echo "$as_me:$LINENO: result: $ac_res" >&5 6201 $as_echo "$as_val"'`
5873echo "${ECHO_T}$ac_res" >&6; } 6202 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6203$as_echo "$ac_res" >&6; }
5874else 6204else
5875 # Is the header compilable? 6205 # Is the header compilable?
5876{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 6206{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5877echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6207$as_echo_n "checking $ac_header usability... " >&6; }
5878cat >conftest.$ac_ext <<_ACEOF 6208cat >conftest.$ac_ext <<_ACEOF
5879/* confdefs.h. */ 6209/* confdefs.h. */
5880_ACEOF 6210_ACEOF
@@ -5890,32 +6220,33 @@ case "(($ac_try" in
5890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5891 *) ac_try_echo=$ac_try;; 6221 *) ac_try_echo=$ac_try;;
5892esac 6222esac
5893eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6223eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6224$as_echo "$ac_try_echo") >&5
5894 (eval "$ac_compile") 2>conftest.er1 6225 (eval "$ac_compile") 2>conftest.er1
5895 ac_status=$? 6226 ac_status=$?
5896 grep -v '^ *+' conftest.er1 >conftest.err 6227 grep -v '^ *+' conftest.er1 >conftest.err
5897 rm -f conftest.er1 6228 rm -f conftest.er1
5898 cat conftest.err >&5 6229 cat conftest.err >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } && { 6231 (exit $ac_status); } && {
5901 test -z "$ac_c_werror_flag" || 6232 test -z "$ac_c_werror_flag" ||
5902 test ! -s conftest.err 6233 test ! -s conftest.err
5903 } && test -s conftest.$ac_objext; then 6234 } && test -s conftest.$ac_objext; then
5904 ac_header_compiler=yes 6235 ac_header_compiler=yes
5905else 6236else
5906 echo "$as_me: failed program was:" >&5 6237 $as_echo "$as_me: failed program was:" >&5
5907sed 's/^/| /' conftest.$ac_ext >&5 6238sed 's/^/| /' conftest.$ac_ext >&5
5908 6239
5909 ac_header_compiler=no 6240 ac_header_compiler=no
5910fi 6241fi
5911 6242
5912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6243rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5913{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6244{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5914echo "${ECHO_T}$ac_header_compiler" >&6; } 6245$as_echo "$ac_header_compiler" >&6; }
5915 6246
5916# Is the header present? 6247# Is the header present?
5917{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 6248{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5918echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6249$as_echo_n "checking $ac_header presence... " >&6; }
5919cat >conftest.$ac_ext <<_ACEOF 6250cat >conftest.$ac_ext <<_ACEOF
5920/* confdefs.h. */ 6251/* confdefs.h. */
5921_ACEOF 6252_ACEOF
@@ -5929,51 +6260,52 @@ case "(($ac_try" in
5929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;; 6261 *) ac_try_echo=$ac_try;;
5931esac 6262esac
5932eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6263eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6264$as_echo "$ac_try_echo") >&5
5933 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5934 ac_status=$? 6266 ac_status=$?
5935 grep -v '^ *+' conftest.er1 >conftest.err 6267 grep -v '^ *+' conftest.er1 >conftest.err
5936 rm -f conftest.er1 6268 rm -f conftest.er1
5937 cat conftest.err >&5 6269 cat conftest.err >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); } >/dev/null && { 6271 (exit $ac_status); } >/dev/null && {
5940 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 6272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5941 test ! -s conftest.err 6273 test ! -s conftest.err
5942 }; then 6274 }; then
5943 ac_header_preproc=yes 6275 ac_header_preproc=yes
5944else 6276else
5945 echo "$as_me: failed program was:" >&5 6277 $as_echo "$as_me: failed program was:" >&5
5946sed 's/^/| /' conftest.$ac_ext >&5 6278sed 's/^/| /' conftest.$ac_ext >&5
5947 6279
5948 ac_header_preproc=no 6280 ac_header_preproc=no
5949fi 6281fi
5950 6282
5951rm -f conftest.err conftest.$ac_ext 6283rm -f conftest.err conftest.$ac_ext
5952{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6284{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5953echo "${ECHO_T}$ac_header_preproc" >&6; } 6285$as_echo "$ac_header_preproc" >&6; }
5954 6286
5955# So? What about this header? 6287# So? What about this header?
5956case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 6288case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5957 yes:no: ) 6289 yes:no: )
5958 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5959echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6291$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5961echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6293$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5962 ac_header_preproc=yes 6294 ac_header_preproc=yes
5963 ;; 6295 ;;
5964 no:yes:* ) 6296 no:yes:* )
5965 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5966echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6298$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5967 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5968echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6300$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5969 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5970echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6302$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5971 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5972echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6304$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5974echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6306$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5975 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5976echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6308$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5977 ( cat <<\_ASBOX 6309 ( cat <<\_ASBOX
5978## ------------------------------------------- ## 6310## ------------------------------------------- ##
5979## Report this to openssh-unix-dev@mindrot.org ## 6311## Report this to openssh-unix-dev@mindrot.org ##
@@ -5982,21 +6314,23 @@ _ASBOX
5982 ) | sed "s/^/$as_me: WARNING: /" >&2 6314 ) | sed "s/^/$as_me: WARNING: /" >&2
5983 ;; 6315 ;;
5984esac 6316esac
5985{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6317{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5986echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6318$as_echo_n "checking for $ac_header... " >&6; }
5987if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6319if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5988 echo $ECHO_N "(cached) $ECHO_C" >&6 6320 $as_echo_n "(cached) " >&6
5989else 6321else
5990 eval "$as_ac_Header=\$ac_header_preproc" 6322 eval "$as_ac_Header=\$ac_header_preproc"
5991fi 6323fi
5992ac_res=`eval echo '${'$as_ac_Header'}'` 6324ac_res=`eval 'as_val=${'$as_ac_Header'}
5993 { echo "$as_me:$LINENO: result: $ac_res" >&5 6325 $as_echo "$as_val"'`
5994echo "${ECHO_T}$ac_res" >&6; } 6326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6327$as_echo "$ac_res" >&6; }
5995 6328
5996fi 6329fi
5997if test `eval echo '${'$as_ac_Header'}'` = yes; then 6330if test `eval 'as_val=${'$as_ac_Header'}
6331 $as_echo "$as_val"'` = yes; then
5998 cat >>confdefs.h <<_ACEOF 6332 cat >>confdefs.h <<_ACEOF
5999#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6333#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6000_ACEOF 6334_ACEOF
6001 6335
6002fi 6336fi
@@ -6008,11 +6342,11 @@ done
6008 6342
6009for ac_header in lastlog.h 6343for ac_header in lastlog.h
6010do 6344do
6011as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6345as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6012{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6346{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6013echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6347$as_echo_n "checking for $ac_header... " >&6; }
6014if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6 6349 $as_echo_n "(cached) " >&6
6016else 6350else
6017 cat >conftest.$ac_ext <<_ACEOF 6351 cat >conftest.$ac_ext <<_ACEOF
6018/* confdefs.h. */ 6352/* confdefs.h. */
@@ -6034,20 +6368,21 @@ case "(($ac_try" in
6034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6035 *) ac_try_echo=$ac_try;; 6369 *) ac_try_echo=$ac_try;;
6036esac 6370esac
6037eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6371eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6372$as_echo "$ac_try_echo") >&5
6038 (eval "$ac_compile") 2>conftest.er1 6373 (eval "$ac_compile") 2>conftest.er1
6039 ac_status=$? 6374 ac_status=$?
6040 grep -v '^ *+' conftest.er1 >conftest.err 6375 grep -v '^ *+' conftest.er1 >conftest.err
6041 rm -f conftest.er1 6376 rm -f conftest.er1
6042 cat conftest.err >&5 6377 cat conftest.err >&5
6043 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6044 (exit $ac_status); } && { 6379 (exit $ac_status); } && {
6045 test -z "$ac_c_werror_flag" || 6380 test -z "$ac_c_werror_flag" ||
6046 test ! -s conftest.err 6381 test ! -s conftest.err
6047 } && test -s conftest.$ac_objext; then 6382 } && test -s conftest.$ac_objext; then
6048 eval "$as_ac_Header=yes" 6383 eval "$as_ac_Header=yes"
6049else 6384else
6050 echo "$as_me: failed program was:" >&5 6385 $as_echo "$as_me: failed program was:" >&5
6051sed 's/^/| /' conftest.$ac_ext >&5 6386sed 's/^/| /' conftest.$ac_ext >&5
6052 6387
6053 eval "$as_ac_Header=no" 6388 eval "$as_ac_Header=no"
@@ -6055,12 +6390,14 @@ fi
6055 6390
6056rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6057fi 6392fi
6058ac_res=`eval echo '${'$as_ac_Header'}'` 6393ac_res=`eval 'as_val=${'$as_ac_Header'}
6059 { echo "$as_me:$LINENO: result: $ac_res" >&5 6394 $as_echo "$as_val"'`
6060echo "${ECHO_T}$ac_res" >&6; } 6395 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6061if test `eval echo '${'$as_ac_Header'}'` = yes; then 6396$as_echo "$ac_res" >&6; }
6397if test `eval 'as_val=${'$as_ac_Header'}
6398 $as_echo "$as_val"'` = yes; then
6062 cat >>confdefs.h <<_ACEOF 6399 cat >>confdefs.h <<_ACEOF
6063#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6400#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6064_ACEOF 6401_ACEOF
6065 6402
6066fi 6403fi
@@ -6072,11 +6409,11 @@ done
6072 6409
6073for ac_header in sys/ptms.h 6410for ac_header in sys/ptms.h
6074do 6411do
6075as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6412as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6076{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6413{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6077echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6414$as_echo_n "checking for $ac_header... " >&6; }
6078if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6415if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6079 echo $ECHO_N "(cached) $ECHO_C" >&6 6416 $as_echo_n "(cached) " >&6
6080else 6417else
6081 cat >conftest.$ac_ext <<_ACEOF 6418 cat >conftest.$ac_ext <<_ACEOF
6082/* confdefs.h. */ 6419/* confdefs.h. */
@@ -6098,20 +6435,21 @@ case "(($ac_try" in
6098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6099 *) ac_try_echo=$ac_try;; 6436 *) ac_try_echo=$ac_try;;
6100esac 6437esac
6101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6439$as_echo "$ac_try_echo") >&5
6102 (eval "$ac_compile") 2>conftest.er1 6440 (eval "$ac_compile") 2>conftest.er1
6103 ac_status=$? 6441 ac_status=$?
6104 grep -v '^ *+' conftest.er1 >conftest.err 6442 grep -v '^ *+' conftest.er1 >conftest.err
6105 rm -f conftest.er1 6443 rm -f conftest.er1
6106 cat conftest.err >&5 6444 cat conftest.err >&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } && { 6446 (exit $ac_status); } && {
6109 test -z "$ac_c_werror_flag" || 6447 test -z "$ac_c_werror_flag" ||
6110 test ! -s conftest.err 6448 test ! -s conftest.err
6111 } && test -s conftest.$ac_objext; then 6449 } && test -s conftest.$ac_objext; then
6112 eval "$as_ac_Header=yes" 6450 eval "$as_ac_Header=yes"
6113else 6451else
6114 echo "$as_me: failed program was:" >&5 6452 $as_echo "$as_me: failed program was:" >&5
6115sed 's/^/| /' conftest.$ac_ext >&5 6453sed 's/^/| /' conftest.$ac_ext >&5
6116 6454
6117 eval "$as_ac_Header=no" 6455 eval "$as_ac_Header=no"
@@ -6119,12 +6457,14 @@ fi
6119 6457
6120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6458rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121fi 6459fi
6122ac_res=`eval echo '${'$as_ac_Header'}'` 6460ac_res=`eval 'as_val=${'$as_ac_Header'}
6123 { echo "$as_me:$LINENO: result: $ac_res" >&5 6461 $as_echo "$as_val"'`
6124echo "${ECHO_T}$ac_res" >&6; } 6462 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6125if test `eval echo '${'$as_ac_Header'}'` = yes; then 6463$as_echo "$ac_res" >&6; }
6464if test `eval 'as_val=${'$as_ac_Header'}
6465 $as_echo "$as_val"'` = yes; then
6126 cat >>confdefs.h <<_ACEOF 6466 cat >>confdefs.h <<_ACEOF
6127#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6467#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128_ACEOF 6468_ACEOF
6129 6469
6130fi 6470fi
@@ -6136,11 +6476,11 @@ done
6136 6476
6137for ac_header in login_cap.h 6477for ac_header in login_cap.h
6138do 6478do
6139as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6479as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6140{ echo "$as_me:$LINENO: checking for $ac_header" >&5 6480{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6141echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6481$as_echo_n "checking for $ac_header... " >&6; }
6142if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6482if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6 6483 $as_echo_n "(cached) " >&6
6144else 6484else
6145 cat >conftest.$ac_ext <<_ACEOF 6485 cat >conftest.$ac_ext <<_ACEOF
6146/* confdefs.h. */ 6486/* confdefs.h. */
@@ -6160,20 +6500,21 @@ case "(($ac_try" in
6160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6161 *) ac_try_echo=$ac_try;; 6501 *) ac_try_echo=$ac_try;;
6162esac 6502esac
6163eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6503eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6504$as_echo "$ac_try_echo") >&5
6164 (eval "$ac_compile") 2>conftest.er1 6505 (eval "$ac_compile") 2>conftest.er1
6165 ac_status=$? 6506 ac_status=$?
6166 grep -v '^ *+' conftest.er1 >conftest.err 6507 grep -v '^ *+' conftest.er1 >conftest.err
6167 rm -f conftest.er1 6508 rm -f conftest.er1
6168 cat conftest.err >&5 6509 cat conftest.err >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); } && { 6511 (exit $ac_status); } && {
6171 test -z "$ac_c_werror_flag" || 6512 test -z "$ac_c_werror_flag" ||
6172 test ! -s conftest.err 6513 test ! -s conftest.err
6173 } && test -s conftest.$ac_objext; then 6514 } && test -s conftest.$ac_objext; then
6174 eval "$as_ac_Header=yes" 6515 eval "$as_ac_Header=yes"
6175else 6516else
6176 echo "$as_me: failed program was:" >&5 6517 $as_echo "$as_me: failed program was:" >&5
6177sed 's/^/| /' conftest.$ac_ext >&5 6518sed 's/^/| /' conftest.$ac_ext >&5
6178 6519
6179 eval "$as_ac_Header=no" 6520 eval "$as_ac_Header=no"
@@ -6181,12 +6522,79 @@ fi
6181 6522
6182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183fi 6524fi
6184ac_res=`eval echo '${'$as_ac_Header'}'` 6525ac_res=`eval 'as_val=${'$as_ac_Header'}
6185 { echo "$as_me:$LINENO: result: $ac_res" >&5 6526 $as_echo "$as_val"'`
6186echo "${ECHO_T}$ac_res" >&6; } 6527 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6187if test `eval echo '${'$as_ac_Header'}'` = yes; then 6528$as_echo "$ac_res" >&6; }
6529if test `eval 'as_val=${'$as_ac_Header'}
6530 $as_echo "$as_val"'` = yes; then
6188 cat >>confdefs.h <<_ACEOF 6531 cat >>confdefs.h <<_ACEOF
6189#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6532#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6533_ACEOF
6534
6535fi
6536
6537done
6538
6539
6540# older BSDs need sys/param.h before sys/mount.h
6541
6542for ac_header in sys/mount.h
6543do
6544as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6545{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6546$as_echo_n "checking for $ac_header... " >&6; }
6547if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6548 $as_echo_n "(cached) " >&6
6549else
6550 cat >conftest.$ac_ext <<_ACEOF
6551/* confdefs.h. */
6552_ACEOF
6553cat confdefs.h >>conftest.$ac_ext
6554cat >>conftest.$ac_ext <<_ACEOF
6555/* end confdefs.h. */
6556
6557#include <sys/param.h>
6558
6559
6560#include <$ac_header>
6561_ACEOF
6562rm -f conftest.$ac_objext
6563if { (ac_try="$ac_compile"
6564case "(($ac_try" in
6565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6566 *) ac_try_echo=$ac_try;;
6567esac
6568eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6569$as_echo "$ac_try_echo") >&5
6570 (eval "$ac_compile") 2>conftest.er1
6571 ac_status=$?
6572 grep -v '^ *+' conftest.er1 >conftest.err
6573 rm -f conftest.er1
6574 cat conftest.err >&5
6575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); } && {
6577 test -z "$ac_c_werror_flag" ||
6578 test ! -s conftest.err
6579 } && test -s conftest.$ac_objext; then
6580 eval "$as_ac_Header=yes"
6581else
6582 $as_echo "$as_me: failed program was:" >&5
6583sed 's/^/| /' conftest.$ac_ext >&5
6584
6585 eval "$as_ac_Header=no"
6586fi
6587
6588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6589fi
6590ac_res=`eval 'as_val=${'$as_ac_Header'}
6591 $as_echo "$as_val"'`
6592 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6593$as_echo "$ac_res" >&6; }
6594if test `eval 'as_val=${'$as_ac_Header'}
6595 $as_echo "$as_val"'` = yes; then
6596 cat >>confdefs.h <<_ACEOF
6597#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6190_ACEOF 6598_ACEOF
6191 6599
6192fi 6600fi
@@ -6206,8 +6614,8 @@ case "$host" in
6206 # particularly with older versions of vac or xlc. 6614 # particularly with older versions of vac or xlc.
6207 # It also throws errors about null macro argments, but these are 6615 # It also throws errors about null macro argments, but these are
6208 # not fatal. 6616 # not fatal.
6209 { echo "$as_me:$LINENO: checking if compiler allows macro redefinitions" >&5 6617 { $as_echo "$as_me:$LINENO: checking if compiler allows macro redefinitions" >&5
6210echo $ECHO_N "checking if compiler allows macro redefinitions... $ECHO_C" >&6; } 6618$as_echo_n "checking if compiler allows macro redefinitions... " >&6; }
6211 cat >conftest.$ac_ext <<_ACEOF 6619 cat >conftest.$ac_ext <<_ACEOF
6212/* confdefs.h. */ 6620/* confdefs.h. */
6213_ACEOF 6621_ACEOF
@@ -6226,25 +6634,26 @@ case "(($ac_try" in
6226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;; 6635 *) ac_try_echo=$ac_try;;
6228esac 6636esac
6229eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6637eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6638$as_echo "$ac_try_echo") >&5
6230 (eval "$ac_compile") 2>conftest.er1 6639 (eval "$ac_compile") 2>conftest.er1
6231 ac_status=$? 6640 ac_status=$?
6232 grep -v '^ *+' conftest.er1 >conftest.err 6641 grep -v '^ *+' conftest.er1 >conftest.err
6233 rm -f conftest.er1 6642 rm -f conftest.er1
6234 cat conftest.err >&5 6643 cat conftest.err >&5
6235 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6644 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6236 (exit $ac_status); } && { 6645 (exit $ac_status); } && {
6237 test -z "$ac_c_werror_flag" || 6646 test -z "$ac_c_werror_flag" ||
6238 test ! -s conftest.err 6647 test ! -s conftest.err
6239 } && test -s conftest.$ac_objext; then 6648 } && test -s conftest.$ac_objext; then
6240 { echo "$as_me:$LINENO: result: yes" >&5 6649 { $as_echo "$as_me:$LINENO: result: yes" >&5
6241echo "${ECHO_T}yes" >&6; } 6650$as_echo "yes" >&6; }
6242else 6651else
6243 echo "$as_me: failed program was:" >&5 6652 $as_echo "$as_me: failed program was:" >&5
6244sed 's/^/| /' conftest.$ac_ext >&5 6653sed 's/^/| /' conftest.$ac_ext >&5
6245 6654
6246 { echo "$as_me:$LINENO: result: no" >&5 6655 { $as_echo "$as_me:$LINENO: result: no" >&5
6247echo "${ECHO_T}no" >&6; } 6656$as_echo "no" >&6; }
6248 CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`" 6657 CC="`echo $CC | sed 's/-qlanglvl\=ansi//g'`"
6249 LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`" 6658 LD="`echo $LD | sed 's/-qlanglvl\=ansi//g'`"
6250 CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`" 6659 CFLAGS="`echo $CFLAGS | sed 's/-qlanglvl\=ansi//g'`"
@@ -6255,8 +6664,8 @@ fi
6255 6664
6256rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6257 6666
6258 { echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5 6667 { $as_echo "$as_me:$LINENO: checking how to specify blibpath for linker ($LD)" >&5
6259echo $ECHO_N "checking how to specify blibpath for linker ($LD)... $ECHO_C" >&6; } 6668$as_echo_n "checking how to specify blibpath for linker ($LD)... " >&6; }
6260 if (test -z "$blibpath"); then 6669 if (test -z "$blibpath"); then
6261 blibpath="/usr/lib:/lib" 6670 blibpath="/usr/lib:/lib"
6262 fi 6671 fi
@@ -6290,45 +6699,49 @@ case "(($ac_try" in
6290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6291 *) ac_try_echo=$ac_try;; 6700 *) ac_try_echo=$ac_try;;
6292esac 6701esac
6293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6702eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6703$as_echo "$ac_try_echo") >&5
6294 (eval "$ac_link") 2>conftest.er1 6704 (eval "$ac_link") 2>conftest.er1
6295 ac_status=$? 6705 ac_status=$?
6296 grep -v '^ *+' conftest.er1 >conftest.err 6706 grep -v '^ *+' conftest.er1 >conftest.err
6297 rm -f conftest.er1 6707 rm -f conftest.er1
6298 cat conftest.err >&5 6708 cat conftest.err >&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } && { 6710 (exit $ac_status); } && {
6301 test -z "$ac_c_werror_flag" || 6711 test -z "$ac_c_werror_flag" ||
6302 test ! -s conftest.err 6712 test ! -s conftest.err
6303 } && test -s conftest$ac_exeext && 6713 } && test -s conftest$ac_exeext && {
6304 $as_test_x conftest$ac_exeext; then 6714 test "$cross_compiling" = yes ||
6715 $as_test_x conftest$ac_exeext
6716 }; then
6305 blibflags=$tryflags 6717 blibflags=$tryflags
6306else 6718else
6307 echo "$as_me: failed program was:" >&5 6719 $as_echo "$as_me: failed program was:" >&5
6308sed 's/^/| /' conftest.$ac_ext >&5 6720sed 's/^/| /' conftest.$ac_ext >&5
6309 6721
6310 6722
6311fi 6723fi
6312 6724
6725rm -rf conftest.dSYM
6313rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6726rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6314 conftest$ac_exeext conftest.$ac_ext 6727 conftest$ac_exeext conftest.$ac_ext
6315 fi 6728 fi
6316 done 6729 done
6317 if (test -z "$blibflags"); then 6730 if (test -z "$blibflags"); then
6318 { echo "$as_me:$LINENO: result: not found" >&5 6731 { $as_echo "$as_me:$LINENO: result: not found" >&5
6319echo "${ECHO_T}not found" >&6; } 6732$as_echo "not found" >&6; }
6320 { { echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5 6733 { { $as_echo "$as_me:$LINENO: error: *** must be able to specify blibpath on AIX - check config.log" >&5
6321echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;} 6734$as_echo "$as_me: error: *** must be able to specify blibpath on AIX - check config.log" >&2;}
6322 { (exit 1); exit 1; }; } 6735 { (exit 1); exit 1; }; }
6323 else 6736 else
6324 { echo "$as_me:$LINENO: result: $blibflags" >&5 6737 { $as_echo "$as_me:$LINENO: result: $blibflags" >&5
6325echo "${ECHO_T}$blibflags" >&6; } 6738$as_echo "$blibflags" >&6; }
6326 fi 6739 fi
6327 LDFLAGS="$saved_LDFLAGS" 6740 LDFLAGS="$saved_LDFLAGS"
6328 { echo "$as_me:$LINENO: checking for authenticate" >&5 6741 { $as_echo "$as_me:$LINENO: checking for authenticate" >&5
6329echo $ECHO_N "checking for authenticate... $ECHO_C" >&6; } 6742$as_echo_n "checking for authenticate... " >&6; }
6330if test "${ac_cv_func_authenticate+set}" = set; then 6743if test "${ac_cv_func_authenticate+set}" = set; then
6331 echo $ECHO_N "(cached) $ECHO_C" >&6 6744 $as_echo_n "(cached) " >&6
6332else 6745else
6333 cat >conftest.$ac_ext <<_ACEOF 6746 cat >conftest.$ac_ext <<_ACEOF
6334/* confdefs.h. */ 6747/* confdefs.h. */
@@ -6381,31 +6794,35 @@ case "(($ac_try" in
6381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6382 *) ac_try_echo=$ac_try;; 6795 *) ac_try_echo=$ac_try;;
6383esac 6796esac
6384eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6797eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6798$as_echo "$ac_try_echo") >&5
6385 (eval "$ac_link") 2>conftest.er1 6799 (eval "$ac_link") 2>conftest.er1
6386 ac_status=$? 6800 ac_status=$?
6387 grep -v '^ *+' conftest.er1 >conftest.err 6801 grep -v '^ *+' conftest.er1 >conftest.err
6388 rm -f conftest.er1 6802 rm -f conftest.er1
6389 cat conftest.err >&5 6803 cat conftest.err >&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } && { 6805 (exit $ac_status); } && {
6392 test -z "$ac_c_werror_flag" || 6806 test -z "$ac_c_werror_flag" ||
6393 test ! -s conftest.err 6807 test ! -s conftest.err
6394 } && test -s conftest$ac_exeext && 6808 } && test -s conftest$ac_exeext && {
6395 $as_test_x conftest$ac_exeext; then 6809 test "$cross_compiling" = yes ||
6810 $as_test_x conftest$ac_exeext
6811 }; then
6396 ac_cv_func_authenticate=yes 6812 ac_cv_func_authenticate=yes
6397else 6813else
6398 echo "$as_me: failed program was:" >&5 6814 $as_echo "$as_me: failed program was:" >&5
6399sed 's/^/| /' conftest.$ac_ext >&5 6815sed 's/^/| /' conftest.$ac_ext >&5
6400 6816
6401 ac_cv_func_authenticate=no 6817 ac_cv_func_authenticate=no
6402fi 6818fi
6403 6819
6820rm -rf conftest.dSYM
6404rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6821rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6405 conftest$ac_exeext conftest.$ac_ext 6822 conftest$ac_exeext conftest.$ac_ext
6406fi 6823fi
6407{ echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5 6824{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_authenticate" >&5
6408echo "${ECHO_T}$ac_cv_func_authenticate" >&6; } 6825$as_echo "$ac_cv_func_authenticate" >&6; }
6409if test $ac_cv_func_authenticate = yes; then 6826if test $ac_cv_func_authenticate = yes; then
6410 6827
6411cat >>confdefs.h <<\_ACEOF 6828cat >>confdefs.h <<\_ACEOF
@@ -6413,10 +6830,10 @@ cat >>confdefs.h <<\_ACEOF
6413_ACEOF 6830_ACEOF
6414 6831
6415else 6832else
6416 { echo "$as_me:$LINENO: checking for authenticate in -ls" >&5 6833 { $as_echo "$as_me:$LINENO: checking for authenticate in -ls" >&5
6417echo $ECHO_N "checking for authenticate in -ls... $ECHO_C" >&6; } 6834$as_echo_n "checking for authenticate in -ls... " >&6; }
6418if test "${ac_cv_lib_s_authenticate+set}" = set; then 6835if test "${ac_cv_lib_s_authenticate+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6 6836 $as_echo_n "(cached) " >&6
6420else 6837else
6421 ac_check_lib_save_LIBS=$LIBS 6838 ac_check_lib_save_LIBS=$LIBS
6422LIBS="-ls $LIBS" 6839LIBS="-ls $LIBS"
@@ -6448,32 +6865,36 @@ case "(($ac_try" in
6448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;; 6866 *) ac_try_echo=$ac_try;;
6450esac 6867esac
6451eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6868eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6869$as_echo "$ac_try_echo") >&5
6452 (eval "$ac_link") 2>conftest.er1 6870 (eval "$ac_link") 2>conftest.er1
6453 ac_status=$? 6871 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err 6872 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1 6873 rm -f conftest.er1
6456 cat conftest.err >&5 6874 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && { 6876 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" || 6877 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err 6878 test ! -s conftest.err
6461 } && test -s conftest$ac_exeext && 6879 } && test -s conftest$ac_exeext && {
6462 $as_test_x conftest$ac_exeext; then 6880 test "$cross_compiling" = yes ||
6881 $as_test_x conftest$ac_exeext
6882 }; then
6463 ac_cv_lib_s_authenticate=yes 6883 ac_cv_lib_s_authenticate=yes
6464else 6884else
6465 echo "$as_me: failed program was:" >&5 6885 $as_echo "$as_me: failed program was:" >&5
6466sed 's/^/| /' conftest.$ac_ext >&5 6886sed 's/^/| /' conftest.$ac_ext >&5
6467 6887
6468 ac_cv_lib_s_authenticate=no 6888 ac_cv_lib_s_authenticate=no
6469fi 6889fi
6470 6890
6891rm -rf conftest.dSYM
6471rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 6892rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6472 conftest$ac_exeext conftest.$ac_ext 6893 conftest$ac_exeext conftest.$ac_ext
6473LIBS=$ac_check_lib_save_LIBS 6894LIBS=$ac_check_lib_save_LIBS
6474fi 6895fi
6475{ echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5 6896{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_s_authenticate" >&5
6476echo "${ECHO_T}$ac_cv_lib_s_authenticate" >&6; } 6897$as_echo "$ac_cv_lib_s_authenticate" >&6; }
6477if test $ac_cv_lib_s_authenticate = yes; then 6898if test $ac_cv_lib_s_authenticate = yes; then
6478 cat >>confdefs.h <<\_ACEOF 6899 cat >>confdefs.h <<\_ACEOF
6479#define WITH_AIXAUTHENTICATE 1 6900#define WITH_AIXAUTHENTICATE 1
@@ -6486,10 +6907,10 @@ fi
6486 6907
6487fi 6908fi
6488 6909
6489 { echo "$as_me:$LINENO: checking whether authenticate is declared" >&5 6910 { $as_echo "$as_me:$LINENO: checking whether authenticate is declared" >&5
6490echo $ECHO_N "checking whether authenticate is declared... $ECHO_C" >&6; } 6911$as_echo_n "checking whether authenticate is declared... " >&6; }
6491if test "${ac_cv_have_decl_authenticate+set}" = set; then 6912if test "${ac_cv_have_decl_authenticate+set}" = set; then
6492 echo $ECHO_N "(cached) $ECHO_C" >&6 6913 $as_echo_n "(cached) " >&6
6493else 6914else
6494 cat >conftest.$ac_ext <<_ACEOF 6915 cat >conftest.$ac_ext <<_ACEOF
6495/* confdefs.h. */ 6916/* confdefs.h. */
@@ -6516,20 +6937,21 @@ case "(($ac_try" in
6516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6517 *) ac_try_echo=$ac_try;; 6938 *) ac_try_echo=$ac_try;;
6518esac 6939esac
6519eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6940eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6941$as_echo "$ac_try_echo") >&5
6520 (eval "$ac_compile") 2>conftest.er1 6942 (eval "$ac_compile") 2>conftest.er1
6521 ac_status=$? 6943 ac_status=$?
6522 grep -v '^ *+' conftest.er1 >conftest.err 6944 grep -v '^ *+' conftest.er1 >conftest.err
6523 rm -f conftest.er1 6945 rm -f conftest.er1
6524 cat conftest.err >&5 6946 cat conftest.err >&5
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6947 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } && { 6948 (exit $ac_status); } && {
6527 test -z "$ac_c_werror_flag" || 6949 test -z "$ac_c_werror_flag" ||
6528 test ! -s conftest.err 6950 test ! -s conftest.err
6529 } && test -s conftest.$ac_objext; then 6951 } && test -s conftest.$ac_objext; then
6530 ac_cv_have_decl_authenticate=yes 6952 ac_cv_have_decl_authenticate=yes
6531else 6953else
6532 echo "$as_me: failed program was:" >&5 6954 $as_echo "$as_me: failed program was:" >&5
6533sed 's/^/| /' conftest.$ac_ext >&5 6955sed 's/^/| /' conftest.$ac_ext >&5
6534 6956
6535 ac_cv_have_decl_authenticate=no 6957 ac_cv_have_decl_authenticate=no
@@ -6537,8 +6959,8 @@ fi
6537 6959
6538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6539fi 6961fi
6540{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5 6962{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_authenticate" >&5
6541echo "${ECHO_T}$ac_cv_have_decl_authenticate" >&6; } 6963$as_echo "$ac_cv_have_decl_authenticate" >&6; }
6542if test $ac_cv_have_decl_authenticate = yes; then 6964if test $ac_cv_have_decl_authenticate = yes; then
6543 6965
6544cat >>confdefs.h <<_ACEOF 6966cat >>confdefs.h <<_ACEOF
@@ -6553,10 +6975,10 @@ _ACEOF
6553 6975
6554 6976
6555fi 6977fi
6556{ echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5 6978{ $as_echo "$as_me:$LINENO: checking whether loginrestrictions is declared" >&5
6557echo $ECHO_N "checking whether loginrestrictions is declared... $ECHO_C" >&6; } 6979$as_echo_n "checking whether loginrestrictions is declared... " >&6; }
6558if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then 6980if test "${ac_cv_have_decl_loginrestrictions+set}" = set; then
6559 echo $ECHO_N "(cached) $ECHO_C" >&6 6981 $as_echo_n "(cached) " >&6
6560else 6982else
6561 cat >conftest.$ac_ext <<_ACEOF 6983 cat >conftest.$ac_ext <<_ACEOF
6562/* confdefs.h. */ 6984/* confdefs.h. */
@@ -6583,20 +7005,21 @@ case "(($ac_try" in
6583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6584 *) ac_try_echo=$ac_try;; 7006 *) ac_try_echo=$ac_try;;
6585esac 7007esac
6586eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7008eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7009$as_echo "$ac_try_echo") >&5
6587 (eval "$ac_compile") 2>conftest.er1 7010 (eval "$ac_compile") 2>conftest.er1
6588 ac_status=$? 7011 ac_status=$?
6589 grep -v '^ *+' conftest.er1 >conftest.err 7012 grep -v '^ *+' conftest.er1 >conftest.err
6590 rm -f conftest.er1 7013 rm -f conftest.er1
6591 cat conftest.err >&5 7014 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } && { 7016 (exit $ac_status); } && {
6594 test -z "$ac_c_werror_flag" || 7017 test -z "$ac_c_werror_flag" ||
6595 test ! -s conftest.err 7018 test ! -s conftest.err
6596 } && test -s conftest.$ac_objext; then 7019 } && test -s conftest.$ac_objext; then
6597 ac_cv_have_decl_loginrestrictions=yes 7020 ac_cv_have_decl_loginrestrictions=yes
6598else 7021else
6599 echo "$as_me: failed program was:" >&5 7022 $as_echo "$as_me: failed program was:" >&5
6600sed 's/^/| /' conftest.$ac_ext >&5 7023sed 's/^/| /' conftest.$ac_ext >&5
6601 7024
6602 ac_cv_have_decl_loginrestrictions=no 7025 ac_cv_have_decl_loginrestrictions=no
@@ -6604,8 +7027,8 @@ fi
6604 7027
6605rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6606fi 7029fi
6607{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5 7030{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginrestrictions" >&5
6608echo "${ECHO_T}$ac_cv_have_decl_loginrestrictions" >&6; } 7031$as_echo "$ac_cv_have_decl_loginrestrictions" >&6; }
6609if test $ac_cv_have_decl_loginrestrictions = yes; then 7032if test $ac_cv_have_decl_loginrestrictions = yes; then
6610 7033
6611cat >>confdefs.h <<_ACEOF 7034cat >>confdefs.h <<_ACEOF
@@ -6620,10 +7043,10 @@ _ACEOF
6620 7043
6621 7044
6622fi 7045fi
6623{ echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5 7046{ $as_echo "$as_me:$LINENO: checking whether loginsuccess is declared" >&5
6624echo $ECHO_N "checking whether loginsuccess is declared... $ECHO_C" >&6; } 7047$as_echo_n "checking whether loginsuccess is declared... " >&6; }
6625if test "${ac_cv_have_decl_loginsuccess+set}" = set; then 7048if test "${ac_cv_have_decl_loginsuccess+set}" = set; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6 7049 $as_echo_n "(cached) " >&6
6627else 7050else
6628 cat >conftest.$ac_ext <<_ACEOF 7051 cat >conftest.$ac_ext <<_ACEOF
6629/* confdefs.h. */ 7052/* confdefs.h. */
@@ -6650,20 +7073,21 @@ case "(($ac_try" in
6650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6651 *) ac_try_echo=$ac_try;; 7074 *) ac_try_echo=$ac_try;;
6652esac 7075esac
6653eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7076eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7077$as_echo "$ac_try_echo") >&5
6654 (eval "$ac_compile") 2>conftest.er1 7078 (eval "$ac_compile") 2>conftest.er1
6655 ac_status=$? 7079 ac_status=$?
6656 grep -v '^ *+' conftest.er1 >conftest.err 7080 grep -v '^ *+' conftest.er1 >conftest.err
6657 rm -f conftest.er1 7081 rm -f conftest.er1
6658 cat conftest.err >&5 7082 cat conftest.err >&5
6659 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } && { 7084 (exit $ac_status); } && {
6661 test -z "$ac_c_werror_flag" || 7085 test -z "$ac_c_werror_flag" ||
6662 test ! -s conftest.err 7086 test ! -s conftest.err
6663 } && test -s conftest.$ac_objext; then 7087 } && test -s conftest.$ac_objext; then
6664 ac_cv_have_decl_loginsuccess=yes 7088 ac_cv_have_decl_loginsuccess=yes
6665else 7089else
6666 echo "$as_me: failed program was:" >&5 7090 $as_echo "$as_me: failed program was:" >&5
6667sed 's/^/| /' conftest.$ac_ext >&5 7091sed 's/^/| /' conftest.$ac_ext >&5
6668 7092
6669 ac_cv_have_decl_loginsuccess=no 7093 ac_cv_have_decl_loginsuccess=no
@@ -6671,8 +7095,8 @@ fi
6671 7095
6672rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7096rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673fi 7097fi
6674{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5 7098{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginsuccess" >&5
6675echo "${ECHO_T}$ac_cv_have_decl_loginsuccess" >&6; } 7099$as_echo "$ac_cv_have_decl_loginsuccess" >&6; }
6676if test $ac_cv_have_decl_loginsuccess = yes; then 7100if test $ac_cv_have_decl_loginsuccess = yes; then
6677 7101
6678cat >>confdefs.h <<_ACEOF 7102cat >>confdefs.h <<_ACEOF
@@ -6687,10 +7111,10 @@ _ACEOF
6687 7111
6688 7112
6689fi 7113fi
6690{ echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5 7114{ $as_echo "$as_me:$LINENO: checking whether passwdexpired is declared" >&5
6691echo $ECHO_N "checking whether passwdexpired is declared... $ECHO_C" >&6; } 7115$as_echo_n "checking whether passwdexpired is declared... " >&6; }
6692if test "${ac_cv_have_decl_passwdexpired+set}" = set; then 7116if test "${ac_cv_have_decl_passwdexpired+set}" = set; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6 7117 $as_echo_n "(cached) " >&6
6694else 7118else
6695 cat >conftest.$ac_ext <<_ACEOF 7119 cat >conftest.$ac_ext <<_ACEOF
6696/* confdefs.h. */ 7120/* confdefs.h. */
@@ -6717,20 +7141,21 @@ case "(($ac_try" in
6717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6718 *) ac_try_echo=$ac_try;; 7142 *) ac_try_echo=$ac_try;;
6719esac 7143esac
6720eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7145$as_echo "$ac_try_echo") >&5
6721 (eval "$ac_compile") 2>conftest.er1 7146 (eval "$ac_compile") 2>conftest.er1
6722 ac_status=$? 7147 ac_status=$?
6723 grep -v '^ *+' conftest.er1 >conftest.err 7148 grep -v '^ *+' conftest.er1 >conftest.err
6724 rm -f conftest.er1 7149 rm -f conftest.er1
6725 cat conftest.err >&5 7150 cat conftest.err >&5
6726 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6727 (exit $ac_status); } && { 7152 (exit $ac_status); } && {
6728 test -z "$ac_c_werror_flag" || 7153 test -z "$ac_c_werror_flag" ||
6729 test ! -s conftest.err 7154 test ! -s conftest.err
6730 } && test -s conftest.$ac_objext; then 7155 } && test -s conftest.$ac_objext; then
6731 ac_cv_have_decl_passwdexpired=yes 7156 ac_cv_have_decl_passwdexpired=yes
6732else 7157else
6733 echo "$as_me: failed program was:" >&5 7158 $as_echo "$as_me: failed program was:" >&5
6734sed 's/^/| /' conftest.$ac_ext >&5 7159sed 's/^/| /' conftest.$ac_ext >&5
6735 7160
6736 ac_cv_have_decl_passwdexpired=no 7161 ac_cv_have_decl_passwdexpired=no
@@ -6738,8 +7163,8 @@ fi
6738 7163
6739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7164rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740fi 7165fi
6741{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5 7166{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_passwdexpired" >&5
6742echo "${ECHO_T}$ac_cv_have_decl_passwdexpired" >&6; } 7167$as_echo "$ac_cv_have_decl_passwdexpired" >&6; }
6743if test $ac_cv_have_decl_passwdexpired = yes; then 7168if test $ac_cv_have_decl_passwdexpired = yes; then
6744 7169
6745cat >>confdefs.h <<_ACEOF 7170cat >>confdefs.h <<_ACEOF
@@ -6754,10 +7179,10 @@ _ACEOF
6754 7179
6755 7180
6756fi 7181fi
6757{ echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5 7182{ $as_echo "$as_me:$LINENO: checking whether setauthdb is declared" >&5
6758echo $ECHO_N "checking whether setauthdb is declared... $ECHO_C" >&6; } 7183$as_echo_n "checking whether setauthdb is declared... " >&6; }
6759if test "${ac_cv_have_decl_setauthdb+set}" = set; then 7184if test "${ac_cv_have_decl_setauthdb+set}" = set; then
6760 echo $ECHO_N "(cached) $ECHO_C" >&6 7185 $as_echo_n "(cached) " >&6
6761else 7186else
6762 cat >conftest.$ac_ext <<_ACEOF 7187 cat >conftest.$ac_ext <<_ACEOF
6763/* confdefs.h. */ 7188/* confdefs.h. */
@@ -6784,20 +7209,21 @@ case "(($ac_try" in
6784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6785 *) ac_try_echo=$ac_try;; 7210 *) ac_try_echo=$ac_try;;
6786esac 7211esac
6787eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7212eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7213$as_echo "$ac_try_echo") >&5
6788 (eval "$ac_compile") 2>conftest.er1 7214 (eval "$ac_compile") 2>conftest.er1
6789 ac_status=$? 7215 ac_status=$?
6790 grep -v '^ *+' conftest.er1 >conftest.err 7216 grep -v '^ *+' conftest.er1 >conftest.err
6791 rm -f conftest.er1 7217 rm -f conftest.er1
6792 cat conftest.err >&5 7218 cat conftest.err >&5
6793 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7219 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6794 (exit $ac_status); } && { 7220 (exit $ac_status); } && {
6795 test -z "$ac_c_werror_flag" || 7221 test -z "$ac_c_werror_flag" ||
6796 test ! -s conftest.err 7222 test ! -s conftest.err
6797 } && test -s conftest.$ac_objext; then 7223 } && test -s conftest.$ac_objext; then
6798 ac_cv_have_decl_setauthdb=yes 7224 ac_cv_have_decl_setauthdb=yes
6799else 7225else
6800 echo "$as_me: failed program was:" >&5 7226 $as_echo "$as_me: failed program was:" >&5
6801sed 's/^/| /' conftest.$ac_ext >&5 7227sed 's/^/| /' conftest.$ac_ext >&5
6802 7228
6803 ac_cv_have_decl_setauthdb=no 7229 ac_cv_have_decl_setauthdb=no
@@ -6805,8 +7231,8 @@ fi
6805 7231
6806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6807fi 7233fi
6808{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5 7234{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_setauthdb" >&5
6809echo "${ECHO_T}$ac_cv_have_decl_setauthdb" >&6; } 7235$as_echo "$ac_cv_have_decl_setauthdb" >&6; }
6810if test $ac_cv_have_decl_setauthdb = yes; then 7236if test $ac_cv_have_decl_setauthdb = yes; then
6811 7237
6812cat >>confdefs.h <<_ACEOF 7238cat >>confdefs.h <<_ACEOF
@@ -6823,10 +7249,10 @@ _ACEOF
6823fi 7249fi
6824 7250
6825 7251
6826 { echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5 7252 { $as_echo "$as_me:$LINENO: checking whether loginfailed is declared" >&5
6827echo $ECHO_N "checking whether loginfailed is declared... $ECHO_C" >&6; } 7253$as_echo_n "checking whether loginfailed is declared... " >&6; }
6828if test "${ac_cv_have_decl_loginfailed+set}" = set; then 7254if test "${ac_cv_have_decl_loginfailed+set}" = set; then
6829 echo $ECHO_N "(cached) $ECHO_C" >&6 7255 $as_echo_n "(cached) " >&6
6830else 7256else
6831 cat >conftest.$ac_ext <<_ACEOF 7257 cat >conftest.$ac_ext <<_ACEOF
6832/* confdefs.h. */ 7258/* confdefs.h. */
@@ -6854,20 +7280,21 @@ case "(($ac_try" in
6854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855 *) ac_try_echo=$ac_try;; 7281 *) ac_try_echo=$ac_try;;
6856esac 7282esac
6857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7283eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7284$as_echo "$ac_try_echo") >&5
6858 (eval "$ac_compile") 2>conftest.er1 7285 (eval "$ac_compile") 2>conftest.er1
6859 ac_status=$? 7286 ac_status=$?
6860 grep -v '^ *+' conftest.er1 >conftest.err 7287 grep -v '^ *+' conftest.er1 >conftest.err
6861 rm -f conftest.er1 7288 rm -f conftest.er1
6862 cat conftest.err >&5 7289 cat conftest.err >&5
6863 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6864 (exit $ac_status); } && { 7291 (exit $ac_status); } && {
6865 test -z "$ac_c_werror_flag" || 7292 test -z "$ac_c_werror_flag" ||
6866 test ! -s conftest.err 7293 test ! -s conftest.err
6867 } && test -s conftest.$ac_objext; then 7294 } && test -s conftest.$ac_objext; then
6868 ac_cv_have_decl_loginfailed=yes 7295 ac_cv_have_decl_loginfailed=yes
6869else 7296else
6870 echo "$as_me: failed program was:" >&5 7297 $as_echo "$as_me: failed program was:" >&5
6871sed 's/^/| /' conftest.$ac_ext >&5 7298sed 's/^/| /' conftest.$ac_ext >&5
6872 7299
6873 ac_cv_have_decl_loginfailed=no 7300 ac_cv_have_decl_loginfailed=no
@@ -6875,16 +7302,16 @@ fi
6875 7302
6876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7303rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6877fi 7304fi
6878{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5 7305{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_loginfailed" >&5
6879echo "${ECHO_T}$ac_cv_have_decl_loginfailed" >&6; } 7306$as_echo "$ac_cv_have_decl_loginfailed" >&6; }
6880if test $ac_cv_have_decl_loginfailed = yes; then 7307if test $ac_cv_have_decl_loginfailed = yes; then
6881 7308
6882cat >>confdefs.h <<_ACEOF 7309cat >>confdefs.h <<_ACEOF
6883#define HAVE_DECL_LOGINFAILED 1 7310#define HAVE_DECL_LOGINFAILED 1
6884_ACEOF 7311_ACEOF
6885 7312
6886{ echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5 7313{ $as_echo "$as_me:$LINENO: checking if loginfailed takes 4 arguments" >&5
6887echo $ECHO_N "checking if loginfailed takes 4 arguments... $ECHO_C" >&6; } 7314$as_echo_n "checking if loginfailed takes 4 arguments... " >&6; }
6888 cat >conftest.$ac_ext <<_ACEOF 7315 cat >conftest.$ac_ext <<_ACEOF
6889/* confdefs.h. */ 7316/* confdefs.h. */
6890_ACEOF 7317_ACEOF
@@ -6906,30 +7333,31 @@ case "(($ac_try" in
6906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6907 *) ac_try_echo=$ac_try;; 7334 *) ac_try_echo=$ac_try;;
6908esac 7335esac
6909eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7337$as_echo "$ac_try_echo") >&5
6910 (eval "$ac_compile") 2>conftest.er1 7338 (eval "$ac_compile") 2>conftest.er1
6911 ac_status=$? 7339 ac_status=$?
6912 grep -v '^ *+' conftest.er1 >conftest.err 7340 grep -v '^ *+' conftest.er1 >conftest.err
6913 rm -f conftest.er1 7341 rm -f conftest.er1
6914 cat conftest.err >&5 7342 cat conftest.err >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); } && { 7344 (exit $ac_status); } && {
6917 test -z "$ac_c_werror_flag" || 7345 test -z "$ac_c_werror_flag" ||
6918 test ! -s conftest.err 7346 test ! -s conftest.err
6919 } && test -s conftest.$ac_objext; then 7347 } && test -s conftest.$ac_objext; then
6920 { echo "$as_me:$LINENO: result: yes" >&5 7348 { $as_echo "$as_me:$LINENO: result: yes" >&5
6921echo "${ECHO_T}yes" >&6; } 7349$as_echo "yes" >&6; }
6922 7350
6923cat >>confdefs.h <<\_ACEOF 7351cat >>confdefs.h <<\_ACEOF
6924#define AIX_LOGINFAILED_4ARG 1 7352#define AIX_LOGINFAILED_4ARG 1
6925_ACEOF 7353_ACEOF
6926 7354
6927else 7355else
6928 echo "$as_me: failed program was:" >&5 7356 $as_echo "$as_me: failed program was:" >&5
6929sed 's/^/| /' conftest.$ac_ext >&5 7357sed 's/^/| /' conftest.$ac_ext >&5
6930 7358
6931 { echo "$as_me:$LINENO: result: no" >&5 7359 { $as_echo "$as_me:$LINENO: result: no" >&5
6932echo "${ECHO_T}no" >&6; } 7360$as_echo "no" >&6; }
6933 7361
6934fi 7362fi
6935 7363
@@ -6947,11 +7375,11 @@ fi
6947 7375
6948for ac_func in getgrset setauthdb 7376for ac_func in getgrset setauthdb
6949do 7377do
6950as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 7378as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6951{ echo "$as_me:$LINENO: checking for $ac_func" >&5 7379{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6952echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 7380$as_echo_n "checking for $ac_func... " >&6; }
6953if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 7381if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6 7382 $as_echo_n "(cached) " >&6
6955else 7383else
6956 cat >conftest.$ac_ext <<_ACEOF 7384 cat >conftest.$ac_ext <<_ACEOF
6957/* confdefs.h. */ 7385/* confdefs.h. */
@@ -7004,44 +7432,50 @@ case "(($ac_try" in
7004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7005 *) ac_try_echo=$ac_try;; 7433 *) ac_try_echo=$ac_try;;
7006esac 7434esac
7007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7435eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7436$as_echo "$ac_try_echo") >&5
7008 (eval "$ac_link") 2>conftest.er1 7437 (eval "$ac_link") 2>conftest.er1
7009 ac_status=$? 7438 ac_status=$?
7010 grep -v '^ *+' conftest.er1 >conftest.err 7439 grep -v '^ *+' conftest.er1 >conftest.err
7011 rm -f conftest.er1 7440 rm -f conftest.er1
7012 cat conftest.err >&5 7441 cat conftest.err >&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } && { 7443 (exit $ac_status); } && {
7015 test -z "$ac_c_werror_flag" || 7444 test -z "$ac_c_werror_flag" ||
7016 test ! -s conftest.err 7445 test ! -s conftest.err
7017 } && test -s conftest$ac_exeext && 7446 } && test -s conftest$ac_exeext && {
7018 $as_test_x conftest$ac_exeext; then 7447 test "$cross_compiling" = yes ||
7448 $as_test_x conftest$ac_exeext
7449 }; then
7019 eval "$as_ac_var=yes" 7450 eval "$as_ac_var=yes"
7020else 7451else
7021 echo "$as_me: failed program was:" >&5 7452 $as_echo "$as_me: failed program was:" >&5
7022sed 's/^/| /' conftest.$ac_ext >&5 7453sed 's/^/| /' conftest.$ac_ext >&5
7023 7454
7024 eval "$as_ac_var=no" 7455 eval "$as_ac_var=no"
7025fi 7456fi
7026 7457
7458rm -rf conftest.dSYM
7027rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7459rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7028 conftest$ac_exeext conftest.$ac_ext 7460 conftest$ac_exeext conftest.$ac_ext
7029fi 7461fi
7030ac_res=`eval echo '${'$as_ac_var'}'` 7462ac_res=`eval 'as_val=${'$as_ac_var'}
7031 { echo "$as_me:$LINENO: result: $ac_res" >&5 7463 $as_echo "$as_val"'`
7032echo "${ECHO_T}$ac_res" >&6; } 7464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7033if test `eval echo '${'$as_ac_var'}'` = yes; then 7465$as_echo "$ac_res" >&6; }
7466if test `eval 'as_val=${'$as_ac_var'}
7467 $as_echo "$as_val"'` = yes; then
7034 cat >>confdefs.h <<_ACEOF 7468 cat >>confdefs.h <<_ACEOF
7035#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 7469#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7036_ACEOF 7470_ACEOF
7037 7471
7038fi 7472fi
7039done 7473done
7040 7474
7041 { echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5 7475 { $as_echo "$as_me:$LINENO: checking whether F_CLOSEM is declared" >&5
7042echo $ECHO_N "checking whether F_CLOSEM is declared... $ECHO_C" >&6; } 7476$as_echo_n "checking whether F_CLOSEM is declared... " >&6; }
7043if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then 7477if test "${ac_cv_have_decl_F_CLOSEM+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6 7478 $as_echo_n "(cached) " >&6
7045else 7479else
7046 cat >conftest.$ac_ext <<_ACEOF 7480 cat >conftest.$ac_ext <<_ACEOF
7047/* confdefs.h. */ 7481/* confdefs.h. */
@@ -7070,20 +7504,21 @@ case "(($ac_try" in
7070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7071 *) ac_try_echo=$ac_try;; 7505 *) ac_try_echo=$ac_try;;
7072esac 7506esac
7073eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7508$as_echo "$ac_try_echo") >&5
7074 (eval "$ac_compile") 2>conftest.er1 7509 (eval "$ac_compile") 2>conftest.er1
7075 ac_status=$? 7510 ac_status=$?
7076 grep -v '^ *+' conftest.er1 >conftest.err 7511 grep -v '^ *+' conftest.er1 >conftest.err
7077 rm -f conftest.er1 7512 rm -f conftest.er1
7078 cat conftest.err >&5 7513 cat conftest.err >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } && { 7515 (exit $ac_status); } && {
7081 test -z "$ac_c_werror_flag" || 7516 test -z "$ac_c_werror_flag" ||
7082 test ! -s conftest.err 7517 test ! -s conftest.err
7083 } && test -s conftest.$ac_objext; then 7518 } && test -s conftest.$ac_objext; then
7084 ac_cv_have_decl_F_CLOSEM=yes 7519 ac_cv_have_decl_F_CLOSEM=yes
7085else 7520else
7086 echo "$as_me: failed program was:" >&5 7521 $as_echo "$as_me: failed program was:" >&5
7087sed 's/^/| /' conftest.$ac_ext >&5 7522sed 's/^/| /' conftest.$ac_ext >&5
7088 7523
7089 ac_cv_have_decl_F_CLOSEM=no 7524 ac_cv_have_decl_F_CLOSEM=no
@@ -7091,8 +7526,8 @@ fi
7091 7526
7092rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7093fi 7528fi
7094{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5 7529{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_F_CLOSEM" >&5
7095echo "${ECHO_T}$ac_cv_have_decl_F_CLOSEM" >&6; } 7530$as_echo "$ac_cv_have_decl_F_CLOSEM" >&6; }
7096if test $ac_cv_have_decl_F_CLOSEM = yes; then 7531if test $ac_cv_have_decl_F_CLOSEM = yes; then
7097 7532
7098cat >>confdefs.h <<\_ACEOF 7533cat >>confdefs.h <<\_ACEOF
@@ -7168,27 +7603,28 @@ _ACEOF
7168 7603
7169 7604
7170cat >>confdefs.h <<\_ACEOF 7605cat >>confdefs.h <<\_ACEOF
7171#define IP_TOS_IS_BROKEN 1 7606#define NO_X11_UNIX_SOCKETS 1
7172_ACEOF 7607_ACEOF
7173 7608
7174 7609
7175cat >>confdefs.h <<\_ACEOF 7610cat >>confdefs.h <<\_ACEOF
7176#define NO_X11_UNIX_SOCKETS 1 7611#define NO_IPPORT_RESERVED_CONCEPT 1
7177_ACEOF 7612_ACEOF
7178 7613
7179 7614
7180cat >>confdefs.h <<\_ACEOF 7615cat >>confdefs.h <<\_ACEOF
7181#define NO_IPPORT_RESERVED_CONCEPT 1 7616#define DISABLE_FD_PASSING 1
7182_ACEOF 7617_ACEOF
7183 7618
7184 7619
7185cat >>confdefs.h <<\_ACEOF 7620cat >>confdefs.h <<\_ACEOF
7186#define DISABLE_FD_PASSING 1 7621#define SSH_IOBUFSZ 65536
7187_ACEOF 7622_ACEOF
7188 7623
7189 ;; 7624 ;;
7190*-*-dgux*) 7625*-*-dgux*)
7191 cat >>confdefs.h <<\_ACEOF 7626
7627cat >>confdefs.h <<\_ACEOF
7192#define IP_TOS_IS_BROKEN 1 7628#define IP_TOS_IS_BROKEN 1
7193_ACEOF 7629_ACEOF
7194 7630
@@ -7206,11 +7642,11 @@ _ACEOF
7206 7642
7207 ;; 7643 ;;
7208*-*-darwin*) 7644*-*-darwin*)
7209 { echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5 7645 { $as_echo "$as_me:$LINENO: checking if we have working getaddrinfo" >&5
7210echo $ECHO_N "checking if we have working getaddrinfo... $ECHO_C" >&6; } 7646$as_echo_n "checking if we have working getaddrinfo... " >&6; }
7211 if test "$cross_compiling" = yes; then 7647 if test "$cross_compiling" = yes; then
7212 { echo "$as_me:$LINENO: result: assume it is working" >&5 7648 { $as_echo "$as_me:$LINENO: result: assume it is working" >&5
7213echo "${ECHO_T}assume it is working" >&6; } 7649$as_echo "assume it is working" >&6; }
7214else 7650else
7215 cat >conftest.$ac_ext <<_ACEOF 7651 cat >conftest.$ac_ext <<_ACEOF
7216/* confdefs.h. */ 7652/* confdefs.h. */
@@ -7231,36 +7667,39 @@ case "(($ac_try" in
7231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7232 *) ac_try_echo=$ac_try;; 7668 *) ac_try_echo=$ac_try;;
7233esac 7669esac
7234eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7670eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7671$as_echo "$ac_try_echo") >&5
7235 (eval "$ac_link") 2>&5 7672 (eval "$ac_link") 2>&5
7236 ac_status=$? 7673 ac_status=$?
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 7675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7239 { (case "(($ac_try" in 7676 { (case "(($ac_try" in
7240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7241 *) ac_try_echo=$ac_try;; 7678 *) ac_try_echo=$ac_try;;
7242esac 7679esac
7243eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7680eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7681$as_echo "$ac_try_echo") >&5
7244 (eval "$ac_try") 2>&5 7682 (eval "$ac_try") 2>&5
7245 ac_status=$? 7683 ac_status=$?
7246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7247 (exit $ac_status); }; }; then 7685 (exit $ac_status); }; }; then
7248 { echo "$as_me:$LINENO: result: working" >&5 7686 { $as_echo "$as_me:$LINENO: result: working" >&5
7249echo "${ECHO_T}working" >&6; } 7687$as_echo "working" >&6; }
7250else 7688else
7251 echo "$as_me: program exited with status $ac_status" >&5 7689 $as_echo "$as_me: program exited with status $ac_status" >&5
7252echo "$as_me: failed program was:" >&5 7690$as_echo "$as_me: failed program was:" >&5
7253sed 's/^/| /' conftest.$ac_ext >&5 7691sed 's/^/| /' conftest.$ac_ext >&5
7254 7692
7255( exit $ac_status ) 7693( exit $ac_status )
7256{ echo "$as_me:$LINENO: result: buggy" >&5 7694{ $as_echo "$as_me:$LINENO: result: buggy" >&5
7257echo "${ECHO_T}buggy" >&6; } 7695$as_echo "buggy" >&6; }
7258 7696
7259cat >>confdefs.h <<\_ACEOF 7697cat >>confdefs.h <<\_ACEOF
7260#define BROKEN_GETADDRINFO 1 7698#define BROKEN_GETADDRINFO 1
7261_ACEOF 7699_ACEOF
7262 7700
7263fi 7701fi
7702rm -rf conftest.dSYM
7264rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 7703rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7265fi 7704fi
7266 7705
@@ -7302,122 +7741,11 @@ cat >>confdefs.h <<\_ACEOF
7302#define SSH_TUN_PREPEND_AF 1 7741#define SSH_TUN_PREPEND_AF 1
7303_ACEOF 7742_ACEOF
7304 7743
7305 { echo "$as_me:$LINENO: checking if we have the Security Authorization Session API" >&5
7306echo $ECHO_N "checking if we have the Security Authorization Session API... $ECHO_C" >&6; }
7307 cat >conftest.$ac_ext <<_ACEOF
7308/* confdefs.h. */
7309_ACEOF
7310cat confdefs.h >>conftest.$ac_ext
7311cat >>conftest.$ac_ext <<_ACEOF
7312/* end confdefs.h. */
7313#include <Security/AuthSession.h>
7314int
7315main ()
7316{
7317SessionCreate(0, 0);
7318 ;
7319 return 0;
7320}
7321_ACEOF
7322rm -f conftest.$ac_objext
7323if { (ac_try="$ac_compile"
7324case "(($ac_try" in
7325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7326 *) ac_try_echo=$ac_try;;
7327esac
7328eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7329 (eval "$ac_compile") 2>conftest.er1
7330 ac_status=$?
7331 grep -v '^ *+' conftest.er1 >conftest.err
7332 rm -f conftest.er1
7333 cat conftest.err >&5
7334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7335 (exit $ac_status); } && {
7336 test -z "$ac_c_werror_flag" ||
7337 test ! -s conftest.err
7338 } && test -s conftest.$ac_objext; then
7339 ac_cv_use_security_session_api="yes"
7340
7341cat >>confdefs.h <<\_ACEOF
7342#define USE_SECURITY_SESSION_API 1
7343_ACEOF
7344 7744
7345 LIBS="$LIBS -framework Security" 7745 { $as_echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5
7346 { echo "$as_me:$LINENO: result: yes" >&5 7746$as_echo_n "checking whether AU_IPv4 is declared... " >&6; }
7347echo "${ECHO_T}yes" >&6; }
7348else
7349 echo "$as_me: failed program was:" >&5
7350sed 's/^/| /' conftest.$ac_ext >&5
7351
7352 ac_cv_use_security_session_api="no"
7353 { echo "$as_me:$LINENO: result: no" >&5
7354echo "${ECHO_T}no" >&6; }
7355fi
7356
7357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358 { echo "$as_me:$LINENO: checking if we have an in-memory credentials cache" >&5
7359echo $ECHO_N "checking if we have an in-memory credentials cache... $ECHO_C" >&6; }
7360 cat >conftest.$ac_ext <<_ACEOF
7361/* confdefs.h. */
7362_ACEOF
7363cat confdefs.h >>conftest.$ac_ext
7364cat >>conftest.$ac_ext <<_ACEOF
7365/* end confdefs.h. */
7366#include <Kerberos/Kerberos.h>
7367int
7368main ()
7369{
7370cc_context_t c;
7371 (void) cc_initialize (&c, 0, NULL, NULL);
7372 ;
7373 return 0;
7374}
7375_ACEOF
7376rm -f conftest.$ac_objext
7377if { (ac_try="$ac_compile"
7378case "(($ac_try" in
7379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7380 *) ac_try_echo=$ac_try;;
7381esac
7382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7383 (eval "$ac_compile") 2>conftest.er1
7384 ac_status=$?
7385 grep -v '^ *+' conftest.er1 >conftest.err
7386 rm -f conftest.er1
7387 cat conftest.err >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } && {
7390 test -z "$ac_c_werror_flag" ||
7391 test ! -s conftest.err
7392 } && test -s conftest.$ac_objext; then
7393
7394cat >>confdefs.h <<\_ACEOF
7395#define USE_CCAPI 1
7396_ACEOF
7397
7398 LIBS="$LIBS -framework Security"
7399 { echo "$as_me:$LINENO: result: yes" >&5
7400echo "${ECHO_T}yes" >&6; }
7401 if test "x$ac_cv_use_security_session_api" = "xno"; then
7402 { { echo "$as_me:$LINENO: error: *** Need a security framework to use the credentials cache API ***" >&5
7403echo "$as_me: error: *** Need a security framework to use the credentials cache API ***" >&2;}
7404 { (exit 1); exit 1; }; }
7405 fi
7406else
7407 echo "$as_me: failed program was:" >&5
7408sed 's/^/| /' conftest.$ac_ext >&5
7409
7410 { echo "$as_me:$LINENO: result: no" >&5
7411echo "${ECHO_T}no" >&6; }
7412
7413fi
7414
7415rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7416
7417 { echo "$as_me:$LINENO: checking whether AU_IPv4 is declared" >&5
7418echo $ECHO_N "checking whether AU_IPv4 is declared... $ECHO_C" >&6; }
7419if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then 7747if test "${ac_cv_have_decl_AU_IPv4+set}" = set; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6 7748 $as_echo_n "(cached) " >&6
7421else 7749else
7422 cat >conftest.$ac_ext <<_ACEOF 7750 cat >conftest.$ac_ext <<_ACEOF
7423/* confdefs.h. */ 7751/* confdefs.h. */
@@ -7443,20 +7771,21 @@ case "(($ac_try" in
7443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7444 *) ac_try_echo=$ac_try;; 7772 *) ac_try_echo=$ac_try;;
7445esac 7773esac
7446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7774eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7775$as_echo "$ac_try_echo") >&5
7447 (eval "$ac_compile") 2>conftest.er1 7776 (eval "$ac_compile") 2>conftest.er1
7448 ac_status=$? 7777 ac_status=$?
7449 grep -v '^ *+' conftest.er1 >conftest.err 7778 grep -v '^ *+' conftest.er1 >conftest.err
7450 rm -f conftest.er1 7779 rm -f conftest.er1
7451 cat conftest.err >&5 7780 cat conftest.err >&5
7452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7781 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7453 (exit $ac_status); } && { 7782 (exit $ac_status); } && {
7454 test -z "$ac_c_werror_flag" || 7783 test -z "$ac_c_werror_flag" ||
7455 test ! -s conftest.err 7784 test ! -s conftest.err
7456 } && test -s conftest.$ac_objext; then 7785 } && test -s conftest.$ac_objext; then
7457 ac_cv_have_decl_AU_IPv4=yes 7786 ac_cv_have_decl_AU_IPv4=yes
7458else 7787else
7459 echo "$as_me: failed program was:" >&5 7788 $as_echo "$as_me: failed program was:" >&5
7460sed 's/^/| /' conftest.$ac_ext >&5 7789sed 's/^/| /' conftest.$ac_ext >&5
7461 7790
7462 ac_cv_have_decl_AU_IPv4=no 7791 ac_cv_have_decl_AU_IPv4=no
@@ -7464,8 +7793,8 @@ fi
7464 7793
7465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7466fi 7795fi
7467{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_AU_IPv4" >&5 7796{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_AU_IPv4" >&5
7468echo "${ECHO_T}$ac_cv_have_decl_AU_IPv4" >&6; } 7797$as_echo "$ac_cv_have_decl_AU_IPv4" >&6; }
7469if test $ac_cv_have_decl_AU_IPv4 = yes; then 7798if test $ac_cv_have_decl_AU_IPv4 = yes; then
7470 : 7799 :
7471else 7800else
@@ -7516,10 +7845,10 @@ _ACEOF
7516 MAIL="/var/mail/username" 7845 MAIL="/var/mail/username"
7517 LIBS="$LIBS -lsec" 7846 LIBS="$LIBS -lsec"
7518 7847
7519{ echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5 7848{ $as_echo "$as_me:$LINENO: checking for t_error in -lxnet" >&5
7520echo $ECHO_N "checking for t_error in -lxnet... $ECHO_C" >&6; } 7849$as_echo_n "checking for t_error in -lxnet... " >&6; }
7521if test "${ac_cv_lib_xnet_t_error+set}" = set; then 7850if test "${ac_cv_lib_xnet_t_error+set}" = set; then
7522 echo $ECHO_N "(cached) $ECHO_C" >&6 7851 $as_echo_n "(cached) " >&6
7523else 7852else
7524 ac_check_lib_save_LIBS=$LIBS 7853 ac_check_lib_save_LIBS=$LIBS
7525LIBS="-lxnet $LIBS" 7854LIBS="-lxnet $LIBS"
@@ -7551,32 +7880,36 @@ case "(($ac_try" in
7551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7552 *) ac_try_echo=$ac_try;; 7881 *) ac_try_echo=$ac_try;;
7553esac 7882esac
7554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7883eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7884$as_echo "$ac_try_echo") >&5
7555 (eval "$ac_link") 2>conftest.er1 7885 (eval "$ac_link") 2>conftest.er1
7556 ac_status=$? 7886 ac_status=$?
7557 grep -v '^ *+' conftest.er1 >conftest.err 7887 grep -v '^ *+' conftest.er1 >conftest.err
7558 rm -f conftest.er1 7888 rm -f conftest.er1
7559 cat conftest.err >&5 7889 cat conftest.err >&5
7560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 (exit $ac_status); } && { 7891 (exit $ac_status); } && {
7562 test -z "$ac_c_werror_flag" || 7892 test -z "$ac_c_werror_flag" ||
7563 test ! -s conftest.err 7893 test ! -s conftest.err
7564 } && test -s conftest$ac_exeext && 7894 } && test -s conftest$ac_exeext && {
7565 $as_test_x conftest$ac_exeext; then 7895 test "$cross_compiling" = yes ||
7896 $as_test_x conftest$ac_exeext
7897 }; then
7566 ac_cv_lib_xnet_t_error=yes 7898 ac_cv_lib_xnet_t_error=yes
7567else 7899else
7568 echo "$as_me: failed program was:" >&5 7900 $as_echo "$as_me: failed program was:" >&5
7569sed 's/^/| /' conftest.$ac_ext >&5 7901sed 's/^/| /' conftest.$ac_ext >&5
7570 7902
7571 ac_cv_lib_xnet_t_error=no 7903 ac_cv_lib_xnet_t_error=no
7572fi 7904fi
7573 7905
7906rm -rf conftest.dSYM
7574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 7907rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7575 conftest$ac_exeext conftest.$ac_ext 7908 conftest$ac_exeext conftest.$ac_ext
7576LIBS=$ac_check_lib_save_LIBS 7909LIBS=$ac_check_lib_save_LIBS
7577fi 7910fi
7578{ echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5 7911{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_t_error" >&5
7579echo "${ECHO_T}$ac_cv_lib_xnet_t_error" >&6; } 7912$as_echo "$ac_cv_lib_xnet_t_error" >&6; }
7580if test $ac_cv_lib_xnet_t_error = yes; then 7913if test $ac_cv_lib_xnet_t_error = yes; then
7581 cat >>confdefs.h <<_ACEOF 7914 cat >>confdefs.h <<_ACEOF
7582#define HAVE_LIBXNET 1 7915#define HAVE_LIBXNET 1
@@ -7585,8 +7918,8 @@ _ACEOF
7585 LIBS="-lxnet $LIBS" 7918 LIBS="-lxnet $LIBS"
7586 7919
7587else 7920else
7588 { { echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5 7921 { { $as_echo "$as_me:$LINENO: error: *** -lxnet needed on HP-UX - check config.log ***" >&5
7589echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;} 7922$as_echo "$as_me: error: *** -lxnet needed on HP-UX - check config.log ***" >&2;}
7590 { (exit 1); exit 1; }; } 7923 { (exit 1); exit 1; }; }
7591fi 7924fi
7592 7925
@@ -7678,10 +8011,10 @@ cat >>confdefs.h <<\_ACEOF
7678#define WITH_IRIX_AUDIT 1 8011#define WITH_IRIX_AUDIT 1
7679_ACEOF 8012_ACEOF
7680 8013
7681 { echo "$as_me:$LINENO: checking for jlimit_startjob" >&5 8014 { $as_echo "$as_me:$LINENO: checking for jlimit_startjob" >&5
7682echo $ECHO_N "checking for jlimit_startjob... $ECHO_C" >&6; } 8015$as_echo_n "checking for jlimit_startjob... " >&6; }
7683if test "${ac_cv_func_jlimit_startjob+set}" = set; then 8016if test "${ac_cv_func_jlimit_startjob+set}" = set; then
7684 echo $ECHO_N "(cached) $ECHO_C" >&6 8017 $as_echo_n "(cached) " >&6
7685else 8018else
7686 cat >conftest.$ac_ext <<_ACEOF 8019 cat >conftest.$ac_ext <<_ACEOF
7687/* confdefs.h. */ 8020/* confdefs.h. */
@@ -7734,31 +8067,35 @@ case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;; 8068 *) ac_try_echo=$ac_try;;
7736esac 8069esac
7737eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8070eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8071$as_echo "$ac_try_echo") >&5
7738 (eval "$ac_link") 2>conftest.er1 8072 (eval "$ac_link") 2>conftest.er1
7739 ac_status=$? 8073 ac_status=$?
7740 grep -v '^ *+' conftest.er1 >conftest.err 8074 grep -v '^ *+' conftest.er1 >conftest.err
7741 rm -f conftest.er1 8075 rm -f conftest.er1
7742 cat conftest.err >&5 8076 cat conftest.err >&5
7743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8077 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7744 (exit $ac_status); } && { 8078 (exit $ac_status); } && {
7745 test -z "$ac_c_werror_flag" || 8079 test -z "$ac_c_werror_flag" ||
7746 test ! -s conftest.err 8080 test ! -s conftest.err
7747 } && test -s conftest$ac_exeext && 8081 } && test -s conftest$ac_exeext && {
7748 $as_test_x conftest$ac_exeext; then 8082 test "$cross_compiling" = yes ||
8083 $as_test_x conftest$ac_exeext
8084 }; then
7749 ac_cv_func_jlimit_startjob=yes 8085 ac_cv_func_jlimit_startjob=yes
7750else 8086else
7751 echo "$as_me: failed program was:" >&5 8087 $as_echo "$as_me: failed program was:" >&5
7752sed 's/^/| /' conftest.$ac_ext >&5 8088sed 's/^/| /' conftest.$ac_ext >&5
7753 8089
7754 ac_cv_func_jlimit_startjob=no 8090 ac_cv_func_jlimit_startjob=no
7755fi 8091fi
7756 8092
8093rm -rf conftest.dSYM
7757rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8094rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7758 conftest$ac_exeext conftest.$ac_ext 8095 conftest$ac_exeext conftest.$ac_ext
7759fi 8096fi
7760{ echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5 8097{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_jlimit_startjob" >&5
7761echo "${ECHO_T}$ac_cv_func_jlimit_startjob" >&6; } 8098$as_echo "$ac_cv_func_jlimit_startjob" >&6; }
7762if test $ac_cv_func_jlimit_startjob = yes; then 8099if test $ac_cv_func_jlimit_startjob = yes; then
7763 8100
7764cat >>confdefs.h <<\_ACEOF 8101cat >>confdefs.h <<\_ACEOF
@@ -7868,20 +8205,21 @@ _ACEOF
7868 8205
7869for ac_header in linux/if_tun.h 8206for ac_header in linux/if_tun.h
7870do 8207do
7871as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8208as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7872if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8209if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7873 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8210 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7874echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8211$as_echo_n "checking for $ac_header... " >&6; }
7875if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8212if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7876 echo $ECHO_N "(cached) $ECHO_C" >&6 8213 $as_echo_n "(cached) " >&6
7877fi 8214fi
7878ac_res=`eval echo '${'$as_ac_Header'}'` 8215ac_res=`eval 'as_val=${'$as_ac_Header'}
7879 { echo "$as_me:$LINENO: result: $ac_res" >&5 8216 $as_echo "$as_val"'`
7880echo "${ECHO_T}$ac_res" >&6; } 8217 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8218$as_echo "$ac_res" >&6; }
7881else 8219else
7882 # Is the header compilable? 8220 # Is the header compilable?
7883{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8221{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7884echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8222$as_echo_n "checking $ac_header usability... " >&6; }
7885cat >conftest.$ac_ext <<_ACEOF 8223cat >conftest.$ac_ext <<_ACEOF
7886/* confdefs.h. */ 8224/* confdefs.h. */
7887_ACEOF 8225_ACEOF
@@ -7897,32 +8235,33 @@ case "(($ac_try" in
7897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7898 *) ac_try_echo=$ac_try;; 8236 *) ac_try_echo=$ac_try;;
7899esac 8237esac
7900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8239$as_echo "$ac_try_echo") >&5
7901 (eval "$ac_compile") 2>conftest.er1 8240 (eval "$ac_compile") 2>conftest.er1
7902 ac_status=$? 8241 ac_status=$?
7903 grep -v '^ *+' conftest.er1 >conftest.err 8242 grep -v '^ *+' conftest.er1 >conftest.err
7904 rm -f conftest.er1 8243 rm -f conftest.er1
7905 cat conftest.err >&5 8244 cat conftest.err >&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); } && { 8246 (exit $ac_status); } && {
7908 test -z "$ac_c_werror_flag" || 8247 test -z "$ac_c_werror_flag" ||
7909 test ! -s conftest.err 8248 test ! -s conftest.err
7910 } && test -s conftest.$ac_objext; then 8249 } && test -s conftest.$ac_objext; then
7911 ac_header_compiler=yes 8250 ac_header_compiler=yes
7912else 8251else
7913 echo "$as_me: failed program was:" >&5 8252 $as_echo "$as_me: failed program was:" >&5
7914sed 's/^/| /' conftest.$ac_ext >&5 8253sed 's/^/| /' conftest.$ac_ext >&5
7915 8254
7916 ac_header_compiler=no 8255 ac_header_compiler=no
7917fi 8256fi
7918 8257
7919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8258rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7920{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8259{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7921echo "${ECHO_T}$ac_header_compiler" >&6; } 8260$as_echo "$ac_header_compiler" >&6; }
7922 8261
7923# Is the header present? 8262# Is the header present?
7924{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8263{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7925echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8264$as_echo_n "checking $ac_header presence... " >&6; }
7926cat >conftest.$ac_ext <<_ACEOF 8265cat >conftest.$ac_ext <<_ACEOF
7927/* confdefs.h. */ 8266/* confdefs.h. */
7928_ACEOF 8267_ACEOF
@@ -7936,51 +8275,52 @@ case "(($ac_try" in
7936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937 *) ac_try_echo=$ac_try;; 8276 *) ac_try_echo=$ac_try;;
7938esac 8277esac
7939eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8278eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8279$as_echo "$ac_try_echo") >&5
7940 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7941 ac_status=$? 8281 ac_status=$?
7942 grep -v '^ *+' conftest.er1 >conftest.err 8282 grep -v '^ *+' conftest.er1 >conftest.err
7943 rm -f conftest.er1 8283 rm -f conftest.er1
7944 cat conftest.err >&5 8284 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8285 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } >/dev/null && { 8286 (exit $ac_status); } >/dev/null && {
7947 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7948 test ! -s conftest.err 8288 test ! -s conftest.err
7949 }; then 8289 }; then
7950 ac_header_preproc=yes 8290 ac_header_preproc=yes
7951else 8291else
7952 echo "$as_me: failed program was:" >&5 8292 $as_echo "$as_me: failed program was:" >&5
7953sed 's/^/| /' conftest.$ac_ext >&5 8293sed 's/^/| /' conftest.$ac_ext >&5
7954 8294
7955 ac_header_preproc=no 8295 ac_header_preproc=no
7956fi 8296fi
7957 8297
7958rm -f conftest.err conftest.$ac_ext 8298rm -f conftest.err conftest.$ac_ext
7959{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8299{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7960echo "${ECHO_T}$ac_header_preproc" >&6; } 8300$as_echo "$ac_header_preproc" >&6; }
7961 8301
7962# So? What about this header? 8302# So? What about this header?
7963case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8303case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7964 yes:no: ) 8304 yes:no: )
7965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7966echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8306$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7968echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8308$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7969 ac_header_preproc=yes 8309 ac_header_preproc=yes
7970 ;; 8310 ;;
7971 no:yes:* ) 8311 no:yes:* )
7972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7973echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8313$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7975echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8315$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7977echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8317$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7979echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8319$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7981echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8321$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8322 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7983echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8323$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7984 ( cat <<\_ASBOX 8324 ( cat <<\_ASBOX
7985## ------------------------------------------- ## 8325## ------------------------------------------- ##
7986## Report this to openssh-unix-dev@mindrot.org ## 8326## Report this to openssh-unix-dev@mindrot.org ##
@@ -7989,21 +8329,23 @@ _ASBOX
7989 ) | sed "s/^/$as_me: WARNING: /" >&2 8329 ) | sed "s/^/$as_me: WARNING: /" >&2
7990 ;; 8330 ;;
7991esac 8331esac
7992{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8332{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7993echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8333$as_echo_n "checking for $ac_header... " >&6; }
7994if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8334if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7995 echo $ECHO_N "(cached) $ECHO_C" >&6 8335 $as_echo_n "(cached) " >&6
7996else 8336else
7997 eval "$as_ac_Header=\$ac_header_preproc" 8337 eval "$as_ac_Header=\$ac_header_preproc"
7998fi 8338fi
7999ac_res=`eval echo '${'$as_ac_Header'}'` 8339ac_res=`eval 'as_val=${'$as_ac_Header'}
8000 { echo "$as_me:$LINENO: result: $ac_res" >&5 8340 $as_echo "$as_val"'`
8001echo "${ECHO_T}$ac_res" >&6; } 8341 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8342$as_echo "$ac_res" >&6; }
8002 8343
8003fi 8344fi
8004if test `eval echo '${'$as_ac_Header'}'` = yes; then 8345if test `eval 'as_val=${'$as_ac_Header'}
8346 $as_echo "$as_val"'` = yes; then
8005 cat >>confdefs.h <<_ACEOF 8347 cat >>confdefs.h <<_ACEOF
8006#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8348#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8007_ACEOF 8349_ACEOF
8008 8350
8009fi 8351fi
@@ -8052,17 +8394,17 @@ cat >>confdefs.h <<\_ACEOF
8052_ACEOF 8394_ACEOF
8053 8395
8054 if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8396 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8055 { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8397 { $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8056echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8398$as_echo_n "checking for net/if_tap.h... " >&6; }
8057if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8399if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6 8400 $as_echo_n "(cached) " >&6
8059fi 8401fi
8060{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8402{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8061echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8403$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8062else 8404else
8063 # Is the header compilable? 8405 # Is the header compilable?
8064{ echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 8406{ $as_echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
8065echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } 8407$as_echo_n "checking net/if_tap.h usability... " >&6; }
8066cat >conftest.$ac_ext <<_ACEOF 8408cat >conftest.$ac_ext <<_ACEOF
8067/* confdefs.h. */ 8409/* confdefs.h. */
8068_ACEOF 8410_ACEOF
@@ -8078,32 +8420,33 @@ case "(($ac_try" in
8078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8079 *) ac_try_echo=$ac_try;; 8421 *) ac_try_echo=$ac_try;;
8080esac 8422esac
8081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8423eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8424$as_echo "$ac_try_echo") >&5
8082 (eval "$ac_compile") 2>conftest.er1 8425 (eval "$ac_compile") 2>conftest.er1
8083 ac_status=$? 8426 ac_status=$?
8084 grep -v '^ *+' conftest.er1 >conftest.err 8427 grep -v '^ *+' conftest.er1 >conftest.err
8085 rm -f conftest.er1 8428 rm -f conftest.er1
8086 cat conftest.err >&5 8429 cat conftest.err >&5
8087 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8088 (exit $ac_status); } && { 8431 (exit $ac_status); } && {
8089 test -z "$ac_c_werror_flag" || 8432 test -z "$ac_c_werror_flag" ||
8090 test ! -s conftest.err 8433 test ! -s conftest.err
8091 } && test -s conftest.$ac_objext; then 8434 } && test -s conftest.$ac_objext; then
8092 ac_header_compiler=yes 8435 ac_header_compiler=yes
8093else 8436else
8094 echo "$as_me: failed program was:" >&5 8437 $as_echo "$as_me: failed program was:" >&5
8095sed 's/^/| /' conftest.$ac_ext >&5 8438sed 's/^/| /' conftest.$ac_ext >&5
8096 8439
8097 ac_header_compiler=no 8440 ac_header_compiler=no
8098fi 8441fi
8099 8442
8100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8443rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8444{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8102echo "${ECHO_T}$ac_header_compiler" >&6; } 8445$as_echo "$ac_header_compiler" >&6; }
8103 8446
8104# Is the header present? 8447# Is the header present?
8105{ echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 8448{ $as_echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
8106echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } 8449$as_echo_n "checking net/if_tap.h presence... " >&6; }
8107cat >conftest.$ac_ext <<_ACEOF 8450cat >conftest.$ac_ext <<_ACEOF
8108/* confdefs.h. */ 8451/* confdefs.h. */
8109_ACEOF 8452_ACEOF
@@ -8117,51 +8460,52 @@ case "(($ac_try" in
8117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8118 *) ac_try_echo=$ac_try;; 8461 *) ac_try_echo=$ac_try;;
8119esac 8462esac
8120eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8463eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8464$as_echo "$ac_try_echo") >&5
8121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8122 ac_status=$? 8466 ac_status=$?
8123 grep -v '^ *+' conftest.er1 >conftest.err 8467 grep -v '^ *+' conftest.er1 >conftest.err
8124 rm -f conftest.er1 8468 rm -f conftest.er1
8125 cat conftest.err >&5 8469 cat conftest.err >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } >/dev/null && { 8471 (exit $ac_status); } >/dev/null && {
8128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8129 test ! -s conftest.err 8473 test ! -s conftest.err
8130 }; then 8474 }; then
8131 ac_header_preproc=yes 8475 ac_header_preproc=yes
8132else 8476else
8133 echo "$as_me: failed program was:" >&5 8477 $as_echo "$as_me: failed program was:" >&5
8134sed 's/^/| /' conftest.$ac_ext >&5 8478sed 's/^/| /' conftest.$ac_ext >&5
8135 8479
8136 ac_header_preproc=no 8480 ac_header_preproc=no
8137fi 8481fi
8138 8482
8139rm -f conftest.err conftest.$ac_ext 8483rm -f conftest.err conftest.$ac_ext
8140{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8484{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8141echo "${ECHO_T}$ac_header_preproc" >&6; } 8485$as_echo "$ac_header_preproc" >&6; }
8142 8486
8143# So? What about this header? 8487# So? What about this header?
8144case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8488case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8145 yes:no: ) 8489 yes:no: )
8146 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 8490 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
8147echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8491$as_echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8148 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 8492 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
8149echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} 8493$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
8150 ac_header_preproc=yes 8494 ac_header_preproc=yes
8151 ;; 8495 ;;
8152 no:yes:* ) 8496 no:yes:* )
8153 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 8497 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
8154echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} 8498$as_echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
8155 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 8499 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
8156echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} 8500$as_echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
8157 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 8501 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
8158echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} 8502$as_echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
8159 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 8503 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
8160echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} 8504$as_echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
8161 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 8505 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
8162echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} 8506$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
8163 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 8507 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
8164echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} 8508$as_echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
8165 ( cat <<\_ASBOX 8509 ( cat <<\_ASBOX
8166## ------------------------------------------- ## 8510## ------------------------------------------- ##
8167## Report this to openssh-unix-dev@mindrot.org ## 8511## Report this to openssh-unix-dev@mindrot.org ##
@@ -8170,15 +8514,15 @@ _ASBOX
8170 ) | sed "s/^/$as_me: WARNING: /" >&2 8514 ) | sed "s/^/$as_me: WARNING: /" >&2
8171 ;; 8515 ;;
8172esac 8516esac
8173{ echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8517{ $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8174echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8518$as_echo_n "checking for net/if_tap.h... " >&6; }
8175if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8519if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8176 echo $ECHO_N "(cached) $ECHO_C" >&6 8520 $as_echo_n "(cached) " >&6
8177else 8521else
8178 ac_cv_header_net_if_tap_h=$ac_header_preproc 8522 ac_cv_header_net_if_tap_h=$ac_header_preproc
8179fi 8523fi
8180{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8524{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8181echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8525$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8182 8526
8183fi 8527fi
8184if test $ac_cv_header_net_if_tap_h = yes; then 8528if test $ac_cv_header_net_if_tap_h = yes; then
@@ -8211,17 +8555,17 @@ cat >>confdefs.h <<\_ACEOF
8211_ACEOF 8555_ACEOF
8212 8556
8213 if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8557 if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8214 { echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8558 { $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8215echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8559$as_echo_n "checking for net/if_tap.h... " >&6; }
8216if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8560if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8217 echo $ECHO_N "(cached) $ECHO_C" >&6 8561 $as_echo_n "(cached) " >&6
8218fi 8562fi
8219{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8563{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8220echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8564$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8221else 8565else
8222 # Is the header compilable? 8566 # Is the header compilable?
8223{ echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5 8567{ $as_echo "$as_me:$LINENO: checking net/if_tap.h usability" >&5
8224echo $ECHO_N "checking net/if_tap.h usability... $ECHO_C" >&6; } 8568$as_echo_n "checking net/if_tap.h usability... " >&6; }
8225cat >conftest.$ac_ext <<_ACEOF 8569cat >conftest.$ac_ext <<_ACEOF
8226/* confdefs.h. */ 8570/* confdefs.h. */
8227_ACEOF 8571_ACEOF
@@ -8237,32 +8581,33 @@ case "(($ac_try" in
8237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8238 *) ac_try_echo=$ac_try;; 8582 *) ac_try_echo=$ac_try;;
8239esac 8583esac
8240eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8584eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8585$as_echo "$ac_try_echo") >&5
8241 (eval "$ac_compile") 2>conftest.er1 8586 (eval "$ac_compile") 2>conftest.er1
8242 ac_status=$? 8587 ac_status=$?
8243 grep -v '^ *+' conftest.er1 >conftest.err 8588 grep -v '^ *+' conftest.er1 >conftest.err
8244 rm -f conftest.er1 8589 rm -f conftest.er1
8245 cat conftest.err >&5 8590 cat conftest.err >&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); } && { 8592 (exit $ac_status); } && {
8248 test -z "$ac_c_werror_flag" || 8593 test -z "$ac_c_werror_flag" ||
8249 test ! -s conftest.err 8594 test ! -s conftest.err
8250 } && test -s conftest.$ac_objext; then 8595 } && test -s conftest.$ac_objext; then
8251 ac_header_compiler=yes 8596 ac_header_compiler=yes
8252else 8597else
8253 echo "$as_me: failed program was:" >&5 8598 $as_echo "$as_me: failed program was:" >&5
8254sed 's/^/| /' conftest.$ac_ext >&5 8599sed 's/^/| /' conftest.$ac_ext >&5
8255 8600
8256 ac_header_compiler=no 8601 ac_header_compiler=no
8257fi 8602fi
8258 8603
8259rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8260{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8605{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8261echo "${ECHO_T}$ac_header_compiler" >&6; } 8606$as_echo "$ac_header_compiler" >&6; }
8262 8607
8263# Is the header present? 8608# Is the header present?
8264{ echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5 8609{ $as_echo "$as_me:$LINENO: checking net/if_tap.h presence" >&5
8265echo $ECHO_N "checking net/if_tap.h presence... $ECHO_C" >&6; } 8610$as_echo_n "checking net/if_tap.h presence... " >&6; }
8266cat >conftest.$ac_ext <<_ACEOF 8611cat >conftest.$ac_ext <<_ACEOF
8267/* confdefs.h. */ 8612/* confdefs.h. */
8268_ACEOF 8613_ACEOF
@@ -8276,51 +8621,52 @@ case "(($ac_try" in
8276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8277 *) ac_try_echo=$ac_try;; 8622 *) ac_try_echo=$ac_try;;
8278esac 8623esac
8279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8624eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8625$as_echo "$ac_try_echo") >&5
8280 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8626 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8281 ac_status=$? 8627 ac_status=$?
8282 grep -v '^ *+' conftest.er1 >conftest.err 8628 grep -v '^ *+' conftest.er1 >conftest.err
8283 rm -f conftest.er1 8629 rm -f conftest.er1
8284 cat conftest.err >&5 8630 cat conftest.err >&5
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); } >/dev/null && { 8632 (exit $ac_status); } >/dev/null && {
8287 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 8633 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8288 test ! -s conftest.err 8634 test ! -s conftest.err
8289 }; then 8635 }; then
8290 ac_header_preproc=yes 8636 ac_header_preproc=yes
8291else 8637else
8292 echo "$as_me: failed program was:" >&5 8638 $as_echo "$as_me: failed program was:" >&5
8293sed 's/^/| /' conftest.$ac_ext >&5 8639sed 's/^/| /' conftest.$ac_ext >&5
8294 8640
8295 ac_header_preproc=no 8641 ac_header_preproc=no
8296fi 8642fi
8297 8643
8298rm -f conftest.err conftest.$ac_ext 8644rm -f conftest.err conftest.$ac_ext
8299{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8645{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8300echo "${ECHO_T}$ac_header_preproc" >&6; } 8646$as_echo "$ac_header_preproc" >&6; }
8301 8647
8302# So? What about this header? 8648# So? What about this header?
8303case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 8649case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8304 yes:no: ) 8650 yes:no: )
8305 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5 8651 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&5
8306echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8652$as_echo "$as_me: WARNING: net/if_tap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8307 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5 8653 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the compiler's result" >&5
8308echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;} 8654$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the compiler's result" >&2;}
8309 ac_header_preproc=yes 8655 ac_header_preproc=yes
8310 ;; 8656 ;;
8311 no:yes:* ) 8657 no:yes:* )
8312 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5 8658 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: present but cannot be compiled" >&5
8313echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;} 8659$as_echo "$as_me: WARNING: net/if_tap.h: present but cannot be compiled" >&2;}
8314 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5 8660 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&5
8315echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;} 8661$as_echo "$as_me: WARNING: net/if_tap.h: check for missing prerequisite headers?" >&2;}
8316 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5 8662 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: see the Autoconf documentation" >&5
8317echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;} 8663$as_echo "$as_me: WARNING: net/if_tap.h: see the Autoconf documentation" >&2;}
8318 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5 8664 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&5
8319echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;} 8665$as_echo "$as_me: WARNING: net/if_tap.h: section \"Present But Cannot Be Compiled\"" >&2;}
8320 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5 8666 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&5
8321echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;} 8667$as_echo "$as_me: WARNING: net/if_tap.h: proceeding with the preprocessor's result" >&2;}
8322 { echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5 8668 { $as_echo "$as_me:$LINENO: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&5
8323echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;} 8669$as_echo "$as_me: WARNING: net/if_tap.h: in the future, the compiler will take precedence" >&2;}
8324 ( cat <<\_ASBOX 8670 ( cat <<\_ASBOX
8325## ------------------------------------------- ## 8671## ------------------------------------------- ##
8326## Report this to openssh-unix-dev@mindrot.org ## 8672## Report this to openssh-unix-dev@mindrot.org ##
@@ -8329,15 +8675,15 @@ _ASBOX
8329 ) | sed "s/^/$as_me: WARNING: /" >&2 8675 ) | sed "s/^/$as_me: WARNING: /" >&2
8330 ;; 8676 ;;
8331esac 8677esac
8332{ echo "$as_me:$LINENO: checking for net/if_tap.h" >&5 8678{ $as_echo "$as_me:$LINENO: checking for net/if_tap.h" >&5
8333echo $ECHO_N "checking for net/if_tap.h... $ECHO_C" >&6; } 8679$as_echo_n "checking for net/if_tap.h... " >&6; }
8334if test "${ac_cv_header_net_if_tap_h+set}" = set; then 8680if test "${ac_cv_header_net_if_tap_h+set}" = set; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6 8681 $as_echo_n "(cached) " >&6
8336else 8682else
8337 ac_cv_header_net_if_tap_h=$ac_header_preproc 8683 ac_cv_header_net_if_tap_h=$ac_header_preproc
8338fi 8684fi
8339{ echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5 8685{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_net_if_tap_h" >&5
8340echo "${ECHO_T}$ac_cv_header_net_if_tap_h" >&6; } 8686$as_echo "$ac_cv_header_net_if_tap_h" >&6; }
8341 8687
8342fi 8688fi
8343if test $ac_cv_header_net_if_tap_h = yes; then 8689if test $ac_cv_header_net_if_tap_h = yes; then
@@ -8458,15 +8804,20 @@ cat >>confdefs.h <<\_ACEOF
8458#define PASSWD_NEEDS_USERNAME 1 8804#define PASSWD_NEEDS_USERNAME 1
8459_ACEOF 8805_ACEOF
8460 8806
8807
8808cat >>confdefs.h <<\_ACEOF
8809#define BROKEN_TCGETATTR_ICANON 1
8810_ACEOF
8811
8461 external_path_file=/etc/default/login 8812 external_path_file=/etc/default/login
8462 # hardwire lastlog location (can't detect it on some versions) 8813 # hardwire lastlog location (can't detect it on some versions)
8463 conf_lastlog_location="/var/adm/lastlog" 8814 conf_lastlog_location="/var/adm/lastlog"
8464 { echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5 8815 { $as_echo "$as_me:$LINENO: checking for obsolete utmp and wtmp in solaris2.x" >&5
8465echo $ECHO_N "checking for obsolete utmp and wtmp in solaris2.x... $ECHO_C" >&6; } 8816$as_echo_n "checking for obsolete utmp and wtmp in solaris2.x... " >&6; }
8466 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'` 8817 sol2ver=`echo "$host"| sed -e 's/.*[0-9]\.//'`
8467 if test "$sol2ver" -ge 8; then 8818 if test "$sol2ver" -ge 8; then
8468 { echo "$as_me:$LINENO: result: yes" >&5 8819 { $as_echo "$as_me:$LINENO: result: yes" >&5
8469echo "${ECHO_T}yes" >&6; } 8820$as_echo "yes" >&6; }
8470 cat >>confdefs.h <<\_ACEOF 8821 cat >>confdefs.h <<\_ACEOF
8471#define DISABLE_UTMP 1 8822#define DISABLE_UTMP 1
8472_ACEOF 8823_ACEOF
@@ -8477,17 +8828,17 @@ cat >>confdefs.h <<\_ACEOF
8477_ACEOF 8828_ACEOF
8478 8829
8479 else 8830 else
8480 { echo "$as_me:$LINENO: result: no" >&5 8831 { $as_echo "$as_me:$LINENO: result: no" >&5
8481echo "${ECHO_T}no" >&6; } 8832$as_echo "no" >&6; }
8482 fi 8833 fi
8483 8834
8484# Check whether --with-solaris-contracts was given. 8835# Check whether --with-solaris-contracts was given.
8485if test "${with_solaris_contracts+set}" = set; then 8836if test "${with_solaris_contracts+set}" = set; then
8486 withval=$with_solaris_contracts; 8837 withval=$with_solaris_contracts;
8487 { echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5 8838 { $as_echo "$as_me:$LINENO: checking for ct_tmpl_activate in -lcontract" >&5
8488echo $ECHO_N "checking for ct_tmpl_activate in -lcontract... $ECHO_C" >&6; } 8839$as_echo_n "checking for ct_tmpl_activate in -lcontract... " >&6; }
8489if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then 8840if test "${ac_cv_lib_contract_ct_tmpl_activate+set}" = set; then
8490 echo $ECHO_N "(cached) $ECHO_C" >&6 8841 $as_echo_n "(cached) " >&6
8491else 8842else
8492 ac_check_lib_save_LIBS=$LIBS 8843 ac_check_lib_save_LIBS=$LIBS
8493LIBS="-lcontract $LIBS" 8844LIBS="-lcontract $LIBS"
@@ -8519,32 +8870,36 @@ case "(($ac_try" in
8519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8520 *) ac_try_echo=$ac_try;; 8871 *) ac_try_echo=$ac_try;;
8521esac 8872esac
8522eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8874$as_echo "$ac_try_echo") >&5
8523 (eval "$ac_link") 2>conftest.er1 8875 (eval "$ac_link") 2>conftest.er1
8524 ac_status=$? 8876 ac_status=$?
8525 grep -v '^ *+' conftest.er1 >conftest.err 8877 grep -v '^ *+' conftest.er1 >conftest.err
8526 rm -f conftest.er1 8878 rm -f conftest.er1
8527 cat conftest.err >&5 8879 cat conftest.err >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); } && { 8881 (exit $ac_status); } && {
8530 test -z "$ac_c_werror_flag" || 8882 test -z "$ac_c_werror_flag" ||
8531 test ! -s conftest.err 8883 test ! -s conftest.err
8532 } && test -s conftest$ac_exeext && 8884 } && test -s conftest$ac_exeext && {
8533 $as_test_x conftest$ac_exeext; then 8885 test "$cross_compiling" = yes ||
8886 $as_test_x conftest$ac_exeext
8887 }; then
8534 ac_cv_lib_contract_ct_tmpl_activate=yes 8888 ac_cv_lib_contract_ct_tmpl_activate=yes
8535else 8889else
8536 echo "$as_me: failed program was:" >&5 8890 $as_echo "$as_me: failed program was:" >&5
8537sed 's/^/| /' conftest.$ac_ext >&5 8891sed 's/^/| /' conftest.$ac_ext >&5
8538 8892
8539 ac_cv_lib_contract_ct_tmpl_activate=no 8893 ac_cv_lib_contract_ct_tmpl_activate=no
8540fi 8894fi
8541 8895
8896rm -rf conftest.dSYM
8542rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 8897rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8543 conftest$ac_exeext conftest.$ac_ext 8898 conftest$ac_exeext conftest.$ac_ext
8544LIBS=$ac_check_lib_save_LIBS 8899LIBS=$ac_check_lib_save_LIBS
8545fi 8900fi
8546{ echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5 8901{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_contract_ct_tmpl_activate" >&5
8547echo "${ECHO_T}$ac_cv_lib_contract_ct_tmpl_activate" >&6; } 8902$as_echo "$ac_cv_lib_contract_ct_tmpl_activate" >&6; }
8548if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then 8903if test $ac_cv_lib_contract_ct_tmpl_activate = yes; then
8549 8904
8550cat >>confdefs.h <<\_ACEOF 8905cat >>confdefs.h <<\_ACEOF
@@ -8565,11 +8920,11 @@ fi
8565 8920
8566for ac_func in getpwanam 8921for ac_func in getpwanam
8567do 8922do
8568as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8923as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8569{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8924{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8570echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8925$as_echo_n "checking for $ac_func... " >&6; }
8571if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 8926if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8572 echo $ECHO_N "(cached) $ECHO_C" >&6 8927 $as_echo_n "(cached) " >&6
8573else 8928else
8574 cat >conftest.$ac_ext <<_ACEOF 8929 cat >conftest.$ac_ext <<_ACEOF
8575/* confdefs.h. */ 8930/* confdefs.h. */
@@ -8622,35 +8977,41 @@ case "(($ac_try" in
8622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8623 *) ac_try_echo=$ac_try;; 8978 *) ac_try_echo=$ac_try;;
8624esac 8979esac
8625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8981$as_echo "$ac_try_echo") >&5
8626 (eval "$ac_link") 2>conftest.er1 8982 (eval "$ac_link") 2>conftest.er1
8627 ac_status=$? 8983 ac_status=$?
8628 grep -v '^ *+' conftest.er1 >conftest.err 8984 grep -v '^ *+' conftest.er1 >conftest.err
8629 rm -f conftest.er1 8985 rm -f conftest.er1
8630 cat conftest.err >&5 8986 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } && { 8988 (exit $ac_status); } && {
8633 test -z "$ac_c_werror_flag" || 8989 test -z "$ac_c_werror_flag" ||
8634 test ! -s conftest.err 8990 test ! -s conftest.err
8635 } && test -s conftest$ac_exeext && 8991 } && test -s conftest$ac_exeext && {
8636 $as_test_x conftest$ac_exeext; then 8992 test "$cross_compiling" = yes ||
8993 $as_test_x conftest$ac_exeext
8994 }; then
8637 eval "$as_ac_var=yes" 8995 eval "$as_ac_var=yes"
8638else 8996else
8639 echo "$as_me: failed program was:" >&5 8997 $as_echo "$as_me: failed program was:" >&5
8640sed 's/^/| /' conftest.$ac_ext >&5 8998sed 's/^/| /' conftest.$ac_ext >&5
8641 8999
8642 eval "$as_ac_var=no" 9000 eval "$as_ac_var=no"
8643fi 9001fi
8644 9002
9003rm -rf conftest.dSYM
8645rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9004rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8646 conftest$ac_exeext conftest.$ac_ext 9005 conftest$ac_exeext conftest.$ac_ext
8647fi 9006fi
8648ac_res=`eval echo '${'$as_ac_var'}'` 9007ac_res=`eval 'as_val=${'$as_ac_var'}
8649 { echo "$as_me:$LINENO: result: $ac_res" >&5 9008 $as_echo "$as_val"'`
8650echo "${ECHO_T}$ac_res" >&6; } 9009 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8651if test `eval echo '${'$as_ac_var'}'` = yes; then 9010$as_echo "$ac_res" >&6; }
9011if test `eval 'as_val=${'$as_ac_var'}
9012 $as_echo "$as_val"'` = yes; then
8652 cat >>confdefs.h <<_ACEOF 9013 cat >>confdefs.h <<_ACEOF
8653#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9014#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8654_ACEOF 9015_ACEOF
8655 9016
8656fi 9017fi
@@ -8694,10 +9055,10 @@ _ACEOF
8694*-sni-sysv*) 9055*-sni-sysv*)
8695 # /usr/ucblib MUST NOT be searched on ReliantUNIX 9056 # /usr/ucblib MUST NOT be searched on ReliantUNIX
8696 9057
8697{ echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5 9058{ $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
8698echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6; } 9059$as_echo_n "checking for dlsym in -ldl... " >&6; }
8699if test "${ac_cv_lib_dl_dlsym+set}" = set; then 9060if test "${ac_cv_lib_dl_dlsym+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6 9061 $as_echo_n "(cached) " >&6
8701else 9062else
8702 ac_check_lib_save_LIBS=$LIBS 9063 ac_check_lib_save_LIBS=$LIBS
8703LIBS="-ldl $LIBS" 9064LIBS="-ldl $LIBS"
@@ -8729,32 +9090,36 @@ case "(($ac_try" in
8729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8730 *) ac_try_echo=$ac_try;; 9091 *) ac_try_echo=$ac_try;;
8731esac 9092esac
8732eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9093eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9094$as_echo "$ac_try_echo") >&5
8733 (eval "$ac_link") 2>conftest.er1 9095 (eval "$ac_link") 2>conftest.er1
8734 ac_status=$? 9096 ac_status=$?
8735 grep -v '^ *+' conftest.er1 >conftest.err 9097 grep -v '^ *+' conftest.er1 >conftest.err
8736 rm -f conftest.er1 9098 rm -f conftest.er1
8737 cat conftest.err >&5 9099 cat conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } && { 9101 (exit $ac_status); } && {
8740 test -z "$ac_c_werror_flag" || 9102 test -z "$ac_c_werror_flag" ||
8741 test ! -s conftest.err 9103 test ! -s conftest.err
8742 } && test -s conftest$ac_exeext && 9104 } && test -s conftest$ac_exeext && {
8743 $as_test_x conftest$ac_exeext; then 9105 test "$cross_compiling" = yes ||
9106 $as_test_x conftest$ac_exeext
9107 }; then
8744 ac_cv_lib_dl_dlsym=yes 9108 ac_cv_lib_dl_dlsym=yes
8745else 9109else
8746 echo "$as_me: failed program was:" >&5 9110 $as_echo "$as_me: failed program was:" >&5
8747sed 's/^/| /' conftest.$ac_ext >&5 9111sed 's/^/| /' conftest.$ac_ext >&5
8748 9112
8749 ac_cv_lib_dl_dlsym=no 9113 ac_cv_lib_dl_dlsym=no
8750fi 9114fi
8751 9115
9116rm -rf conftest.dSYM
8752rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9117rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8753 conftest$ac_exeext conftest.$ac_ext 9118 conftest$ac_exeext conftest.$ac_ext
8754LIBS=$ac_check_lib_save_LIBS 9119LIBS=$ac_check_lib_save_LIBS
8755fi 9120fi
8756{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5 9121{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
8757echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6; } 9122$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
8758if test $ac_cv_lib_dl_dlsym = yes; then 9123if test $ac_cv_lib_dl_dlsym = yes; then
8759 cat >>confdefs.h <<_ACEOF 9124 cat >>confdefs.h <<_ACEOF
8760#define HAVE_LIBDL 1 9125#define HAVE_LIBDL 1
@@ -8765,10 +9130,10 @@ _ACEOF
8765fi 9130fi
8766 9131
8767 # -lresolv needs to be at the end of LIBS or DNS lookups break 9132 # -lresolv needs to be at the end of LIBS or DNS lookups break
8768 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 9133 { $as_echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
8769echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } 9134$as_echo_n "checking for res_query in -lresolv... " >&6; }
8770if test "${ac_cv_lib_resolv_res_query+set}" = set; then 9135if test "${ac_cv_lib_resolv_res_query+set}" = set; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6 9136 $as_echo_n "(cached) " >&6
8772else 9137else
8773 ac_check_lib_save_LIBS=$LIBS 9138 ac_check_lib_save_LIBS=$LIBS
8774LIBS="-lresolv $LIBS" 9139LIBS="-lresolv $LIBS"
@@ -8800,32 +9165,36 @@ case "(($ac_try" in
8800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8801 *) ac_try_echo=$ac_try;; 9166 *) ac_try_echo=$ac_try;;
8802esac 9167esac
8803eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9168eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9169$as_echo "$ac_try_echo") >&5
8804 (eval "$ac_link") 2>conftest.er1 9170 (eval "$ac_link") 2>conftest.er1
8805 ac_status=$? 9171 ac_status=$?
8806 grep -v '^ *+' conftest.er1 >conftest.err 9172 grep -v '^ *+' conftest.er1 >conftest.err
8807 rm -f conftest.er1 9173 rm -f conftest.er1
8808 cat conftest.err >&5 9174 cat conftest.err >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } && { 9176 (exit $ac_status); } && {
8811 test -z "$ac_c_werror_flag" || 9177 test -z "$ac_c_werror_flag" ||
8812 test ! -s conftest.err 9178 test ! -s conftest.err
8813 } && test -s conftest$ac_exeext && 9179 } && test -s conftest$ac_exeext && {
8814 $as_test_x conftest$ac_exeext; then 9180 test "$cross_compiling" = yes ||
9181 $as_test_x conftest$ac_exeext
9182 }; then
8815 ac_cv_lib_resolv_res_query=yes 9183 ac_cv_lib_resolv_res_query=yes
8816else 9184else
8817 echo "$as_me: failed program was:" >&5 9185 $as_echo "$as_me: failed program was:" >&5
8818sed 's/^/| /' conftest.$ac_ext >&5 9186sed 's/^/| /' conftest.$ac_ext >&5
8819 9187
8820 ac_cv_lib_resolv_res_query=no 9188 ac_cv_lib_resolv_res_query=no
8821fi 9189fi
8822 9190
9191rm -rf conftest.dSYM
8823rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9192rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8824 conftest$ac_exeext conftest.$ac_ext 9193 conftest$ac_exeext conftest.$ac_ext
8825LIBS=$ac_check_lib_save_LIBS 9194LIBS=$ac_check_lib_save_LIBS
8826fi 9195fi
8827{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5 9196{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
8828echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; } 9197$as_echo "$ac_cv_lib_resolv_res_query" >&6; }
8829if test $ac_cv_lib_resolv_res_query = yes; then 9198if test $ac_cv_lib_resolv_res_query = yes; then
8830 LIBS="$LIBS -lresolv" 9199 LIBS="$LIBS -lresolv"
8831fi 9200fi
@@ -8927,10 +9296,10 @@ _ACEOF
8927#define BROKEN_UPDWTMPX 1 9296#define BROKEN_UPDWTMPX 1
8928_ACEOF 9297_ACEOF
8929 9298
8930 { echo "$as_me:$LINENO: checking for getluid in -lprot" >&5 9299 { $as_echo "$as_me:$LINENO: checking for getluid in -lprot" >&5
8931echo $ECHO_N "checking for getluid in -lprot... $ECHO_C" >&6; } 9300$as_echo_n "checking for getluid in -lprot... " >&6; }
8932if test "${ac_cv_lib_prot_getluid+set}" = set; then 9301if test "${ac_cv_lib_prot_getluid+set}" = set; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6 9302 $as_echo_n "(cached) " >&6
8934else 9303else
8935 ac_check_lib_save_LIBS=$LIBS 9304 ac_check_lib_save_LIBS=$LIBS
8936LIBS="-lprot $LIBS" 9305LIBS="-lprot $LIBS"
@@ -8962,43 +9331,47 @@ case "(($ac_try" in
8962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8963 *) ac_try_echo=$ac_try;; 9332 *) ac_try_echo=$ac_try;;
8964esac 9333esac
8965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9335$as_echo "$ac_try_echo") >&5
8966 (eval "$ac_link") 2>conftest.er1 9336 (eval "$ac_link") 2>conftest.er1
8967 ac_status=$? 9337 ac_status=$?
8968 grep -v '^ *+' conftest.er1 >conftest.err 9338 grep -v '^ *+' conftest.er1 >conftest.err
8969 rm -f conftest.er1 9339 rm -f conftest.er1
8970 cat conftest.err >&5 9340 cat conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } && { 9342 (exit $ac_status); } && {
8973 test -z "$ac_c_werror_flag" || 9343 test -z "$ac_c_werror_flag" ||
8974 test ! -s conftest.err 9344 test ! -s conftest.err
8975 } && test -s conftest$ac_exeext && 9345 } && test -s conftest$ac_exeext && {
8976 $as_test_x conftest$ac_exeext; then 9346 test "$cross_compiling" = yes ||
9347 $as_test_x conftest$ac_exeext
9348 }; then
8977 ac_cv_lib_prot_getluid=yes 9349 ac_cv_lib_prot_getluid=yes
8978else 9350else
8979 echo "$as_me: failed program was:" >&5 9351 $as_echo "$as_me: failed program was:" >&5
8980sed 's/^/| /' conftest.$ac_ext >&5 9352sed 's/^/| /' conftest.$ac_ext >&5
8981 9353
8982 ac_cv_lib_prot_getluid=no 9354 ac_cv_lib_prot_getluid=no
8983fi 9355fi
8984 9356
9357rm -rf conftest.dSYM
8985rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9358rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8986 conftest$ac_exeext conftest.$ac_ext 9359 conftest$ac_exeext conftest.$ac_ext
8987LIBS=$ac_check_lib_save_LIBS 9360LIBS=$ac_check_lib_save_LIBS
8988fi 9361fi
8989{ echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5 9362{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_prot_getluid" >&5
8990echo "${ECHO_T}$ac_cv_lib_prot_getluid" >&6; } 9363$as_echo "$ac_cv_lib_prot_getluid" >&6; }
8991if test $ac_cv_lib_prot_getluid = yes; then 9364if test $ac_cv_lib_prot_getluid = yes; then
8992 LIBS="$LIBS -lprot" 9365 LIBS="$LIBS -lprot"
8993 9366
8994 9367
8995for ac_func in getluid setluid 9368for ac_func in getluid setluid
8996do 9369do
8997as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9370as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
8998{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9371{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8999echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9372$as_echo_n "checking for $ac_func... " >&6; }
9000if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9373if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9001 echo $ECHO_N "(cached) $ECHO_C" >&6 9374 $as_echo_n "(cached) " >&6
9002else 9375else
9003 cat >conftest.$ac_ext <<_ACEOF 9376 cat >conftest.$ac_ext <<_ACEOF
9004/* confdefs.h. */ 9377/* confdefs.h. */
@@ -9051,35 +9424,41 @@ case "(($ac_try" in
9051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9052 *) ac_try_echo=$ac_try;; 9425 *) ac_try_echo=$ac_try;;
9053esac 9426esac
9054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9428$as_echo "$ac_try_echo") >&5
9055 (eval "$ac_link") 2>conftest.er1 9429 (eval "$ac_link") 2>conftest.er1
9056 ac_status=$? 9430 ac_status=$?
9057 grep -v '^ *+' conftest.er1 >conftest.err 9431 grep -v '^ *+' conftest.er1 >conftest.err
9058 rm -f conftest.er1 9432 rm -f conftest.er1
9059 cat conftest.err >&5 9433 cat conftest.err >&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9434 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); } && { 9435 (exit $ac_status); } && {
9062 test -z "$ac_c_werror_flag" || 9436 test -z "$ac_c_werror_flag" ||
9063 test ! -s conftest.err 9437 test ! -s conftest.err
9064 } && test -s conftest$ac_exeext && 9438 } && test -s conftest$ac_exeext && {
9065 $as_test_x conftest$ac_exeext; then 9439 test "$cross_compiling" = yes ||
9440 $as_test_x conftest$ac_exeext
9441 }; then
9066 eval "$as_ac_var=yes" 9442 eval "$as_ac_var=yes"
9067else 9443else
9068 echo "$as_me: failed program was:" >&5 9444 $as_echo "$as_me: failed program was:" >&5
9069sed 's/^/| /' conftest.$ac_ext >&5 9445sed 's/^/| /' conftest.$ac_ext >&5
9070 9446
9071 eval "$as_ac_var=no" 9447 eval "$as_ac_var=no"
9072fi 9448fi
9073 9449
9450rm -rf conftest.dSYM
9074rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9451rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9075 conftest$ac_exeext conftest.$ac_ext 9452 conftest$ac_exeext conftest.$ac_ext
9076fi 9453fi
9077ac_res=`eval echo '${'$as_ac_var'}'` 9454ac_res=`eval 'as_val=${'$as_ac_var'}
9078 { echo "$as_me:$LINENO: result: $ac_res" >&5 9455 $as_echo "$as_val"'`
9079echo "${ECHO_T}$ac_res" >&6; } 9456 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9080if test `eval echo '${'$as_ac_var'}'` = yes; then 9457$as_echo "$ac_res" >&6; }
9458if test `eval 'as_val=${'$as_ac_var'}
9459 $as_echo "$as_val"'` = yes; then
9081 cat >>confdefs.h <<_ACEOF 9460 cat >>confdefs.h <<_ACEOF
9082#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9461#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9083_ACEOF 9462_ACEOF
9084 9463
9085fi 9464fi
@@ -9109,8 +9488,8 @@ _ACEOF
9109 ;; 9488 ;;
9110# SCO UNIX and OEM versions of SCO UNIX 9489# SCO UNIX and OEM versions of SCO UNIX
9111*-*-sco3.2v4*) 9490*-*-sco3.2v4*)
9112 { { echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5 9491 { { $as_echo "$as_me:$LINENO: error: \"This Platform is no longer supported.\"" >&5
9113echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;} 9492$as_echo "$as_me: error: \"This Platform is no longer supported.\"" >&2;}
9114 { (exit 1); exit 1; }; } 9493 { (exit 1); exit 1; }; }
9115 ;; 9494 ;;
9116# SCO OpenServer 5.x 9495# SCO OpenServer 5.x
@@ -9164,11 +9543,11 @@ _ACEOF
9164 9543
9165for ac_func in getluid setluid 9544for ac_func in getluid setluid
9166do 9545do
9167as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9546as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9168{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9547{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9169echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 9548$as_echo_n "checking for $ac_func... " >&6; }
9170if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 9549if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6 9550 $as_echo_n "(cached) " >&6
9172else 9551else
9173 cat >conftest.$ac_ext <<_ACEOF 9552 cat >conftest.$ac_ext <<_ACEOF
9174/* confdefs.h. */ 9553/* confdefs.h. */
@@ -9221,35 +9600,41 @@ case "(($ac_try" in
9221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9222 *) ac_try_echo=$ac_try;; 9601 *) ac_try_echo=$ac_try;;
9223esac 9602esac
9224eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9604$as_echo "$ac_try_echo") >&5
9225 (eval "$ac_link") 2>conftest.er1 9605 (eval "$ac_link") 2>conftest.er1
9226 ac_status=$? 9606 ac_status=$?
9227 grep -v '^ *+' conftest.er1 >conftest.err 9607 grep -v '^ *+' conftest.er1 >conftest.err
9228 rm -f conftest.er1 9608 rm -f conftest.er1
9229 cat conftest.err >&5 9609 cat conftest.err >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); } && { 9611 (exit $ac_status); } && {
9232 test -z "$ac_c_werror_flag" || 9612 test -z "$ac_c_werror_flag" ||
9233 test ! -s conftest.err 9613 test ! -s conftest.err
9234 } && test -s conftest$ac_exeext && 9614 } && test -s conftest$ac_exeext && {
9235 $as_test_x conftest$ac_exeext; then 9615 test "$cross_compiling" = yes ||
9616 $as_test_x conftest$ac_exeext
9617 }; then
9236 eval "$as_ac_var=yes" 9618 eval "$as_ac_var=yes"
9237else 9619else
9238 echo "$as_me: failed program was:" >&5 9620 $as_echo "$as_me: failed program was:" >&5
9239sed 's/^/| /' conftest.$ac_ext >&5 9621sed 's/^/| /' conftest.$ac_ext >&5
9240 9622
9241 eval "$as_ac_var=no" 9623 eval "$as_ac_var=no"
9242fi 9624fi
9243 9625
9626rm -rf conftest.dSYM
9244rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 9627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9245 conftest$ac_exeext conftest.$ac_ext 9628 conftest$ac_exeext conftest.$ac_ext
9246fi 9629fi
9247ac_res=`eval echo '${'$as_ac_var'}'` 9630ac_res=`eval 'as_val=${'$as_ac_var'}
9248 { echo "$as_me:$LINENO: result: $ac_res" >&5 9631 $as_echo "$as_val"'`
9249echo "${ECHO_T}$ac_res" >&6; } 9632 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9250if test `eval echo '${'$as_ac_var'}'` = yes; then 9633$as_echo "$ac_res" >&6; }
9634if test `eval 'as_val=${'$as_ac_var'}
9635 $as_echo "$as_val"'` = yes; then
9251 cat >>confdefs.h <<_ACEOF 9636 cat >>confdefs.h <<_ACEOF
9252#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 9637#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9253_ACEOF 9638_ACEOF
9254 9639
9255fi 9640fi
@@ -9347,16 +9732,16 @@ _ACEOF
9347 MANTYPE=cat 9732 MANTYPE=cat
9348 ;; 9733 ;;
9349*-dec-osf*) 9734*-dec-osf*)
9350 { echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5 9735 { $as_echo "$as_me:$LINENO: checking for Digital Unix SIA" >&5
9351echo $ECHO_N "checking for Digital Unix SIA... $ECHO_C" >&6; } 9736$as_echo_n "checking for Digital Unix SIA... " >&6; }
9352 no_osfsia="" 9737 no_osfsia=""
9353 9738
9354# Check whether --with-osfsia was given. 9739# Check whether --with-osfsia was given.
9355if test "${with_osfsia+set}" = set; then 9740if test "${with_osfsia+set}" = set; then
9356 withval=$with_osfsia; 9741 withval=$with_osfsia;
9357 if test "x$withval" = "xno" ; then 9742 if test "x$withval" = "xno" ; then
9358 { echo "$as_me:$LINENO: result: disabled" >&5 9743 { $as_echo "$as_me:$LINENO: result: disabled" >&5
9359echo "${ECHO_T}disabled" >&6; } 9744$as_echo "disabled" >&6; }
9360 no_osfsia=1 9745 no_osfsia=1
9361 fi 9746 fi
9362 9747
@@ -9364,8 +9749,8 @@ fi
9364 9749
9365 if test -z "$no_osfsia" ; then 9750 if test -z "$no_osfsia" ; then
9366 if test -f /etc/sia/matrix.conf; then 9751 if test -f /etc/sia/matrix.conf; then
9367 { echo "$as_me:$LINENO: result: yes" >&5 9752 { $as_echo "$as_me:$LINENO: result: yes" >&5
9368echo "${ECHO_T}yes" >&6; } 9753$as_echo "yes" >&6; }
9369 9754
9370cat >>confdefs.h <<\_ACEOF 9755cat >>confdefs.h <<\_ACEOF
9371#define HAVE_OSF_SIA 1 9756#define HAVE_OSF_SIA 1
@@ -9383,8 +9768,8 @@ _ACEOF
9383 LIBS="$LIBS -lsecurity -ldb -lm -laud" 9768 LIBS="$LIBS -lsecurity -ldb -lm -laud"
9384 SIA_MSG="yes" 9769 SIA_MSG="yes"
9385 else 9770 else
9386 { echo "$as_me:$LINENO: result: no" >&5 9771 { $as_echo "$as_me:$LINENO: result: no" >&5
9387echo "${ECHO_T}no" >&6; } 9772$as_echo "no" >&6; }
9388 9773
9389cat >>confdefs.h <<\_ACEOF 9774cat >>confdefs.h <<\_ACEOF
9390#define LOCKED_PASSWD_SUBSTR "Nologin" 9775#define LOCKED_PASSWD_SUBSTR "Nologin"
@@ -9499,11 +9884,11 @@ _ACEOF
9499 ;; 9884 ;;
9500esac 9885esac
9501 9886
9502{ echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5 9887{ $as_echo "$as_me:$LINENO: checking compiler and flags for sanity" >&5
9503echo $ECHO_N "checking compiler and flags for sanity... $ECHO_C" >&6; } 9888$as_echo_n "checking compiler and flags for sanity... " >&6; }
9504if test "$cross_compiling" = yes; then 9889if test "$cross_compiling" = yes; then
9505 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5 9890 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking compiler sanity" >&5
9506echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;} 9891$as_echo "$as_me: WARNING: cross compiling: not checking compiler sanity" >&2;}
9507 9892
9508else 9893else
9509 cat >conftest.$ac_ext <<_ACEOF 9894 cat >conftest.$ac_ext <<_ACEOF
@@ -9523,46 +9908,49 @@ case "(($ac_try" in
9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9524 *) ac_try_echo=$ac_try;; 9909 *) ac_try_echo=$ac_try;;
9525esac 9910esac
9526eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9911eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9912$as_echo "$ac_try_echo") >&5
9527 (eval "$ac_link") 2>&5 9913 (eval "$ac_link") 2>&5
9528 ac_status=$? 9914 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 9916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9531 { (case "(($ac_try" in 9917 { (case "(($ac_try" in
9532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9533 *) ac_try_echo=$ac_try;; 9919 *) ac_try_echo=$ac_try;;
9534esac 9920esac
9535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 9921eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9922$as_echo "$ac_try_echo") >&5
9536 (eval "$ac_try") 2>&5 9923 (eval "$ac_try") 2>&5
9537 ac_status=$? 9924 ac_status=$?
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9925 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; }; then 9926 (exit $ac_status); }; }; then
9540 { echo "$as_me:$LINENO: result: yes" >&5 9927 { $as_echo "$as_me:$LINENO: result: yes" >&5
9541echo "${ECHO_T}yes" >&6; } 9928$as_echo "yes" >&6; }
9542else 9929else
9543 echo "$as_me: program exited with status $ac_status" >&5 9930 $as_echo "$as_me: program exited with status $ac_status" >&5
9544echo "$as_me: failed program was:" >&5 9931$as_echo "$as_me: failed program was:" >&5
9545sed 's/^/| /' conftest.$ac_ext >&5 9932sed 's/^/| /' conftest.$ac_ext >&5
9546 9933
9547( exit $ac_status ) 9934( exit $ac_status )
9548 9935
9549 { echo "$as_me:$LINENO: result: no" >&5 9936 { $as_echo "$as_me:$LINENO: result: no" >&5
9550echo "${ECHO_T}no" >&6; } 9937$as_echo "no" >&6; }
9551 { { echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5 9938 { { $as_echo "$as_me:$LINENO: error: *** compiler cannot create working executables, check config.log ***" >&5
9552echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;} 9939$as_echo "$as_me: error: *** compiler cannot create working executables, check config.log ***" >&2;}
9553 { (exit 1); exit 1; }; } 9940 { (exit 1); exit 1; }; }
9554 9941
9555fi 9942fi
9943rm -rf conftest.dSYM
9556rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 9944rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9557fi 9945fi
9558 9946
9559 9947
9560 9948
9561# Checks for libraries. 9949# Checks for libraries.
9562{ echo "$as_me:$LINENO: checking for yp_match" >&5 9950{ $as_echo "$as_me:$LINENO: checking for yp_match" >&5
9563echo $ECHO_N "checking for yp_match... $ECHO_C" >&6; } 9951$as_echo_n "checking for yp_match... " >&6; }
9564if test "${ac_cv_func_yp_match+set}" = set; then 9952if test "${ac_cv_func_yp_match+set}" = set; then
9565 echo $ECHO_N "(cached) $ECHO_C" >&6 9953 $as_echo_n "(cached) " >&6
9566else 9954else
9567 cat >conftest.$ac_ext <<_ACEOF 9955 cat >conftest.$ac_ext <<_ACEOF
9568/* confdefs.h. */ 9956/* confdefs.h. */
@@ -9615,39 +10003,43 @@ case "(($ac_try" in
9615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9616 *) ac_try_echo=$ac_try;; 10004 *) ac_try_echo=$ac_try;;
9617esac 10005esac
9618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10006eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10007$as_echo "$ac_try_echo") >&5
9619 (eval "$ac_link") 2>conftest.er1 10008 (eval "$ac_link") 2>conftest.er1
9620 ac_status=$? 10009 ac_status=$?
9621 grep -v '^ *+' conftest.er1 >conftest.err 10010 grep -v '^ *+' conftest.er1 >conftest.err
9622 rm -f conftest.er1 10011 rm -f conftest.er1
9623 cat conftest.err >&5 10012 cat conftest.err >&5
9624 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10013 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9625 (exit $ac_status); } && { 10014 (exit $ac_status); } && {
9626 test -z "$ac_c_werror_flag" || 10015 test -z "$ac_c_werror_flag" ||
9627 test ! -s conftest.err 10016 test ! -s conftest.err
9628 } && test -s conftest$ac_exeext && 10017 } && test -s conftest$ac_exeext && {
9629 $as_test_x conftest$ac_exeext; then 10018 test "$cross_compiling" = yes ||
10019 $as_test_x conftest$ac_exeext
10020 }; then
9630 ac_cv_func_yp_match=yes 10021 ac_cv_func_yp_match=yes
9631else 10022else
9632 echo "$as_me: failed program was:" >&5 10023 $as_echo "$as_me: failed program was:" >&5
9633sed 's/^/| /' conftest.$ac_ext >&5 10024sed 's/^/| /' conftest.$ac_ext >&5
9634 10025
9635 ac_cv_func_yp_match=no 10026 ac_cv_func_yp_match=no
9636fi 10027fi
9637 10028
10029rm -rf conftest.dSYM
9638rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10030rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9639 conftest$ac_exeext conftest.$ac_ext 10031 conftest$ac_exeext conftest.$ac_ext
9640fi 10032fi
9641{ echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5 10033{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_yp_match" >&5
9642echo "${ECHO_T}$ac_cv_func_yp_match" >&6; } 10034$as_echo "$ac_cv_func_yp_match" >&6; }
9643if test $ac_cv_func_yp_match = yes; then 10035if test $ac_cv_func_yp_match = yes; then
9644 : 10036 :
9645else 10037else
9646 10038
9647{ echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5 10039{ $as_echo "$as_me:$LINENO: checking for yp_match in -lnsl" >&5
9648echo $ECHO_N "checking for yp_match in -lnsl... $ECHO_C" >&6; } 10040$as_echo_n "checking for yp_match in -lnsl... " >&6; }
9649if test "${ac_cv_lib_nsl_yp_match+set}" = set; then 10041if test "${ac_cv_lib_nsl_yp_match+set}" = set; then
9650 echo $ECHO_N "(cached) $ECHO_C" >&6 10042 $as_echo_n "(cached) " >&6
9651else 10043else
9652 ac_check_lib_save_LIBS=$LIBS 10044 ac_check_lib_save_LIBS=$LIBS
9653LIBS="-lnsl $LIBS" 10045LIBS="-lnsl $LIBS"
@@ -9679,32 +10071,36 @@ case "(($ac_try" in
9679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9680 *) ac_try_echo=$ac_try;; 10072 *) ac_try_echo=$ac_try;;
9681esac 10073esac
9682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10074eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10075$as_echo "$ac_try_echo") >&5
9683 (eval "$ac_link") 2>conftest.er1 10076 (eval "$ac_link") 2>conftest.er1
9684 ac_status=$? 10077 ac_status=$?
9685 grep -v '^ *+' conftest.er1 >conftest.err 10078 grep -v '^ *+' conftest.er1 >conftest.err
9686 rm -f conftest.er1 10079 rm -f conftest.er1
9687 cat conftest.err >&5 10080 cat conftest.err >&5
9688 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9689 (exit $ac_status); } && { 10082 (exit $ac_status); } && {
9690 test -z "$ac_c_werror_flag" || 10083 test -z "$ac_c_werror_flag" ||
9691 test ! -s conftest.err 10084 test ! -s conftest.err
9692 } && test -s conftest$ac_exeext && 10085 } && test -s conftest$ac_exeext && {
9693 $as_test_x conftest$ac_exeext; then 10086 test "$cross_compiling" = yes ||
10087 $as_test_x conftest$ac_exeext
10088 }; then
9694 ac_cv_lib_nsl_yp_match=yes 10089 ac_cv_lib_nsl_yp_match=yes
9695else 10090else
9696 echo "$as_me: failed program was:" >&5 10091 $as_echo "$as_me: failed program was:" >&5
9697sed 's/^/| /' conftest.$ac_ext >&5 10092sed 's/^/| /' conftest.$ac_ext >&5
9698 10093
9699 ac_cv_lib_nsl_yp_match=no 10094 ac_cv_lib_nsl_yp_match=no
9700fi 10095fi
9701 10096
10097rm -rf conftest.dSYM
9702rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10098rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9703 conftest$ac_exeext conftest.$ac_ext 10099 conftest$ac_exeext conftest.$ac_ext
9704LIBS=$ac_check_lib_save_LIBS 10100LIBS=$ac_check_lib_save_LIBS
9705fi 10101fi
9706{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5 10102{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_yp_match" >&5
9707echo "${ECHO_T}$ac_cv_lib_nsl_yp_match" >&6; } 10103$as_echo "$ac_cv_lib_nsl_yp_match" >&6; }
9708if test $ac_cv_lib_nsl_yp_match = yes; then 10104if test $ac_cv_lib_nsl_yp_match = yes; then
9709 cat >>confdefs.h <<_ACEOF 10105 cat >>confdefs.h <<_ACEOF
9710#define HAVE_LIBNSL 1 10106#define HAVE_LIBNSL 1
@@ -9716,10 +10112,10 @@ fi
9716 10112
9717fi 10113fi
9718 10114
9719{ echo "$as_me:$LINENO: checking for setsockopt" >&5 10115{ $as_echo "$as_me:$LINENO: checking for setsockopt" >&5
9720echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6; } 10116$as_echo_n "checking for setsockopt... " >&6; }
9721if test "${ac_cv_func_setsockopt+set}" = set; then 10117if test "${ac_cv_func_setsockopt+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6 10118 $as_echo_n "(cached) " >&6
9723else 10119else
9724 cat >conftest.$ac_ext <<_ACEOF 10120 cat >conftest.$ac_ext <<_ACEOF
9725/* confdefs.h. */ 10121/* confdefs.h. */
@@ -9772,39 +10168,43 @@ case "(($ac_try" in
9772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9773 *) ac_try_echo=$ac_try;; 10169 *) ac_try_echo=$ac_try;;
9774esac 10170esac
9775eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10172$as_echo "$ac_try_echo") >&5
9776 (eval "$ac_link") 2>conftest.er1 10173 (eval "$ac_link") 2>conftest.er1
9777 ac_status=$? 10174 ac_status=$?
9778 grep -v '^ *+' conftest.er1 >conftest.err 10175 grep -v '^ *+' conftest.er1 >conftest.err
9779 rm -f conftest.er1 10176 rm -f conftest.er1
9780 cat conftest.err >&5 10177 cat conftest.err >&5
9781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9782 (exit $ac_status); } && { 10179 (exit $ac_status); } && {
9783 test -z "$ac_c_werror_flag" || 10180 test -z "$ac_c_werror_flag" ||
9784 test ! -s conftest.err 10181 test ! -s conftest.err
9785 } && test -s conftest$ac_exeext && 10182 } && test -s conftest$ac_exeext && {
9786 $as_test_x conftest$ac_exeext; then 10183 test "$cross_compiling" = yes ||
10184 $as_test_x conftest$ac_exeext
10185 }; then
9787 ac_cv_func_setsockopt=yes 10186 ac_cv_func_setsockopt=yes
9788else 10187else
9789 echo "$as_me: failed program was:" >&5 10188 $as_echo "$as_me: failed program was:" >&5
9790sed 's/^/| /' conftest.$ac_ext >&5 10189sed 's/^/| /' conftest.$ac_ext >&5
9791 10190
9792 ac_cv_func_setsockopt=no 10191 ac_cv_func_setsockopt=no
9793fi 10192fi
9794 10193
10194rm -rf conftest.dSYM
9795rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10195rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9796 conftest$ac_exeext conftest.$ac_ext 10196 conftest$ac_exeext conftest.$ac_ext
9797fi 10197fi
9798{ echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5 10198{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
9799echo "${ECHO_T}$ac_cv_func_setsockopt" >&6; } 10199$as_echo "$ac_cv_func_setsockopt" >&6; }
9800if test $ac_cv_func_setsockopt = yes; then 10200if test $ac_cv_func_setsockopt = yes; then
9801 : 10201 :
9802else 10202else
9803 10203
9804{ echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5 10204{ $as_echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
9805echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6; } 10205$as_echo_n "checking for setsockopt in -lsocket... " >&6; }
9806if test "${ac_cv_lib_socket_setsockopt+set}" = set; then 10206if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6 10207 $as_echo_n "(cached) " >&6
9808else 10208else
9809 ac_check_lib_save_LIBS=$LIBS 10209 ac_check_lib_save_LIBS=$LIBS
9810LIBS="-lsocket $LIBS" 10210LIBS="-lsocket $LIBS"
@@ -9836,32 +10236,36 @@ case "(($ac_try" in
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;; 10237 *) ac_try_echo=$ac_try;;
9838esac 10238esac
9839eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10239eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10240$as_echo "$ac_try_echo") >&5
9840 (eval "$ac_link") 2>conftest.er1 10241 (eval "$ac_link") 2>conftest.er1
9841 ac_status=$? 10242 ac_status=$?
9842 grep -v '^ *+' conftest.er1 >conftest.err 10243 grep -v '^ *+' conftest.er1 >conftest.err
9843 rm -f conftest.er1 10244 rm -f conftest.er1
9844 cat conftest.err >&5 10245 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10246 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } && { 10247 (exit $ac_status); } && {
9847 test -z "$ac_c_werror_flag" || 10248 test -z "$ac_c_werror_flag" ||
9848 test ! -s conftest.err 10249 test ! -s conftest.err
9849 } && test -s conftest$ac_exeext && 10250 } && test -s conftest$ac_exeext && {
9850 $as_test_x conftest$ac_exeext; then 10251 test "$cross_compiling" = yes ||
10252 $as_test_x conftest$ac_exeext
10253 }; then
9851 ac_cv_lib_socket_setsockopt=yes 10254 ac_cv_lib_socket_setsockopt=yes
9852else 10255else
9853 echo "$as_me: failed program was:" >&5 10256 $as_echo "$as_me: failed program was:" >&5
9854sed 's/^/| /' conftest.$ac_ext >&5 10257sed 's/^/| /' conftest.$ac_ext >&5
9855 10258
9856 ac_cv_lib_socket_setsockopt=no 10259 ac_cv_lib_socket_setsockopt=no
9857fi 10260fi
9858 10261
10262rm -rf conftest.dSYM
9859rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10263rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9860 conftest$ac_exeext conftest.$ac_ext 10264 conftest$ac_exeext conftest.$ac_ext
9861LIBS=$ac_check_lib_save_LIBS 10265LIBS=$ac_check_lib_save_LIBS
9862fi 10266fi
9863{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5 10267{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
9864echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6; } 10268$as_echo "$ac_cv_lib_socket_setsockopt" >&6; }
9865if test $ac_cv_lib_socket_setsockopt = yes; then 10269if test $ac_cv_lib_socket_setsockopt = yes; then
9866 cat >>confdefs.h <<_ACEOF 10270 cat >>confdefs.h <<_ACEOF
9867#define HAVE_LIBSOCKET 1 10271#define HAVE_LIBSOCKET 1
@@ -9877,11 +10281,11 @@ fi
9877 10281
9878for ac_func in dirname 10282for ac_func in dirname
9879do 10283do
9880as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 10284as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
9881{ echo "$as_me:$LINENO: checking for $ac_func" >&5 10285{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
9882echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 10286$as_echo_n "checking for $ac_func... " >&6; }
9883if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 10287if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9884 echo $ECHO_N "(cached) $ECHO_C" >&6 10288 $as_echo_n "(cached) " >&6
9885else 10289else
9886 cat >conftest.$ac_ext <<_ACEOF 10290 cat >conftest.$ac_ext <<_ACEOF
9887/* confdefs.h. */ 10291/* confdefs.h. */
@@ -9934,53 +10338,60 @@ case "(($ac_try" in
9934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9935 *) ac_try_echo=$ac_try;; 10339 *) ac_try_echo=$ac_try;;
9936esac 10340esac
9937eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10341eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10342$as_echo "$ac_try_echo") >&5
9938 (eval "$ac_link") 2>conftest.er1 10343 (eval "$ac_link") 2>conftest.er1
9939 ac_status=$? 10344 ac_status=$?
9940 grep -v '^ *+' conftest.er1 >conftest.err 10345 grep -v '^ *+' conftest.er1 >conftest.err
9941 rm -f conftest.er1 10346 rm -f conftest.er1
9942 cat conftest.err >&5 10347 cat conftest.err >&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10348 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && { 10349 (exit $ac_status); } && {
9945 test -z "$ac_c_werror_flag" || 10350 test -z "$ac_c_werror_flag" ||
9946 test ! -s conftest.err 10351 test ! -s conftest.err
9947 } && test -s conftest$ac_exeext && 10352 } && test -s conftest$ac_exeext && {
9948 $as_test_x conftest$ac_exeext; then 10353 test "$cross_compiling" = yes ||
10354 $as_test_x conftest$ac_exeext
10355 }; then
9949 eval "$as_ac_var=yes" 10356 eval "$as_ac_var=yes"
9950else 10357else
9951 echo "$as_me: failed program was:" >&5 10358 $as_echo "$as_me: failed program was:" >&5
9952sed 's/^/| /' conftest.$ac_ext >&5 10359sed 's/^/| /' conftest.$ac_ext >&5
9953 10360
9954 eval "$as_ac_var=no" 10361 eval "$as_ac_var=no"
9955fi 10362fi
9956 10363
10364rm -rf conftest.dSYM
9957rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10365rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9958 conftest$ac_exeext conftest.$ac_ext 10366 conftest$ac_exeext conftest.$ac_ext
9959fi 10367fi
9960ac_res=`eval echo '${'$as_ac_var'}'` 10368ac_res=`eval 'as_val=${'$as_ac_var'}
9961 { echo "$as_me:$LINENO: result: $ac_res" >&5 10369 $as_echo "$as_val"'`
9962echo "${ECHO_T}$ac_res" >&6; } 10370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9963if test `eval echo '${'$as_ac_var'}'` = yes; then 10371$as_echo "$ac_res" >&6; }
10372if test `eval 'as_val=${'$as_ac_var'}
10373 $as_echo "$as_val"'` = yes; then
9964 cat >>confdefs.h <<_ACEOF 10374 cat >>confdefs.h <<_ACEOF
9965#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 10375#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9966_ACEOF 10376_ACEOF
9967 10377
9968for ac_header in libgen.h 10378for ac_header in libgen.h
9969do 10379do
9970as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10380as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9971if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10381if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9972 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10382 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9973echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10383$as_echo_n "checking for $ac_header... " >&6; }
9974if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10384if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9975 echo $ECHO_N "(cached) $ECHO_C" >&6 10385 $as_echo_n "(cached) " >&6
9976fi 10386fi
9977ac_res=`eval echo '${'$as_ac_Header'}'` 10387ac_res=`eval 'as_val=${'$as_ac_Header'}
9978 { echo "$as_me:$LINENO: result: $ac_res" >&5 10388 $as_echo "$as_val"'`
9979echo "${ECHO_T}$ac_res" >&6; } 10389 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10390$as_echo "$ac_res" >&6; }
9980else 10391else
9981 # Is the header compilable? 10392 # Is the header compilable?
9982{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10393{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9983echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10394$as_echo_n "checking $ac_header usability... " >&6; }
9984cat >conftest.$ac_ext <<_ACEOF 10395cat >conftest.$ac_ext <<_ACEOF
9985/* confdefs.h. */ 10396/* confdefs.h. */
9986_ACEOF 10397_ACEOF
@@ -9996,32 +10407,33 @@ case "(($ac_try" in
9996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9997 *) ac_try_echo=$ac_try;; 10408 *) ac_try_echo=$ac_try;;
9998esac 10409esac
9999eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10410eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10411$as_echo "$ac_try_echo") >&5
10000 (eval "$ac_compile") 2>conftest.er1 10412 (eval "$ac_compile") 2>conftest.er1
10001 ac_status=$? 10413 ac_status=$?
10002 grep -v '^ *+' conftest.er1 >conftest.err 10414 grep -v '^ *+' conftest.er1 >conftest.err
10003 rm -f conftest.er1 10415 rm -f conftest.er1
10004 cat conftest.err >&5 10416 cat conftest.err >&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); } && { 10418 (exit $ac_status); } && {
10007 test -z "$ac_c_werror_flag" || 10419 test -z "$ac_c_werror_flag" ||
10008 test ! -s conftest.err 10420 test ! -s conftest.err
10009 } && test -s conftest.$ac_objext; then 10421 } && test -s conftest.$ac_objext; then
10010 ac_header_compiler=yes 10422 ac_header_compiler=yes
10011else 10423else
10012 echo "$as_me: failed program was:" >&5 10424 $as_echo "$as_me: failed program was:" >&5
10013sed 's/^/| /' conftest.$ac_ext >&5 10425sed 's/^/| /' conftest.$ac_ext >&5
10014 10426
10015 ac_header_compiler=no 10427 ac_header_compiler=no
10016fi 10428fi
10017 10429
10018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10019{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10431{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10020echo "${ECHO_T}$ac_header_compiler" >&6; } 10432$as_echo "$ac_header_compiler" >&6; }
10021 10433
10022# Is the header present? 10434# Is the header present?
10023{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10435{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10024echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10436$as_echo_n "checking $ac_header presence... " >&6; }
10025cat >conftest.$ac_ext <<_ACEOF 10437cat >conftest.$ac_ext <<_ACEOF
10026/* confdefs.h. */ 10438/* confdefs.h. */
10027_ACEOF 10439_ACEOF
@@ -10035,51 +10447,52 @@ case "(($ac_try" in
10035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10036 *) ac_try_echo=$ac_try;; 10448 *) ac_try_echo=$ac_try;;
10037esac 10449esac
10038eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10450eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10451$as_echo "$ac_try_echo") >&5
10039 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10452 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10040 ac_status=$? 10453 ac_status=$?
10041 grep -v '^ *+' conftest.er1 >conftest.err 10454 grep -v '^ *+' conftest.er1 >conftest.err
10042 rm -f conftest.er1 10455 rm -f conftest.er1
10043 cat conftest.err >&5 10456 cat conftest.err >&5
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); } >/dev/null && { 10458 (exit $ac_status); } >/dev/null && {
10046 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10459 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10047 test ! -s conftest.err 10460 test ! -s conftest.err
10048 }; then 10461 }; then
10049 ac_header_preproc=yes 10462 ac_header_preproc=yes
10050else 10463else
10051 echo "$as_me: failed program was:" >&5 10464 $as_echo "$as_me: failed program was:" >&5
10052sed 's/^/| /' conftest.$ac_ext >&5 10465sed 's/^/| /' conftest.$ac_ext >&5
10053 10466
10054 ac_header_preproc=no 10467 ac_header_preproc=no
10055fi 10468fi
10056 10469
10057rm -f conftest.err conftest.$ac_ext 10470rm -f conftest.err conftest.$ac_ext
10058{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10471{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10059echo "${ECHO_T}$ac_header_preproc" >&6; } 10472$as_echo "$ac_header_preproc" >&6; }
10060 10473
10061# So? What about this header? 10474# So? What about this header?
10062case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10475case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10063 yes:no: ) 10476 yes:no: )
10064 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10477 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10065echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10478$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10067echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10480$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10068 ac_header_preproc=yes 10481 ac_header_preproc=yes
10069 ;; 10482 ;;
10070 no:yes:* ) 10483 no:yes:* )
10071 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10484 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10072echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10485$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10073 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10486 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10074echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10487$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10075 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10488 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10076echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10489$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10077 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10490 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10078echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10491$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10079 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10492 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10080echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10493$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10081 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10082echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10495$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10083 ( cat <<\_ASBOX 10496 ( cat <<\_ASBOX
10084## ------------------------------------------- ## 10497## ------------------------------------------- ##
10085## Report this to openssh-unix-dev@mindrot.org ## 10498## Report this to openssh-unix-dev@mindrot.org ##
@@ -10088,21 +10501,23 @@ _ASBOX
10088 ) | sed "s/^/$as_me: WARNING: /" >&2 10501 ) | sed "s/^/$as_me: WARNING: /" >&2
10089 ;; 10502 ;;
10090esac 10503esac
10091{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10504{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10092echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10505$as_echo_n "checking for $ac_header... " >&6; }
10093if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10506if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10094 echo $ECHO_N "(cached) $ECHO_C" >&6 10507 $as_echo_n "(cached) " >&6
10095else 10508else
10096 eval "$as_ac_Header=\$ac_header_preproc" 10509 eval "$as_ac_Header=\$ac_header_preproc"
10097fi 10510fi
10098ac_res=`eval echo '${'$as_ac_Header'}'` 10511ac_res=`eval 'as_val=${'$as_ac_Header'}
10099 { echo "$as_me:$LINENO: result: $ac_res" >&5 10512 $as_echo "$as_val"'`
10100echo "${ECHO_T}$ac_res" >&6; } 10513 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10514$as_echo "$ac_res" >&6; }
10101 10515
10102fi 10516fi
10103if test `eval echo '${'$as_ac_Header'}'` = yes; then 10517if test `eval 'as_val=${'$as_ac_Header'}
10518 $as_echo "$as_val"'` = yes; then
10104 cat >>confdefs.h <<_ACEOF 10519 cat >>confdefs.h <<_ACEOF
10105#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10520#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10106_ACEOF 10521_ACEOF
10107 10522
10108fi 10523fi
@@ -10111,10 +10526,10 @@ done
10111 10526
10112else 10527else
10113 10528
10114 { echo "$as_me:$LINENO: checking for dirname in -lgen" >&5 10529 { $as_echo "$as_me:$LINENO: checking for dirname in -lgen" >&5
10115echo $ECHO_N "checking for dirname in -lgen... $ECHO_C" >&6; } 10530$as_echo_n "checking for dirname in -lgen... " >&6; }
10116if test "${ac_cv_lib_gen_dirname+set}" = set; then 10531if test "${ac_cv_lib_gen_dirname+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6 10532 $as_echo_n "(cached) " >&6
10118else 10533else
10119 ac_check_lib_save_LIBS=$LIBS 10534 ac_check_lib_save_LIBS=$LIBS
10120LIBS="-lgen $LIBS" 10535LIBS="-lgen $LIBS"
@@ -10146,38 +10561,42 @@ case "(($ac_try" in
10146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10147 *) ac_try_echo=$ac_try;; 10562 *) ac_try_echo=$ac_try;;
10148esac 10563esac
10149eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10565$as_echo "$ac_try_echo") >&5
10150 (eval "$ac_link") 2>conftest.er1 10566 (eval "$ac_link") 2>conftest.er1
10151 ac_status=$? 10567 ac_status=$?
10152 grep -v '^ *+' conftest.er1 >conftest.err 10568 grep -v '^ *+' conftest.er1 >conftest.err
10153 rm -f conftest.er1 10569 rm -f conftest.er1
10154 cat conftest.err >&5 10570 cat conftest.err >&5
10155 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10156 (exit $ac_status); } && { 10572 (exit $ac_status); } && {
10157 test -z "$ac_c_werror_flag" || 10573 test -z "$ac_c_werror_flag" ||
10158 test ! -s conftest.err 10574 test ! -s conftest.err
10159 } && test -s conftest$ac_exeext && 10575 } && test -s conftest$ac_exeext && {
10160 $as_test_x conftest$ac_exeext; then 10576 test "$cross_compiling" = yes ||
10577 $as_test_x conftest$ac_exeext
10578 }; then
10161 ac_cv_lib_gen_dirname=yes 10579 ac_cv_lib_gen_dirname=yes
10162else 10580else
10163 echo "$as_me: failed program was:" >&5 10581 $as_echo "$as_me: failed program was:" >&5
10164sed 's/^/| /' conftest.$ac_ext >&5 10582sed 's/^/| /' conftest.$ac_ext >&5
10165 10583
10166 ac_cv_lib_gen_dirname=no 10584 ac_cv_lib_gen_dirname=no
10167fi 10585fi
10168 10586
10587rm -rf conftest.dSYM
10169rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10588rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10170 conftest$ac_exeext conftest.$ac_ext 10589 conftest$ac_exeext conftest.$ac_ext
10171LIBS=$ac_check_lib_save_LIBS 10590LIBS=$ac_check_lib_save_LIBS
10172fi 10591fi
10173{ echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5 10592{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gen_dirname" >&5
10174echo "${ECHO_T}$ac_cv_lib_gen_dirname" >&6; } 10593$as_echo "$ac_cv_lib_gen_dirname" >&6; }
10175if test $ac_cv_lib_gen_dirname = yes; then 10594if test $ac_cv_lib_gen_dirname = yes; then
10176 10595
10177 { echo "$as_me:$LINENO: checking for broken dirname" >&5 10596 { $as_echo "$as_me:$LINENO: checking for broken dirname" >&5
10178echo $ECHO_N "checking for broken dirname... $ECHO_C" >&6; } 10597$as_echo_n "checking for broken dirname... " >&6; }
10179if test "${ac_cv_have_broken_dirname+set}" = set; then 10598if test "${ac_cv_have_broken_dirname+set}" = set; then
10180 echo $ECHO_N "(cached) $ECHO_C" >&6 10599 $as_echo_n "(cached) " >&6
10181else 10600else
10182 10601
10183 save_LIBS="$LIBS" 10602 save_LIBS="$LIBS"
@@ -10214,29 +10633,32 @@ case "(($ac_try" in
10214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215 *) ac_try_echo=$ac_try;; 10634 *) ac_try_echo=$ac_try;;
10216esac 10635esac
10217eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10637$as_echo "$ac_try_echo") >&5
10218 (eval "$ac_link") 2>&5 10638 (eval "$ac_link") 2>&5
10219 ac_status=$? 10639 ac_status=$?
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 10641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10222 { (case "(($ac_try" in 10642 { (case "(($ac_try" in
10223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10224 *) ac_try_echo=$ac_try;; 10644 *) ac_try_echo=$ac_try;;
10225esac 10645esac
10226eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10646eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10647$as_echo "$ac_try_echo") >&5
10227 (eval "$ac_try") 2>&5 10648 (eval "$ac_try") 2>&5
10228 ac_status=$? 10649 ac_status=$?
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10650 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then 10651 (exit $ac_status); }; }; then
10231 ac_cv_have_broken_dirname="no" 10652 ac_cv_have_broken_dirname="no"
10232else 10653else
10233 echo "$as_me: program exited with status $ac_status" >&5 10654 $as_echo "$as_me: program exited with status $ac_status" >&5
10234echo "$as_me: failed program was:" >&5 10655$as_echo "$as_me: failed program was:" >&5
10235sed 's/^/| /' conftest.$ac_ext >&5 10656sed 's/^/| /' conftest.$ac_ext >&5
10236 10657
10237( exit $ac_status ) 10658( exit $ac_status )
10238 ac_cv_have_broken_dirname="yes" 10659 ac_cv_have_broken_dirname="yes"
10239fi 10660fi
10661rm -rf conftest.dSYM
10240rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 10662rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10241fi 10663fi
10242 10664
@@ -10244,8 +10666,8 @@ fi
10244 LIBS="$save_LIBS" 10666 LIBS="$save_LIBS"
10245 10667
10246fi 10668fi
10247{ echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5 10669{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_broken_dirname" >&5
10248echo "${ECHO_T}$ac_cv_have_broken_dirname" >&6; } 10670$as_echo "$ac_cv_have_broken_dirname" >&6; }
10249 if test "x$ac_cv_have_broken_dirname" = "xno" ; then 10671 if test "x$ac_cv_have_broken_dirname" = "xno" ; then
10250 LIBS="$LIBS -lgen" 10672 LIBS="$LIBS -lgen"
10251 cat >>confdefs.h <<\_ACEOF 10673 cat >>confdefs.h <<\_ACEOF
@@ -10255,20 +10677,21 @@ _ACEOF
10255 10677
10256for ac_header in libgen.h 10678for ac_header in libgen.h
10257do 10679do
10258as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10680as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10259if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10681if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10260 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10682 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10261echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10683$as_echo_n "checking for $ac_header... " >&6; }
10262if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10684if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6 10685 $as_echo_n "(cached) " >&6
10264fi 10686fi
10265ac_res=`eval echo '${'$as_ac_Header'}'` 10687ac_res=`eval 'as_val=${'$as_ac_Header'}
10266 { echo "$as_me:$LINENO: result: $ac_res" >&5 10688 $as_echo "$as_val"'`
10267echo "${ECHO_T}$ac_res" >&6; } 10689 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10690$as_echo "$ac_res" >&6; }
10268else 10691else
10269 # Is the header compilable? 10692 # Is the header compilable?
10270{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 10693{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10271echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 10694$as_echo_n "checking $ac_header usability... " >&6; }
10272cat >conftest.$ac_ext <<_ACEOF 10695cat >conftest.$ac_ext <<_ACEOF
10273/* confdefs.h. */ 10696/* confdefs.h. */
10274_ACEOF 10697_ACEOF
@@ -10284,32 +10707,33 @@ case "(($ac_try" in
10284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10285 *) ac_try_echo=$ac_try;; 10708 *) ac_try_echo=$ac_try;;
10286esac 10709esac
10287eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10710eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10711$as_echo "$ac_try_echo") >&5
10288 (eval "$ac_compile") 2>conftest.er1 10712 (eval "$ac_compile") 2>conftest.er1
10289 ac_status=$? 10713 ac_status=$?
10290 grep -v '^ *+' conftest.er1 >conftest.err 10714 grep -v '^ *+' conftest.er1 >conftest.err
10291 rm -f conftest.er1 10715 rm -f conftest.er1
10292 cat conftest.err >&5 10716 cat conftest.err >&5
10293 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10717 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10294 (exit $ac_status); } && { 10718 (exit $ac_status); } && {
10295 test -z "$ac_c_werror_flag" || 10719 test -z "$ac_c_werror_flag" ||
10296 test ! -s conftest.err 10720 test ! -s conftest.err
10297 } && test -s conftest.$ac_objext; then 10721 } && test -s conftest.$ac_objext; then
10298 ac_header_compiler=yes 10722 ac_header_compiler=yes
10299else 10723else
10300 echo "$as_me: failed program was:" >&5 10724 $as_echo "$as_me: failed program was:" >&5
10301sed 's/^/| /' conftest.$ac_ext >&5 10725sed 's/^/| /' conftest.$ac_ext >&5
10302 10726
10303 ac_header_compiler=no 10727 ac_header_compiler=no
10304fi 10728fi
10305 10729
10306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10307{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10731{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10308echo "${ECHO_T}$ac_header_compiler" >&6; } 10732$as_echo "$ac_header_compiler" >&6; }
10309 10733
10310# Is the header present? 10734# Is the header present?
10311{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 10735{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10312echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 10736$as_echo_n "checking $ac_header presence... " >&6; }
10313cat >conftest.$ac_ext <<_ACEOF 10737cat >conftest.$ac_ext <<_ACEOF
10314/* confdefs.h. */ 10738/* confdefs.h. */
10315_ACEOF 10739_ACEOF
@@ -10323,51 +10747,52 @@ case "(($ac_try" in
10323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;; 10748 *) ac_try_echo=$ac_try;;
10325esac 10749esac
10326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10750eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10751$as_echo "$ac_try_echo") >&5
10327 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 10752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10328 ac_status=$? 10753 ac_status=$?
10329 grep -v '^ *+' conftest.er1 >conftest.err 10754 grep -v '^ *+' conftest.er1 >conftest.err
10330 rm -f conftest.er1 10755 rm -f conftest.er1
10331 cat conftest.err >&5 10756 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } >/dev/null && { 10758 (exit $ac_status); } >/dev/null && {
10334 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 10759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10335 test ! -s conftest.err 10760 test ! -s conftest.err
10336 }; then 10761 }; then
10337 ac_header_preproc=yes 10762 ac_header_preproc=yes
10338else 10763else
10339 echo "$as_me: failed program was:" >&5 10764 $as_echo "$as_me: failed program was:" >&5
10340sed 's/^/| /' conftest.$ac_ext >&5 10765sed 's/^/| /' conftest.$ac_ext >&5
10341 10766
10342 ac_header_preproc=no 10767 ac_header_preproc=no
10343fi 10768fi
10344 10769
10345rm -f conftest.err conftest.$ac_ext 10770rm -f conftest.err conftest.$ac_ext
10346{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 10771{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10347echo "${ECHO_T}$ac_header_preproc" >&6; } 10772$as_echo "$ac_header_preproc" >&6; }
10348 10773
10349# So? What about this header? 10774# So? What about this header?
10350case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 10775case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10351 yes:no: ) 10776 yes:no: )
10352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 10777 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10353echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 10778$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 10779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10355echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 10780$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10356 ac_header_preproc=yes 10781 ac_header_preproc=yes
10357 ;; 10782 ;;
10358 no:yes:* ) 10783 no:yes:* )
10359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 10784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10360echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 10785$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 10786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10362echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 10787$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 10788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10364echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 10789$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 10790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10366echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 10791$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 10792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10368echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 10793$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 10794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10370echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 10795$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10371 ( cat <<\_ASBOX 10796 ( cat <<\_ASBOX
10372## ------------------------------------------- ## 10797## ------------------------------------------- ##
10373## Report this to openssh-unix-dev@mindrot.org ## 10798## Report this to openssh-unix-dev@mindrot.org ##
@@ -10376,21 +10801,23 @@ _ASBOX
10376 ) | sed "s/^/$as_me: WARNING: /" >&2 10801 ) | sed "s/^/$as_me: WARNING: /" >&2
10377 ;; 10802 ;;
10378esac 10803esac
10379{ echo "$as_me:$LINENO: checking for $ac_header" >&5 10804{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10805$as_echo_n "checking for $ac_header... " >&6; }
10381if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10806if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10382 echo $ECHO_N "(cached) $ECHO_C" >&6 10807 $as_echo_n "(cached) " >&6
10383else 10808else
10384 eval "$as_ac_Header=\$ac_header_preproc" 10809 eval "$as_ac_Header=\$ac_header_preproc"
10385fi 10810fi
10386ac_res=`eval echo '${'$as_ac_Header'}'` 10811ac_res=`eval 'as_val=${'$as_ac_Header'}
10387 { echo "$as_me:$LINENO: result: $ac_res" >&5 10812 $as_echo "$as_val"'`
10388echo "${ECHO_T}$ac_res" >&6; } 10813 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10814$as_echo "$ac_res" >&6; }
10389 10815
10390fi 10816fi
10391if test `eval echo '${'$as_ac_Header'}'` = yes; then 10817if test `eval 'as_val=${'$as_ac_Header'}
10818 $as_echo "$as_val"'` = yes; then
10392 cat >>confdefs.h <<_ACEOF 10819 cat >>confdefs.h <<_ACEOF
10393#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 10820#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10394_ACEOF 10821_ACEOF
10395 10822
10396fi 10823fi
@@ -10406,10 +10833,10 @@ fi
10406done 10833done
10407 10834
10408 10835
10409{ echo "$as_me:$LINENO: checking for getspnam" >&5 10836{ $as_echo "$as_me:$LINENO: checking for getspnam" >&5
10410echo $ECHO_N "checking for getspnam... $ECHO_C" >&6; } 10837$as_echo_n "checking for getspnam... " >&6; }
10411if test "${ac_cv_func_getspnam+set}" = set; then 10838if test "${ac_cv_func_getspnam+set}" = set; then
10412 echo $ECHO_N "(cached) $ECHO_C" >&6 10839 $as_echo_n "(cached) " >&6
10413else 10840else
10414 cat >conftest.$ac_ext <<_ACEOF 10841 cat >conftest.$ac_ext <<_ACEOF
10415/* confdefs.h. */ 10842/* confdefs.h. */
@@ -10462,38 +10889,42 @@ case "(($ac_try" in
10462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10463 *) ac_try_echo=$ac_try;; 10890 *) ac_try_echo=$ac_try;;
10464esac 10891esac
10465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10892eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10893$as_echo "$ac_try_echo") >&5
10466 (eval "$ac_link") 2>conftest.er1 10894 (eval "$ac_link") 2>conftest.er1
10467 ac_status=$? 10895 ac_status=$?
10468 grep -v '^ *+' conftest.er1 >conftest.err 10896 grep -v '^ *+' conftest.er1 >conftest.err
10469 rm -f conftest.er1 10897 rm -f conftest.er1
10470 cat conftest.err >&5 10898 cat conftest.err >&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); } && { 10900 (exit $ac_status); } && {
10473 test -z "$ac_c_werror_flag" || 10901 test -z "$ac_c_werror_flag" ||
10474 test ! -s conftest.err 10902 test ! -s conftest.err
10475 } && test -s conftest$ac_exeext && 10903 } && test -s conftest$ac_exeext && {
10476 $as_test_x conftest$ac_exeext; then 10904 test "$cross_compiling" = yes ||
10905 $as_test_x conftest$ac_exeext
10906 }; then
10477 ac_cv_func_getspnam=yes 10907 ac_cv_func_getspnam=yes
10478else 10908else
10479 echo "$as_me: failed program was:" >&5 10909 $as_echo "$as_me: failed program was:" >&5
10480sed 's/^/| /' conftest.$ac_ext >&5 10910sed 's/^/| /' conftest.$ac_ext >&5
10481 10911
10482 ac_cv_func_getspnam=no 10912 ac_cv_func_getspnam=no
10483fi 10913fi
10484 10914
10915rm -rf conftest.dSYM
10485rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10916rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10486 conftest$ac_exeext conftest.$ac_ext 10917 conftest$ac_exeext conftest.$ac_ext
10487fi 10918fi
10488{ echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5 10919{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getspnam" >&5
10489echo "${ECHO_T}$ac_cv_func_getspnam" >&6; } 10920$as_echo "$ac_cv_func_getspnam" >&6; }
10490if test $ac_cv_func_getspnam = yes; then 10921if test $ac_cv_func_getspnam = yes; then
10491 : 10922 :
10492else 10923else
10493 { echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5 10924 { $as_echo "$as_me:$LINENO: checking for getspnam in -lgen" >&5
10494echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6; } 10925$as_echo_n "checking for getspnam in -lgen... " >&6; }
10495if test "${ac_cv_lib_gen_getspnam+set}" = set; then 10926if test "${ac_cv_lib_gen_getspnam+set}" = set; then
10496 echo $ECHO_N "(cached) $ECHO_C" >&6 10927 $as_echo_n "(cached) " >&6
10497else 10928else
10498 ac_check_lib_save_LIBS=$LIBS 10929 ac_check_lib_save_LIBS=$LIBS
10499LIBS="-lgen $LIBS" 10930LIBS="-lgen $LIBS"
@@ -10525,42 +10956,46 @@ case "(($ac_try" in
10525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10526 *) ac_try_echo=$ac_try;; 10957 *) ac_try_echo=$ac_try;;
10527esac 10958esac
10528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 10959eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10960$as_echo "$ac_try_echo") >&5
10529 (eval "$ac_link") 2>conftest.er1 10961 (eval "$ac_link") 2>conftest.er1
10530 ac_status=$? 10962 ac_status=$?
10531 grep -v '^ *+' conftest.er1 >conftest.err 10963 grep -v '^ *+' conftest.er1 >conftest.err
10532 rm -f conftest.er1 10964 rm -f conftest.er1
10533 cat conftest.err >&5 10965 cat conftest.err >&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } && { 10967 (exit $ac_status); } && {
10536 test -z "$ac_c_werror_flag" || 10968 test -z "$ac_c_werror_flag" ||
10537 test ! -s conftest.err 10969 test ! -s conftest.err
10538 } && test -s conftest$ac_exeext && 10970 } && test -s conftest$ac_exeext && {
10539 $as_test_x conftest$ac_exeext; then 10971 test "$cross_compiling" = yes ||
10972 $as_test_x conftest$ac_exeext
10973 }; then
10540 ac_cv_lib_gen_getspnam=yes 10974 ac_cv_lib_gen_getspnam=yes
10541else 10975else
10542 echo "$as_me: failed program was:" >&5 10976 $as_echo "$as_me: failed program was:" >&5
10543sed 's/^/| /' conftest.$ac_ext >&5 10977sed 's/^/| /' conftest.$ac_ext >&5
10544 10978
10545 ac_cv_lib_gen_getspnam=no 10979 ac_cv_lib_gen_getspnam=no
10546fi 10980fi
10547 10981
10982rm -rf conftest.dSYM
10548rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 10983rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10549 conftest$ac_exeext conftest.$ac_ext 10984 conftest$ac_exeext conftest.$ac_ext
10550LIBS=$ac_check_lib_save_LIBS 10985LIBS=$ac_check_lib_save_LIBS
10551fi 10986fi
10552{ echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5 10987{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getspnam" >&5
10553echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6; } 10988$as_echo "$ac_cv_lib_gen_getspnam" >&6; }
10554if test $ac_cv_lib_gen_getspnam = yes; then 10989if test $ac_cv_lib_gen_getspnam = yes; then
10555 LIBS="$LIBS -lgen" 10990 LIBS="$LIBS -lgen"
10556fi 10991fi
10557 10992
10558fi 10993fi
10559 10994
10560{ echo "$as_me:$LINENO: checking for library containing basename" >&5 10995{ $as_echo "$as_me:$LINENO: checking for library containing basename" >&5
10561echo $ECHO_N "checking for library containing basename... $ECHO_C" >&6; } 10996$as_echo_n "checking for library containing basename... " >&6; }
10562if test "${ac_cv_search_basename+set}" = set; then 10997if test "${ac_cv_search_basename+set}" = set; then
10563 echo $ECHO_N "(cached) $ECHO_C" >&6 10998 $as_echo_n "(cached) " >&6
10564else 10999else
10565 ac_func_search_save_LIBS=$LIBS 11000 ac_func_search_save_LIBS=$LIBS
10566cat >conftest.$ac_ext <<_ACEOF 11001cat >conftest.$ac_ext <<_ACEOF
@@ -10598,26 +11033,30 @@ case "(($ac_try" in
10598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10599 *) ac_try_echo=$ac_try;; 11034 *) ac_try_echo=$ac_try;;
10600esac 11035esac
10601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11036eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11037$as_echo "$ac_try_echo") >&5
10602 (eval "$ac_link") 2>conftest.er1 11038 (eval "$ac_link") 2>conftest.er1
10603 ac_status=$? 11039 ac_status=$?
10604 grep -v '^ *+' conftest.er1 >conftest.err 11040 grep -v '^ *+' conftest.er1 >conftest.err
10605 rm -f conftest.er1 11041 rm -f conftest.er1
10606 cat conftest.err >&5 11042 cat conftest.err >&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); } && { 11044 (exit $ac_status); } && {
10609 test -z "$ac_c_werror_flag" || 11045 test -z "$ac_c_werror_flag" ||
10610 test ! -s conftest.err 11046 test ! -s conftest.err
10611 } && test -s conftest$ac_exeext && 11047 } && test -s conftest$ac_exeext && {
10612 $as_test_x conftest$ac_exeext; then 11048 test "$cross_compiling" = yes ||
11049 $as_test_x conftest$ac_exeext
11050 }; then
10613 ac_cv_search_basename=$ac_res 11051 ac_cv_search_basename=$ac_res
10614else 11052else
10615 echo "$as_me: failed program was:" >&5 11053 $as_echo "$as_me: failed program was:" >&5
10616sed 's/^/| /' conftest.$ac_ext >&5 11054sed 's/^/| /' conftest.$ac_ext >&5
10617 11055
10618 11056
10619fi 11057fi
10620 11058
11059rm -rf conftest.dSYM
10621rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11060rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10622 conftest$ac_exeext 11061 conftest$ac_exeext
10623 if test "${ac_cv_search_basename+set}" = set; then 11062 if test "${ac_cv_search_basename+set}" = set; then
@@ -10632,8 +11071,8 @@ fi
10632rm conftest.$ac_ext 11071rm conftest.$ac_ext
10633LIBS=$ac_func_search_save_LIBS 11072LIBS=$ac_func_search_save_LIBS
10634fi 11073fi
10635{ echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5 11074{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_basename" >&5
10636echo "${ECHO_T}$ac_cv_search_basename" >&6; } 11075$as_echo "$ac_cv_search_basename" >&6; }
10637ac_res=$ac_cv_search_basename 11076ac_res=$ac_cv_search_basename
10638if test "$ac_res" != no; then 11077if test "$ac_res" != no; then
10639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 11078 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -10649,8 +11088,8 @@ fi
10649# Check whether --with-zlib was given. 11088# Check whether --with-zlib was given.
10650if test "${with_zlib+set}" = set; then 11089if test "${with_zlib+set}" = set; then
10651 withval=$with_zlib; if test "x$withval" = "xno" ; then 11090 withval=$with_zlib; if test "x$withval" = "xno" ; then
10652 { { echo "$as_me:$LINENO: error: *** zlib is required ***" >&5 11091 { { $as_echo "$as_me:$LINENO: error: *** zlib is required ***" >&5
10653echo "$as_me: error: *** zlib is required ***" >&2;} 11092$as_echo "$as_me: error: *** zlib is required ***" >&2;}
10654 { (exit 1); exit 1; }; } 11093 { (exit 1); exit 1; }; }
10655 elif test "x$withval" != "xyes"; then 11094 elif test "x$withval" != "xyes"; then
10656 if test -d "$withval/lib"; then 11095 if test -d "$withval/lib"; then
@@ -10676,11 +11115,152 @@ echo "$as_me: error: *** zlib is required ***" >&2;}
10676fi 11115fi
10677 11116
10678 11117
11118if test "${ac_cv_header_zlib_h+set}" = set; then
11119 { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
11120$as_echo_n "checking for zlib.h... " >&6; }
11121if test "${ac_cv_header_zlib_h+set}" = set; then
11122 $as_echo_n "(cached) " >&6
11123fi
11124{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
11125$as_echo "$ac_cv_header_zlib_h" >&6; }
11126else
11127 # Is the header compilable?
11128{ $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
11129$as_echo_n "checking zlib.h usability... " >&6; }
11130cat >conftest.$ac_ext <<_ACEOF
11131/* confdefs.h. */
11132_ACEOF
11133cat confdefs.h >>conftest.$ac_ext
11134cat >>conftest.$ac_ext <<_ACEOF
11135/* end confdefs.h. */
11136$ac_includes_default
11137#include <zlib.h>
11138_ACEOF
11139rm -f conftest.$ac_objext
11140if { (ac_try="$ac_compile"
11141case "(($ac_try" in
11142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11143 *) ac_try_echo=$ac_try;;
11144esac
11145eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11146$as_echo "$ac_try_echo") >&5
11147 (eval "$ac_compile") 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest.$ac_objext; then
11157 ac_header_compiler=yes
11158else
11159 $as_echo "$as_me: failed program was:" >&5
11160sed 's/^/| /' conftest.$ac_ext >&5
11161
11162 ac_header_compiler=no
11163fi
11164
11165rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11166{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11167$as_echo "$ac_header_compiler" >&6; }
10679 11168
10680{ echo "$as_me:$LINENO: checking for deflate in -lz" >&5 11169# Is the header present?
10681echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; } 11170{ $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
11171$as_echo_n "checking zlib.h presence... " >&6; }
11172cat >conftest.$ac_ext <<_ACEOF
11173/* confdefs.h. */
11174_ACEOF
11175cat confdefs.h >>conftest.$ac_ext
11176cat >>conftest.$ac_ext <<_ACEOF
11177/* end confdefs.h. */
11178#include <zlib.h>
11179_ACEOF
11180if { (ac_try="$ac_cpp conftest.$ac_ext"
11181case "(($ac_try" in
11182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11183 *) ac_try_echo=$ac_try;;
11184esac
11185eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11186$as_echo "$ac_try_echo") >&5
11187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11188 ac_status=$?
11189 grep -v '^ *+' conftest.er1 >conftest.err
11190 rm -f conftest.er1
11191 cat conftest.err >&5
11192 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } >/dev/null && {
11194 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11195 test ! -s conftest.err
11196 }; then
11197 ac_header_preproc=yes
11198else
11199 $as_echo "$as_me: failed program was:" >&5
11200sed 's/^/| /' conftest.$ac_ext >&5
11201
11202 ac_header_preproc=no
11203fi
11204
11205rm -f conftest.err conftest.$ac_ext
11206{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11207$as_echo "$ac_header_preproc" >&6; }
11208
11209# So? What about this header?
11210case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11211 yes:no: )
11212 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
11213$as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11214 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
11215$as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
11216 ac_header_preproc=yes
11217 ;;
11218 no:yes:* )
11219 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
11220$as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
11221 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
11222$as_echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
11223 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
11224$as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
11225 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
11226$as_echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
11227 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
11228$as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
11229 { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
11230$as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
11231 ( cat <<\_ASBOX
11232## ------------------------------------------- ##
11233## Report this to openssh-unix-dev@mindrot.org ##
11234## ------------------------------------------- ##
11235_ASBOX
11236 ) | sed "s/^/$as_me: WARNING: /" >&2
11237 ;;
11238esac
11239{ $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
11240$as_echo_n "checking for zlib.h... " >&6; }
11241if test "${ac_cv_header_zlib_h+set}" = set; then
11242 $as_echo_n "(cached) " >&6
11243else
11244 ac_cv_header_zlib_h=$ac_header_preproc
11245fi
11246{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
11247$as_echo "$ac_cv_header_zlib_h" >&6; }
11248
11249fi
11250if test $ac_cv_header_zlib_h = yes; then
11251 :
11252else
11253 { { $as_echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5
11254$as_echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;}
11255 { (exit 1); exit 1; }; }
11256fi
11257
11258
11259
11260{ $as_echo "$as_me:$LINENO: checking for deflate in -lz" >&5
11261$as_echo_n "checking for deflate in -lz... " >&6; }
10682if test "${ac_cv_lib_z_deflate+set}" = set; then 11262if test "${ac_cv_lib_z_deflate+set}" = set; then
10683 echo $ECHO_N "(cached) $ECHO_C" >&6 11263 $as_echo_n "(cached) " >&6
10684else 11264else
10685 ac_check_lib_save_LIBS=$LIBS 11265 ac_check_lib_save_LIBS=$LIBS
10686LIBS="-lz $LIBS" 11266LIBS="-lz $LIBS"
@@ -10712,32 +11292,36 @@ case "(($ac_try" in
10712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10713 *) ac_try_echo=$ac_try;; 11293 *) ac_try_echo=$ac_try;;
10714esac 11294esac
10715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11296$as_echo "$ac_try_echo") >&5
10716 (eval "$ac_link") 2>conftest.er1 11297 (eval "$ac_link") 2>conftest.er1
10717 ac_status=$? 11298 ac_status=$?
10718 grep -v '^ *+' conftest.er1 >conftest.err 11299 grep -v '^ *+' conftest.er1 >conftest.err
10719 rm -f conftest.er1 11300 rm -f conftest.er1
10720 cat conftest.err >&5 11301 cat conftest.err >&5
10721 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10722 (exit $ac_status); } && { 11303 (exit $ac_status); } && {
10723 test -z "$ac_c_werror_flag" || 11304 test -z "$ac_c_werror_flag" ||
10724 test ! -s conftest.err 11305 test ! -s conftest.err
10725 } && test -s conftest$ac_exeext && 11306 } && test -s conftest$ac_exeext && {
10726 $as_test_x conftest$ac_exeext; then 11307 test "$cross_compiling" = yes ||
11308 $as_test_x conftest$ac_exeext
11309 }; then
10727 ac_cv_lib_z_deflate=yes 11310 ac_cv_lib_z_deflate=yes
10728else 11311else
10729 echo "$as_me: failed program was:" >&5 11312 $as_echo "$as_me: failed program was:" >&5
10730sed 's/^/| /' conftest.$ac_ext >&5 11313sed 's/^/| /' conftest.$ac_ext >&5
10731 11314
10732 ac_cv_lib_z_deflate=no 11315 ac_cv_lib_z_deflate=no
10733fi 11316fi
10734 11317
11318rm -rf conftest.dSYM
10735rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11319rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10736 conftest$ac_exeext conftest.$ac_ext 11320 conftest$ac_exeext conftest.$ac_ext
10737LIBS=$ac_check_lib_save_LIBS 11321LIBS=$ac_check_lib_save_LIBS
10738fi 11322fi
10739{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5 11323{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
10740echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; } 11324$as_echo "$ac_cv_lib_z_deflate" >&6; }
10741if test $ac_cv_lib_z_deflate = yes; then 11325if test $ac_cv_lib_z_deflate = yes; then
10742 cat >>confdefs.h <<_ACEOF 11326 cat >>confdefs.h <<_ACEOF
10743#define HAVE_LIBZ 1 11327#define HAVE_LIBZ 1
@@ -10785,179 +11369,44 @@ case "(($ac_try" in
10785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10786 *) ac_try_echo=$ac_try;; 11370 *) ac_try_echo=$ac_try;;
10787esac 11371esac
10788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11373$as_echo "$ac_try_echo") >&5
10789 (eval "$ac_link") 2>conftest.er1 11374 (eval "$ac_link") 2>conftest.er1
10790 ac_status=$? 11375 ac_status=$?
10791 grep -v '^ *+' conftest.er1 >conftest.err 11376 grep -v '^ *+' conftest.er1 >conftest.err
10792 rm -f conftest.er1 11377 rm -f conftest.er1
10793 cat conftest.err >&5 11378 cat conftest.err >&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); } && { 11380 (exit $ac_status); } && {
10796 test -z "$ac_c_werror_flag" || 11381 test -z "$ac_c_werror_flag" ||
10797 test ! -s conftest.err 11382 test ! -s conftest.err
10798 } && test -s conftest$ac_exeext && 11383 } && test -s conftest$ac_exeext && {
10799 $as_test_x conftest$ac_exeext; then 11384 test "$cross_compiling" = yes ||
11385 $as_test_x conftest$ac_exeext
11386 }; then
10800 cat >>confdefs.h <<\_ACEOF 11387 cat >>confdefs.h <<\_ACEOF
10801#define HAVE_LIBZ 1 11388#define HAVE_LIBZ 1
10802_ACEOF 11389_ACEOF
10803 11390
10804else 11391else
10805 echo "$as_me: failed program was:" >&5 11392 $as_echo "$as_me: failed program was:" >&5
10806sed 's/^/| /' conftest.$ac_ext >&5 11393sed 's/^/| /' conftest.$ac_ext >&5
10807 11394
10808 11395
10809 { { echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5 11396 { { $as_echo "$as_me:$LINENO: error: *** zlib missing - please install first or check config.log ***" >&5
10810echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;} 11397$as_echo "$as_me: error: *** zlib missing - please install first or check config.log ***" >&2;}
10811 { (exit 1); exit 1; }; } 11398 { (exit 1); exit 1; }; }
10812 11399
10813 11400
10814fi 11401fi
10815 11402
11403rm -rf conftest.dSYM
10816rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11404rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10817 conftest$ac_exeext conftest.$ac_ext 11405 conftest$ac_exeext conftest.$ac_ext
10818 11406
10819 11407
10820fi 11408fi
10821 11409
10822if test "${ac_cv_header_zlib_h+set}" = set; then
10823 { echo "$as_me:$LINENO: checking for zlib.h" >&5
10824echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
10825if test "${ac_cv_header_zlib_h+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10827fi
10828{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
10829echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
10830else
10831 # Is the header compilable?
10832{ echo "$as_me:$LINENO: checking zlib.h usability" >&5
10833echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
10834cat >conftest.$ac_ext <<_ACEOF
10835/* confdefs.h. */
10836_ACEOF
10837cat confdefs.h >>conftest.$ac_ext
10838cat >>conftest.$ac_ext <<_ACEOF
10839/* end confdefs.h. */
10840$ac_includes_default
10841#include <zlib.h>
10842_ACEOF
10843rm -f conftest.$ac_objext
10844if { (ac_try="$ac_compile"
10845case "(($ac_try" in
10846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10847 *) ac_try_echo=$ac_try;;
10848esac
10849eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10850 (eval "$ac_compile") 2>conftest.er1
10851 ac_status=$?
10852 grep -v '^ *+' conftest.er1 >conftest.err
10853 rm -f conftest.er1
10854 cat conftest.err >&5
10855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856 (exit $ac_status); } && {
10857 test -z "$ac_c_werror_flag" ||
10858 test ! -s conftest.err
10859 } && test -s conftest.$ac_objext; then
10860 ac_header_compiler=yes
10861else
10862 echo "$as_me: failed program was:" >&5
10863sed 's/^/| /' conftest.$ac_ext >&5
10864
10865 ac_header_compiler=no
10866fi
10867
10868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10869{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10870echo "${ECHO_T}$ac_header_compiler" >&6; }
10871
10872# Is the header present?
10873{ echo "$as_me:$LINENO: checking zlib.h presence" >&5
10874echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
10875cat >conftest.$ac_ext <<_ACEOF
10876/* confdefs.h. */
10877_ACEOF
10878cat confdefs.h >>conftest.$ac_ext
10879cat >>conftest.$ac_ext <<_ACEOF
10880/* end confdefs.h. */
10881#include <zlib.h>
10882_ACEOF
10883if { (ac_try="$ac_cpp conftest.$ac_ext"
10884case "(($ac_try" in
10885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886 *) ac_try_echo=$ac_try;;
10887esac
10888eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10889 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10890 ac_status=$?
10891 grep -v '^ *+' conftest.er1 >conftest.err
10892 rm -f conftest.er1
10893 cat conftest.err >&5
10894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10895 (exit $ac_status); } >/dev/null && {
10896 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10897 test ! -s conftest.err
10898 }; then
10899 ac_header_preproc=yes
10900else
10901 echo "$as_me: failed program was:" >&5
10902sed 's/^/| /' conftest.$ac_ext >&5
10903
10904 ac_header_preproc=no
10905fi
10906
10907rm -f conftest.err conftest.$ac_ext
10908{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10909echo "${ECHO_T}$ac_header_preproc" >&6; }
10910
10911# So? What about this header?
10912case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10913 yes:no: )
10914 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
10915echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10916 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
10917echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
10918 ac_header_preproc=yes
10919 ;;
10920 no:yes:* )
10921 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
10922echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
10923 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
10924echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
10925 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
10926echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
10927 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
10928echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
10929 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
10930echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
10931 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
10932echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
10933 ( cat <<\_ASBOX
10934## ------------------------------------------- ##
10935## Report this to openssh-unix-dev@mindrot.org ##
10936## ------------------------------------------- ##
10937_ASBOX
10938 ) | sed "s/^/$as_me: WARNING: /" >&2
10939 ;;
10940esac
10941{ echo "$as_me:$LINENO: checking for zlib.h" >&5
10942echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
10943if test "${ac_cv_header_zlib_h+set}" = set; then
10944 echo $ECHO_N "(cached) $ECHO_C" >&6
10945else
10946 ac_cv_header_zlib_h=$ac_header_preproc
10947fi
10948{ echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
10949echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
10950
10951fi
10952if test $ac_cv_header_zlib_h = yes; then
10953 :
10954else
10955 { { echo "$as_me:$LINENO: error: *** zlib.h missing - please install first or check config.log ***" >&5
10956echo "$as_me: error: *** zlib.h missing - please install first or check config.log ***" >&2;}
10957 { (exit 1); exit 1; }; }
10958fi
10959
10960
10961 11410
10962 11411
10963# Check whether --with-zlib-version-check was given. 11412# Check whether --with-zlib-version-check was given.
@@ -10970,11 +11419,11 @@ if test "${with_zlib_version_check+set}" = set; then
10970fi 11419fi
10971 11420
10972 11421
10973{ echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5 11422{ $as_echo "$as_me:$LINENO: checking for possibly buggy zlib" >&5
10974echo $ECHO_N "checking for possibly buggy zlib... $ECHO_C" >&6; } 11423$as_echo_n "checking for possibly buggy zlib... " >&6; }
10975if test "$cross_compiling" = yes; then 11424if test "$cross_compiling" = yes; then
10976 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5 11425 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking zlib version" >&5
10977echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;} 11426$as_echo "$as_me: WARNING: cross compiling: not checking zlib version" >&2;}
10978 11427
10979else 11428else
10980 cat >conftest.$ac_ext <<_ACEOF 11429 cat >conftest.$ac_ext <<_ACEOF
@@ -11013,39 +11462,41 @@ case "(($ac_try" in
11013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11014 *) ac_try_echo=$ac_try;; 11463 *) ac_try_echo=$ac_try;;
11015esac 11464esac
11016eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11465eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11466$as_echo "$ac_try_echo") >&5
11017 (eval "$ac_link") 2>&5 11467 (eval "$ac_link") 2>&5
11018 ac_status=$? 11468 ac_status=$?
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11469 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 11470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11021 { (case "(($ac_try" in 11471 { (case "(($ac_try" in
11022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11023 *) ac_try_echo=$ac_try;; 11473 *) ac_try_echo=$ac_try;;
11024esac 11474esac
11025eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11475eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11476$as_echo "$ac_try_echo") >&5
11026 (eval "$ac_try") 2>&5 11477 (eval "$ac_try") 2>&5
11027 ac_status=$? 11478 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then 11480 (exit $ac_status); }; }; then
11030 { echo "$as_me:$LINENO: result: no" >&5 11481 { $as_echo "$as_me:$LINENO: result: no" >&5
11031echo "${ECHO_T}no" >&6; } 11482$as_echo "no" >&6; }
11032else 11483else
11033 echo "$as_me: program exited with status $ac_status" >&5 11484 $as_echo "$as_me: program exited with status $ac_status" >&5
11034echo "$as_me: failed program was:" >&5 11485$as_echo "$as_me: failed program was:" >&5
11035sed 's/^/| /' conftest.$ac_ext >&5 11486sed 's/^/| /' conftest.$ac_ext >&5
11036 11487
11037( exit $ac_status ) 11488( exit $ac_status )
11038 { echo "$as_me:$LINENO: result: yes" >&5 11489 { $as_echo "$as_me:$LINENO: result: yes" >&5
11039echo "${ECHO_T}yes" >&6; } 11490$as_echo "yes" >&6; }
11040 if test -z "$zlib_check_nonfatal" ; then 11491 if test -z "$zlib_check_nonfatal" ; then
11041 { { echo "$as_me:$LINENO: error: *** zlib too old - check config.log *** 11492 { { $as_echo "$as_me:$LINENO: error: *** zlib too old - check config.log ***
11042Your reported zlib version has known security problems. It's possible your 11493Your reported zlib version has known security problems. It's possible your
11043vendor has fixed these problems without changing the version number. If you 11494vendor has fixed these problems without changing the version number. If you
11044are sure this is the case, you can disable the check by running 11495are sure this is the case, you can disable the check by running
11045\"./configure --without-zlib-version-check\". 11496\"./configure --without-zlib-version-check\".
11046If you are in doubt, upgrade zlib to version 1.2.3 or greater. 11497If you are in doubt, upgrade zlib to version 1.2.3 or greater.
11047See http://www.gzip.org/zlib/ for details." >&5 11498See http://www.gzip.org/zlib/ for details." >&5
11048echo "$as_me: error: *** zlib too old - check config.log *** 11499$as_echo "$as_me: error: *** zlib too old - check config.log ***
11049Your reported zlib version has known security problems. It's possible your 11500Your reported zlib version has known security problems. It's possible your
11050vendor has fixed these problems without changing the version number. If you 11501vendor has fixed these problems without changing the version number. If you
11051are sure this is the case, you can disable the check by running 11502are sure this is the case, you can disable the check by running
@@ -11054,20 +11505,21 @@ If you are in doubt, upgrade zlib to version 1.2.3 or greater.
11054See http://www.gzip.org/zlib/ for details." >&2;} 11505See http://www.gzip.org/zlib/ for details." >&2;}
11055 { (exit 1); exit 1; }; } 11506 { (exit 1); exit 1; }; }
11056 else 11507 else
11057 { echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5 11508 { $as_echo "$as_me:$LINENO: WARNING: zlib version may have security problems" >&5
11058echo "$as_me: WARNING: zlib version may have security problems" >&2;} 11509$as_echo "$as_me: WARNING: zlib version may have security problems" >&2;}
11059 fi 11510 fi
11060 11511
11061fi 11512fi
11513rm -rf conftest.dSYM
11062rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 11514rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11063fi 11515fi
11064 11516
11065 11517
11066 11518
11067{ echo "$as_me:$LINENO: checking for strcasecmp" >&5 11519{ $as_echo "$as_me:$LINENO: checking for strcasecmp" >&5
11068echo $ECHO_N "checking for strcasecmp... $ECHO_C" >&6; } 11520$as_echo_n "checking for strcasecmp... " >&6; }
11069if test "${ac_cv_func_strcasecmp+set}" = set; then 11521if test "${ac_cv_func_strcasecmp+set}" = set; then
11070 echo $ECHO_N "(cached) $ECHO_C" >&6 11522 $as_echo_n "(cached) " >&6
11071else 11523else
11072 cat >conftest.$ac_ext <<_ACEOF 11524 cat >conftest.$ac_ext <<_ACEOF
11073/* confdefs.h. */ 11525/* confdefs.h. */
@@ -11120,38 +11572,42 @@ case "(($ac_try" in
11120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11121 *) ac_try_echo=$ac_try;; 11573 *) ac_try_echo=$ac_try;;
11122esac 11574esac
11123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11575eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11576$as_echo "$ac_try_echo") >&5
11124 (eval "$ac_link") 2>conftest.er1 11577 (eval "$ac_link") 2>conftest.er1
11125 ac_status=$? 11578 ac_status=$?
11126 grep -v '^ *+' conftest.er1 >conftest.err 11579 grep -v '^ *+' conftest.er1 >conftest.err
11127 rm -f conftest.er1 11580 rm -f conftest.er1
11128 cat conftest.err >&5 11581 cat conftest.err >&5
11129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11130 (exit $ac_status); } && { 11583 (exit $ac_status); } && {
11131 test -z "$ac_c_werror_flag" || 11584 test -z "$ac_c_werror_flag" ||
11132 test ! -s conftest.err 11585 test ! -s conftest.err
11133 } && test -s conftest$ac_exeext && 11586 } && test -s conftest$ac_exeext && {
11134 $as_test_x conftest$ac_exeext; then 11587 test "$cross_compiling" = yes ||
11588 $as_test_x conftest$ac_exeext
11589 }; then
11135 ac_cv_func_strcasecmp=yes 11590 ac_cv_func_strcasecmp=yes
11136else 11591else
11137 echo "$as_me: failed program was:" >&5 11592 $as_echo "$as_me: failed program was:" >&5
11138sed 's/^/| /' conftest.$ac_ext >&5 11593sed 's/^/| /' conftest.$ac_ext >&5
11139 11594
11140 ac_cv_func_strcasecmp=no 11595 ac_cv_func_strcasecmp=no
11141fi 11596fi
11142 11597
11598rm -rf conftest.dSYM
11143rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11599rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11144 conftest$ac_exeext conftest.$ac_ext 11600 conftest$ac_exeext conftest.$ac_ext
11145fi 11601fi
11146{ echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5 11602{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_strcasecmp" >&5
11147echo "${ECHO_T}$ac_cv_func_strcasecmp" >&6; } 11603$as_echo "$ac_cv_func_strcasecmp" >&6; }
11148if test $ac_cv_func_strcasecmp = yes; then 11604if test $ac_cv_func_strcasecmp = yes; then
11149 : 11605 :
11150else 11606else
11151 { echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5 11607 { $as_echo "$as_me:$LINENO: checking for strcasecmp in -lresolv" >&5
11152echo $ECHO_N "checking for strcasecmp in -lresolv... $ECHO_C" >&6; } 11608$as_echo_n "checking for strcasecmp in -lresolv... " >&6; }
11153if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then 11609if test "${ac_cv_lib_resolv_strcasecmp+set}" = set; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6 11610 $as_echo_n "(cached) " >&6
11155else 11611else
11156 ac_check_lib_save_LIBS=$LIBS 11612 ac_check_lib_save_LIBS=$LIBS
11157LIBS="-lresolv $LIBS" 11613LIBS="-lresolv $LIBS"
@@ -11183,32 +11639,36 @@ case "(($ac_try" in
11183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11184 *) ac_try_echo=$ac_try;; 11640 *) ac_try_echo=$ac_try;;
11185esac 11641esac
11186eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11643$as_echo "$ac_try_echo") >&5
11187 (eval "$ac_link") 2>conftest.er1 11644 (eval "$ac_link") 2>conftest.er1
11188 ac_status=$? 11645 ac_status=$?
11189 grep -v '^ *+' conftest.er1 >conftest.err 11646 grep -v '^ *+' conftest.er1 >conftest.err
11190 rm -f conftest.er1 11647 rm -f conftest.er1
11191 cat conftest.err >&5 11648 cat conftest.err >&5
11192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11649 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11193 (exit $ac_status); } && { 11650 (exit $ac_status); } && {
11194 test -z "$ac_c_werror_flag" || 11651 test -z "$ac_c_werror_flag" ||
11195 test ! -s conftest.err 11652 test ! -s conftest.err
11196 } && test -s conftest$ac_exeext && 11653 } && test -s conftest$ac_exeext && {
11197 $as_test_x conftest$ac_exeext; then 11654 test "$cross_compiling" = yes ||
11655 $as_test_x conftest$ac_exeext
11656 }; then
11198 ac_cv_lib_resolv_strcasecmp=yes 11657 ac_cv_lib_resolv_strcasecmp=yes
11199else 11658else
11200 echo "$as_me: failed program was:" >&5 11659 $as_echo "$as_me: failed program was:" >&5
11201sed 's/^/| /' conftest.$ac_ext >&5 11660sed 's/^/| /' conftest.$ac_ext >&5
11202 11661
11203 ac_cv_lib_resolv_strcasecmp=no 11662 ac_cv_lib_resolv_strcasecmp=no
11204fi 11663fi
11205 11664
11665rm -rf conftest.dSYM
11206rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11666rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11207 conftest$ac_exeext conftest.$ac_ext 11667 conftest$ac_exeext conftest.$ac_ext
11208LIBS=$ac_check_lib_save_LIBS 11668LIBS=$ac_check_lib_save_LIBS
11209fi 11669fi
11210{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5 11670{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_strcasecmp" >&5
11211echo "${ECHO_T}$ac_cv_lib_resolv_strcasecmp" >&6; } 11671$as_echo "$ac_cv_lib_resolv_strcasecmp" >&6; }
11212if test $ac_cv_lib_resolv_strcasecmp = yes; then 11672if test $ac_cv_lib_resolv_strcasecmp = yes; then
11213 LIBS="$LIBS -lresolv" 11673 LIBS="$LIBS -lresolv"
11214fi 11674fi
@@ -11219,11 +11679,11 @@ fi
11219 11679
11220for ac_func in utimes 11680for ac_func in utimes
11221do 11681do
11222as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11682as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11223{ echo "$as_me:$LINENO: checking for $ac_func" >&5 11683{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11224echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 11684$as_echo_n "checking for $ac_func... " >&6; }
11225if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 11685if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11226 echo $ECHO_N "(cached) $ECHO_C" >&6 11686 $as_echo_n "(cached) " >&6
11227else 11687else
11228 cat >conftest.$ac_ext <<_ACEOF 11688 cat >conftest.$ac_ext <<_ACEOF
11229/* confdefs.h. */ 11689/* confdefs.h. */
@@ -11276,42 +11736,48 @@ case "(($ac_try" in
11276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11277 *) ac_try_echo=$ac_try;; 11737 *) ac_try_echo=$ac_try;;
11278esac 11738esac
11279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11739eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11740$as_echo "$ac_try_echo") >&5
11280 (eval "$ac_link") 2>conftest.er1 11741 (eval "$ac_link") 2>conftest.er1
11281 ac_status=$? 11742 ac_status=$?
11282 grep -v '^ *+' conftest.er1 >conftest.err 11743 grep -v '^ *+' conftest.er1 >conftest.err
11283 rm -f conftest.er1 11744 rm -f conftest.er1
11284 cat conftest.err >&5 11745 cat conftest.err >&5
11285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11746 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11286 (exit $ac_status); } && { 11747 (exit $ac_status); } && {
11287 test -z "$ac_c_werror_flag" || 11748 test -z "$ac_c_werror_flag" ||
11288 test ! -s conftest.err 11749 test ! -s conftest.err
11289 } && test -s conftest$ac_exeext && 11750 } && test -s conftest$ac_exeext && {
11290 $as_test_x conftest$ac_exeext; then 11751 test "$cross_compiling" = yes ||
11752 $as_test_x conftest$ac_exeext
11753 }; then
11291 eval "$as_ac_var=yes" 11754 eval "$as_ac_var=yes"
11292else 11755else
11293 echo "$as_me: failed program was:" >&5 11756 $as_echo "$as_me: failed program was:" >&5
11294sed 's/^/| /' conftest.$ac_ext >&5 11757sed 's/^/| /' conftest.$ac_ext >&5
11295 11758
11296 eval "$as_ac_var=no" 11759 eval "$as_ac_var=no"
11297fi 11760fi
11298 11761
11762rm -rf conftest.dSYM
11299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11763rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11300 conftest$ac_exeext conftest.$ac_ext 11764 conftest$ac_exeext conftest.$ac_ext
11301fi 11765fi
11302ac_res=`eval echo '${'$as_ac_var'}'` 11766ac_res=`eval 'as_val=${'$as_ac_var'}
11303 { echo "$as_me:$LINENO: result: $ac_res" >&5 11767 $as_echo "$as_val"'`
11304echo "${ECHO_T}$ac_res" >&6; } 11768 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11305if test `eval echo '${'$as_ac_var'}'` = yes; then 11769$as_echo "$ac_res" >&6; }
11770if test `eval 'as_val=${'$as_ac_var'}
11771 $as_echo "$as_val"'` = yes; then
11306 cat >>confdefs.h <<_ACEOF 11772 cat >>confdefs.h <<_ACEOF
11307#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 11773#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11308_ACEOF 11774_ACEOF
11309 11775
11310else 11776else
11311 { echo "$as_me:$LINENO: checking for utimes in -lc89" >&5 11777 { $as_echo "$as_me:$LINENO: checking for utimes in -lc89" >&5
11312echo $ECHO_N "checking for utimes in -lc89... $ECHO_C" >&6; } 11778$as_echo_n "checking for utimes in -lc89... " >&6; }
11313if test "${ac_cv_lib_c89_utimes+set}" = set; then 11779if test "${ac_cv_lib_c89_utimes+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6 11780 $as_echo_n "(cached) " >&6
11315else 11781else
11316 ac_check_lib_save_LIBS=$LIBS 11782 ac_check_lib_save_LIBS=$LIBS
11317LIBS="-lc89 $LIBS" 11783LIBS="-lc89 $LIBS"
@@ -11343,32 +11809,36 @@ case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;; 11810 *) ac_try_echo=$ac_try;;
11345esac 11811esac
11346eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11813$as_echo "$ac_try_echo") >&5
11347 (eval "$ac_link") 2>conftest.er1 11814 (eval "$ac_link") 2>conftest.er1
11348 ac_status=$? 11815 ac_status=$?
11349 grep -v '^ *+' conftest.er1 >conftest.err 11816 grep -v '^ *+' conftest.er1 >conftest.err
11350 rm -f conftest.er1 11817 rm -f conftest.er1
11351 cat conftest.err >&5 11818 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && { 11820 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" || 11821 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err 11822 test ! -s conftest.err
11356 } && test -s conftest$ac_exeext && 11823 } && test -s conftest$ac_exeext && {
11357 $as_test_x conftest$ac_exeext; then 11824 test "$cross_compiling" = yes ||
11825 $as_test_x conftest$ac_exeext
11826 }; then
11358 ac_cv_lib_c89_utimes=yes 11827 ac_cv_lib_c89_utimes=yes
11359else 11828else
11360 echo "$as_me: failed program was:" >&5 11829 $as_echo "$as_me: failed program was:" >&5
11361sed 's/^/| /' conftest.$ac_ext >&5 11830sed 's/^/| /' conftest.$ac_ext >&5
11362 11831
11363 ac_cv_lib_c89_utimes=no 11832 ac_cv_lib_c89_utimes=no
11364fi 11833fi
11365 11834
11835rm -rf conftest.dSYM
11366rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 11836rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11367 conftest$ac_exeext conftest.$ac_ext 11837 conftest$ac_exeext conftest.$ac_ext
11368LIBS=$ac_check_lib_save_LIBS 11838LIBS=$ac_check_lib_save_LIBS
11369fi 11839fi
11370{ echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5 11840{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_c89_utimes" >&5
11371echo "${ECHO_T}$ac_cv_lib_c89_utimes" >&6; } 11841$as_echo "$ac_cv_lib_c89_utimes" >&6; }
11372if test $ac_cv_lib_c89_utimes = yes; then 11842if test $ac_cv_lib_c89_utimes = yes; then
11373 cat >>confdefs.h <<\_ACEOF 11843 cat >>confdefs.h <<\_ACEOF
11374#define HAVE_UTIMES 1 11844#define HAVE_UTIMES 1
@@ -11385,20 +11855,21 @@ done
11385 11855
11386for ac_header in libutil.h 11856for ac_header in libutil.h
11387do 11857do
11388as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 11858as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11389if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11859if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11390 { echo "$as_me:$LINENO: checking for $ac_header" >&5 11860 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11391echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 11861$as_echo_n "checking for $ac_header... " >&6; }
11392if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11862if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11393 echo $ECHO_N "(cached) $ECHO_C" >&6 11863 $as_echo_n "(cached) " >&6
11394fi 11864fi
11395ac_res=`eval echo '${'$as_ac_Header'}'` 11865ac_res=`eval 'as_val=${'$as_ac_Header'}
11396 { echo "$as_me:$LINENO: result: $ac_res" >&5 11866 $as_echo "$as_val"'`
11397echo "${ECHO_T}$ac_res" >&6; } 11867 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11868$as_echo "$ac_res" >&6; }
11398else 11869else
11399 # Is the header compilable? 11870 # Is the header compilable?
11400{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 11871{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11401echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 11872$as_echo_n "checking $ac_header usability... " >&6; }
11402cat >conftest.$ac_ext <<_ACEOF 11873cat >conftest.$ac_ext <<_ACEOF
11403/* confdefs.h. */ 11874/* confdefs.h. */
11404_ACEOF 11875_ACEOF
@@ -11414,32 +11885,33 @@ case "(($ac_try" in
11414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11415 *) ac_try_echo=$ac_try;; 11886 *) ac_try_echo=$ac_try;;
11416esac 11887esac
11417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11888eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11889$as_echo "$ac_try_echo") >&5
11418 (eval "$ac_compile") 2>conftest.er1 11890 (eval "$ac_compile") 2>conftest.er1
11419 ac_status=$? 11891 ac_status=$?
11420 grep -v '^ *+' conftest.er1 >conftest.err 11892 grep -v '^ *+' conftest.er1 >conftest.err
11421 rm -f conftest.er1 11893 rm -f conftest.er1
11422 cat conftest.err >&5 11894 cat conftest.err >&5
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); } && { 11896 (exit $ac_status); } && {
11425 test -z "$ac_c_werror_flag" || 11897 test -z "$ac_c_werror_flag" ||
11426 test ! -s conftest.err 11898 test ! -s conftest.err
11427 } && test -s conftest.$ac_objext; then 11899 } && test -s conftest.$ac_objext; then
11428 ac_header_compiler=yes 11900 ac_header_compiler=yes
11429else 11901else
11430 echo "$as_me: failed program was:" >&5 11902 $as_echo "$as_me: failed program was:" >&5
11431sed 's/^/| /' conftest.$ac_ext >&5 11903sed 's/^/| /' conftest.$ac_ext >&5
11432 11904
11433 ac_header_compiler=no 11905 ac_header_compiler=no
11434fi 11906fi
11435 11907
11436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 11908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11437{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 11909{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11438echo "${ECHO_T}$ac_header_compiler" >&6; } 11910$as_echo "$ac_header_compiler" >&6; }
11439 11911
11440# Is the header present? 11912# Is the header present?
11441{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 11913{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11442echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 11914$as_echo_n "checking $ac_header presence... " >&6; }
11443cat >conftest.$ac_ext <<_ACEOF 11915cat >conftest.$ac_ext <<_ACEOF
11444/* confdefs.h. */ 11916/* confdefs.h. */
11445_ACEOF 11917_ACEOF
@@ -11453,51 +11925,52 @@ case "(($ac_try" in
11453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 11925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11454 *) ac_try_echo=$ac_try;; 11926 *) ac_try_echo=$ac_try;;
11455esac 11927esac
11456eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 11928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11929$as_echo "$ac_try_echo") >&5
11457 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 11930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11458 ac_status=$? 11931 ac_status=$?
11459 grep -v '^ *+' conftest.er1 >conftest.err 11932 grep -v '^ *+' conftest.er1 >conftest.err
11460 rm -f conftest.er1 11933 rm -f conftest.er1
11461 cat conftest.err >&5 11934 cat conftest.err >&5
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5 11935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); } >/dev/null && { 11936 (exit $ac_status); } >/dev/null && {
11464 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 11937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11465 test ! -s conftest.err 11938 test ! -s conftest.err
11466 }; then 11939 }; then
11467 ac_header_preproc=yes 11940 ac_header_preproc=yes
11468else 11941else
11469 echo "$as_me: failed program was:" >&5 11942 $as_echo "$as_me: failed program was:" >&5
11470sed 's/^/| /' conftest.$ac_ext >&5 11943sed 's/^/| /' conftest.$ac_ext >&5
11471 11944
11472 ac_header_preproc=no 11945 ac_header_preproc=no
11473fi 11946fi
11474 11947
11475rm -f conftest.err conftest.$ac_ext 11948rm -f conftest.err conftest.$ac_ext
11476{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 11949{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11477echo "${ECHO_T}$ac_header_preproc" >&6; } 11950$as_echo "$ac_header_preproc" >&6; }
11478 11951
11479# So? What about this header? 11952# So? What about this header?
11480case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 11953case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11481 yes:no: ) 11954 yes:no: )
11482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 11955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11483echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 11956$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 11957 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11485echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 11958$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11486 ac_header_preproc=yes 11959 ac_header_preproc=yes
11487 ;; 11960 ;;
11488 no:yes:* ) 11961 no:yes:* )
11489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 11962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11490echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 11963$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 11964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11492echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 11965$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 11966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11494echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 11967$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 11968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11496echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 11969$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 11970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11498echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 11971$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 11972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11500echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 11973$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11501 ( cat <<\_ASBOX 11974 ( cat <<\_ASBOX
11502## ------------------------------------------- ## 11975## ------------------------------------------- ##
11503## Report this to openssh-unix-dev@mindrot.org ## 11976## Report this to openssh-unix-dev@mindrot.org ##
@@ -11506,31 +11979,33 @@ _ASBOX
11506 ) | sed "s/^/$as_me: WARNING: /" >&2 11979 ) | sed "s/^/$as_me: WARNING: /" >&2
11507 ;; 11980 ;;
11508esac 11981esac
11509{ echo "$as_me:$LINENO: checking for $ac_header" >&5 11982{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11510echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 11983$as_echo_n "checking for $ac_header... " >&6; }
11511if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 11984if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11512 echo $ECHO_N "(cached) $ECHO_C" >&6 11985 $as_echo_n "(cached) " >&6
11513else 11986else
11514 eval "$as_ac_Header=\$ac_header_preproc" 11987 eval "$as_ac_Header=\$ac_header_preproc"
11515fi 11988fi
11516ac_res=`eval echo '${'$as_ac_Header'}'` 11989ac_res=`eval 'as_val=${'$as_ac_Header'}
11517 { echo "$as_me:$LINENO: result: $ac_res" >&5 11990 $as_echo "$as_val"'`
11518echo "${ECHO_T}$ac_res" >&6; } 11991 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11992$as_echo "$ac_res" >&6; }
11519 11993
11520fi 11994fi
11521if test `eval echo '${'$as_ac_Header'}'` = yes; then 11995if test `eval 'as_val=${'$as_ac_Header'}
11996 $as_echo "$as_val"'` = yes; then
11522 cat >>confdefs.h <<_ACEOF 11997 cat >>confdefs.h <<_ACEOF
11523#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 11998#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11524_ACEOF 11999_ACEOF
11525 12000
11526fi 12001fi
11527 12002
11528done 12003done
11529 12004
11530{ echo "$as_me:$LINENO: checking for library containing login" >&5 12005{ $as_echo "$as_me:$LINENO: checking for library containing login" >&5
11531echo $ECHO_N "checking for library containing login... $ECHO_C" >&6; } 12006$as_echo_n "checking for library containing login... " >&6; }
11532if test "${ac_cv_search_login+set}" = set; then 12007if test "${ac_cv_search_login+set}" = set; then
11533 echo $ECHO_N "(cached) $ECHO_C" >&6 12008 $as_echo_n "(cached) " >&6
11534else 12009else
11535 ac_func_search_save_LIBS=$LIBS 12010 ac_func_search_save_LIBS=$LIBS
11536cat >conftest.$ac_ext <<_ACEOF 12011cat >conftest.$ac_ext <<_ACEOF
@@ -11568,26 +12043,30 @@ case "(($ac_try" in
11568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11569 *) ac_try_echo=$ac_try;; 12044 *) ac_try_echo=$ac_try;;
11570esac 12045esac
11571eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12046eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12047$as_echo "$ac_try_echo") >&5
11572 (eval "$ac_link") 2>conftest.er1 12048 (eval "$ac_link") 2>conftest.er1
11573 ac_status=$? 12049 ac_status=$?
11574 grep -v '^ *+' conftest.er1 >conftest.err 12050 grep -v '^ *+' conftest.er1 >conftest.err
11575 rm -f conftest.er1 12051 rm -f conftest.er1
11576 cat conftest.err >&5 12052 cat conftest.err >&5
11577 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11578 (exit $ac_status); } && { 12054 (exit $ac_status); } && {
11579 test -z "$ac_c_werror_flag" || 12055 test -z "$ac_c_werror_flag" ||
11580 test ! -s conftest.err 12056 test ! -s conftest.err
11581 } && test -s conftest$ac_exeext && 12057 } && test -s conftest$ac_exeext && {
11582 $as_test_x conftest$ac_exeext; then 12058 test "$cross_compiling" = yes ||
12059 $as_test_x conftest$ac_exeext
12060 }; then
11583 ac_cv_search_login=$ac_res 12061 ac_cv_search_login=$ac_res
11584else 12062else
11585 echo "$as_me: failed program was:" >&5 12063 $as_echo "$as_me: failed program was:" >&5
11586sed 's/^/| /' conftest.$ac_ext >&5 12064sed 's/^/| /' conftest.$ac_ext >&5
11587 12065
11588 12066
11589fi 12067fi
11590 12068
12069rm -rf conftest.dSYM
11591rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12070rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11592 conftest$ac_exeext 12071 conftest$ac_exeext
11593 if test "${ac_cv_search_login+set}" = set; then 12072 if test "${ac_cv_search_login+set}" = set; then
@@ -11602,8 +12081,8 @@ fi
11602rm conftest.$ac_ext 12081rm conftest.$ac_ext
11603LIBS=$ac_func_search_save_LIBS 12082LIBS=$ac_func_search_save_LIBS
11604fi 12083fi
11605{ echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5 12084{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_login" >&5
11606echo "${ECHO_T}$ac_cv_search_login" >&6; } 12085$as_echo "$ac_cv_search_login" >&6; }
11607ac_res=$ac_cv_search_login 12086ac_res=$ac_cv_search_login
11608if test "$ac_res" != no; then 12087if test "$ac_res" != no; then
11609 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 12088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -11620,11 +12099,11 @@ fi
11620 12099
11621for ac_func in fmt_scaled logout updwtmp logwtmp 12100for ac_func in fmt_scaled logout updwtmp logwtmp
11622do 12101do
11623as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12102as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11624{ echo "$as_me:$LINENO: checking for $ac_func" >&5 12103{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11625echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 12104$as_echo_n "checking for $ac_func... " >&6; }
11626if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12105if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11627 echo $ECHO_N "(cached) $ECHO_C" >&6 12106 $as_echo_n "(cached) " >&6
11628else 12107else
11629 cat >conftest.$ac_ext <<_ACEOF 12108 cat >conftest.$ac_ext <<_ACEOF
11630/* confdefs.h. */ 12109/* confdefs.h. */
@@ -11677,35 +12156,41 @@ case "(($ac_try" in
11677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11678 *) ac_try_echo=$ac_try;; 12157 *) ac_try_echo=$ac_try;;
11679esac 12158esac
11680eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12160$as_echo "$ac_try_echo") >&5
11681 (eval "$ac_link") 2>conftest.er1 12161 (eval "$ac_link") 2>conftest.er1
11682 ac_status=$? 12162 ac_status=$?
11683 grep -v '^ *+' conftest.er1 >conftest.err 12163 grep -v '^ *+' conftest.er1 >conftest.err
11684 rm -f conftest.er1 12164 rm -f conftest.er1
11685 cat conftest.err >&5 12165 cat conftest.err >&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } && { 12167 (exit $ac_status); } && {
11688 test -z "$ac_c_werror_flag" || 12168 test -z "$ac_c_werror_flag" ||
11689 test ! -s conftest.err 12169 test ! -s conftest.err
11690 } && test -s conftest$ac_exeext && 12170 } && test -s conftest$ac_exeext && {
11691 $as_test_x conftest$ac_exeext; then 12171 test "$cross_compiling" = yes ||
12172 $as_test_x conftest$ac_exeext
12173 }; then
11692 eval "$as_ac_var=yes" 12174 eval "$as_ac_var=yes"
11693else 12175else
11694 echo "$as_me: failed program was:" >&5 12176 $as_echo "$as_me: failed program was:" >&5
11695sed 's/^/| /' conftest.$ac_ext >&5 12177sed 's/^/| /' conftest.$ac_ext >&5
11696 12178
11697 eval "$as_ac_var=no" 12179 eval "$as_ac_var=no"
11698fi 12180fi
11699 12181
12182rm -rf conftest.dSYM
11700rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12183rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11701 conftest$ac_exeext conftest.$ac_ext 12184 conftest$ac_exeext conftest.$ac_ext
11702fi 12185fi
11703ac_res=`eval echo '${'$as_ac_var'}'` 12186ac_res=`eval 'as_val=${'$as_ac_var'}
11704 { echo "$as_me:$LINENO: result: $ac_res" >&5 12187 $as_echo "$as_val"'`
11705echo "${ECHO_T}$ac_res" >&6; } 12188 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11706if test `eval echo '${'$as_ac_var'}'` = yes; then 12189$as_echo "$ac_res" >&6; }
12190if test `eval 'as_val=${'$as_ac_var'}
12191 $as_echo "$as_val"'` = yes; then
11707 cat >>confdefs.h <<_ACEOF 12192 cat >>confdefs.h <<_ACEOF
11708#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12193#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11709_ACEOF 12194_ACEOF
11710 12195
11711fi 12196fi
@@ -11715,11 +12200,11 @@ done
11715 12200
11716for ac_func in strftime 12201for ac_func in strftime
11717do 12202do
11718as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 12203as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11719{ echo "$as_me:$LINENO: checking for $ac_func" >&5 12204{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11720echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 12205$as_echo_n "checking for $ac_func... " >&6; }
11721if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 12206if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11722 echo $ECHO_N "(cached) $ECHO_C" >&6 12207 $as_echo_n "(cached) " >&6
11723else 12208else
11724 cat >conftest.$ac_ext <<_ACEOF 12209 cat >conftest.$ac_ext <<_ACEOF
11725/* confdefs.h. */ 12210/* confdefs.h. */
@@ -11772,43 +12257,49 @@ case "(($ac_try" in
11772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11773 *) ac_try_echo=$ac_try;; 12258 *) ac_try_echo=$ac_try;;
11774esac 12259esac
11775eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12261$as_echo "$ac_try_echo") >&5
11776 (eval "$ac_link") 2>conftest.er1 12262 (eval "$ac_link") 2>conftest.er1
11777 ac_status=$? 12263 ac_status=$?
11778 grep -v '^ *+' conftest.er1 >conftest.err 12264 grep -v '^ *+' conftest.er1 >conftest.err
11779 rm -f conftest.er1 12265 rm -f conftest.er1
11780 cat conftest.err >&5 12266 cat conftest.err >&5
11781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782 (exit $ac_status); } && { 12268 (exit $ac_status); } && {
11783 test -z "$ac_c_werror_flag" || 12269 test -z "$ac_c_werror_flag" ||
11784 test ! -s conftest.err 12270 test ! -s conftest.err
11785 } && test -s conftest$ac_exeext && 12271 } && test -s conftest$ac_exeext && {
11786 $as_test_x conftest$ac_exeext; then 12272 test "$cross_compiling" = yes ||
12273 $as_test_x conftest$ac_exeext
12274 }; then
11787 eval "$as_ac_var=yes" 12275 eval "$as_ac_var=yes"
11788else 12276else
11789 echo "$as_me: failed program was:" >&5 12277 $as_echo "$as_me: failed program was:" >&5
11790sed 's/^/| /' conftest.$ac_ext >&5 12278sed 's/^/| /' conftest.$ac_ext >&5
11791 12279
11792 eval "$as_ac_var=no" 12280 eval "$as_ac_var=no"
11793fi 12281fi
11794 12282
12283rm -rf conftest.dSYM
11795rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12284rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11796 conftest$ac_exeext conftest.$ac_ext 12285 conftest$ac_exeext conftest.$ac_ext
11797fi 12286fi
11798ac_res=`eval echo '${'$as_ac_var'}'` 12287ac_res=`eval 'as_val=${'$as_ac_var'}
11799 { echo "$as_me:$LINENO: result: $ac_res" >&5 12288 $as_echo "$as_val"'`
11800echo "${ECHO_T}$ac_res" >&6; } 12289 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11801if test `eval echo '${'$as_ac_var'}'` = yes; then 12290$as_echo "$ac_res" >&6; }
12291if test `eval 'as_val=${'$as_ac_var'}
12292 $as_echo "$as_val"'` = yes; then
11802 cat >>confdefs.h <<_ACEOF 12293 cat >>confdefs.h <<_ACEOF
11803#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 12294#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11804_ACEOF 12295_ACEOF
11805 12296
11806else 12297else
11807 # strftime is in -lintl on SCO UNIX. 12298 # strftime is in -lintl on SCO UNIX.
11808{ echo "$as_me:$LINENO: checking for strftime in -lintl" >&5 12299{ $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
11809echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; } 12300$as_echo_n "checking for strftime in -lintl... " >&6; }
11810if test "${ac_cv_lib_intl_strftime+set}" = set; then 12301if test "${ac_cv_lib_intl_strftime+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6 12302 $as_echo_n "(cached) " >&6
11812else 12303else
11813 ac_check_lib_save_LIBS=$LIBS 12304 ac_check_lib_save_LIBS=$LIBS
11814LIBS="-lintl $LIBS" 12305LIBS="-lintl $LIBS"
@@ -11840,32 +12331,36 @@ case "(($ac_try" in
11840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11841 *) ac_try_echo=$ac_try;; 12332 *) ac_try_echo=$ac_try;;
11842esac 12333esac
11843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12335$as_echo "$ac_try_echo") >&5
11844 (eval "$ac_link") 2>conftest.er1 12336 (eval "$ac_link") 2>conftest.er1
11845 ac_status=$? 12337 ac_status=$?
11846 grep -v '^ *+' conftest.er1 >conftest.err 12338 grep -v '^ *+' conftest.er1 >conftest.err
11847 rm -f conftest.er1 12339 rm -f conftest.er1
11848 cat conftest.err >&5 12340 cat conftest.err >&5
11849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } && { 12342 (exit $ac_status); } && {
11851 test -z "$ac_c_werror_flag" || 12343 test -z "$ac_c_werror_flag" ||
11852 test ! -s conftest.err 12344 test ! -s conftest.err
11853 } && test -s conftest$ac_exeext && 12345 } && test -s conftest$ac_exeext && {
11854 $as_test_x conftest$ac_exeext; then 12346 test "$cross_compiling" = yes ||
12347 $as_test_x conftest$ac_exeext
12348 }; then
11855 ac_cv_lib_intl_strftime=yes 12349 ac_cv_lib_intl_strftime=yes
11856else 12350else
11857 echo "$as_me: failed program was:" >&5 12351 $as_echo "$as_me: failed program was:" >&5
11858sed 's/^/| /' conftest.$ac_ext >&5 12352sed 's/^/| /' conftest.$ac_ext >&5
11859 12353
11860 ac_cv_lib_intl_strftime=no 12354 ac_cv_lib_intl_strftime=no
11861fi 12355fi
11862 12356
12357rm -rf conftest.dSYM
11863rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12358rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11864 conftest$ac_exeext conftest.$ac_ext 12359 conftest$ac_exeext conftest.$ac_ext
11865LIBS=$ac_check_lib_save_LIBS 12360LIBS=$ac_check_lib_save_LIBS
11866fi 12361fi
11867{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5 12362{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
11868echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; } 12363$as_echo "$ac_cv_lib_intl_strftime" >&6; }
11869if test $ac_cv_lib_intl_strftime = yes; then 12364if test $ac_cv_lib_intl_strftime = yes; then
11870 cat >>confdefs.h <<\_ACEOF 12365 cat >>confdefs.h <<\_ACEOF
11871#define HAVE_STRFTIME 1 12366#define HAVE_STRFTIME 1
@@ -11879,8 +12374,8 @@ done
11879 12374
11880 12375
11881# Check for ALTDIRFUNC glob() extension 12376# Check for ALTDIRFUNC glob() extension
11882{ echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5 12377{ $as_echo "$as_me:$LINENO: checking for GLOB_ALTDIRFUNC support" >&5
11883echo $ECHO_N "checking for GLOB_ALTDIRFUNC support... $ECHO_C" >&6; } 12378$as_echo_n "checking for GLOB_ALTDIRFUNC support... " >&6; }
11884cat >conftest.$ac_ext <<_ACEOF 12379cat >conftest.$ac_ext <<_ACEOF
11885/* confdefs.h. */ 12380/* confdefs.h. */
11886_ACEOF 12381_ACEOF
@@ -11902,13 +12397,13 @@ cat >>confdefs.h <<\_ACEOF
11902#define GLOB_HAS_ALTDIRFUNC 1 12397#define GLOB_HAS_ALTDIRFUNC 1
11903_ACEOF 12398_ACEOF
11904 12399
11905 { echo "$as_me:$LINENO: result: yes" >&5 12400 { $as_echo "$as_me:$LINENO: result: yes" >&5
11906echo "${ECHO_T}yes" >&6; } 12401$as_echo "yes" >&6; }
11907 12402
11908else 12403else
11909 12404
11910 { echo "$as_me:$LINENO: result: no" >&5 12405 { $as_echo "$as_me:$LINENO: result: no" >&5
11911echo "${ECHO_T}no" >&6; } 12406$as_echo "no" >&6; }
11912 12407
11913 12408
11914fi 12409fi
@@ -11916,8 +12411,8 @@ rm -f conftest*
11916 12411
11917 12412
11918# Check for g.gl_matchc glob() extension 12413# Check for g.gl_matchc glob() extension
11919{ echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5 12414{ $as_echo "$as_me:$LINENO: checking for gl_matchc field in glob_t" >&5
11920echo $ECHO_N "checking for gl_matchc field in glob_t... $ECHO_C" >&6; } 12415$as_echo_n "checking for gl_matchc field in glob_t... " >&6; }
11921cat >conftest.$ac_ext <<_ACEOF 12416cat >conftest.$ac_ext <<_ACEOF
11922/* confdefs.h. */ 12417/* confdefs.h. */
11923_ACEOF 12418_ACEOF
@@ -11939,13 +12434,14 @@ case "(($ac_try" in
11939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11940 *) ac_try_echo=$ac_try;; 12435 *) ac_try_echo=$ac_try;;
11941esac 12436esac
11942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12437eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12438$as_echo "$ac_try_echo") >&5
11943 (eval "$ac_compile") 2>conftest.er1 12439 (eval "$ac_compile") 2>conftest.er1
11944 ac_status=$? 12440 ac_status=$?
11945 grep -v '^ *+' conftest.er1 >conftest.err 12441 grep -v '^ *+' conftest.er1 >conftest.err
11946 rm -f conftest.er1 12442 rm -f conftest.er1
11947 cat conftest.err >&5 12443 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } && { 12445 (exit $ac_status); } && {
11950 test -z "$ac_c_werror_flag" || 12446 test -z "$ac_c_werror_flag" ||
11951 test ! -s conftest.err 12447 test ! -s conftest.err
@@ -11956,26 +12452,26 @@ cat >>confdefs.h <<\_ACEOF
11956#define GLOB_HAS_GL_MATCHC 1 12452#define GLOB_HAS_GL_MATCHC 1
11957_ACEOF 12453_ACEOF
11958 12454
11959 { echo "$as_me:$LINENO: result: yes" >&5 12455 { $as_echo "$as_me:$LINENO: result: yes" >&5
11960echo "${ECHO_T}yes" >&6; } 12456$as_echo "yes" >&6; }
11961 12457
11962else 12458else
11963 echo "$as_me: failed program was:" >&5 12459 $as_echo "$as_me: failed program was:" >&5
11964sed 's/^/| /' conftest.$ac_ext >&5 12460sed 's/^/| /' conftest.$ac_ext >&5
11965 12461
11966 12462
11967 { echo "$as_me:$LINENO: result: no" >&5 12463 { $as_echo "$as_me:$LINENO: result: no" >&5
11968echo "${ECHO_T}no" >&6; } 12464$as_echo "no" >&6; }
11969 12465
11970 12466
11971fi 12467fi
11972 12468
11973rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11974 12470
11975{ echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5 12471{ $as_echo "$as_me:$LINENO: checking whether GLOB_NOMATCH is declared" >&5
11976echo $ECHO_N "checking whether GLOB_NOMATCH is declared... $ECHO_C" >&6; } 12472$as_echo_n "checking whether GLOB_NOMATCH is declared... " >&6; }
11977if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then 12473if test "${ac_cv_have_decl_GLOB_NOMATCH+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6 12474 $as_echo_n "(cached) " >&6
11979else 12475else
11980 cat >conftest.$ac_ext <<_ACEOF 12476 cat >conftest.$ac_ext <<_ACEOF
11981/* confdefs.h. */ 12477/* confdefs.h. */
@@ -12002,20 +12498,21 @@ case "(($ac_try" in
12002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12003 *) ac_try_echo=$ac_try;; 12499 *) ac_try_echo=$ac_try;;
12004esac 12500esac
12005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12501eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12502$as_echo "$ac_try_echo") >&5
12006 (eval "$ac_compile") 2>conftest.er1 12503 (eval "$ac_compile") 2>conftest.er1
12007 ac_status=$? 12504 ac_status=$?
12008 grep -v '^ *+' conftest.er1 >conftest.err 12505 grep -v '^ *+' conftest.er1 >conftest.err
12009 rm -f conftest.er1 12506 rm -f conftest.er1
12010 cat conftest.err >&5 12507 cat conftest.err >&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); } && { 12509 (exit $ac_status); } && {
12013 test -z "$ac_c_werror_flag" || 12510 test -z "$ac_c_werror_flag" ||
12014 test ! -s conftest.err 12511 test ! -s conftest.err
12015 } && test -s conftest.$ac_objext; then 12512 } && test -s conftest.$ac_objext; then
12016 ac_cv_have_decl_GLOB_NOMATCH=yes 12513 ac_cv_have_decl_GLOB_NOMATCH=yes
12017else 12514else
12018 echo "$as_me: failed program was:" >&5 12515 $as_echo "$as_me: failed program was:" >&5
12019sed 's/^/| /' conftest.$ac_ext >&5 12516sed 's/^/| /' conftest.$ac_ext >&5
12020 12517
12021 ac_cv_have_decl_GLOB_NOMATCH=no 12518 ac_cv_have_decl_GLOB_NOMATCH=no
@@ -12023,8 +12520,8 @@ fi
12023 12520
12024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 12521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12025fi 12522fi
12026{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5 12523{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_GLOB_NOMATCH" >&5
12027echo "${ECHO_T}$ac_cv_have_decl_GLOB_NOMATCH" >&6; } 12524$as_echo "$ac_cv_have_decl_GLOB_NOMATCH" >&6; }
12028if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then 12525if test $ac_cv_have_decl_GLOB_NOMATCH = yes; then
12029 12526
12030cat >>confdefs.h <<_ACEOF 12527cat >>confdefs.h <<_ACEOF
@@ -12042,12 +12539,12 @@ fi
12042 12539
12043 12540
12044 12541
12045{ echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5 12542{ $as_echo "$as_me:$LINENO: checking whether struct dirent allocates space for d_name" >&5
12046echo $ECHO_N "checking whether struct dirent allocates space for d_name... $ECHO_C" >&6; } 12543$as_echo_n "checking whether struct dirent allocates space for d_name... " >&6; }
12047if test "$cross_compiling" = yes; then 12544if test "$cross_compiling" = yes; then
12048 12545
12049 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5 12546 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&5
12050echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;} 12547$as_echo "$as_me: WARNING: cross compiling: assuming BROKEN_ONE_BYTE_DIRENT_D_NAME" >&2;}
12051 cat >>confdefs.h <<\_ACEOF 12548 cat >>confdefs.h <<\_ACEOF
12052#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 12549#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
12053_ACEOF 12550_ACEOF
@@ -12073,31 +12570,33 @@ case "(($ac_try" in
12073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12074 *) ac_try_echo=$ac_try;; 12571 *) ac_try_echo=$ac_try;;
12075esac 12572esac
12076eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12574$as_echo "$ac_try_echo") >&5
12077 (eval "$ac_link") 2>&5 12575 (eval "$ac_link") 2>&5
12078 ac_status=$? 12576 ac_status=$?
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 12578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12081 { (case "(($ac_try" in 12579 { (case "(($ac_try" in
12082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083 *) ac_try_echo=$ac_try;; 12581 *) ac_try_echo=$ac_try;;
12084esac 12582esac
12085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12583eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12584$as_echo "$ac_try_echo") >&5
12086 (eval "$ac_try") 2>&5 12585 (eval "$ac_try") 2>&5
12087 ac_status=$? 12586 ac_status=$?
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); }; }; then 12588 (exit $ac_status); }; }; then
12090 { echo "$as_me:$LINENO: result: yes" >&5 12589 { $as_echo "$as_me:$LINENO: result: yes" >&5
12091echo "${ECHO_T}yes" >&6; } 12590$as_echo "yes" >&6; }
12092else 12591else
12093 echo "$as_me: program exited with status $ac_status" >&5 12592 $as_echo "$as_me: program exited with status $ac_status" >&5
12094echo "$as_me: failed program was:" >&5 12593$as_echo "$as_me: failed program was:" >&5
12095sed 's/^/| /' conftest.$ac_ext >&5 12594sed 's/^/| /' conftest.$ac_ext >&5
12096 12595
12097( exit $ac_status ) 12596( exit $ac_status )
12098 12597
12099 { echo "$as_me:$LINENO: result: no" >&5 12598 { $as_echo "$as_me:$LINENO: result: no" >&5
12100echo "${ECHO_T}no" >&6; } 12599$as_echo "no" >&6; }
12101 12600
12102cat >>confdefs.h <<\_ACEOF 12601cat >>confdefs.h <<\_ACEOF
12103#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1 12602#define BROKEN_ONE_BYTE_DIRENT_D_NAME 1
@@ -12105,24 +12604,25 @@ _ACEOF
12105 12604
12106 12605
12107fi 12606fi
12607rm -rf conftest.dSYM
12108rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 12608rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12109fi 12609fi
12110 12610
12111 12611
12112 12612
12113{ echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5 12613{ $as_echo "$as_me:$LINENO: checking for /proc/pid/fd directory" >&5
12114echo $ECHO_N "checking for /proc/pid/fd directory... $ECHO_C" >&6; } 12614$as_echo_n "checking for /proc/pid/fd directory... " >&6; }
12115if test -d "/proc/$$/fd" ; then 12615if test -d "/proc/$$/fd" ; then
12116 12616
12117cat >>confdefs.h <<\_ACEOF 12617cat >>confdefs.h <<\_ACEOF
12118#define HAVE_PROC_PID 1 12618#define HAVE_PROC_PID 1
12119_ACEOF 12619_ACEOF
12120 12620
12121 { echo "$as_me:$LINENO: result: yes" >&5 12621 { $as_echo "$as_me:$LINENO: result: yes" >&5
12122echo "${ECHO_T}yes" >&6; } 12622$as_echo "yes" >&6; }
12123else 12623else
12124 { echo "$as_me:$LINENO: result: no" >&5 12624 { $as_echo "$as_me:$LINENO: result: no" >&5
12125echo "${ECHO_T}no" >&6; } 12625$as_echo "no" >&6; }
12126fi 12626fi
12127 12627
12128# Check whether user wants S/Key support 12628# Check whether user wants S/Key support
@@ -12146,8 +12646,8 @@ _ACEOF
12146 LIBS="-lskey $LIBS" 12646 LIBS="-lskey $LIBS"
12147 SKEY_MSG="yes" 12647 SKEY_MSG="yes"
12148 12648
12149 { echo "$as_me:$LINENO: checking for s/key support" >&5 12649 { $as_echo "$as_me:$LINENO: checking for s/key support" >&5
12150echo $ECHO_N "checking for s/key support... $ECHO_C" >&6; } 12650$as_echo_n "checking for s/key support... " >&6; }
12151 cat >conftest.$ac_ext <<_ACEOF 12651 cat >conftest.$ac_ext <<_ACEOF
12152/* confdefs.h. */ 12652/* confdefs.h. */
12153_ACEOF 12653_ACEOF
@@ -12166,37 +12666,41 @@ case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;; 12667 *) ac_try_echo=$ac_try;;
12168esac 12668esac
12169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12669eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12670$as_echo "$ac_try_echo") >&5
12170 (eval "$ac_link") 2>conftest.er1 12671 (eval "$ac_link") 2>conftest.er1
12171 ac_status=$? 12672 ac_status=$?
12172 grep -v '^ *+' conftest.er1 >conftest.err 12673 grep -v '^ *+' conftest.er1 >conftest.err
12173 rm -f conftest.er1 12674 rm -f conftest.er1
12174 cat conftest.err >&5 12675 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } && { 12677 (exit $ac_status); } && {
12177 test -z "$ac_c_werror_flag" || 12678 test -z "$ac_c_werror_flag" ||
12178 test ! -s conftest.err 12679 test ! -s conftest.err
12179 } && test -s conftest$ac_exeext && 12680 } && test -s conftest$ac_exeext && {
12180 $as_test_x conftest$ac_exeext; then 12681 test "$cross_compiling" = yes ||
12181 { echo "$as_me:$LINENO: result: yes" >&5 12682 $as_test_x conftest$ac_exeext
12182echo "${ECHO_T}yes" >&6; } 12683 }; then
12684 { $as_echo "$as_me:$LINENO: result: yes" >&5
12685$as_echo "yes" >&6; }
12183else 12686else
12184 echo "$as_me: failed program was:" >&5 12687 $as_echo "$as_me: failed program was:" >&5
12185sed 's/^/| /' conftest.$ac_ext >&5 12688sed 's/^/| /' conftest.$ac_ext >&5
12186 12689
12187 12690
12188 { echo "$as_me:$LINENO: result: no" >&5 12691 { $as_echo "$as_me:$LINENO: result: no" >&5
12189echo "${ECHO_T}no" >&6; } 12692$as_echo "no" >&6; }
12190 { { echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5 12693 { { $as_echo "$as_me:$LINENO: error: ** Incomplete or missing s/key libraries." >&5
12191echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;} 12694$as_echo "$as_me: error: ** Incomplete or missing s/key libraries." >&2;}
12192 { (exit 1); exit 1; }; } 12695 { (exit 1); exit 1; }; }
12193 12696
12194fi 12697fi
12195 12698
12699rm -rf conftest.dSYM
12196rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12700rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12197 conftest$ac_exeext conftest.$ac_ext 12701 conftest$ac_exeext conftest.$ac_ext
12198 { echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5 12702 { $as_echo "$as_me:$LINENO: checking if skeychallenge takes 4 arguments" >&5
12199echo $ECHO_N "checking if skeychallenge takes 4 arguments... $ECHO_C" >&6; } 12703$as_echo_n "checking if skeychallenge takes 4 arguments... " >&6; }
12200 cat >conftest.$ac_ext <<_ACEOF 12704 cat >conftest.$ac_ext <<_ACEOF
12201/* confdefs.h. */ 12705/* confdefs.h. */
12202_ACEOF 12706_ACEOF
@@ -12219,30 +12723,31 @@ case "(($ac_try" in
12219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12220 *) ac_try_echo=$ac_try;; 12724 *) ac_try_echo=$ac_try;;
12221esac 12725esac
12222eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12726eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12727$as_echo "$ac_try_echo") >&5
12223 (eval "$ac_compile") 2>conftest.er1 12728 (eval "$ac_compile") 2>conftest.er1
12224 ac_status=$? 12729 ac_status=$?
12225 grep -v '^ *+' conftest.er1 >conftest.err 12730 grep -v '^ *+' conftest.er1 >conftest.err
12226 rm -f conftest.er1 12731 rm -f conftest.er1
12227 cat conftest.err >&5 12732 cat conftest.err >&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12733 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); } && { 12734 (exit $ac_status); } && {
12230 test -z "$ac_c_werror_flag" || 12735 test -z "$ac_c_werror_flag" ||
12231 test ! -s conftest.err 12736 test ! -s conftest.err
12232 } && test -s conftest.$ac_objext; then 12737 } && test -s conftest.$ac_objext; then
12233 { echo "$as_me:$LINENO: result: yes" >&5 12738 { $as_echo "$as_me:$LINENO: result: yes" >&5
12234echo "${ECHO_T}yes" >&6; } 12739$as_echo "yes" >&6; }
12235 12740
12236cat >>confdefs.h <<\_ACEOF 12741cat >>confdefs.h <<\_ACEOF
12237#define SKEYCHALLENGE_4ARG 1 12742#define SKEYCHALLENGE_4ARG 1
12238_ACEOF 12743_ACEOF
12239 12744
12240else 12745else
12241 echo "$as_me: failed program was:" >&5 12746 $as_echo "$as_me: failed program was:" >&5
12242sed 's/^/| /' conftest.$ac_ext >&5 12747sed 's/^/| /' conftest.$ac_ext >&5
12243 12748
12244 { echo "$as_me:$LINENO: result: no" >&5 12749 { $as_echo "$as_me:$LINENO: result: no" >&5
12245echo "${ECHO_T}no" >&6; } 12750$as_echo "no" >&6; }
12246 12751
12247fi 12752fi
12248 12753
@@ -12285,8 +12790,8 @@ if test "${with_tcp_wrappers+set}" = set; then
12285 fi 12790 fi
12286 fi 12791 fi
12287 LIBS="-lwrap $LIBS" 12792 LIBS="-lwrap $LIBS"
12288 { echo "$as_me:$LINENO: checking for libwrap" >&5 12793 { $as_echo "$as_me:$LINENO: checking for libwrap" >&5
12289echo $ECHO_N "checking for libwrap... $ECHO_C" >&6; } 12794$as_echo_n "checking for libwrap... " >&6; }
12290 cat >conftest.$ac_ext <<_ACEOF 12795 cat >conftest.$ac_ext <<_ACEOF
12291/* confdefs.h. */ 12796/* confdefs.h. */
12292_ACEOF 12797_ACEOF
@@ -12314,21 +12819,24 @@ case "(($ac_try" in
12314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12315 *) ac_try_echo=$ac_try;; 12820 *) ac_try_echo=$ac_try;;
12316esac 12821esac
12317eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12822eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12823$as_echo "$ac_try_echo") >&5
12318 (eval "$ac_link") 2>conftest.er1 12824 (eval "$ac_link") 2>conftest.er1
12319 ac_status=$? 12825 ac_status=$?
12320 grep -v '^ *+' conftest.er1 >conftest.err 12826 grep -v '^ *+' conftest.er1 >conftest.err
12321 rm -f conftest.er1 12827 rm -f conftest.er1
12322 cat conftest.err >&5 12828 cat conftest.err >&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); } && { 12830 (exit $ac_status); } && {
12325 test -z "$ac_c_werror_flag" || 12831 test -z "$ac_c_werror_flag" ||
12326 test ! -s conftest.err 12832 test ! -s conftest.err
12327 } && test -s conftest$ac_exeext && 12833 } && test -s conftest$ac_exeext && {
12328 $as_test_x conftest$ac_exeext; then 12834 test "$cross_compiling" = yes ||
12835 $as_test_x conftest$ac_exeext
12836 }; then
12329 12837
12330 { echo "$as_me:$LINENO: result: yes" >&5 12838 { $as_echo "$as_me:$LINENO: result: yes" >&5
12331echo "${ECHO_T}yes" >&6; } 12839$as_echo "yes" >&6; }
12332 12840
12333cat >>confdefs.h <<\_ACEOF 12841cat >>confdefs.h <<\_ACEOF
12334#define LIBWRAP 1 12842#define LIBWRAP 1
@@ -12338,17 +12846,18 @@ _ACEOF
12338 TCPW_MSG="yes" 12846 TCPW_MSG="yes"
12339 12847
12340else 12848else
12341 echo "$as_me: failed program was:" >&5 12849 $as_echo "$as_me: failed program was:" >&5
12342sed 's/^/| /' conftest.$ac_ext >&5 12850sed 's/^/| /' conftest.$ac_ext >&5
12343 12851
12344 12852
12345 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5 12853 { { $as_echo "$as_me:$LINENO: error: *** libwrap missing" >&5
12346echo "$as_me: error: *** libwrap missing" >&2;} 12854$as_echo "$as_me: error: *** libwrap missing" >&2;}
12347 { (exit 1); exit 1; }; } 12855 { (exit 1); exit 1; }; }
12348 12856
12349 12857
12350fi 12858fi
12351 12859
12860rm -rf conftest.dSYM
12352rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12861rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12353 conftest$ac_exeext conftest.$ac_ext 12862 conftest$ac_exeext conftest.$ac_ext
12354 LIBS="$saved_LIBS" 12863 LIBS="$saved_LIBS"
@@ -12372,10 +12881,10 @@ if test "${with_libedit+set}" = set; then
12372 LDFLAGS="-L${withval}/lib ${LDFLAGS}" 12881 LDFLAGS="-L${withval}/lib ${LDFLAGS}"
12373 fi 12882 fi
12374 fi 12883 fi
12375 { echo "$as_me:$LINENO: checking for el_init in -ledit" >&5 12884 { $as_echo "$as_me:$LINENO: checking for el_init in -ledit" >&5
12376echo $ECHO_N "checking for el_init in -ledit... $ECHO_C" >&6; } 12885$as_echo_n "checking for el_init in -ledit... " >&6; }
12377if test "${ac_cv_lib_edit_el_init+set}" = set; then 12886if test "${ac_cv_lib_edit_el_init+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6 12887 $as_echo_n "(cached) " >&6
12379else 12888else
12380 ac_check_lib_save_LIBS=$LIBS 12889 ac_check_lib_save_LIBS=$LIBS
12381LIBS="-ledit -lcurses 12890LIBS="-ledit -lcurses
@@ -12408,32 +12917,36 @@ case "(($ac_try" in
12408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12409 *) ac_try_echo=$ac_try;; 12918 *) ac_try_echo=$ac_try;;
12410esac 12919esac
12411eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12920eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12921$as_echo "$ac_try_echo") >&5
12412 (eval "$ac_link") 2>conftest.er1 12922 (eval "$ac_link") 2>conftest.er1
12413 ac_status=$? 12923 ac_status=$?
12414 grep -v '^ *+' conftest.er1 >conftest.err 12924 grep -v '^ *+' conftest.er1 >conftest.err
12415 rm -f conftest.er1 12925 rm -f conftest.er1
12416 cat conftest.err >&5 12926 cat conftest.err >&5
12417 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12418 (exit $ac_status); } && { 12928 (exit $ac_status); } && {
12419 test -z "$ac_c_werror_flag" || 12929 test -z "$ac_c_werror_flag" ||
12420 test ! -s conftest.err 12930 test ! -s conftest.err
12421 } && test -s conftest$ac_exeext && 12931 } && test -s conftest$ac_exeext && {
12422 $as_test_x conftest$ac_exeext; then 12932 test "$cross_compiling" = yes ||
12933 $as_test_x conftest$ac_exeext
12934 }; then
12423 ac_cv_lib_edit_el_init=yes 12935 ac_cv_lib_edit_el_init=yes
12424else 12936else
12425 echo "$as_me: failed program was:" >&5 12937 $as_echo "$as_me: failed program was:" >&5
12426sed 's/^/| /' conftest.$ac_ext >&5 12938sed 's/^/| /' conftest.$ac_ext >&5
12427 12939
12428 ac_cv_lib_edit_el_init=no 12940 ac_cv_lib_edit_el_init=no
12429fi 12941fi
12430 12942
12943rm -rf conftest.dSYM
12431rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 12944rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12432 conftest$ac_exeext conftest.$ac_ext 12945 conftest$ac_exeext conftest.$ac_ext
12433LIBS=$ac_check_lib_save_LIBS 12946LIBS=$ac_check_lib_save_LIBS
12434fi 12947fi
12435{ echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5 12948{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_edit_el_init" >&5
12436echo "${ECHO_T}$ac_cv_lib_edit_el_init" >&6; } 12949$as_echo "$ac_cv_lib_edit_el_init" >&6; }
12437if test $ac_cv_lib_edit_el_init = yes; then 12950if test $ac_cv_lib_edit_el_init = yes; then
12438 12951
12439cat >>confdefs.h <<\_ACEOF 12952cat >>confdefs.h <<\_ACEOF
@@ -12445,13 +12958,13 @@ _ACEOF
12445 12958
12446 12959
12447else 12960else
12448 { { echo "$as_me:$LINENO: error: libedit not found" >&5 12961 { { $as_echo "$as_me:$LINENO: error: libedit not found" >&5
12449echo "$as_me: error: libedit not found" >&2;} 12962$as_echo "$as_me: error: libedit not found" >&2;}
12450 { (exit 1); exit 1; }; } 12963 { (exit 1); exit 1; }; }
12451fi 12964fi
12452 12965
12453 { echo "$as_me:$LINENO: checking if libedit version is compatible" >&5 12966 { $as_echo "$as_me:$LINENO: checking if libedit version is compatible" >&5
12454echo $ECHO_N "checking if libedit version is compatible... $ECHO_C" >&6; } 12967$as_echo_n "checking if libedit version is compatible... " >&6; }
12455 cat >conftest.$ac_ext <<_ACEOF 12968 cat >conftest.$ac_ext <<_ACEOF
12456/* confdefs.h. */ 12969/* confdefs.h. */
12457_ACEOF 12970_ACEOF
@@ -12474,27 +12987,28 @@ case "(($ac_try" in
12474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 12987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12475 *) ac_try_echo=$ac_try;; 12988 *) ac_try_echo=$ac_try;;
12476esac 12989esac
12477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 12990eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12991$as_echo "$ac_try_echo") >&5
12478 (eval "$ac_compile") 2>conftest.er1 12992 (eval "$ac_compile") 2>conftest.er1
12479 ac_status=$? 12993 ac_status=$?
12480 grep -v '^ *+' conftest.er1 >conftest.err 12994 grep -v '^ *+' conftest.er1 >conftest.err
12481 rm -f conftest.er1 12995 rm -f conftest.er1
12482 cat conftest.err >&5 12996 cat conftest.err >&5
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5 12997 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); } && { 12998 (exit $ac_status); } && {
12485 test -z "$ac_c_werror_flag" || 12999 test -z "$ac_c_werror_flag" ||
12486 test ! -s conftest.err 13000 test ! -s conftest.err
12487 } && test -s conftest.$ac_objext; then 13001 } && test -s conftest.$ac_objext; then
12488 { echo "$as_me:$LINENO: result: yes" >&5 13002 { $as_echo "$as_me:$LINENO: result: yes" >&5
12489echo "${ECHO_T}yes" >&6; } 13003$as_echo "yes" >&6; }
12490else 13004else
12491 echo "$as_me: failed program was:" >&5 13005 $as_echo "$as_me: failed program was:" >&5
12492sed 's/^/| /' conftest.$ac_ext >&5 13006sed 's/^/| /' conftest.$ac_ext >&5
12493 13007
12494 { echo "$as_me:$LINENO: result: no" >&5 13008 { $as_echo "$as_me:$LINENO: result: no" >&5
12495echo "${ECHO_T}no" >&6; } 13009$as_echo "no" >&6; }
12496 { { echo "$as_me:$LINENO: error: libedit version is not compatible" >&5 13010 { { $as_echo "$as_me:$LINENO: error: libedit version is not compatible" >&5
12497echo "$as_me: error: libedit version is not compatible" >&2;} 13011$as_echo "$as_me: error: libedit version is not compatible" >&2;}
12498 { (exit 1); exit 1; }; } 13012 { (exit 1); exit 1; }; }
12499 13013
12500fi 13014fi
@@ -12510,21 +13024,21 @@ AUDIT_MODULE=none
12510# Check whether --with-audit was given. 13024# Check whether --with-audit was given.
12511if test "${with_audit+set}" = set; then 13025if test "${with_audit+set}" = set; then
12512 withval=$with_audit; 13026 withval=$with_audit;
12513 { echo "$as_me:$LINENO: checking for supported audit module" >&5 13027 { $as_echo "$as_me:$LINENO: checking for supported audit module" >&5
12514echo $ECHO_N "checking for supported audit module... $ECHO_C" >&6; } 13028$as_echo_n "checking for supported audit module... " >&6; }
12515 case "$withval" in 13029 case "$withval" in
12516 bsm) 13030 bsm)
12517 { echo "$as_me:$LINENO: result: bsm" >&5 13031 { $as_echo "$as_me:$LINENO: result: bsm" >&5
12518echo "${ECHO_T}bsm" >&6; } 13032$as_echo "bsm" >&6; }
12519 AUDIT_MODULE=bsm 13033 AUDIT_MODULE=bsm
12520 13034
12521for ac_header in bsm/audit.h 13035for ac_header in bsm/audit.h
12522do 13036do
12523as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 13037as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12524{ echo "$as_me:$LINENO: checking for $ac_header" >&5 13038{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12525echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 13039$as_echo_n "checking for $ac_header... " >&6; }
12526if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 13040if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6 13041 $as_echo_n "(cached) " >&6
12528else 13042else
12529 cat >conftest.$ac_ext <<_ACEOF 13043 cat >conftest.$ac_ext <<_ACEOF
12530/* confdefs.h. */ 13044/* confdefs.h. */
@@ -12547,20 +13061,21 @@ case "(($ac_try" in
12547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12548 *) ac_try_echo=$ac_try;; 13062 *) ac_try_echo=$ac_try;;
12549esac 13063esac
12550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13064eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13065$as_echo "$ac_try_echo") >&5
12551 (eval "$ac_compile") 2>conftest.er1 13066 (eval "$ac_compile") 2>conftest.er1
12552 ac_status=$? 13067 ac_status=$?
12553 grep -v '^ *+' conftest.er1 >conftest.err 13068 grep -v '^ *+' conftest.er1 >conftest.err
12554 rm -f conftest.er1 13069 rm -f conftest.er1
12555 cat conftest.err >&5 13070 cat conftest.err >&5
12556 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13071 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557 (exit $ac_status); } && { 13072 (exit $ac_status); } && {
12558 test -z "$ac_c_werror_flag" || 13073 test -z "$ac_c_werror_flag" ||
12559 test ! -s conftest.err 13074 test ! -s conftest.err
12560 } && test -s conftest.$ac_objext; then 13075 } && test -s conftest.$ac_objext; then
12561 eval "$as_ac_Header=yes" 13076 eval "$as_ac_Header=yes"
12562else 13077else
12563 echo "$as_me: failed program was:" >&5 13078 $as_echo "$as_me: failed program was:" >&5
12564sed 's/^/| /' conftest.$ac_ext >&5 13079sed 's/^/| /' conftest.$ac_ext >&5
12565 13080
12566 eval "$as_ac_Header=no" 13081 eval "$as_ac_Header=no"
@@ -12568,27 +13083,29 @@ fi
12568 13083
12569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12570fi 13085fi
12571ac_res=`eval echo '${'$as_ac_Header'}'` 13086ac_res=`eval 'as_val=${'$as_ac_Header'}
12572 { echo "$as_me:$LINENO: result: $ac_res" >&5 13087 $as_echo "$as_val"'`
12573echo "${ECHO_T}$ac_res" >&6; } 13088 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12574if test `eval echo '${'$as_ac_Header'}'` = yes; then 13089$as_echo "$ac_res" >&6; }
13090if test `eval 'as_val=${'$as_ac_Header'}
13091 $as_echo "$as_val"'` = yes; then
12575 cat >>confdefs.h <<_ACEOF 13092 cat >>confdefs.h <<_ACEOF
12576#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 13093#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12577_ACEOF 13094_ACEOF
12578 13095
12579else 13096else
12580 { { echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5 13097 { { $as_echo "$as_me:$LINENO: error: BSM enabled and bsm/audit.h not found" >&5
12581echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;} 13098$as_echo "$as_me: error: BSM enabled and bsm/audit.h not found" >&2;}
12582 { (exit 1); exit 1; }; } 13099 { (exit 1); exit 1; }; }
12583fi 13100fi
12584 13101
12585done 13102done
12586 13103
12587 13104
12588{ echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5 13105{ $as_echo "$as_me:$LINENO: checking for getaudit in -lbsm" >&5
12589echo $ECHO_N "checking for getaudit in -lbsm... $ECHO_C" >&6; } 13106$as_echo_n "checking for getaudit in -lbsm... " >&6; }
12590if test "${ac_cv_lib_bsm_getaudit+set}" = set; then 13107if test "${ac_cv_lib_bsm_getaudit+set}" = set; then
12591 echo $ECHO_N "(cached) $ECHO_C" >&6 13108 $as_echo_n "(cached) " >&6
12592else 13109else
12593 ac_check_lib_save_LIBS=$LIBS 13110 ac_check_lib_save_LIBS=$LIBS
12594LIBS="-lbsm $LIBS" 13111LIBS="-lbsm $LIBS"
@@ -12620,32 +13137,36 @@ case "(($ac_try" in
12620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12621 *) ac_try_echo=$ac_try;; 13138 *) ac_try_echo=$ac_try;;
12622esac 13139esac
12623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13141$as_echo "$ac_try_echo") >&5
12624 (eval "$ac_link") 2>conftest.er1 13142 (eval "$ac_link") 2>conftest.er1
12625 ac_status=$? 13143 ac_status=$?
12626 grep -v '^ *+' conftest.er1 >conftest.err 13144 grep -v '^ *+' conftest.er1 >conftest.err
12627 rm -f conftest.er1 13145 rm -f conftest.er1
12628 cat conftest.err >&5 13146 cat conftest.err >&5
12629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12630 (exit $ac_status); } && { 13148 (exit $ac_status); } && {
12631 test -z "$ac_c_werror_flag" || 13149 test -z "$ac_c_werror_flag" ||
12632 test ! -s conftest.err 13150 test ! -s conftest.err
12633 } && test -s conftest$ac_exeext && 13151 } && test -s conftest$ac_exeext && {
12634 $as_test_x conftest$ac_exeext; then 13152 test "$cross_compiling" = yes ||
13153 $as_test_x conftest$ac_exeext
13154 }; then
12635 ac_cv_lib_bsm_getaudit=yes 13155 ac_cv_lib_bsm_getaudit=yes
12636else 13156else
12637 echo "$as_me: failed program was:" >&5 13157 $as_echo "$as_me: failed program was:" >&5
12638sed 's/^/| /' conftest.$ac_ext >&5 13158sed 's/^/| /' conftest.$ac_ext >&5
12639 13159
12640 ac_cv_lib_bsm_getaudit=no 13160 ac_cv_lib_bsm_getaudit=no
12641fi 13161fi
12642 13162
13163rm -rf conftest.dSYM
12643rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13164rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12644 conftest$ac_exeext conftest.$ac_ext 13165 conftest$ac_exeext conftest.$ac_ext
12645LIBS=$ac_check_lib_save_LIBS 13166LIBS=$ac_check_lib_save_LIBS
12646fi 13167fi
12647{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5 13168{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsm_getaudit" >&5
12648echo "${ECHO_T}$ac_cv_lib_bsm_getaudit" >&6; } 13169$as_echo "$ac_cv_lib_bsm_getaudit" >&6; }
12649if test $ac_cv_lib_bsm_getaudit = yes; then 13170if test $ac_cv_lib_bsm_getaudit = yes; then
12650 cat >>confdefs.h <<_ACEOF 13171 cat >>confdefs.h <<_ACEOF
12651#define HAVE_LIBBSM 1 13172#define HAVE_LIBBSM 1
@@ -12654,19 +13175,19 @@ _ACEOF
12654 LIBS="-lbsm $LIBS" 13175 LIBS="-lbsm $LIBS"
12655 13176
12656else 13177else
12657 { { echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5 13178 { { $as_echo "$as_me:$LINENO: error: BSM enabled and required library not found" >&5
12658echo "$as_me: error: BSM enabled and required library not found" >&2;} 13179$as_echo "$as_me: error: BSM enabled and required library not found" >&2;}
12659 { (exit 1); exit 1; }; } 13180 { (exit 1); exit 1; }; }
12660fi 13181fi
12661 13182
12662 13183
12663for ac_func in getaudit 13184for ac_func in getaudit
12664do 13185do
12665as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13186as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12666{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13187{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12667echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13188$as_echo_n "checking for $ac_func... " >&6; }
12668if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13189if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6 13190 $as_echo_n "(cached) " >&6
12670else 13191else
12671 cat >conftest.$ac_ext <<_ACEOF 13192 cat >conftest.$ac_ext <<_ACEOF
12672/* confdefs.h. */ 13193/* confdefs.h. */
@@ -12719,40 +13240,46 @@ case "(($ac_try" in
12719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12720 *) ac_try_echo=$ac_try;; 13241 *) ac_try_echo=$ac_try;;
12721esac 13242esac
12722eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13243eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13244$as_echo "$ac_try_echo") >&5
12723 (eval "$ac_link") 2>conftest.er1 13245 (eval "$ac_link") 2>conftest.er1
12724 ac_status=$? 13246 ac_status=$?
12725 grep -v '^ *+' conftest.er1 >conftest.err 13247 grep -v '^ *+' conftest.er1 >conftest.err
12726 rm -f conftest.er1 13248 rm -f conftest.er1
12727 cat conftest.err >&5 13249 cat conftest.err >&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); } && { 13251 (exit $ac_status); } && {
12730 test -z "$ac_c_werror_flag" || 13252 test -z "$ac_c_werror_flag" ||
12731 test ! -s conftest.err 13253 test ! -s conftest.err
12732 } && test -s conftest$ac_exeext && 13254 } && test -s conftest$ac_exeext && {
12733 $as_test_x conftest$ac_exeext; then 13255 test "$cross_compiling" = yes ||
13256 $as_test_x conftest$ac_exeext
13257 }; then
12734 eval "$as_ac_var=yes" 13258 eval "$as_ac_var=yes"
12735else 13259else
12736 echo "$as_me: failed program was:" >&5 13260 $as_echo "$as_me: failed program was:" >&5
12737sed 's/^/| /' conftest.$ac_ext >&5 13261sed 's/^/| /' conftest.$ac_ext >&5
12738 13262
12739 eval "$as_ac_var=no" 13263 eval "$as_ac_var=no"
12740fi 13264fi
12741 13265
13266rm -rf conftest.dSYM
12742rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13267rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12743 conftest$ac_exeext conftest.$ac_ext 13268 conftest$ac_exeext conftest.$ac_ext
12744fi 13269fi
12745ac_res=`eval echo '${'$as_ac_var'}'` 13270ac_res=`eval 'as_val=${'$as_ac_var'}
12746 { echo "$as_me:$LINENO: result: $ac_res" >&5 13271 $as_echo "$as_val"'`
12747echo "${ECHO_T}$ac_res" >&6; } 13272 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12748if test `eval echo '${'$as_ac_var'}'` = yes; then 13273$as_echo "$ac_res" >&6; }
13274if test `eval 'as_val=${'$as_ac_var'}
13275 $as_echo "$as_val"'` = yes; then
12749 cat >>confdefs.h <<_ACEOF 13276 cat >>confdefs.h <<_ACEOF
12750#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13277#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12751_ACEOF 13278_ACEOF
12752 13279
12753else 13280else
12754 { { echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5 13281 { { $as_echo "$as_me:$LINENO: error: BSM enabled and required function not found" >&5
12755echo "$as_me: error: BSM enabled and required function not found" >&2;} 13282$as_echo "$as_me: error: BSM enabled and required function not found" >&2;}
12756 { (exit 1); exit 1; }; } 13283 { (exit 1); exit 1; }; }
12757fi 13284fi
12758done 13285done
@@ -12762,11 +13289,11 @@ done
12762 13289
12763for ac_func in getaudit_addr aug_get_machine 13290for ac_func in getaudit_addr aug_get_machine
12764do 13291do
12765as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13292as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12766{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13293{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12767echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13294$as_echo_n "checking for $ac_func... " >&6; }
12768if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13295if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12769 echo $ECHO_N "(cached) $ECHO_C" >&6 13296 $as_echo_n "(cached) " >&6
12770else 13297else
12771 cat >conftest.$ac_ext <<_ACEOF 13298 cat >conftest.$ac_ext <<_ACEOF
12772/* confdefs.h. */ 13299/* confdefs.h. */
@@ -12819,35 +13346,41 @@ case "(($ac_try" in
12819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 *) ac_try_echo=$ac_try;; 13347 *) ac_try_echo=$ac_try;;
12821esac 13348esac
12822eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13349eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13350$as_echo "$ac_try_echo") >&5
12823 (eval "$ac_link") 2>conftest.er1 13351 (eval "$ac_link") 2>conftest.er1
12824 ac_status=$? 13352 ac_status=$?
12825 grep -v '^ *+' conftest.er1 >conftest.err 13353 grep -v '^ *+' conftest.er1 >conftest.err
12826 rm -f conftest.er1 13354 rm -f conftest.er1
12827 cat conftest.err >&5 13355 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } && { 13357 (exit $ac_status); } && {
12830 test -z "$ac_c_werror_flag" || 13358 test -z "$ac_c_werror_flag" ||
12831 test ! -s conftest.err 13359 test ! -s conftest.err
12832 } && test -s conftest$ac_exeext && 13360 } && test -s conftest$ac_exeext && {
12833 $as_test_x conftest$ac_exeext; then 13361 test "$cross_compiling" = yes ||
13362 $as_test_x conftest$ac_exeext
13363 }; then
12834 eval "$as_ac_var=yes" 13364 eval "$as_ac_var=yes"
12835else 13365else
12836 echo "$as_me: failed program was:" >&5 13366 $as_echo "$as_me: failed program was:" >&5
12837sed 's/^/| /' conftest.$ac_ext >&5 13367sed 's/^/| /' conftest.$ac_ext >&5
12838 13368
12839 eval "$as_ac_var=no" 13369 eval "$as_ac_var=no"
12840fi 13370fi
12841 13371
13372rm -rf conftest.dSYM
12842rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13373rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12843 conftest$ac_exeext conftest.$ac_ext 13374 conftest$ac_exeext conftest.$ac_ext
12844fi 13375fi
12845ac_res=`eval echo '${'$as_ac_var'}'` 13376ac_res=`eval 'as_val=${'$as_ac_var'}
12846 { echo "$as_me:$LINENO: result: $ac_res" >&5 13377 $as_echo "$as_val"'`
12847echo "${ECHO_T}$ac_res" >&6; } 13378 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12848if test `eval echo '${'$as_ac_var'}'` = yes; then 13379$as_echo "$ac_res" >&6; }
13380if test `eval 'as_val=${'$as_ac_var'}
13381 $as_echo "$as_val"'` = yes; then
12849 cat >>confdefs.h <<_ACEOF 13382 cat >>confdefs.h <<_ACEOF
12850#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13383#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12851_ACEOF 13384_ACEOF
12852 13385
12853fi 13386fi
@@ -12861,8 +13394,8 @@ _ACEOF
12861 ;; 13394 ;;
12862 debug) 13395 debug)
12863 AUDIT_MODULE=debug 13396 AUDIT_MODULE=debug
12864 { echo "$as_me:$LINENO: result: debug" >&5 13397 { $as_echo "$as_me:$LINENO: result: debug" >&5
12865echo "${ECHO_T}debug" >&6; } 13398$as_echo "debug" >&6; }
12866 13399
12867cat >>confdefs.h <<\_ACEOF 13400cat >>confdefs.h <<\_ACEOF
12868#define SSH_AUDIT_EVENTS 1 13401#define SSH_AUDIT_EVENTS 1
@@ -12870,12 +13403,12 @@ _ACEOF
12870 13403
12871 ;; 13404 ;;
12872 no) 13405 no)
12873 { echo "$as_me:$LINENO: result: no" >&5 13406 { $as_echo "$as_me:$LINENO: result: no" >&5
12874echo "${ECHO_T}no" >&6; } 13407$as_echo "no" >&6; }
12875 ;; 13408 ;;
12876 *) 13409 *)
12877 { { echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5 13410 { { $as_echo "$as_me:$LINENO: error: Unknown audit module $withval" >&5
12878echo "$as_me: error: Unknown audit module $withval" >&2;} 13411$as_echo "$as_me: error: Unknown audit module $withval" >&2;}
12879 { (exit 1); exit 1; }; } 13412 { (exit 1); exit 1; }; }
12880 ;; 13413 ;;
12881 esac 13414 esac
@@ -13064,11 +13597,11 @@ for ac_func in \
13064 waitpid \ 13597 waitpid \
13065 13598
13066do 13599do
13067as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13600as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13068{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13601{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13069echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13602$as_echo_n "checking for $ac_func... " >&6; }
13070if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13603if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13071 echo $ECHO_N "(cached) $ECHO_C" >&6 13604 $as_echo_n "(cached) " >&6
13072else 13605else
13073 cat >conftest.$ac_ext <<_ACEOF 13606 cat >conftest.$ac_ext <<_ACEOF
13074/* confdefs.h. */ 13607/* confdefs.h. */
@@ -13121,35 +13654,41 @@ case "(($ac_try" in
13121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13122 *) ac_try_echo=$ac_try;; 13655 *) ac_try_echo=$ac_try;;
13123esac 13656esac
13124eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13657eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13658$as_echo "$ac_try_echo") >&5
13125 (eval "$ac_link") 2>conftest.er1 13659 (eval "$ac_link") 2>conftest.er1
13126 ac_status=$? 13660 ac_status=$?
13127 grep -v '^ *+' conftest.er1 >conftest.err 13661 grep -v '^ *+' conftest.er1 >conftest.err
13128 rm -f conftest.er1 13662 rm -f conftest.er1
13129 cat conftest.err >&5 13663 cat conftest.err >&5
13130 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13131 (exit $ac_status); } && { 13665 (exit $ac_status); } && {
13132 test -z "$ac_c_werror_flag" || 13666 test -z "$ac_c_werror_flag" ||
13133 test ! -s conftest.err 13667 test ! -s conftest.err
13134 } && test -s conftest$ac_exeext && 13668 } && test -s conftest$ac_exeext && {
13135 $as_test_x conftest$ac_exeext; then 13669 test "$cross_compiling" = yes ||
13670 $as_test_x conftest$ac_exeext
13671 }; then
13136 eval "$as_ac_var=yes" 13672 eval "$as_ac_var=yes"
13137else 13673else
13138 echo "$as_me: failed program was:" >&5 13674 $as_echo "$as_me: failed program was:" >&5
13139sed 's/^/| /' conftest.$ac_ext >&5 13675sed 's/^/| /' conftest.$ac_ext >&5
13140 13676
13141 eval "$as_ac_var=no" 13677 eval "$as_ac_var=no"
13142fi 13678fi
13143 13679
13680rm -rf conftest.dSYM
13144rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13681rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13145 conftest$ac_exeext conftest.$ac_ext 13682 conftest$ac_exeext conftest.$ac_ext
13146fi 13683fi
13147ac_res=`eval echo '${'$as_ac_var'}'` 13684ac_res=`eval 'as_val=${'$as_ac_var'}
13148 { echo "$as_me:$LINENO: result: $ac_res" >&5 13685 $as_echo "$as_val"'`
13149echo "${ECHO_T}$ac_res" >&6; } 13686 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13150if test `eval echo '${'$as_ac_var'}'` = yes; then 13687$as_echo "$ac_res" >&6; }
13688if test `eval 'as_val=${'$as_ac_var'}
13689 $as_echo "$as_val"'` = yes; then
13151 cat >>confdefs.h <<_ACEOF 13690 cat >>confdefs.h <<_ACEOF
13152#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13691#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13153_ACEOF 13692_ACEOF
13154 13693
13155fi 13694fi
@@ -13160,11 +13699,11 @@ done
13160 13699
13161for ac_func in gai_strerror 13700for ac_func in gai_strerror
13162do 13701do
13163as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 13702as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13164{ echo "$as_me:$LINENO: checking for $ac_func" >&5 13703{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13165echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 13704$as_echo_n "checking for $ac_func... " >&6; }
13166if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 13705if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13167 echo $ECHO_N "(cached) $ECHO_C" >&6 13706 $as_echo_n "(cached) " >&6
13168else 13707else
13169 cat >conftest.$ac_ext <<_ACEOF 13708 cat >conftest.$ac_ext <<_ACEOF
13170/* confdefs.h. */ 13709/* confdefs.h. */
@@ -13217,35 +13756,41 @@ case "(($ac_try" in
13217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13218 *) ac_try_echo=$ac_try;; 13757 *) ac_try_echo=$ac_try;;
13219esac 13758esac
13220eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13759eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13760$as_echo "$ac_try_echo") >&5
13221 (eval "$ac_link") 2>conftest.er1 13761 (eval "$ac_link") 2>conftest.er1
13222 ac_status=$? 13762 ac_status=$?
13223 grep -v '^ *+' conftest.er1 >conftest.err 13763 grep -v '^ *+' conftest.er1 >conftest.err
13224 rm -f conftest.er1 13764 rm -f conftest.er1
13225 cat conftest.err >&5 13765 cat conftest.err >&5
13226 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13227 (exit $ac_status); } && { 13767 (exit $ac_status); } && {
13228 test -z "$ac_c_werror_flag" || 13768 test -z "$ac_c_werror_flag" ||
13229 test ! -s conftest.err 13769 test ! -s conftest.err
13230 } && test -s conftest$ac_exeext && 13770 } && test -s conftest$ac_exeext && {
13231 $as_test_x conftest$ac_exeext; then 13771 test "$cross_compiling" = yes ||
13772 $as_test_x conftest$ac_exeext
13773 }; then
13232 eval "$as_ac_var=yes" 13774 eval "$as_ac_var=yes"
13233else 13775else
13234 echo "$as_me: failed program was:" >&5 13776 $as_echo "$as_me: failed program was:" >&5
13235sed 's/^/| /' conftest.$ac_ext >&5 13777sed 's/^/| /' conftest.$ac_ext >&5
13236 13778
13237 eval "$as_ac_var=no" 13779 eval "$as_ac_var=no"
13238fi 13780fi
13239 13781
13782rm -rf conftest.dSYM
13240rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13783rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13241 conftest$ac_exeext conftest.$ac_ext 13784 conftest$ac_exeext conftest.$ac_ext
13242fi 13785fi
13243ac_res=`eval echo '${'$as_ac_var'}'` 13786ac_res=`eval 'as_val=${'$as_ac_var'}
13244 { echo "$as_me:$LINENO: result: $ac_res" >&5 13787 $as_echo "$as_val"'`
13245echo "${ECHO_T}$ac_res" >&6; } 13788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13246if test `eval echo '${'$as_ac_var'}'` = yes; then 13789$as_echo "$ac_res" >&6; }
13790if test `eval 'as_val=${'$as_ac_var'}
13791 $as_echo "$as_val"'` = yes; then
13247 cat >>confdefs.h <<_ACEOF 13792 cat >>confdefs.h <<_ACEOF
13248#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 13793#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13249_ACEOF 13794_ACEOF
13250 13795
13251 cat >>confdefs.h <<\_ACEOF 13796 cat >>confdefs.h <<\_ACEOF
@@ -13281,13 +13826,14 @@ case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;; 13827 *) ac_try_echo=$ac_try;;
13283esac 13828esac
13284eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13829eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13830$as_echo "$ac_try_echo") >&5
13285 (eval "$ac_compile") 2>conftest.er1 13831 (eval "$ac_compile") 2>conftest.er1
13286 ac_status=$? 13832 ac_status=$?
13287 grep -v '^ *+' conftest.er1 >conftest.err 13833 grep -v '^ *+' conftest.er1 >conftest.err
13288 rm -f conftest.er1 13834 rm -f conftest.er1
13289 cat conftest.err >&5 13835 cat conftest.err >&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13836 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } && { 13837 (exit $ac_status); } && {
13292 test -z "$ac_c_werror_flag" || 13838 test -z "$ac_c_werror_flag" ||
13293 test ! -s conftest.err 13839 test ! -s conftest.err
@@ -13299,7 +13845,7 @@ cat >>confdefs.h <<\_ACEOF
13299_ACEOF 13845_ACEOF
13300 13846
13301else 13847else
13302 echo "$as_me: failed program was:" >&5 13848 $as_echo "$as_me: failed program was:" >&5
13303sed 's/^/| /' conftest.$ac_ext >&5 13849sed 's/^/| /' conftest.$ac_ext >&5
13304 13850
13305 13851
@@ -13310,10 +13856,10 @@ fi
13310done 13856done
13311 13857
13312 13858
13313{ echo "$as_me:$LINENO: checking for library containing nanosleep" >&5 13859{ $as_echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
13314echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6; } 13860$as_echo_n "checking for library containing nanosleep... " >&6; }
13315if test "${ac_cv_search_nanosleep+set}" = set; then 13861if test "${ac_cv_search_nanosleep+set}" = set; then
13316 echo $ECHO_N "(cached) $ECHO_C" >&6 13862 $as_echo_n "(cached) " >&6
13317else 13863else
13318 ac_func_search_save_LIBS=$LIBS 13864 ac_func_search_save_LIBS=$LIBS
13319cat >conftest.$ac_ext <<_ACEOF 13865cat >conftest.$ac_ext <<_ACEOF
@@ -13351,26 +13897,30 @@ case "(($ac_try" in
13351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13352 *) ac_try_echo=$ac_try;; 13898 *) ac_try_echo=$ac_try;;
13353esac 13899esac
13354eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13900eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13901$as_echo "$ac_try_echo") >&5
13355 (eval "$ac_link") 2>conftest.er1 13902 (eval "$ac_link") 2>conftest.er1
13356 ac_status=$? 13903 ac_status=$?
13357 grep -v '^ *+' conftest.er1 >conftest.err 13904 grep -v '^ *+' conftest.er1 >conftest.err
13358 rm -f conftest.er1 13905 rm -f conftest.er1
13359 cat conftest.err >&5 13906 cat conftest.err >&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } && { 13908 (exit $ac_status); } && {
13362 test -z "$ac_c_werror_flag" || 13909 test -z "$ac_c_werror_flag" ||
13363 test ! -s conftest.err 13910 test ! -s conftest.err
13364 } && test -s conftest$ac_exeext && 13911 } && test -s conftest$ac_exeext && {
13365 $as_test_x conftest$ac_exeext; then 13912 test "$cross_compiling" = yes ||
13913 $as_test_x conftest$ac_exeext
13914 }; then
13366 ac_cv_search_nanosleep=$ac_res 13915 ac_cv_search_nanosleep=$ac_res
13367else 13916else
13368 echo "$as_me: failed program was:" >&5 13917 $as_echo "$as_me: failed program was:" >&5
13369sed 's/^/| /' conftest.$ac_ext >&5 13918sed 's/^/| /' conftest.$ac_ext >&5
13370 13919
13371 13920
13372fi 13921fi
13373 13922
13923rm -rf conftest.dSYM
13374rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 13924rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13375 conftest$ac_exeext 13925 conftest$ac_exeext
13376 if test "${ac_cv_search_nanosleep+set}" = set; then 13926 if test "${ac_cv_search_nanosleep+set}" = set; then
@@ -13385,8 +13935,8 @@ fi
13385rm conftest.$ac_ext 13935rm conftest.$ac_ext
13386LIBS=$ac_func_search_save_LIBS 13936LIBS=$ac_func_search_save_LIBS
13387fi 13937fi
13388{ echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5 13938{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
13389echo "${ECHO_T}$ac_cv_search_nanosleep" >&6; } 13939$as_echo "$ac_cv_search_nanosleep" >&6; }
13390ac_res=$ac_cv_search_nanosleep 13940ac_res=$ac_cv_search_nanosleep
13391if test "$ac_res" != no; then 13941if test "$ac_res" != no; then
13392 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 13942 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -13398,10 +13948,10 @@ _ACEOF
13398fi 13948fi
13399 13949
13400 13950
13401{ echo "$as_me:$LINENO: checking whether getrusage is declared" >&5 13951{ $as_echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
13402echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6; } 13952$as_echo_n "checking whether getrusage is declared... " >&6; }
13403if test "${ac_cv_have_decl_getrusage+set}" = set; then 13953if test "${ac_cv_have_decl_getrusage+set}" = set; then
13404 echo $ECHO_N "(cached) $ECHO_C" >&6 13954 $as_echo_n "(cached) " >&6
13405else 13955else
13406 cat >conftest.$ac_ext <<_ACEOF 13956 cat >conftest.$ac_ext <<_ACEOF
13407/* confdefs.h. */ 13957/* confdefs.h. */
@@ -13427,20 +13977,21 @@ case "(($ac_try" in
13427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;; 13978 *) ac_try_echo=$ac_try;;
13429esac 13979esac
13430eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13980eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13981$as_echo "$ac_try_echo") >&5
13431 (eval "$ac_compile") 2>conftest.er1 13982 (eval "$ac_compile") 2>conftest.er1
13432 ac_status=$? 13983 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err 13984 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1 13985 rm -f conftest.er1
13435 cat conftest.err >&5 13986 cat conftest.err >&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } && { 13988 (exit $ac_status); } && {
13438 test -z "$ac_c_werror_flag" || 13989 test -z "$ac_c_werror_flag" ||
13439 test ! -s conftest.err 13990 test ! -s conftest.err
13440 } && test -s conftest.$ac_objext; then 13991 } && test -s conftest.$ac_objext; then
13441 ac_cv_have_decl_getrusage=yes 13992 ac_cv_have_decl_getrusage=yes
13442else 13993else
13443 echo "$as_me: failed program was:" >&5 13994 $as_echo "$as_me: failed program was:" >&5
13444sed 's/^/| /' conftest.$ac_ext >&5 13995sed 's/^/| /' conftest.$ac_ext >&5
13445 13996
13446 ac_cv_have_decl_getrusage=no 13997 ac_cv_have_decl_getrusage=no
@@ -13448,17 +13999,17 @@ fi
13448 13999
13449rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13450fi 14001fi
13451{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5 14002{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
13452echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6; } 14003$as_echo "$ac_cv_have_decl_getrusage" >&6; }
13453if test $ac_cv_have_decl_getrusage = yes; then 14004if test $ac_cv_have_decl_getrusage = yes; then
13454 14005
13455for ac_func in getrusage 14006for ac_func in getrusage
13456do 14007do
13457as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14008as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13458{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14009{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13459echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14010$as_echo_n "checking for $ac_func... " >&6; }
13460if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14011if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6 14012 $as_echo_n "(cached) " >&6
13462else 14013else
13463 cat >conftest.$ac_ext <<_ACEOF 14014 cat >conftest.$ac_ext <<_ACEOF
13464/* confdefs.h. */ 14015/* confdefs.h. */
@@ -13511,35 +14062,41 @@ case "(($ac_try" in
13511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13512 *) ac_try_echo=$ac_try;; 14063 *) ac_try_echo=$ac_try;;
13513esac 14064esac
13514eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14065eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14066$as_echo "$ac_try_echo") >&5
13515 (eval "$ac_link") 2>conftest.er1 14067 (eval "$ac_link") 2>conftest.er1
13516 ac_status=$? 14068 ac_status=$?
13517 grep -v '^ *+' conftest.er1 >conftest.err 14069 grep -v '^ *+' conftest.er1 >conftest.err
13518 rm -f conftest.er1 14070 rm -f conftest.er1
13519 cat conftest.err >&5 14071 cat conftest.err >&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); } && { 14073 (exit $ac_status); } && {
13522 test -z "$ac_c_werror_flag" || 14074 test -z "$ac_c_werror_flag" ||
13523 test ! -s conftest.err 14075 test ! -s conftest.err
13524 } && test -s conftest$ac_exeext && 14076 } && test -s conftest$ac_exeext && {
13525 $as_test_x conftest$ac_exeext; then 14077 test "$cross_compiling" = yes ||
14078 $as_test_x conftest$ac_exeext
14079 }; then
13526 eval "$as_ac_var=yes" 14080 eval "$as_ac_var=yes"
13527else 14081else
13528 echo "$as_me: failed program was:" >&5 14082 $as_echo "$as_me: failed program was:" >&5
13529sed 's/^/| /' conftest.$ac_ext >&5 14083sed 's/^/| /' conftest.$ac_ext >&5
13530 14084
13531 eval "$as_ac_var=no" 14085 eval "$as_ac_var=no"
13532fi 14086fi
13533 14087
14088rm -rf conftest.dSYM
13534rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14089rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13535 conftest$ac_exeext conftest.$ac_ext 14090 conftest$ac_exeext conftest.$ac_ext
13536fi 14091fi
13537ac_res=`eval echo '${'$as_ac_var'}'` 14092ac_res=`eval 'as_val=${'$as_ac_var'}
13538 { echo "$as_me:$LINENO: result: $ac_res" >&5 14093 $as_echo "$as_val"'`
13539echo "${ECHO_T}$ac_res" >&6; } 14094 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13540if test `eval echo '${'$as_ac_var'}'` = yes; then 14095$as_echo "$ac_res" >&6; }
14096if test `eval 'as_val=${'$as_ac_var'}
14097 $as_echo "$as_val"'` = yes; then
13541 cat >>confdefs.h <<_ACEOF 14098 cat >>confdefs.h <<_ACEOF
13542#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14099#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13543_ACEOF 14100_ACEOF
13544 14101
13545fi 14102fi
@@ -13547,10 +14104,10 @@ done
13547 14104
13548fi 14105fi
13549 14106
13550{ echo "$as_me:$LINENO: checking whether strsep is declared" >&5 14107{ $as_echo "$as_me:$LINENO: checking whether strsep is declared" >&5
13551echo $ECHO_N "checking whether strsep is declared... $ECHO_C" >&6; } 14108$as_echo_n "checking whether strsep is declared... " >&6; }
13552if test "${ac_cv_have_decl_strsep+set}" = set; then 14109if test "${ac_cv_have_decl_strsep+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6 14110 $as_echo_n "(cached) " >&6
13554else 14111else
13555 cat >conftest.$ac_ext <<_ACEOF 14112 cat >conftest.$ac_ext <<_ACEOF
13556/* confdefs.h. */ 14113/* confdefs.h. */
@@ -13581,20 +14138,21 @@ case "(($ac_try" in
13581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13582 *) ac_try_echo=$ac_try;; 14139 *) ac_try_echo=$ac_try;;
13583esac 14140esac
13584eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14141eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14142$as_echo "$ac_try_echo") >&5
13585 (eval "$ac_compile") 2>conftest.er1 14143 (eval "$ac_compile") 2>conftest.er1
13586 ac_status=$? 14144 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err 14145 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1 14146 rm -f conftest.er1
13589 cat conftest.err >&5 14147 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } && { 14149 (exit $ac_status); } && {
13592 test -z "$ac_c_werror_flag" || 14150 test -z "$ac_c_werror_flag" ||
13593 test ! -s conftest.err 14151 test ! -s conftest.err
13594 } && test -s conftest.$ac_objext; then 14152 } && test -s conftest.$ac_objext; then
13595 ac_cv_have_decl_strsep=yes 14153 ac_cv_have_decl_strsep=yes
13596else 14154else
13597 echo "$as_me: failed program was:" >&5 14155 $as_echo "$as_me: failed program was:" >&5
13598sed 's/^/| /' conftest.$ac_ext >&5 14156sed 's/^/| /' conftest.$ac_ext >&5
13599 14157
13600 ac_cv_have_decl_strsep=no 14158 ac_cv_have_decl_strsep=no
@@ -13602,17 +14160,17 @@ fi
13602 14160
13603rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14161rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13604fi 14162fi
13605{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5 14163{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strsep" >&5
13606echo "${ECHO_T}$ac_cv_have_decl_strsep" >&6; } 14164$as_echo "$ac_cv_have_decl_strsep" >&6; }
13607if test $ac_cv_have_decl_strsep = yes; then 14165if test $ac_cv_have_decl_strsep = yes; then
13608 14166
13609for ac_func in strsep 14167for ac_func in strsep
13610do 14168do
13611as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14169as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13612{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14170{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13613echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14171$as_echo_n "checking for $ac_func... " >&6; }
13614if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14172if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13615 echo $ECHO_N "(cached) $ECHO_C" >&6 14173 $as_echo_n "(cached) " >&6
13616else 14174else
13617 cat >conftest.$ac_ext <<_ACEOF 14175 cat >conftest.$ac_ext <<_ACEOF
13618/* confdefs.h. */ 14176/* confdefs.h. */
@@ -13665,35 +14223,41 @@ case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;; 14224 *) ac_try_echo=$ac_try;;
13667esac 14225esac
13668eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14226eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14227$as_echo "$ac_try_echo") >&5
13669 (eval "$ac_link") 2>conftest.er1 14228 (eval "$ac_link") 2>conftest.er1
13670 ac_status=$? 14229 ac_status=$?
13671 grep -v '^ *+' conftest.er1 >conftest.err 14230 grep -v '^ *+' conftest.er1 >conftest.err
13672 rm -f conftest.er1 14231 rm -f conftest.er1
13673 cat conftest.err >&5 14232 cat conftest.err >&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); } && { 14234 (exit $ac_status); } && {
13676 test -z "$ac_c_werror_flag" || 14235 test -z "$ac_c_werror_flag" ||
13677 test ! -s conftest.err 14236 test ! -s conftest.err
13678 } && test -s conftest$ac_exeext && 14237 } && test -s conftest$ac_exeext && {
13679 $as_test_x conftest$ac_exeext; then 14238 test "$cross_compiling" = yes ||
14239 $as_test_x conftest$ac_exeext
14240 }; then
13680 eval "$as_ac_var=yes" 14241 eval "$as_ac_var=yes"
13681else 14242else
13682 echo "$as_me: failed program was:" >&5 14243 $as_echo "$as_me: failed program was:" >&5
13683sed 's/^/| /' conftest.$ac_ext >&5 14244sed 's/^/| /' conftest.$ac_ext >&5
13684 14245
13685 eval "$as_ac_var=no" 14246 eval "$as_ac_var=no"
13686fi 14247fi
13687 14248
14249rm -rf conftest.dSYM
13688rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14250rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13689 conftest$ac_exeext conftest.$ac_ext 14251 conftest$ac_exeext conftest.$ac_ext
13690fi 14252fi
13691ac_res=`eval echo '${'$as_ac_var'}'` 14253ac_res=`eval 'as_val=${'$as_ac_var'}
13692 { echo "$as_me:$LINENO: result: $ac_res" >&5 14254 $as_echo "$as_val"'`
13693echo "${ECHO_T}$ac_res" >&6; } 14255 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13694if test `eval echo '${'$as_ac_var'}'` = yes; then 14256$as_echo "$ac_res" >&6; }
14257if test `eval 'as_val=${'$as_ac_var'}
14258 $as_echo "$as_val"'` = yes; then
13695 cat >>confdefs.h <<_ACEOF 14259 cat >>confdefs.h <<_ACEOF
13696#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14260#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13697_ACEOF 14261_ACEOF
13698 14262
13699fi 14263fi
@@ -13702,10 +14266,10 @@ done
13702fi 14266fi
13703 14267
13704 14268
13705{ echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5 14269{ $as_echo "$as_me:$LINENO: checking whether tcsendbreak is declared" >&5
13706echo $ECHO_N "checking whether tcsendbreak is declared... $ECHO_C" >&6; } 14270$as_echo_n "checking whether tcsendbreak is declared... " >&6; }
13707if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then 14271if test "${ac_cv_have_decl_tcsendbreak+set}" = set; then
13708 echo $ECHO_N "(cached) $ECHO_C" >&6 14272 $as_echo_n "(cached) " >&6
13709else 14273else
13710 cat >conftest.$ac_ext <<_ACEOF 14274 cat >conftest.$ac_ext <<_ACEOF
13711/* confdefs.h. */ 14275/* confdefs.h. */
@@ -13733,20 +14297,21 @@ case "(($ac_try" in
13733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13734 *) ac_try_echo=$ac_try;; 14298 *) ac_try_echo=$ac_try;;
13735esac 14299esac
13736eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14300eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14301$as_echo "$ac_try_echo") >&5
13737 (eval "$ac_compile") 2>conftest.er1 14302 (eval "$ac_compile") 2>conftest.er1
13738 ac_status=$? 14303 ac_status=$?
13739 grep -v '^ *+' conftest.er1 >conftest.err 14304 grep -v '^ *+' conftest.er1 >conftest.err
13740 rm -f conftest.er1 14305 rm -f conftest.er1
13741 cat conftest.err >&5 14306 cat conftest.err >&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); } && { 14308 (exit $ac_status); } && {
13744 test -z "$ac_c_werror_flag" || 14309 test -z "$ac_c_werror_flag" ||
13745 test ! -s conftest.err 14310 test ! -s conftest.err
13746 } && test -s conftest.$ac_objext; then 14311 } && test -s conftest.$ac_objext; then
13747 ac_cv_have_decl_tcsendbreak=yes 14312 ac_cv_have_decl_tcsendbreak=yes
13748else 14313else
13749 echo "$as_me: failed program was:" >&5 14314 $as_echo "$as_me: failed program was:" >&5
13750sed 's/^/| /' conftest.$ac_ext >&5 14315sed 's/^/| /' conftest.$ac_ext >&5
13751 14316
13752 ac_cv_have_decl_tcsendbreak=no 14317 ac_cv_have_decl_tcsendbreak=no
@@ -13754,8 +14319,8 @@ fi
13754 14319
13755rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14320rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13756fi 14321fi
13757{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5 14322{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tcsendbreak" >&5
13758echo "${ECHO_T}$ac_cv_have_decl_tcsendbreak" >&6; } 14323$as_echo "$ac_cv_have_decl_tcsendbreak" >&6; }
13759if test $ac_cv_have_decl_tcsendbreak = yes; then 14324if test $ac_cv_have_decl_tcsendbreak = yes; then
13760 cat >>confdefs.h <<\_ACEOF 14325 cat >>confdefs.h <<\_ACEOF
13761#define HAVE_TCSENDBREAK 1 14326#define HAVE_TCSENDBREAK 1
@@ -13765,11 +14330,11 @@ else
13765 14330
13766for ac_func in tcsendbreak 14331for ac_func in tcsendbreak
13767do 14332do
13768as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14333as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13769{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14334{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13770echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14335$as_echo_n "checking for $ac_func... " >&6; }
13771if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14336if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6 14337 $as_echo_n "(cached) " >&6
13773else 14338else
13774 cat >conftest.$ac_ext <<_ACEOF 14339 cat >conftest.$ac_ext <<_ACEOF
13775/* confdefs.h. */ 14340/* confdefs.h. */
@@ -13822,35 +14387,41 @@ case "(($ac_try" in
13822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13823 *) ac_try_echo=$ac_try;; 14388 *) ac_try_echo=$ac_try;;
13824esac 14389esac
13825eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14390eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14391$as_echo "$ac_try_echo") >&5
13826 (eval "$ac_link") 2>conftest.er1 14392 (eval "$ac_link") 2>conftest.er1
13827 ac_status=$? 14393 ac_status=$?
13828 grep -v '^ *+' conftest.er1 >conftest.err 14394 grep -v '^ *+' conftest.er1 >conftest.err
13829 rm -f conftest.er1 14395 rm -f conftest.er1
13830 cat conftest.err >&5 14396 cat conftest.err >&5
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); } && { 14398 (exit $ac_status); } && {
13833 test -z "$ac_c_werror_flag" || 14399 test -z "$ac_c_werror_flag" ||
13834 test ! -s conftest.err 14400 test ! -s conftest.err
13835 } && test -s conftest$ac_exeext && 14401 } && test -s conftest$ac_exeext && {
13836 $as_test_x conftest$ac_exeext; then 14402 test "$cross_compiling" = yes ||
14403 $as_test_x conftest$ac_exeext
14404 }; then
13837 eval "$as_ac_var=yes" 14405 eval "$as_ac_var=yes"
13838else 14406else
13839 echo "$as_me: failed program was:" >&5 14407 $as_echo "$as_me: failed program was:" >&5
13840sed 's/^/| /' conftest.$ac_ext >&5 14408sed 's/^/| /' conftest.$ac_ext >&5
13841 14409
13842 eval "$as_ac_var=no" 14410 eval "$as_ac_var=no"
13843fi 14411fi
13844 14412
14413rm -rf conftest.dSYM
13845rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14414rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13846 conftest$ac_exeext conftest.$ac_ext 14415 conftest$ac_exeext conftest.$ac_ext
13847fi 14416fi
13848ac_res=`eval echo '${'$as_ac_var'}'` 14417ac_res=`eval 'as_val=${'$as_ac_var'}
13849 { echo "$as_me:$LINENO: result: $ac_res" >&5 14418 $as_echo "$as_val"'`
13850echo "${ECHO_T}$ac_res" >&6; } 14419 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13851if test `eval echo '${'$as_ac_var'}'` = yes; then 14420$as_echo "$ac_res" >&6; }
14421if test `eval 'as_val=${'$as_ac_var'}
14422 $as_echo "$as_val"'` = yes; then
13852 cat >>confdefs.h <<_ACEOF 14423 cat >>confdefs.h <<_ACEOF
13853#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14424#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13854_ACEOF 14425_ACEOF
13855 14426
13856fi 14427fi
@@ -13859,10 +14430,10 @@ done
13859fi 14430fi
13860 14431
13861 14432
13862{ echo "$as_me:$LINENO: checking whether h_errno is declared" >&5 14433{ $as_echo "$as_me:$LINENO: checking whether h_errno is declared" >&5
13863echo $ECHO_N "checking whether h_errno is declared... $ECHO_C" >&6; } 14434$as_echo_n "checking whether h_errno is declared... " >&6; }
13864if test "${ac_cv_have_decl_h_errno+set}" = set; then 14435if test "${ac_cv_have_decl_h_errno+set}" = set; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6 14436 $as_echo_n "(cached) " >&6
13866else 14437else
13867 cat >conftest.$ac_ext <<_ACEOF 14438 cat >conftest.$ac_ext <<_ACEOF
13868/* confdefs.h. */ 14439/* confdefs.h. */
@@ -13889,20 +14460,21 @@ case "(($ac_try" in
13889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13890 *) ac_try_echo=$ac_try;; 14461 *) ac_try_echo=$ac_try;;
13891esac 14462esac
13892eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14463eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14464$as_echo "$ac_try_echo") >&5
13893 (eval "$ac_compile") 2>conftest.er1 14465 (eval "$ac_compile") 2>conftest.er1
13894 ac_status=$? 14466 ac_status=$?
13895 grep -v '^ *+' conftest.er1 >conftest.err 14467 grep -v '^ *+' conftest.er1 >conftest.err
13896 rm -f conftest.er1 14468 rm -f conftest.er1
13897 cat conftest.err >&5 14469 cat conftest.err >&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); } && { 14471 (exit $ac_status); } && {
13900 test -z "$ac_c_werror_flag" || 14472 test -z "$ac_c_werror_flag" ||
13901 test ! -s conftest.err 14473 test ! -s conftest.err
13902 } && test -s conftest.$ac_objext; then 14474 } && test -s conftest.$ac_objext; then
13903 ac_cv_have_decl_h_errno=yes 14475 ac_cv_have_decl_h_errno=yes
13904else 14476else
13905 echo "$as_me: failed program was:" >&5 14477 $as_echo "$as_me: failed program was:" >&5
13906sed 's/^/| /' conftest.$ac_ext >&5 14478sed 's/^/| /' conftest.$ac_ext >&5
13907 14479
13908 ac_cv_have_decl_h_errno=no 14480 ac_cv_have_decl_h_errno=no
@@ -13910,8 +14482,8 @@ fi
13910 14482
13911rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912fi 14484fi
13913{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5 14485{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_h_errno" >&5
13914echo "${ECHO_T}$ac_cv_have_decl_h_errno" >&6; } 14486$as_echo "$ac_cv_have_decl_h_errno" >&6; }
13915if test $ac_cv_have_decl_h_errno = yes; then 14487if test $ac_cv_have_decl_h_errno = yes; then
13916 14488
13917cat >>confdefs.h <<_ACEOF 14489cat >>confdefs.h <<_ACEOF
@@ -13929,10 +14501,10 @@ fi
13929 14501
13930 14502
13931 14503
13932{ echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5 14504{ $as_echo "$as_me:$LINENO: checking whether SHUT_RD is declared" >&5
13933echo $ECHO_N "checking whether SHUT_RD is declared... $ECHO_C" >&6; } 14505$as_echo_n "checking whether SHUT_RD is declared... " >&6; }
13934if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then 14506if test "${ac_cv_have_decl_SHUT_RD+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6 14507 $as_echo_n "(cached) " >&6
13936else 14508else
13937 cat >conftest.$ac_ext <<_ACEOF 14509 cat >conftest.$ac_ext <<_ACEOF
13938/* confdefs.h. */ 14510/* confdefs.h. */
@@ -13962,20 +14534,21 @@ case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;; 14535 *) ac_try_echo=$ac_try;;
13964esac 14536esac
13965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14537eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14538$as_echo "$ac_try_echo") >&5
13966 (eval "$ac_compile") 2>conftest.er1 14539 (eval "$ac_compile") 2>conftest.er1
13967 ac_status=$? 14540 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err 14541 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1 14542 rm -f conftest.er1
13970 cat conftest.err >&5 14543 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14544 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } && { 14545 (exit $ac_status); } && {
13973 test -z "$ac_c_werror_flag" || 14546 test -z "$ac_c_werror_flag" ||
13974 test ! -s conftest.err 14547 test ! -s conftest.err
13975 } && test -s conftest.$ac_objext; then 14548 } && test -s conftest.$ac_objext; then
13976 ac_cv_have_decl_SHUT_RD=yes 14549 ac_cv_have_decl_SHUT_RD=yes
13977else 14550else
13978 echo "$as_me: failed program was:" >&5 14551 $as_echo "$as_me: failed program was:" >&5
13979sed 's/^/| /' conftest.$ac_ext >&5 14552sed 's/^/| /' conftest.$ac_ext >&5
13980 14553
13981 ac_cv_have_decl_SHUT_RD=no 14554 ac_cv_have_decl_SHUT_RD=no
@@ -13983,8 +14556,8 @@ fi
13983 14556
13984rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13985fi 14558fi
13986{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5 14559{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_SHUT_RD" >&5
13987echo "${ECHO_T}$ac_cv_have_decl_SHUT_RD" >&6; } 14560$as_echo "$ac_cv_have_decl_SHUT_RD" >&6; }
13988if test $ac_cv_have_decl_SHUT_RD = yes; then 14561if test $ac_cv_have_decl_SHUT_RD = yes; then
13989 14562
13990cat >>confdefs.h <<_ACEOF 14563cat >>confdefs.h <<_ACEOF
@@ -14002,10 +14575,10 @@ fi
14002 14575
14003 14576
14004 14577
14005{ echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5 14578{ $as_echo "$as_me:$LINENO: checking whether O_NONBLOCK is declared" >&5
14006echo $ECHO_N "checking whether O_NONBLOCK is declared... $ECHO_C" >&6; } 14579$as_echo_n "checking whether O_NONBLOCK is declared... " >&6; }
14007if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then 14580if test "${ac_cv_have_decl_O_NONBLOCK+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6 14581 $as_echo_n "(cached) " >&6
14009else 14582else
14010 cat >conftest.$ac_ext <<_ACEOF 14583 cat >conftest.$ac_ext <<_ACEOF
14011/* confdefs.h. */ 14584/* confdefs.h. */
@@ -14040,20 +14613,21 @@ case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;; 14614 *) ac_try_echo=$ac_try;;
14042esac 14615esac
14043eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14617$as_echo "$ac_try_echo") >&5
14044 (eval "$ac_compile") 2>conftest.er1 14618 (eval "$ac_compile") 2>conftest.er1
14045 ac_status=$? 14619 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err 14620 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1 14621 rm -f conftest.er1
14048 cat conftest.err >&5 14622 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } && { 14624 (exit $ac_status); } && {
14051 test -z "$ac_c_werror_flag" || 14625 test -z "$ac_c_werror_flag" ||
14052 test ! -s conftest.err 14626 test ! -s conftest.err
14053 } && test -s conftest.$ac_objext; then 14627 } && test -s conftest.$ac_objext; then
14054 ac_cv_have_decl_O_NONBLOCK=yes 14628 ac_cv_have_decl_O_NONBLOCK=yes
14055else 14629else
14056 echo "$as_me: failed program was:" >&5 14630 $as_echo "$as_me: failed program was:" >&5
14057sed 's/^/| /' conftest.$ac_ext >&5 14631sed 's/^/| /' conftest.$ac_ext >&5
14058 14632
14059 ac_cv_have_decl_O_NONBLOCK=no 14633 ac_cv_have_decl_O_NONBLOCK=no
@@ -14061,8 +14635,8 @@ fi
14061 14635
14062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14636rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14063fi 14637fi
14064{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5 14638{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_O_NONBLOCK" >&5
14065echo "${ECHO_T}$ac_cv_have_decl_O_NONBLOCK" >&6; } 14639$as_echo "$ac_cv_have_decl_O_NONBLOCK" >&6; }
14066if test $ac_cv_have_decl_O_NONBLOCK = yes; then 14640if test $ac_cv_have_decl_O_NONBLOCK = yes; then
14067 14641
14068cat >>confdefs.h <<_ACEOF 14642cat >>confdefs.h <<_ACEOF
@@ -14080,10 +14654,10 @@ fi
14080 14654
14081 14655
14082 14656
14083{ echo "$as_me:$LINENO: checking whether writev is declared" >&5 14657{ $as_echo "$as_me:$LINENO: checking whether writev is declared" >&5
14084echo $ECHO_N "checking whether writev is declared... $ECHO_C" >&6; } 14658$as_echo_n "checking whether writev is declared... " >&6; }
14085if test "${ac_cv_have_decl_writev+set}" = set; then 14659if test "${ac_cv_have_decl_writev+set}" = set; then
14086 echo $ECHO_N "(cached) $ECHO_C" >&6 14660 $as_echo_n "(cached) " >&6
14087else 14661else
14088 cat >conftest.$ac_ext <<_ACEOF 14662 cat >conftest.$ac_ext <<_ACEOF
14089/* confdefs.h. */ 14663/* confdefs.h. */
@@ -14114,20 +14688,21 @@ case "(($ac_try" in
14114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14115 *) ac_try_echo=$ac_try;; 14689 *) ac_try_echo=$ac_try;;
14116esac 14690esac
14117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14692$as_echo "$ac_try_echo") >&5
14118 (eval "$ac_compile") 2>conftest.er1 14693 (eval "$ac_compile") 2>conftest.er1
14119 ac_status=$? 14694 ac_status=$?
14120 grep -v '^ *+' conftest.er1 >conftest.err 14695 grep -v '^ *+' conftest.er1 >conftest.err
14121 rm -f conftest.er1 14696 rm -f conftest.er1
14122 cat conftest.err >&5 14697 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } && { 14699 (exit $ac_status); } && {
14125 test -z "$ac_c_werror_flag" || 14700 test -z "$ac_c_werror_flag" ||
14126 test ! -s conftest.err 14701 test ! -s conftest.err
14127 } && test -s conftest.$ac_objext; then 14702 } && test -s conftest.$ac_objext; then
14128 ac_cv_have_decl_writev=yes 14703 ac_cv_have_decl_writev=yes
14129else 14704else
14130 echo "$as_me: failed program was:" >&5 14705 $as_echo "$as_me: failed program was:" >&5
14131sed 's/^/| /' conftest.$ac_ext >&5 14706sed 's/^/| /' conftest.$ac_ext >&5
14132 14707
14133 ac_cv_have_decl_writev=no 14708 ac_cv_have_decl_writev=no
@@ -14135,8 +14710,8 @@ fi
14135 14710
14136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14711rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14137fi 14712fi
14138{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5 14713{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_writev" >&5
14139echo "${ECHO_T}$ac_cv_have_decl_writev" >&6; } 14714$as_echo "$ac_cv_have_decl_writev" >&6; }
14140if test $ac_cv_have_decl_writev = yes; then 14715if test $ac_cv_have_decl_writev = yes; then
14141 14716
14142cat >>confdefs.h <<_ACEOF 14717cat >>confdefs.h <<_ACEOF
@@ -14154,10 +14729,10 @@ fi
14154 14729
14155 14730
14156 14731
14157{ echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5 14732{ $as_echo "$as_me:$LINENO: checking whether MAXSYMLINKS is declared" >&5
14158echo $ECHO_N "checking whether MAXSYMLINKS is declared... $ECHO_C" >&6; } 14733$as_echo_n "checking whether MAXSYMLINKS is declared... " >&6; }
14159if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then 14734if test "${ac_cv_have_decl_MAXSYMLINKS+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6 14735 $as_echo_n "(cached) " >&6
14161else 14736else
14162 cat >conftest.$ac_ext <<_ACEOF 14737 cat >conftest.$ac_ext <<_ACEOF
14163/* confdefs.h. */ 14738/* confdefs.h. */
@@ -14186,20 +14761,21 @@ case "(($ac_try" in
14186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14187 *) ac_try_echo=$ac_try;; 14762 *) ac_try_echo=$ac_try;;
14188esac 14763esac
14189eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14765$as_echo "$ac_try_echo") >&5
14190 (eval "$ac_compile") 2>conftest.er1 14766 (eval "$ac_compile") 2>conftest.er1
14191 ac_status=$? 14767 ac_status=$?
14192 grep -v '^ *+' conftest.er1 >conftest.err 14768 grep -v '^ *+' conftest.er1 >conftest.err
14193 rm -f conftest.er1 14769 rm -f conftest.er1
14194 cat conftest.err >&5 14770 cat conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); } && { 14772 (exit $ac_status); } && {
14197 test -z "$ac_c_werror_flag" || 14773 test -z "$ac_c_werror_flag" ||
14198 test ! -s conftest.err 14774 test ! -s conftest.err
14199 } && test -s conftest.$ac_objext; then 14775 } && test -s conftest.$ac_objext; then
14200 ac_cv_have_decl_MAXSYMLINKS=yes 14776 ac_cv_have_decl_MAXSYMLINKS=yes
14201else 14777else
14202 echo "$as_me: failed program was:" >&5 14778 $as_echo "$as_me: failed program was:" >&5
14203sed 's/^/| /' conftest.$ac_ext >&5 14779sed 's/^/| /' conftest.$ac_ext >&5
14204 14780
14205 ac_cv_have_decl_MAXSYMLINKS=no 14781 ac_cv_have_decl_MAXSYMLINKS=no
@@ -14207,8 +14783,8 @@ fi
14207 14783
14208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14784rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14209fi 14785fi
14210{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5 14786{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_MAXSYMLINKS" >&5
14211echo "${ECHO_T}$ac_cv_have_decl_MAXSYMLINKS" >&6; } 14787$as_echo "$ac_cv_have_decl_MAXSYMLINKS" >&6; }
14212if test $ac_cv_have_decl_MAXSYMLINKS = yes; then 14788if test $ac_cv_have_decl_MAXSYMLINKS = yes; then
14213 14789
14214cat >>confdefs.h <<_ACEOF 14790cat >>confdefs.h <<_ACEOF
@@ -14226,10 +14802,10 @@ fi
14226 14802
14227 14803
14228 14804
14229{ echo "$as_me:$LINENO: checking whether offsetof is declared" >&5 14805{ $as_echo "$as_me:$LINENO: checking whether offsetof is declared" >&5
14230echo $ECHO_N "checking whether offsetof is declared... $ECHO_C" >&6; } 14806$as_echo_n "checking whether offsetof is declared... " >&6; }
14231if test "${ac_cv_have_decl_offsetof+set}" = set; then 14807if test "${ac_cv_have_decl_offsetof+set}" = set; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6 14808 $as_echo_n "(cached) " >&6
14233else 14809else
14234 cat >conftest.$ac_ext <<_ACEOF 14810 cat >conftest.$ac_ext <<_ACEOF
14235/* confdefs.h. */ 14811/* confdefs.h. */
@@ -14258,20 +14834,21 @@ case "(($ac_try" in
14258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14259 *) ac_try_echo=$ac_try;; 14835 *) ac_try_echo=$ac_try;;
14260esac 14836esac
14261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14837eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14838$as_echo "$ac_try_echo") >&5
14262 (eval "$ac_compile") 2>conftest.er1 14839 (eval "$ac_compile") 2>conftest.er1
14263 ac_status=$? 14840 ac_status=$?
14264 grep -v '^ *+' conftest.er1 >conftest.err 14841 grep -v '^ *+' conftest.er1 >conftest.err
14265 rm -f conftest.er1 14842 rm -f conftest.er1
14266 cat conftest.err >&5 14843 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } && { 14845 (exit $ac_status); } && {
14269 test -z "$ac_c_werror_flag" || 14846 test -z "$ac_c_werror_flag" ||
14270 test ! -s conftest.err 14847 test ! -s conftest.err
14271 } && test -s conftest.$ac_objext; then 14848 } && test -s conftest.$ac_objext; then
14272 ac_cv_have_decl_offsetof=yes 14849 ac_cv_have_decl_offsetof=yes
14273else 14850else
14274 echo "$as_me: failed program was:" >&5 14851 $as_echo "$as_me: failed program was:" >&5
14275sed 's/^/| /' conftest.$ac_ext >&5 14852sed 's/^/| /' conftest.$ac_ext >&5
14276 14853
14277 ac_cv_have_decl_offsetof=no 14854 ac_cv_have_decl_offsetof=no
@@ -14279,8 +14856,8 @@ fi
14279 14856
14280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14281fi 14858fi
14282{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5 14859{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_offsetof" >&5
14283echo "${ECHO_T}$ac_cv_have_decl_offsetof" >&6; } 14860$as_echo "$ac_cv_have_decl_offsetof" >&6; }
14284if test $ac_cv_have_decl_offsetof = yes; then 14861if test $ac_cv_have_decl_offsetof = yes; then
14285 14862
14286cat >>confdefs.h <<_ACEOF 14863cat >>confdefs.h <<_ACEOF
@@ -14301,11 +14878,11 @@ fi
14301 14878
14302for ac_func in setresuid 14879for ac_func in setresuid
14303do 14880do
14304as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 14881as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14305{ echo "$as_me:$LINENO: checking for $ac_func" >&5 14882{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14306echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 14883$as_echo_n "checking for $ac_func... " >&6; }
14307if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 14884if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14308 echo $ECHO_N "(cached) $ECHO_C" >&6 14885 $as_echo_n "(cached) " >&6
14309else 14886else
14310 cat >conftest.$ac_ext <<_ACEOF 14887 cat >conftest.$ac_ext <<_ACEOF
14311/* confdefs.h. */ 14888/* confdefs.h. */
@@ -14358,42 +14935,48 @@ case "(($ac_try" in
14358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14359 *) ac_try_echo=$ac_try;; 14936 *) ac_try_echo=$ac_try;;
14360esac 14937esac
14361eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14938eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14939$as_echo "$ac_try_echo") >&5
14362 (eval "$ac_link") 2>conftest.er1 14940 (eval "$ac_link") 2>conftest.er1
14363 ac_status=$? 14941 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err 14942 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1 14943 rm -f conftest.er1
14366 cat conftest.err >&5 14944 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14945 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } && { 14946 (exit $ac_status); } && {
14369 test -z "$ac_c_werror_flag" || 14947 test -z "$ac_c_werror_flag" ||
14370 test ! -s conftest.err 14948 test ! -s conftest.err
14371 } && test -s conftest$ac_exeext && 14949 } && test -s conftest$ac_exeext && {
14372 $as_test_x conftest$ac_exeext; then 14950 test "$cross_compiling" = yes ||
14951 $as_test_x conftest$ac_exeext
14952 }; then
14373 eval "$as_ac_var=yes" 14953 eval "$as_ac_var=yes"
14374else 14954else
14375 echo "$as_me: failed program was:" >&5 14955 $as_echo "$as_me: failed program was:" >&5
14376sed 's/^/| /' conftest.$ac_ext >&5 14956sed 's/^/| /' conftest.$ac_ext >&5
14377 14957
14378 eval "$as_ac_var=no" 14958 eval "$as_ac_var=no"
14379fi 14959fi
14380 14960
14961rm -rf conftest.dSYM
14381rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 14962rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14382 conftest$ac_exeext conftest.$ac_ext 14963 conftest$ac_exeext conftest.$ac_ext
14383fi 14964fi
14384ac_res=`eval echo '${'$as_ac_var'}'` 14965ac_res=`eval 'as_val=${'$as_ac_var'}
14385 { echo "$as_me:$LINENO: result: $ac_res" >&5 14966 $as_echo "$as_val"'`
14386echo "${ECHO_T}$ac_res" >&6; } 14967 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14387if test `eval echo '${'$as_ac_var'}'` = yes; then 14968$as_echo "$ac_res" >&6; }
14969if test `eval 'as_val=${'$as_ac_var'}
14970 $as_echo "$as_val"'` = yes; then
14388 cat >>confdefs.h <<_ACEOF 14971 cat >>confdefs.h <<_ACEOF
14389#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 14972#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14390_ACEOF 14973_ACEOF
14391 14974
14392 { echo "$as_me:$LINENO: checking if setresuid seems to work" >&5 14975 { $as_echo "$as_me:$LINENO: checking if setresuid seems to work" >&5
14393echo $ECHO_N "checking if setresuid seems to work... $ECHO_C" >&6; } 14976$as_echo_n "checking if setresuid seems to work... " >&6; }
14394 if test "$cross_compiling" = yes; then 14977 if test "$cross_compiling" = yes; then
14395 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 14978 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
14396echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} 14979$as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
14397 14980
14398else 14981else
14399 cat >conftest.$ac_ext <<_ACEOF 14982 cat >conftest.$ac_ext <<_ACEOF
@@ -14414,25 +14997,27 @@ case "(($ac_try" in
14414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14415 *) ac_try_echo=$ac_try;; 14998 *) ac_try_echo=$ac_try;;
14416esac 14999esac
14417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15000eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15001$as_echo "$ac_try_echo") >&5
14418 (eval "$ac_link") 2>&5 15002 (eval "$ac_link") 2>&5
14419 ac_status=$? 15003 ac_status=$?
14420 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15004 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14422 { (case "(($ac_try" in 15006 { (case "(($ac_try" in
14423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14424 *) ac_try_echo=$ac_try;; 15008 *) ac_try_echo=$ac_try;;
14425esac 15009esac
14426eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15010eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15011$as_echo "$ac_try_echo") >&5
14427 (eval "$ac_try") 2>&5 15012 (eval "$ac_try") 2>&5
14428 ac_status=$? 15013 ac_status=$?
14429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14430 (exit $ac_status); }; }; then 15015 (exit $ac_status); }; }; then
14431 { echo "$as_me:$LINENO: result: yes" >&5 15016 { $as_echo "$as_me:$LINENO: result: yes" >&5
14432echo "${ECHO_T}yes" >&6; } 15017$as_echo "yes" >&6; }
14433else 15018else
14434 echo "$as_me: program exited with status $ac_status" >&5 15019 $as_echo "$as_me: program exited with status $ac_status" >&5
14435echo "$as_me: failed program was:" >&5 15020$as_echo "$as_me: failed program was:" >&5
14436sed 's/^/| /' conftest.$ac_ext >&5 15021sed 's/^/| /' conftest.$ac_ext >&5
14437 15022
14438( exit $ac_status ) 15023( exit $ac_status )
@@ -14441,9 +15026,10 @@ cat >>confdefs.h <<\_ACEOF
14441#define BROKEN_SETRESUID 1 15026#define BROKEN_SETRESUID 1
14442_ACEOF 15027_ACEOF
14443 15028
14444 { echo "$as_me:$LINENO: result: not implemented" >&5 15029 { $as_echo "$as_me:$LINENO: result: not implemented" >&5
14445echo "${ECHO_T}not implemented" >&6; } 15030$as_echo "not implemented" >&6; }
14446fi 15031fi
15032rm -rf conftest.dSYM
14447rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15033rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14448fi 15034fi
14449 15035
@@ -14456,11 +15042,11 @@ done
14456 15042
14457for ac_func in setresgid 15043for ac_func in setresgid
14458do 15044do
14459as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15045as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14460{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15046{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14461echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15047$as_echo_n "checking for $ac_func... " >&6; }
14462if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15048if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6 15049 $as_echo_n "(cached) " >&6
14464else 15050else
14465 cat >conftest.$ac_ext <<_ACEOF 15051 cat >conftest.$ac_ext <<_ACEOF
14466/* confdefs.h. */ 15052/* confdefs.h. */
@@ -14513,42 +15099,48 @@ case "(($ac_try" in
14513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14514 *) ac_try_echo=$ac_try;; 15100 *) ac_try_echo=$ac_try;;
14515esac 15101esac
14516eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15102eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15103$as_echo "$ac_try_echo") >&5
14517 (eval "$ac_link") 2>conftest.er1 15104 (eval "$ac_link") 2>conftest.er1
14518 ac_status=$? 15105 ac_status=$?
14519 grep -v '^ *+' conftest.er1 >conftest.err 15106 grep -v '^ *+' conftest.er1 >conftest.err
14520 rm -f conftest.er1 15107 rm -f conftest.er1
14521 cat conftest.err >&5 15108 cat conftest.err >&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } && { 15110 (exit $ac_status); } && {
14524 test -z "$ac_c_werror_flag" || 15111 test -z "$ac_c_werror_flag" ||
14525 test ! -s conftest.err 15112 test ! -s conftest.err
14526 } && test -s conftest$ac_exeext && 15113 } && test -s conftest$ac_exeext && {
14527 $as_test_x conftest$ac_exeext; then 15114 test "$cross_compiling" = yes ||
15115 $as_test_x conftest$ac_exeext
15116 }; then
14528 eval "$as_ac_var=yes" 15117 eval "$as_ac_var=yes"
14529else 15118else
14530 echo "$as_me: failed program was:" >&5 15119 $as_echo "$as_me: failed program was:" >&5
14531sed 's/^/| /' conftest.$ac_ext >&5 15120sed 's/^/| /' conftest.$ac_ext >&5
14532 15121
14533 eval "$as_ac_var=no" 15122 eval "$as_ac_var=no"
14534fi 15123fi
14535 15124
15125rm -rf conftest.dSYM
14536rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15126rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14537 conftest$ac_exeext conftest.$ac_ext 15127 conftest$ac_exeext conftest.$ac_ext
14538fi 15128fi
14539ac_res=`eval echo '${'$as_ac_var'}'` 15129ac_res=`eval 'as_val=${'$as_ac_var'}
14540 { echo "$as_me:$LINENO: result: $ac_res" >&5 15130 $as_echo "$as_val"'`
14541echo "${ECHO_T}$ac_res" >&6; } 15131 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14542if test `eval echo '${'$as_ac_var'}'` = yes; then 15132$as_echo "$ac_res" >&6; }
15133if test `eval 'as_val=${'$as_ac_var'}
15134 $as_echo "$as_val"'` = yes; then
14543 cat >>confdefs.h <<_ACEOF 15135 cat >>confdefs.h <<_ACEOF
14544#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15136#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14545_ACEOF 15137_ACEOF
14546 15138
14547 { echo "$as_me:$LINENO: checking if setresgid seems to work" >&5 15139 { $as_echo "$as_me:$LINENO: checking if setresgid seems to work" >&5
14548echo $ECHO_N "checking if setresgid seems to work... $ECHO_C" >&6; } 15140$as_echo_n "checking if setresgid seems to work... " >&6; }
14549 if test "$cross_compiling" = yes; then 15141 if test "$cross_compiling" = yes; then
14550 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5 15142 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking setresuid" >&5
14551echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;} 15143$as_echo "$as_me: WARNING: cross compiling: not checking setresuid" >&2;}
14552 15144
14553else 15145else
14554 cat >conftest.$ac_ext <<_ACEOF 15146 cat >conftest.$ac_ext <<_ACEOF
@@ -14569,25 +15161,27 @@ case "(($ac_try" in
14569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14570 *) ac_try_echo=$ac_try;; 15162 *) ac_try_echo=$ac_try;;
14571esac 15163esac
14572eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15164eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15165$as_echo "$ac_try_echo") >&5
14573 (eval "$ac_link") 2>&5 15166 (eval "$ac_link") 2>&5
14574 ac_status=$? 15167 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 15169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14577 { (case "(($ac_try" in 15170 { (case "(($ac_try" in
14578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14579 *) ac_try_echo=$ac_try;; 15172 *) ac_try_echo=$ac_try;;
14580esac 15173esac
14581eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15174eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15175$as_echo "$ac_try_echo") >&5
14582 (eval "$ac_try") 2>&5 15176 (eval "$ac_try") 2>&5
14583 ac_status=$? 15177 ac_status=$?
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then 15179 (exit $ac_status); }; }; then
14586 { echo "$as_me:$LINENO: result: yes" >&5 15180 { $as_echo "$as_me:$LINENO: result: yes" >&5
14587echo "${ECHO_T}yes" >&6; } 15181$as_echo "yes" >&6; }
14588else 15182else
14589 echo "$as_me: program exited with status $ac_status" >&5 15183 $as_echo "$as_me: program exited with status $ac_status" >&5
14590echo "$as_me: failed program was:" >&5 15184$as_echo "$as_me: failed program was:" >&5
14591sed 's/^/| /' conftest.$ac_ext >&5 15185sed 's/^/| /' conftest.$ac_ext >&5
14592 15186
14593( exit $ac_status ) 15187( exit $ac_status )
@@ -14596,9 +15190,10 @@ cat >>confdefs.h <<\_ACEOF
14596#define BROKEN_SETRESGID 1 15190#define BROKEN_SETRESGID 1
14597_ACEOF 15191_ACEOF
14598 15192
14599 { echo "$as_me:$LINENO: result: not implemented" >&5 15193 { $as_echo "$as_me:$LINENO: result: not implemented" >&5
14600echo "${ECHO_T}not implemented" >&6; } 15194$as_echo "not implemented" >&6; }
14601fi 15195fi
15196rm -rf conftest.dSYM
14602rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 15197rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14603fi 15198fi
14604 15199
@@ -14612,11 +15207,11 @@ done
14612 15207
14613for ac_func in gettimeofday time 15208for ac_func in gettimeofday time
14614do 15209do
14615as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15210as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14616{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15211{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14617echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15212$as_echo_n "checking for $ac_func... " >&6; }
14618if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15213if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6 15214 $as_echo_n "(cached) " >&6
14620else 15215else
14621 cat >conftest.$ac_ext <<_ACEOF 15216 cat >conftest.$ac_ext <<_ACEOF
14622/* confdefs.h. */ 15217/* confdefs.h. */
@@ -14669,35 +15264,41 @@ case "(($ac_try" in
14669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14670 *) ac_try_echo=$ac_try;; 15265 *) ac_try_echo=$ac_try;;
14671esac 15266esac
14672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15267eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15268$as_echo "$ac_try_echo") >&5
14673 (eval "$ac_link") 2>conftest.er1 15269 (eval "$ac_link") 2>conftest.er1
14674 ac_status=$? 15270 ac_status=$?
14675 grep -v '^ *+' conftest.er1 >conftest.err 15271 grep -v '^ *+' conftest.er1 >conftest.err
14676 rm -f conftest.er1 15272 rm -f conftest.er1
14677 cat conftest.err >&5 15273 cat conftest.err >&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } && { 15275 (exit $ac_status); } && {
14680 test -z "$ac_c_werror_flag" || 15276 test -z "$ac_c_werror_flag" ||
14681 test ! -s conftest.err 15277 test ! -s conftest.err
14682 } && test -s conftest$ac_exeext && 15278 } && test -s conftest$ac_exeext && {
14683 $as_test_x conftest$ac_exeext; then 15279 test "$cross_compiling" = yes ||
15280 $as_test_x conftest$ac_exeext
15281 }; then
14684 eval "$as_ac_var=yes" 15282 eval "$as_ac_var=yes"
14685else 15283else
14686 echo "$as_me: failed program was:" >&5 15284 $as_echo "$as_me: failed program was:" >&5
14687sed 's/^/| /' conftest.$ac_ext >&5 15285sed 's/^/| /' conftest.$ac_ext >&5
14688 15286
14689 eval "$as_ac_var=no" 15287 eval "$as_ac_var=no"
14690fi 15288fi
14691 15289
15290rm -rf conftest.dSYM
14692rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15291rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14693 conftest$ac_exeext conftest.$ac_ext 15292 conftest$ac_exeext conftest.$ac_ext
14694fi 15293fi
14695ac_res=`eval echo '${'$as_ac_var'}'` 15294ac_res=`eval 'as_val=${'$as_ac_var'}
14696 { echo "$as_me:$LINENO: result: $ac_res" >&5 15295 $as_echo "$as_val"'`
14697echo "${ECHO_T}$ac_res" >&6; } 15296 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14698if test `eval echo '${'$as_ac_var'}'` = yes; then 15297$as_echo "$ac_res" >&6; }
15298if test `eval 'as_val=${'$as_ac_var'}
15299 $as_echo "$as_val"'` = yes; then
14699 cat >>confdefs.h <<_ACEOF 15300 cat >>confdefs.h <<_ACEOF
14700#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15301#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14701_ACEOF 15302_ACEOF
14702 15303
14703fi 15304fi
@@ -14711,11 +15312,11 @@ done
14711 15312
14712for ac_func in endutent getutent getutid getutline pututline setutent 15313for ac_func in endutent getutent getutid getutline pututline setutent
14713do 15314do
14714as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15315as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14715{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15316{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14716echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15317$as_echo_n "checking for $ac_func... " >&6; }
14717if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15318if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6 15319 $as_echo_n "(cached) " >&6
14719else 15320else
14720 cat >conftest.$ac_ext <<_ACEOF 15321 cat >conftest.$ac_ext <<_ACEOF
14721/* confdefs.h. */ 15322/* confdefs.h. */
@@ -14768,35 +15369,41 @@ case "(($ac_try" in
14768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14769 *) ac_try_echo=$ac_try;; 15370 *) ac_try_echo=$ac_try;;
14770esac 15371esac
14771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15373$as_echo "$ac_try_echo") >&5
14772 (eval "$ac_link") 2>conftest.er1 15374 (eval "$ac_link") 2>conftest.er1
14773 ac_status=$? 15375 ac_status=$?
14774 grep -v '^ *+' conftest.er1 >conftest.err 15376 grep -v '^ *+' conftest.er1 >conftest.err
14775 rm -f conftest.er1 15377 rm -f conftest.er1
14776 cat conftest.err >&5 15378 cat conftest.err >&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } && { 15380 (exit $ac_status); } && {
14779 test -z "$ac_c_werror_flag" || 15381 test -z "$ac_c_werror_flag" ||
14780 test ! -s conftest.err 15382 test ! -s conftest.err
14781 } && test -s conftest$ac_exeext && 15383 } && test -s conftest$ac_exeext && {
14782 $as_test_x conftest$ac_exeext; then 15384 test "$cross_compiling" = yes ||
15385 $as_test_x conftest$ac_exeext
15386 }; then
14783 eval "$as_ac_var=yes" 15387 eval "$as_ac_var=yes"
14784else 15388else
14785 echo "$as_me: failed program was:" >&5 15389 $as_echo "$as_me: failed program was:" >&5
14786sed 's/^/| /' conftest.$ac_ext >&5 15390sed 's/^/| /' conftest.$ac_ext >&5
14787 15391
14788 eval "$as_ac_var=no" 15392 eval "$as_ac_var=no"
14789fi 15393fi
14790 15394
15395rm -rf conftest.dSYM
14791rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15396rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14792 conftest$ac_exeext conftest.$ac_ext 15397 conftest$ac_exeext conftest.$ac_ext
14793fi 15398fi
14794ac_res=`eval echo '${'$as_ac_var'}'` 15399ac_res=`eval 'as_val=${'$as_ac_var'}
14795 { echo "$as_me:$LINENO: result: $ac_res" >&5 15400 $as_echo "$as_val"'`
14796echo "${ECHO_T}$ac_res" >&6; } 15401 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14797if test `eval echo '${'$as_ac_var'}'` = yes; then 15402$as_echo "$ac_res" >&6; }
15403if test `eval 'as_val=${'$as_ac_var'}
15404 $as_echo "$as_val"'` = yes; then
14798 cat >>confdefs.h <<_ACEOF 15405 cat >>confdefs.h <<_ACEOF
14799#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15406#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14800_ACEOF 15407_ACEOF
14801 15408
14802fi 15409fi
@@ -14805,11 +15412,11 @@ done
14805 15412
14806for ac_func in utmpname 15413for ac_func in utmpname
14807do 15414do
14808as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15415as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14809{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15416{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14810echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15417$as_echo_n "checking for $ac_func... " >&6; }
14811if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15418if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14812 echo $ECHO_N "(cached) $ECHO_C" >&6 15419 $as_echo_n "(cached) " >&6
14813else 15420else
14814 cat >conftest.$ac_ext <<_ACEOF 15421 cat >conftest.$ac_ext <<_ACEOF
14815/* confdefs.h. */ 15422/* confdefs.h. */
@@ -14862,35 +15469,41 @@ case "(($ac_try" in
14862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14863 *) ac_try_echo=$ac_try;; 15470 *) ac_try_echo=$ac_try;;
14864esac 15471esac
14865eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15472eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15473$as_echo "$ac_try_echo") >&5
14866 (eval "$ac_link") 2>conftest.er1 15474 (eval "$ac_link") 2>conftest.er1
14867 ac_status=$? 15475 ac_status=$?
14868 grep -v '^ *+' conftest.er1 >conftest.err 15476 grep -v '^ *+' conftest.er1 >conftest.err
14869 rm -f conftest.er1 15477 rm -f conftest.er1
14870 cat conftest.err >&5 15478 cat conftest.err >&5
14871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872 (exit $ac_status); } && { 15480 (exit $ac_status); } && {
14873 test -z "$ac_c_werror_flag" || 15481 test -z "$ac_c_werror_flag" ||
14874 test ! -s conftest.err 15482 test ! -s conftest.err
14875 } && test -s conftest$ac_exeext && 15483 } && test -s conftest$ac_exeext && {
14876 $as_test_x conftest$ac_exeext; then 15484 test "$cross_compiling" = yes ||
15485 $as_test_x conftest$ac_exeext
15486 }; then
14877 eval "$as_ac_var=yes" 15487 eval "$as_ac_var=yes"
14878else 15488else
14879 echo "$as_me: failed program was:" >&5 15489 $as_echo "$as_me: failed program was:" >&5
14880sed 's/^/| /' conftest.$ac_ext >&5 15490sed 's/^/| /' conftest.$ac_ext >&5
14881 15491
14882 eval "$as_ac_var=no" 15492 eval "$as_ac_var=no"
14883fi 15493fi
14884 15494
15495rm -rf conftest.dSYM
14885rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15496rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14886 conftest$ac_exeext conftest.$ac_ext 15497 conftest$ac_exeext conftest.$ac_ext
14887fi 15498fi
14888ac_res=`eval echo '${'$as_ac_var'}'` 15499ac_res=`eval 'as_val=${'$as_ac_var'}
14889 { echo "$as_me:$LINENO: result: $ac_res" >&5 15500 $as_echo "$as_val"'`
14890echo "${ECHO_T}$ac_res" >&6; } 15501 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14891if test `eval echo '${'$as_ac_var'}'` = yes; then 15502$as_echo "$ac_res" >&6; }
15503if test `eval 'as_val=${'$as_ac_var'}
15504 $as_echo "$as_val"'` = yes; then
14892 cat >>confdefs.h <<_ACEOF 15505 cat >>confdefs.h <<_ACEOF
14893#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15506#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14894_ACEOF 15507_ACEOF
14895 15508
14896fi 15509fi
@@ -14903,11 +15516,11 @@ done
14903 15516
14904for ac_func in endutxent getutxent getutxid getutxline pututxline 15517for ac_func in endutxent getutxent getutxid getutxline pututxline
14905do 15518do
14906as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15519as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14907{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15520{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14908echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15521$as_echo_n "checking for $ac_func... " >&6; }
14909if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15522if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14910 echo $ECHO_N "(cached) $ECHO_C" >&6 15523 $as_echo_n "(cached) " >&6
14911else 15524else
14912 cat >conftest.$ac_ext <<_ACEOF 15525 cat >conftest.$ac_ext <<_ACEOF
14913/* confdefs.h. */ 15526/* confdefs.h. */
@@ -14960,35 +15573,41 @@ case "(($ac_try" in
14960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14961 *) ac_try_echo=$ac_try;; 15574 *) ac_try_echo=$ac_try;;
14962esac 15575esac
14963eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15576eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15577$as_echo "$ac_try_echo") >&5
14964 (eval "$ac_link") 2>conftest.er1 15578 (eval "$ac_link") 2>conftest.er1
14965 ac_status=$? 15579 ac_status=$?
14966 grep -v '^ *+' conftest.er1 >conftest.err 15580 grep -v '^ *+' conftest.er1 >conftest.err
14967 rm -f conftest.er1 15581 rm -f conftest.er1
14968 cat conftest.err >&5 15582 cat conftest.err >&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && { 15584 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" || 15585 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err 15586 test ! -s conftest.err
14973 } && test -s conftest$ac_exeext && 15587 } && test -s conftest$ac_exeext && {
14974 $as_test_x conftest$ac_exeext; then 15588 test "$cross_compiling" = yes ||
15589 $as_test_x conftest$ac_exeext
15590 }; then
14975 eval "$as_ac_var=yes" 15591 eval "$as_ac_var=yes"
14976else 15592else
14977 echo "$as_me: failed program was:" >&5 15593 $as_echo "$as_me: failed program was:" >&5
14978sed 's/^/| /' conftest.$ac_ext >&5 15594sed 's/^/| /' conftest.$ac_ext >&5
14979 15595
14980 eval "$as_ac_var=no" 15596 eval "$as_ac_var=no"
14981fi 15597fi
14982 15598
15599rm -rf conftest.dSYM
14983rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15600rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14984 conftest$ac_exeext conftest.$ac_ext 15601 conftest$ac_exeext conftest.$ac_ext
14985fi 15602fi
14986ac_res=`eval echo '${'$as_ac_var'}'` 15603ac_res=`eval 'as_val=${'$as_ac_var'}
14987 { echo "$as_me:$LINENO: result: $ac_res" >&5 15604 $as_echo "$as_val"'`
14988echo "${ECHO_T}$ac_res" >&6; } 15605 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14989if test `eval echo '${'$as_ac_var'}'` = yes; then 15606$as_echo "$ac_res" >&6; }
15607if test `eval 'as_val=${'$as_ac_var'}
15608 $as_echo "$as_val"'` = yes; then
14990 cat >>confdefs.h <<_ACEOF 15609 cat >>confdefs.h <<_ACEOF
14991#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15610#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14992_ACEOF 15611_ACEOF
14993 15612
14994fi 15613fi
@@ -14998,11 +15617,11 @@ done
14998 15617
14999for ac_func in setutxent utmpxname 15618for ac_func in setutxent utmpxname
15000do 15619do
15001as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15620as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15002{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15621{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15003echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15622$as_echo_n "checking for $ac_func... " >&6; }
15004if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15623if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6 15624 $as_echo_n "(cached) " >&6
15006else 15625else
15007 cat >conftest.$ac_ext <<_ACEOF 15626 cat >conftest.$ac_ext <<_ACEOF
15008/* confdefs.h. */ 15627/* confdefs.h. */
@@ -15055,35 +15674,41 @@ case "(($ac_try" in
15055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15056 *) ac_try_echo=$ac_try;; 15675 *) ac_try_echo=$ac_try;;
15057esac 15676esac
15058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15677eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15678$as_echo "$ac_try_echo") >&5
15059 (eval "$ac_link") 2>conftest.er1 15679 (eval "$ac_link") 2>conftest.er1
15060 ac_status=$? 15680 ac_status=$?
15061 grep -v '^ *+' conftest.er1 >conftest.err 15681 grep -v '^ *+' conftest.er1 >conftest.err
15062 rm -f conftest.er1 15682 rm -f conftest.er1
15063 cat conftest.err >&5 15683 cat conftest.err >&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } && { 15685 (exit $ac_status); } && {
15066 test -z "$ac_c_werror_flag" || 15686 test -z "$ac_c_werror_flag" ||
15067 test ! -s conftest.err 15687 test ! -s conftest.err
15068 } && test -s conftest$ac_exeext && 15688 } && test -s conftest$ac_exeext && {
15069 $as_test_x conftest$ac_exeext; then 15689 test "$cross_compiling" = yes ||
15690 $as_test_x conftest$ac_exeext
15691 }; then
15070 eval "$as_ac_var=yes" 15692 eval "$as_ac_var=yes"
15071else 15693else
15072 echo "$as_me: failed program was:" >&5 15694 $as_echo "$as_me: failed program was:" >&5
15073sed 's/^/| /' conftest.$ac_ext >&5 15695sed 's/^/| /' conftest.$ac_ext >&5
15074 15696
15075 eval "$as_ac_var=no" 15697 eval "$as_ac_var=no"
15076fi 15698fi
15077 15699
15700rm -rf conftest.dSYM
15078rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15701rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15079 conftest$ac_exeext conftest.$ac_ext 15702 conftest$ac_exeext conftest.$ac_ext
15080fi 15703fi
15081ac_res=`eval echo '${'$as_ac_var'}'` 15704ac_res=`eval 'as_val=${'$as_ac_var'}
15082 { echo "$as_me:$LINENO: result: $ac_res" >&5 15705 $as_echo "$as_val"'`
15083echo "${ECHO_T}$ac_res" >&6; } 15706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15084if test `eval echo '${'$as_ac_var'}'` = yes; then 15707$as_echo "$ac_res" >&6; }
15708if test `eval 'as_val=${'$as_ac_var'}
15709 $as_echo "$as_val"'` = yes; then
15085 cat >>confdefs.h <<_ACEOF 15710 cat >>confdefs.h <<_ACEOF
15086#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15711#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15087_ACEOF 15712_ACEOF
15088 15713
15089fi 15714fi
@@ -15092,11 +15717,11 @@ done
15092 15717
15093for ac_func in getlastlogxbyname 15718for ac_func in getlastlogxbyname
15094do 15719do
15095as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 15720as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15096{ echo "$as_me:$LINENO: checking for $ac_func" >&5 15721{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15097echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 15722$as_echo_n "checking for $ac_func... " >&6; }
15098if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 15723if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6 15724 $as_echo_n "(cached) " >&6
15100else 15725else
15101 cat >conftest.$ac_ext <<_ACEOF 15726 cat >conftest.$ac_ext <<_ACEOF
15102/* confdefs.h. */ 15727/* confdefs.h. */
@@ -15149,45 +15774,51 @@ case "(($ac_try" in
15149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15150 *) ac_try_echo=$ac_try;; 15775 *) ac_try_echo=$ac_try;;
15151esac 15776esac
15152eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15777eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15778$as_echo "$ac_try_echo") >&5
15153 (eval "$ac_link") 2>conftest.er1 15779 (eval "$ac_link") 2>conftest.er1
15154 ac_status=$? 15780 ac_status=$?
15155 grep -v '^ *+' conftest.er1 >conftest.err 15781 grep -v '^ *+' conftest.er1 >conftest.err
15156 rm -f conftest.er1 15782 rm -f conftest.er1
15157 cat conftest.err >&5 15783 cat conftest.err >&5
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } && { 15785 (exit $ac_status); } && {
15160 test -z "$ac_c_werror_flag" || 15786 test -z "$ac_c_werror_flag" ||
15161 test ! -s conftest.err 15787 test ! -s conftest.err
15162 } && test -s conftest$ac_exeext && 15788 } && test -s conftest$ac_exeext && {
15163 $as_test_x conftest$ac_exeext; then 15789 test "$cross_compiling" = yes ||
15790 $as_test_x conftest$ac_exeext
15791 }; then
15164 eval "$as_ac_var=yes" 15792 eval "$as_ac_var=yes"
15165else 15793else
15166 echo "$as_me: failed program was:" >&5 15794 $as_echo "$as_me: failed program was:" >&5
15167sed 's/^/| /' conftest.$ac_ext >&5 15795sed 's/^/| /' conftest.$ac_ext >&5
15168 15796
15169 eval "$as_ac_var=no" 15797 eval "$as_ac_var=no"
15170fi 15798fi
15171 15799
15800rm -rf conftest.dSYM
15172rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15801rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15173 conftest$ac_exeext conftest.$ac_ext 15802 conftest$ac_exeext conftest.$ac_ext
15174fi 15803fi
15175ac_res=`eval echo '${'$as_ac_var'}'` 15804ac_res=`eval 'as_val=${'$as_ac_var'}
15176 { echo "$as_me:$LINENO: result: $ac_res" >&5 15805 $as_echo "$as_val"'`
15177echo "${ECHO_T}$ac_res" >&6; } 15806 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15178if test `eval echo '${'$as_ac_var'}'` = yes; then 15807$as_echo "$ac_res" >&6; }
15808if test `eval 'as_val=${'$as_ac_var'}
15809 $as_echo "$as_val"'` = yes; then
15179 cat >>confdefs.h <<_ACEOF 15810 cat >>confdefs.h <<_ACEOF
15180#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 15811#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15181_ACEOF 15812_ACEOF
15182 15813
15183fi 15814fi
15184done 15815done
15185 15816
15186 15817
15187{ echo "$as_me:$LINENO: checking for daemon" >&5 15818{ $as_echo "$as_me:$LINENO: checking for daemon" >&5
15188echo $ECHO_N "checking for daemon... $ECHO_C" >&6; } 15819$as_echo_n "checking for daemon... " >&6; }
15189if test "${ac_cv_func_daemon+set}" = set; then 15820if test "${ac_cv_func_daemon+set}" = set; then
15190 echo $ECHO_N "(cached) $ECHO_C" >&6 15821 $as_echo_n "(cached) " >&6
15191else 15822else
15192 cat >conftest.$ac_ext <<_ACEOF 15823 cat >conftest.$ac_ext <<_ACEOF
15193/* confdefs.h. */ 15824/* confdefs.h. */
@@ -15240,31 +15871,35 @@ case "(($ac_try" in
15240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15241 *) ac_try_echo=$ac_try;; 15872 *) ac_try_echo=$ac_try;;
15242esac 15873esac
15243eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15875$as_echo "$ac_try_echo") >&5
15244 (eval "$ac_link") 2>conftest.er1 15876 (eval "$ac_link") 2>conftest.er1
15245 ac_status=$? 15877 ac_status=$?
15246 grep -v '^ *+' conftest.er1 >conftest.err 15878 grep -v '^ *+' conftest.er1 >conftest.err
15247 rm -f conftest.er1 15879 rm -f conftest.er1
15248 cat conftest.err >&5 15880 cat conftest.err >&5
15249 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15250 (exit $ac_status); } && { 15882 (exit $ac_status); } && {
15251 test -z "$ac_c_werror_flag" || 15883 test -z "$ac_c_werror_flag" ||
15252 test ! -s conftest.err 15884 test ! -s conftest.err
15253 } && test -s conftest$ac_exeext && 15885 } && test -s conftest$ac_exeext && {
15254 $as_test_x conftest$ac_exeext; then 15886 test "$cross_compiling" = yes ||
15887 $as_test_x conftest$ac_exeext
15888 }; then
15255 ac_cv_func_daemon=yes 15889 ac_cv_func_daemon=yes
15256else 15890else
15257 echo "$as_me: failed program was:" >&5 15891 $as_echo "$as_me: failed program was:" >&5
15258sed 's/^/| /' conftest.$ac_ext >&5 15892sed 's/^/| /' conftest.$ac_ext >&5
15259 15893
15260 ac_cv_func_daemon=no 15894 ac_cv_func_daemon=no
15261fi 15895fi
15262 15896
15897rm -rf conftest.dSYM
15263rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15898rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15264 conftest$ac_exeext conftest.$ac_ext 15899 conftest$ac_exeext conftest.$ac_ext
15265fi 15900fi
15266{ echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5 15901{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_daemon" >&5
15267echo "${ECHO_T}$ac_cv_func_daemon" >&6; } 15902$as_echo "$ac_cv_func_daemon" >&6; }
15268if test $ac_cv_func_daemon = yes; then 15903if test $ac_cv_func_daemon = yes; then
15269 15904
15270cat >>confdefs.h <<\_ACEOF 15905cat >>confdefs.h <<\_ACEOF
@@ -15272,10 +15907,10 @@ cat >>confdefs.h <<\_ACEOF
15272_ACEOF 15907_ACEOF
15273 15908
15274else 15909else
15275 { echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5 15910 { $as_echo "$as_me:$LINENO: checking for daemon in -lbsd" >&5
15276echo $ECHO_N "checking for daemon in -lbsd... $ECHO_C" >&6; } 15911$as_echo_n "checking for daemon in -lbsd... " >&6; }
15277if test "${ac_cv_lib_bsd_daemon+set}" = set; then 15912if test "${ac_cv_lib_bsd_daemon+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6 15913 $as_echo_n "(cached) " >&6
15279else 15914else
15280 ac_check_lib_save_LIBS=$LIBS 15915 ac_check_lib_save_LIBS=$LIBS
15281LIBS="-lbsd $LIBS" 15916LIBS="-lbsd $LIBS"
@@ -15307,32 +15942,36 @@ case "(($ac_try" in
15307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 15942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15308 *) ac_try_echo=$ac_try;; 15943 *) ac_try_echo=$ac_try;;
15309esac 15944esac
15310eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 15945eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15946$as_echo "$ac_try_echo") >&5
15311 (eval "$ac_link") 2>conftest.er1 15947 (eval "$ac_link") 2>conftest.er1
15312 ac_status=$? 15948 ac_status=$?
15313 grep -v '^ *+' conftest.er1 >conftest.err 15949 grep -v '^ *+' conftest.er1 >conftest.err
15314 rm -f conftest.er1 15950 rm -f conftest.er1
15315 cat conftest.err >&5 15951 cat conftest.err >&5
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && { 15953 (exit $ac_status); } && {
15318 test -z "$ac_c_werror_flag" || 15954 test -z "$ac_c_werror_flag" ||
15319 test ! -s conftest.err 15955 test ! -s conftest.err
15320 } && test -s conftest$ac_exeext && 15956 } && test -s conftest$ac_exeext && {
15321 $as_test_x conftest$ac_exeext; then 15957 test "$cross_compiling" = yes ||
15958 $as_test_x conftest$ac_exeext
15959 }; then
15322 ac_cv_lib_bsd_daemon=yes 15960 ac_cv_lib_bsd_daemon=yes
15323else 15961else
15324 echo "$as_me: failed program was:" >&5 15962 $as_echo "$as_me: failed program was:" >&5
15325sed 's/^/| /' conftest.$ac_ext >&5 15963sed 's/^/| /' conftest.$ac_ext >&5
15326 15964
15327 ac_cv_lib_bsd_daemon=no 15965 ac_cv_lib_bsd_daemon=no
15328fi 15966fi
15329 15967
15968rm -rf conftest.dSYM
15330rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 15969rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15331 conftest$ac_exeext conftest.$ac_ext 15970 conftest$ac_exeext conftest.$ac_ext
15332LIBS=$ac_check_lib_save_LIBS 15971LIBS=$ac_check_lib_save_LIBS
15333fi 15972fi
15334{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5 15973{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_daemon" >&5
15335echo "${ECHO_T}$ac_cv_lib_bsd_daemon" >&6; } 15974$as_echo "$ac_cv_lib_bsd_daemon" >&6; }
15336if test $ac_cv_lib_bsd_daemon = yes; then 15975if test $ac_cv_lib_bsd_daemon = yes; then
15337 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF 15976 LIBS="$LIBS -lbsd"; cat >>confdefs.h <<\_ACEOF
15338#define HAVE_DAEMON 1 15977#define HAVE_DAEMON 1
@@ -15344,10 +15983,10 @@ fi
15344fi 15983fi
15345 15984
15346 15985
15347{ echo "$as_me:$LINENO: checking for getpagesize" >&5 15986{ $as_echo "$as_me:$LINENO: checking for getpagesize" >&5
15348echo $ECHO_N "checking for getpagesize... $ECHO_C" >&6; } 15987$as_echo_n "checking for getpagesize... " >&6; }
15349if test "${ac_cv_func_getpagesize+set}" = set; then 15988if test "${ac_cv_func_getpagesize+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6 15989 $as_echo_n "(cached) " >&6
15351else 15990else
15352 cat >conftest.$ac_ext <<_ACEOF 15991 cat >conftest.$ac_ext <<_ACEOF
15353/* confdefs.h. */ 15992/* confdefs.h. */
@@ -15400,31 +16039,35 @@ case "(($ac_try" in
15400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15401 *) ac_try_echo=$ac_try;; 16040 *) ac_try_echo=$ac_try;;
15402esac 16041esac
15403eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16042eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16043$as_echo "$ac_try_echo") >&5
15404 (eval "$ac_link") 2>conftest.er1 16044 (eval "$ac_link") 2>conftest.er1
15405 ac_status=$? 16045 ac_status=$?
15406 grep -v '^ *+' conftest.er1 >conftest.err 16046 grep -v '^ *+' conftest.er1 >conftest.err
15407 rm -f conftest.er1 16047 rm -f conftest.er1
15408 cat conftest.err >&5 16048 cat conftest.err >&5
15409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15410 (exit $ac_status); } && { 16050 (exit $ac_status); } && {
15411 test -z "$ac_c_werror_flag" || 16051 test -z "$ac_c_werror_flag" ||
15412 test ! -s conftest.err 16052 test ! -s conftest.err
15413 } && test -s conftest$ac_exeext && 16053 } && test -s conftest$ac_exeext && {
15414 $as_test_x conftest$ac_exeext; then 16054 test "$cross_compiling" = yes ||
16055 $as_test_x conftest$ac_exeext
16056 }; then
15415 ac_cv_func_getpagesize=yes 16057 ac_cv_func_getpagesize=yes
15416else 16058else
15417 echo "$as_me: failed program was:" >&5 16059 $as_echo "$as_me: failed program was:" >&5
15418sed 's/^/| /' conftest.$ac_ext >&5 16060sed 's/^/| /' conftest.$ac_ext >&5
15419 16061
15420 ac_cv_func_getpagesize=no 16062 ac_cv_func_getpagesize=no
15421fi 16063fi
15422 16064
16065rm -rf conftest.dSYM
15423rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16066rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15424 conftest$ac_exeext conftest.$ac_ext 16067 conftest$ac_exeext conftest.$ac_ext
15425fi 16068fi
15426{ echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5 16069{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpagesize" >&5
15427echo "${ECHO_T}$ac_cv_func_getpagesize" >&6; } 16070$as_echo "$ac_cv_func_getpagesize" >&6; }
15428if test $ac_cv_func_getpagesize = yes; then 16071if test $ac_cv_func_getpagesize = yes; then
15429 16072
15430cat >>confdefs.h <<\_ACEOF 16073cat >>confdefs.h <<\_ACEOF
@@ -15432,10 +16075,10 @@ cat >>confdefs.h <<\_ACEOF
15432_ACEOF 16075_ACEOF
15433 16076
15434else 16077else
15435 { echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5 16078 { $as_echo "$as_me:$LINENO: checking for getpagesize in -lucb" >&5
15436echo $ECHO_N "checking for getpagesize in -lucb... $ECHO_C" >&6; } 16079$as_echo_n "checking for getpagesize in -lucb... " >&6; }
15437if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then 16080if test "${ac_cv_lib_ucb_getpagesize+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6 16081 $as_echo_n "(cached) " >&6
15439else 16082else
15440 ac_check_lib_save_LIBS=$LIBS 16083 ac_check_lib_save_LIBS=$LIBS
15441LIBS="-lucb $LIBS" 16084LIBS="-lucb $LIBS"
@@ -15467,32 +16110,36 @@ case "(($ac_try" in
15467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15468 *) ac_try_echo=$ac_try;; 16111 *) ac_try_echo=$ac_try;;
15469esac 16112esac
15470eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16113eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16114$as_echo "$ac_try_echo") >&5
15471 (eval "$ac_link") 2>conftest.er1 16115 (eval "$ac_link") 2>conftest.er1
15472 ac_status=$? 16116 ac_status=$?
15473 grep -v '^ *+' conftest.er1 >conftest.err 16117 grep -v '^ *+' conftest.er1 >conftest.err
15474 rm -f conftest.er1 16118 rm -f conftest.er1
15475 cat conftest.err >&5 16119 cat conftest.err >&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } && { 16121 (exit $ac_status); } && {
15478 test -z "$ac_c_werror_flag" || 16122 test -z "$ac_c_werror_flag" ||
15479 test ! -s conftest.err 16123 test ! -s conftest.err
15480 } && test -s conftest$ac_exeext && 16124 } && test -s conftest$ac_exeext && {
15481 $as_test_x conftest$ac_exeext; then 16125 test "$cross_compiling" = yes ||
16126 $as_test_x conftest$ac_exeext
16127 }; then
15482 ac_cv_lib_ucb_getpagesize=yes 16128 ac_cv_lib_ucb_getpagesize=yes
15483else 16129else
15484 echo "$as_me: failed program was:" >&5 16130 $as_echo "$as_me: failed program was:" >&5
15485sed 's/^/| /' conftest.$ac_ext >&5 16131sed 's/^/| /' conftest.$ac_ext >&5
15486 16132
15487 ac_cv_lib_ucb_getpagesize=no 16133 ac_cv_lib_ucb_getpagesize=no
15488fi 16134fi
15489 16135
16136rm -rf conftest.dSYM
15490rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 16137rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15491 conftest$ac_exeext conftest.$ac_ext 16138 conftest$ac_exeext conftest.$ac_ext
15492LIBS=$ac_check_lib_save_LIBS 16139LIBS=$ac_check_lib_save_LIBS
15493fi 16140fi
15494{ echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5 16141{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ucb_getpagesize" >&5
15495echo "${ECHO_T}$ac_cv_lib_ucb_getpagesize" >&6; } 16142$as_echo "$ac_cv_lib_ucb_getpagesize" >&6; }
15496if test $ac_cv_lib_ucb_getpagesize = yes; then 16143if test $ac_cv_lib_ucb_getpagesize = yes; then
15497 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF 16144 LIBS="$LIBS -lucb"; cat >>confdefs.h <<\_ACEOF
15498#define HAVE_GETPAGESIZE 1 16145#define HAVE_GETPAGESIZE 1
@@ -15506,11 +16153,11 @@ fi
15506 16153
15507# Check for broken snprintf 16154# Check for broken snprintf
15508if test "x$ac_cv_func_snprintf" = "xyes" ; then 16155if test "x$ac_cv_func_snprintf" = "xyes" ; then
15509 { echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5 16156 { $as_echo "$as_me:$LINENO: checking whether snprintf correctly terminates long strings" >&5
15510echo $ECHO_N "checking whether snprintf correctly terminates long strings... $ECHO_C" >&6; } 16157$as_echo_n "checking whether snprintf correctly terminates long strings... " >&6; }
15511 if test "$cross_compiling" = yes; then 16158 if test "$cross_compiling" = yes; then
15512 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 16159 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
15513echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} 16160$as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
15514 16161
15515else 16162else
15516 cat >conftest.$ac_ext <<_ACEOF 16163 cat >conftest.$ac_ext <<_ACEOF
@@ -15530,40 +16177,43 @@ case "(($ac_try" in
15530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15531 *) ac_try_echo=$ac_try;; 16178 *) ac_try_echo=$ac_try;;
15532esac 16179esac
15533eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16181$as_echo "$ac_try_echo") >&5
15534 (eval "$ac_link") 2>&5 16182 (eval "$ac_link") 2>&5
15535 ac_status=$? 16183 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16185 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15538 { (case "(($ac_try" in 16186 { (case "(($ac_try" in
15539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15540 *) ac_try_echo=$ac_try;; 16188 *) ac_try_echo=$ac_try;;
15541esac 16189esac
15542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16190eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16191$as_echo "$ac_try_echo") >&5
15543 (eval "$ac_try") 2>&5 16192 (eval "$ac_try") 2>&5
15544 ac_status=$? 16193 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16194 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; }; then 16195 (exit $ac_status); }; }; then
15547 { echo "$as_me:$LINENO: result: yes" >&5 16196 { $as_echo "$as_me:$LINENO: result: yes" >&5
15548echo "${ECHO_T}yes" >&6; } 16197$as_echo "yes" >&6; }
15549else 16198else
15550 echo "$as_me: program exited with status $ac_status" >&5 16199 $as_echo "$as_me: program exited with status $ac_status" >&5
15551echo "$as_me: failed program was:" >&5 16200$as_echo "$as_me: failed program was:" >&5
15552sed 's/^/| /' conftest.$ac_ext >&5 16201sed 's/^/| /' conftest.$ac_ext >&5
15553 16202
15554( exit $ac_status ) 16203( exit $ac_status )
15555 16204
15556 { echo "$as_me:$LINENO: result: no" >&5 16205 { $as_echo "$as_me:$LINENO: result: no" >&5
15557echo "${ECHO_T}no" >&6; } 16206$as_echo "no" >&6; }
15558 16207
15559cat >>confdefs.h <<\_ACEOF 16208cat >>confdefs.h <<\_ACEOF
15560#define BROKEN_SNPRINTF 1 16209#define BROKEN_SNPRINTF 1
15561_ACEOF 16210_ACEOF
15562 16211
15563 { echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5 16212 { $as_echo "$as_me:$LINENO: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&5
15564echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;} 16213$as_echo "$as_me: WARNING: ****** Your snprintf() function is broken, complain to your vendor" >&2;}
15565 16214
15566fi 16215fi
16216rm -rf conftest.dSYM
15567rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16217rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15568fi 16218fi
15569 16219
@@ -15575,11 +16225,11 @@ fi
15575# create (as per SUSv3) 16225# create (as per SUSv3)
15576if test "x$ac_cv_func_asprintf" != "xyes" && \ 16226if test "x$ac_cv_func_asprintf" != "xyes" && \
15577 test "x$ac_cv_func_vsnprintf" = "xyes" ; then 16227 test "x$ac_cv_func_vsnprintf" = "xyes" ; then
15578 { echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5 16228 { $as_echo "$as_me:$LINENO: checking whether vsnprintf returns correct values on overflow" >&5
15579echo $ECHO_N "checking whether vsnprintf returns correct values on overflow... $ECHO_C" >&6; } 16229$as_echo_n "checking whether vsnprintf returns correct values on overflow... " >&6; }
15580 if test "$cross_compiling" = yes; then 16230 if test "$cross_compiling" = yes; then
15581 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5 16231 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working vsnprintf()" >&5
15582echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;} 16232$as_echo "$as_me: WARNING: cross compiling: Assuming working vsnprintf()" >&2;}
15583 16233
15584else 16234else
15585 cat >conftest.$ac_ext <<_ACEOF 16235 cat >conftest.$ac_ext <<_ACEOF
@@ -15611,40 +16261,43 @@ case "(($ac_try" in
15611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15612 *) ac_try_echo=$ac_try;; 16262 *) ac_try_echo=$ac_try;;
15613esac 16263esac
15614eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16264eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16265$as_echo "$ac_try_echo") >&5
15615 (eval "$ac_link") 2>&5 16266 (eval "$ac_link") 2>&5
15616 ac_status=$? 16267 ac_status=$?
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15619 { (case "(($ac_try" in 16270 { (case "(($ac_try" in
15620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;; 16272 *) ac_try_echo=$ac_try;;
15622esac 16273esac
15623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16274eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16275$as_echo "$ac_try_echo") >&5
15624 (eval "$ac_try") 2>&5 16276 (eval "$ac_try") 2>&5
15625 ac_status=$? 16277 ac_status=$?
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then 16279 (exit $ac_status); }; }; then
15628 { echo "$as_me:$LINENO: result: yes" >&5 16280 { $as_echo "$as_me:$LINENO: result: yes" >&5
15629echo "${ECHO_T}yes" >&6; } 16281$as_echo "yes" >&6; }
15630else 16282else
15631 echo "$as_me: program exited with status $ac_status" >&5 16283 $as_echo "$as_me: program exited with status $ac_status" >&5
15632echo "$as_me: failed program was:" >&5 16284$as_echo "$as_me: failed program was:" >&5
15633sed 's/^/| /' conftest.$ac_ext >&5 16285sed 's/^/| /' conftest.$ac_ext >&5
15634 16286
15635( exit $ac_status ) 16287( exit $ac_status )
15636 16288
15637 { echo "$as_me:$LINENO: result: no" >&5 16289 { $as_echo "$as_me:$LINENO: result: no" >&5
15638echo "${ECHO_T}no" >&6; } 16290$as_echo "no" >&6; }
15639 16291
15640cat >>confdefs.h <<\_ACEOF 16292cat >>confdefs.h <<\_ACEOF
15641#define BROKEN_SNPRINTF 1 16293#define BROKEN_SNPRINTF 1
15642_ACEOF 16294_ACEOF
15643 16295
15644 { echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5 16296 { $as_echo "$as_me:$LINENO: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&5
15645echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;} 16297$as_echo "$as_me: WARNING: ****** Your vsnprintf() function is broken, complain to your vendor" >&2;}
15646 16298
15647fi 16299fi
16300rm -rf conftest.dSYM
15648rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16301rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15649fi 16302fi
15650 16303
@@ -15654,8 +16307,8 @@ fi
15654# On systems where [v]snprintf is broken, but is declared in stdio, 16307# On systems where [v]snprintf is broken, but is declared in stdio,
15655# check that the fmt argument is const char * or just char *. 16308# check that the fmt argument is const char * or just char *.
15656# This is only useful for when BROKEN_SNPRINTF 16309# This is only useful for when BROKEN_SNPRINTF
15657{ echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5 16310{ $as_echo "$as_me:$LINENO: checking whether snprintf can declare const char *fmt" >&5
15658echo $ECHO_N "checking whether snprintf can declare const char *fmt... $ECHO_C" >&6; } 16311$as_echo_n "checking whether snprintf can declare const char *fmt... " >&6; }
15659cat >conftest.$ac_ext <<_ACEOF 16312cat >conftest.$ac_ext <<_ACEOF
15660/* confdefs.h. */ 16313/* confdefs.h. */
15661_ACEOF 16314_ACEOF
@@ -15673,30 +16326,31 @@ case "(($ac_try" in
15673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15674 *) ac_try_echo=$ac_try;; 16327 *) ac_try_echo=$ac_try;;
15675esac 16328esac
15676eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16330$as_echo "$ac_try_echo") >&5
15677 (eval "$ac_compile") 2>conftest.er1 16331 (eval "$ac_compile") 2>conftest.er1
15678 ac_status=$? 16332 ac_status=$?
15679 grep -v '^ *+' conftest.er1 >conftest.err 16333 grep -v '^ *+' conftest.er1 >conftest.err
15680 rm -f conftest.er1 16334 rm -f conftest.er1
15681 cat conftest.err >&5 16335 cat conftest.err >&5
15682 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15683 (exit $ac_status); } && { 16337 (exit $ac_status); } && {
15684 test -z "$ac_c_werror_flag" || 16338 test -z "$ac_c_werror_flag" ||
15685 test ! -s conftest.err 16339 test ! -s conftest.err
15686 } && test -s conftest.$ac_objext; then 16340 } && test -s conftest.$ac_objext; then
15687 { echo "$as_me:$LINENO: result: yes" >&5 16341 { $as_echo "$as_me:$LINENO: result: yes" >&5
15688echo "${ECHO_T}yes" >&6; } 16342$as_echo "yes" >&6; }
15689 16343
15690cat >>confdefs.h <<\_ACEOF 16344cat >>confdefs.h <<\_ACEOF
15691#define SNPRINTF_CONST const 16345#define SNPRINTF_CONST const
15692_ACEOF 16346_ACEOF
15693 16347
15694else 16348else
15695 echo "$as_me: failed program was:" >&5 16349 $as_echo "$as_me: failed program was:" >&5
15696sed 's/^/| /' conftest.$ac_ext >&5 16350sed 's/^/| /' conftest.$ac_ext >&5
15697 16351
15698 { echo "$as_me:$LINENO: result: no" >&5 16352 { $as_echo "$as_me:$LINENO: result: no" >&5
15699echo "${ECHO_T}no" >&6; } 16353$as_echo "no" >&6; }
15700 cat >>confdefs.h <<\_ACEOF 16354 cat >>confdefs.h <<\_ACEOF
15701#define SNPRINTF_CONST /* not const */ 16355#define SNPRINTF_CONST /* not const */
15702_ACEOF 16356_ACEOF
@@ -15708,8 +16362,8 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708# Check for missing getpeereid (or equiv) support 16362# Check for missing getpeereid (or equiv) support
15709NO_PEERCHECK="" 16363NO_PEERCHECK=""
15710if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then 16364if test "x$ac_cv_func_getpeereid" != "xyes" -a "x$ac_cv_func_getpeerucred" != "xyes"; then
15711 { echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5 16365 { $as_echo "$as_me:$LINENO: checking whether system supports SO_PEERCRED getsockopt" >&5
15712echo $ECHO_N "checking whether system supports SO_PEERCRED getsockopt... $ECHO_C" >&6; } 16366$as_echo_n "checking whether system supports SO_PEERCRED getsockopt... " >&6; }
15713 cat >conftest.$ac_ext <<_ACEOF 16367 cat >conftest.$ac_ext <<_ACEOF
15714/* confdefs.h. */ 16368/* confdefs.h. */
15715_ACEOF 16369_ACEOF
@@ -15732,19 +16386,20 @@ case "(($ac_try" in
15732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15733 *) ac_try_echo=$ac_try;; 16387 *) ac_try_echo=$ac_try;;
15734esac 16388esac
15735eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16389eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16390$as_echo "$ac_try_echo") >&5
15736 (eval "$ac_compile") 2>conftest.er1 16391 (eval "$ac_compile") 2>conftest.er1
15737 ac_status=$? 16392 ac_status=$?
15738 grep -v '^ *+' conftest.er1 >conftest.err 16393 grep -v '^ *+' conftest.er1 >conftest.err
15739 rm -f conftest.er1 16394 rm -f conftest.er1
15740 cat conftest.err >&5 16395 cat conftest.err >&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } && { 16397 (exit $ac_status); } && {
15743 test -z "$ac_c_werror_flag" || 16398 test -z "$ac_c_werror_flag" ||
15744 test ! -s conftest.err 16399 test ! -s conftest.err
15745 } && test -s conftest.$ac_objext; then 16400 } && test -s conftest.$ac_objext; then
15746 { echo "$as_me:$LINENO: result: yes" >&5 16401 { $as_echo "$as_me:$LINENO: result: yes" >&5
15747echo "${ECHO_T}yes" >&6; } 16402$as_echo "yes" >&6; }
15748 16403
15749cat >>confdefs.h <<\_ACEOF 16404cat >>confdefs.h <<\_ACEOF
15750#define HAVE_SO_PEERCRED 1 16405#define HAVE_SO_PEERCRED 1
@@ -15752,11 +16407,11 @@ _ACEOF
15752 16407
15753 16408
15754else 16409else
15755 echo "$as_me: failed program was:" >&5 16410 $as_echo "$as_me: failed program was:" >&5
15756sed 's/^/| /' conftest.$ac_ext >&5 16411sed 's/^/| /' conftest.$ac_ext >&5
15757 16412
15758 { echo "$as_me:$LINENO: result: no" >&5 16413 { $as_echo "$as_me:$LINENO: result: no" >&5
15759echo "${ECHO_T}no" >&6; } 16414$as_echo "no" >&6; }
15760 NO_PEERCHECK=1 16415 NO_PEERCHECK=1
15761 16416
15762fi 16417fi
@@ -15765,12 +16420,12 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765fi 16420fi
15766 16421
15767if test "x$ac_cv_func_mkdtemp" = "xyes" ; then 16422if test "x$ac_cv_func_mkdtemp" = "xyes" ; then
15768{ echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5 16423{ $as_echo "$as_me:$LINENO: checking for (overly) strict mkstemp" >&5
15769echo $ECHO_N "checking for (overly) strict mkstemp... $ECHO_C" >&6; } 16424$as_echo_n "checking for (overly) strict mkstemp... " >&6; }
15770if test "$cross_compiling" = yes; then 16425if test "$cross_compiling" = yes; then
15771 16426
15772 { echo "$as_me:$LINENO: result: yes" >&5 16427 { $as_echo "$as_me:$LINENO: result: yes" >&5
15773echo "${ECHO_T}yes" >&6; } 16428$as_echo "yes" >&6; }
15774 cat >>confdefs.h <<\_ACEOF 16429 cat >>confdefs.h <<\_ACEOF
15775#define HAVE_STRICT_MKSTEMP 1 16430#define HAVE_STRICT_MKSTEMP 1
15776_ACEOF 16431_ACEOF
@@ -15799,33 +16454,35 @@ case "(($ac_try" in
15799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800 *) ac_try_echo=$ac_try;; 16455 *) ac_try_echo=$ac_try;;
15801esac 16456esac
15802eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16458$as_echo "$ac_try_echo") >&5
15803 (eval "$ac_link") 2>&5 16459 (eval "$ac_link") 2>&5
15804 ac_status=$? 16460 ac_status=$?
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15807 { (case "(($ac_try" in 16463 { (case "(($ac_try" in
15808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15809 *) ac_try_echo=$ac_try;; 16465 *) ac_try_echo=$ac_try;;
15810esac 16466esac
15811eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16468$as_echo "$ac_try_echo") >&5
15812 (eval "$ac_try") 2>&5 16469 (eval "$ac_try") 2>&5
15813 ac_status=$? 16470 ac_status=$?
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); }; }; then 16472 (exit $ac_status); }; }; then
15816 16473
15817 { echo "$as_me:$LINENO: result: no" >&5 16474 { $as_echo "$as_me:$LINENO: result: no" >&5
15818echo "${ECHO_T}no" >&6; } 16475$as_echo "no" >&6; }
15819 16476
15820else 16477else
15821 echo "$as_me: program exited with status $ac_status" >&5 16478 $as_echo "$as_me: program exited with status $ac_status" >&5
15822echo "$as_me: failed program was:" >&5 16479$as_echo "$as_me: failed program was:" >&5
15823sed 's/^/| /' conftest.$ac_ext >&5 16480sed 's/^/| /' conftest.$ac_ext >&5
15824 16481
15825( exit $ac_status ) 16482( exit $ac_status )
15826 16483
15827 { echo "$as_me:$LINENO: result: yes" >&5 16484 { $as_echo "$as_me:$LINENO: result: yes" >&5
15828echo "${ECHO_T}yes" >&6; } 16485$as_echo "yes" >&6; }
15829 16486
15830cat >>confdefs.h <<\_ACEOF 16487cat >>confdefs.h <<\_ACEOF
15831#define HAVE_STRICT_MKSTEMP 1 16488#define HAVE_STRICT_MKSTEMP 1
@@ -15833,6 +16490,7 @@ _ACEOF
15833 16490
15834 16491
15835fi 16492fi
16493rm -rf conftest.dSYM
15836rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16494rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15837fi 16495fi
15838 16496
@@ -15840,12 +16498,12 @@ fi
15840fi 16498fi
15841 16499
15842if test ! -z "$check_for_openpty_ctty_bug"; then 16500if test ! -z "$check_for_openpty_ctty_bug"; then
15843 { echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5 16501 { $as_echo "$as_me:$LINENO: checking if openpty correctly handles controlling tty" >&5
15844echo $ECHO_N "checking if openpty correctly handles controlling tty... $ECHO_C" >&6; } 16502$as_echo_n "checking if openpty correctly handles controlling tty... " >&6; }
15845 if test "$cross_compiling" = yes; then 16503 if test "$cross_compiling" = yes; then
15846 16504
15847 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16505 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
15848echo "${ECHO_T}cross-compiling" >&6; } 16506$as_echo "cross-compiling" >&6; }
15849 16507
15850 16508
15851else 16509else
@@ -15895,39 +16553,42 @@ case "(($ac_try" in
15895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15896 *) ac_try_echo=$ac_try;; 16554 *) ac_try_echo=$ac_try;;
15897esac 16555esac
15898eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16556eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16557$as_echo "$ac_try_echo") >&5
15899 (eval "$ac_link") 2>&5 16558 (eval "$ac_link") 2>&5
15900 ac_status=$? 16559 ac_status=$?
15901 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15902 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15903 { (case "(($ac_try" in 16562 { (case "(($ac_try" in
15904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15905 *) ac_try_echo=$ac_try;; 16564 *) ac_try_echo=$ac_try;;
15906esac 16565esac
15907eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16566eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16567$as_echo "$ac_try_echo") >&5
15908 (eval "$ac_try") 2>&5 16568 (eval "$ac_try") 2>&5
15909 ac_status=$? 16569 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then 16571 (exit $ac_status); }; }; then
15912 16572
15913 { echo "$as_me:$LINENO: result: yes" >&5 16573 { $as_echo "$as_me:$LINENO: result: yes" >&5
15914echo "${ECHO_T}yes" >&6; } 16574$as_echo "yes" >&6; }
15915 16575
15916else 16576else
15917 echo "$as_me: program exited with status $ac_status" >&5 16577 $as_echo "$as_me: program exited with status $ac_status" >&5
15918echo "$as_me: failed program was:" >&5 16578$as_echo "$as_me: failed program was:" >&5
15919sed 's/^/| /' conftest.$ac_ext >&5 16579sed 's/^/| /' conftest.$ac_ext >&5
15920 16580
15921( exit $ac_status ) 16581( exit $ac_status )
15922 16582
15923 { echo "$as_me:$LINENO: result: no" >&5 16583 { $as_echo "$as_me:$LINENO: result: no" >&5
15924echo "${ECHO_T}no" >&6; } 16584$as_echo "no" >&6; }
15925 cat >>confdefs.h <<\_ACEOF 16585 cat >>confdefs.h <<\_ACEOF
15926#define SSHD_ACQUIRES_CTTY 1 16586#define SSHD_ACQUIRES_CTTY 1
15927_ACEOF 16587_ACEOF
15928 16588
15929 16589
15930fi 16590fi
16591rm -rf conftest.dSYM
15931rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16592rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15932fi 16593fi
15933 16594
@@ -15936,12 +16597,12 @@ fi
15936 16597
15937if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ 16598if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
15938 test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then 16599 test "x$check_for_hpux_broken_getaddrinfo" = "x1"; then
15939 { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 16600 { $as_echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
15940echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } 16601$as_echo_n "checking if getaddrinfo seems to work... " >&6; }
15941 if test "$cross_compiling" = yes; then 16602 if test "$cross_compiling" = yes; then
15942 16603
15943 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16604 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
15944echo "${ECHO_T}cross-compiling" >&6; } 16605$as_echo "cross-compiling" >&6; }
15945 16606
15946 16607
15947else 16608else
@@ -16013,39 +16674,42 @@ case "(($ac_try" in
16013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16014 *) ac_try_echo=$ac_try;; 16675 *) ac_try_echo=$ac_try;;
16015esac 16676esac
16016eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16677eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16678$as_echo "$ac_try_echo") >&5
16017 (eval "$ac_link") 2>&5 16679 (eval "$ac_link") 2>&5
16018 ac_status=$? 16680 ac_status=$?
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16021 { (case "(($ac_try" in 16683 { (case "(($ac_try" in
16022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16023 *) ac_try_echo=$ac_try;; 16685 *) ac_try_echo=$ac_try;;
16024esac 16686esac
16025eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16687eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16688$as_echo "$ac_try_echo") >&5
16026 (eval "$ac_try") 2>&5 16689 (eval "$ac_try") 2>&5
16027 ac_status=$? 16690 ac_status=$?
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then 16692 (exit $ac_status); }; }; then
16030 16693
16031 { echo "$as_me:$LINENO: result: yes" >&5 16694 { $as_echo "$as_me:$LINENO: result: yes" >&5
16032echo "${ECHO_T}yes" >&6; } 16695$as_echo "yes" >&6; }
16033 16696
16034else 16697else
16035 echo "$as_me: program exited with status $ac_status" >&5 16698 $as_echo "$as_me: program exited with status $ac_status" >&5
16036echo "$as_me: failed program was:" >&5 16699$as_echo "$as_me: failed program was:" >&5
16037sed 's/^/| /' conftest.$ac_ext >&5 16700sed 's/^/| /' conftest.$ac_ext >&5
16038 16701
16039( exit $ac_status ) 16702( exit $ac_status )
16040 16703
16041 { echo "$as_me:$LINENO: result: no" >&5 16704 { $as_echo "$as_me:$LINENO: result: no" >&5
16042echo "${ECHO_T}no" >&6; } 16705$as_echo "no" >&6; }
16043 cat >>confdefs.h <<\_ACEOF 16706 cat >>confdefs.h <<\_ACEOF
16044#define BROKEN_GETADDRINFO 1 16707#define BROKEN_GETADDRINFO 1
16045_ACEOF 16708_ACEOF
16046 16709
16047 16710
16048fi 16711fi
16712rm -rf conftest.dSYM
16049rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16713rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16050fi 16714fi
16051 16715
@@ -16054,12 +16718,12 @@ fi
16054 16718
16055if test "x$ac_cv_func_getaddrinfo" = "xyes" && \ 16719if test "x$ac_cv_func_getaddrinfo" = "xyes" && \
16056 test "x$check_for_aix_broken_getaddrinfo" = "x1"; then 16720 test "x$check_for_aix_broken_getaddrinfo" = "x1"; then
16057 { echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5 16721 { $as_echo "$as_me:$LINENO: checking if getaddrinfo seems to work" >&5
16058echo $ECHO_N "checking if getaddrinfo seems to work... $ECHO_C" >&6; } 16722$as_echo_n "checking if getaddrinfo seems to work... " >&6; }
16059 if test "$cross_compiling" = yes; then 16723 if test "$cross_compiling" = yes; then
16060 16724
16061 { echo "$as_me:$LINENO: result: cross-compiling" >&5 16725 { $as_echo "$as_me:$LINENO: result: cross-compiling" >&5
16062echo "${ECHO_T}cross-compiling" >&6; } 16726$as_echo "cross-compiling" >&6; }
16063 16727
16064 16728
16065else 16729else
@@ -16119,23 +16783,25 @@ case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;; 16784 *) ac_try_echo=$ac_try;;
16121esac 16785esac
16122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16786eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16787$as_echo "$ac_try_echo") >&5
16123 (eval "$ac_link") 2>&5 16788 (eval "$ac_link") 2>&5
16124 ac_status=$? 16789 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 16791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16127 { (case "(($ac_try" in 16792 { (case "(($ac_try" in
16128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16129 *) ac_try_echo=$ac_try;; 16794 *) ac_try_echo=$ac_try;;
16130esac 16795esac
16131eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16796eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16797$as_echo "$ac_try_echo") >&5
16132 (eval "$ac_try") 2>&5 16798 (eval "$ac_try") 2>&5
16133 ac_status=$? 16799 ac_status=$?
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); }; }; then 16801 (exit $ac_status); }; }; then
16136 16802
16137 { echo "$as_me:$LINENO: result: yes" >&5 16803 { $as_echo "$as_me:$LINENO: result: yes" >&5
16138echo "${ECHO_T}yes" >&6; } 16804$as_echo "yes" >&6; }
16139 16805
16140cat >>confdefs.h <<\_ACEOF 16806cat >>confdefs.h <<\_ACEOF
16141#define AIX_GETNAMEINFO_HACK 1 16807#define AIX_GETNAMEINFO_HACK 1
@@ -16143,20 +16809,21 @@ _ACEOF
16143 16809
16144 16810
16145else 16811else
16146 echo "$as_me: program exited with status $ac_status" >&5 16812 $as_echo "$as_me: program exited with status $ac_status" >&5
16147echo "$as_me: failed program was:" >&5 16813$as_echo "$as_me: failed program was:" >&5
16148sed 's/^/| /' conftest.$ac_ext >&5 16814sed 's/^/| /' conftest.$ac_ext >&5
16149 16815
16150( exit $ac_status ) 16816( exit $ac_status )
16151 16817
16152 { echo "$as_me:$LINENO: result: no" >&5 16818 { $as_echo "$as_me:$LINENO: result: no" >&5
16153echo "${ECHO_T}no" >&6; } 16819$as_echo "no" >&6; }
16154 cat >>confdefs.h <<\_ACEOF 16820 cat >>confdefs.h <<\_ACEOF
16155#define BROKEN_GETADDRINFO 1 16821#define BROKEN_GETADDRINFO 1
16156_ACEOF 16822_ACEOF
16157 16823
16158 16824
16159fi 16825fi
16826rm -rf conftest.dSYM
16160rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 16827rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16161fi 16828fi
16162 16829
@@ -16164,8 +16831,8 @@ fi
16164fi 16831fi
16165 16832
16166if test "x$check_for_conflicting_getspnam" = "x1"; then 16833if test "x$check_for_conflicting_getspnam" = "x1"; then
16167 { echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5 16834 { $as_echo "$as_me:$LINENO: checking for conflicting getspnam in shadow.h" >&5
16168echo $ECHO_N "checking for conflicting getspnam in shadow.h... $ECHO_C" >&6; } 16835$as_echo_n "checking for conflicting getspnam in shadow.h... " >&6; }
16169 cat >conftest.$ac_ext <<_ACEOF 16836 cat >conftest.$ac_ext <<_ACEOF
16170 16837
16171#include <shadow.h> 16838#include <shadow.h>
@@ -16178,28 +16845,29 @@ case "(($ac_try" in
16178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16179 *) ac_try_echo=$ac_try;; 16846 *) ac_try_echo=$ac_try;;
16180esac 16847esac
16181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16848eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16849$as_echo "$ac_try_echo") >&5
16182 (eval "$ac_compile") 2>conftest.er1 16850 (eval "$ac_compile") 2>conftest.er1
16183 ac_status=$? 16851 ac_status=$?
16184 grep -v '^ *+' conftest.er1 >conftest.err 16852 grep -v '^ *+' conftest.er1 >conftest.err
16185 rm -f conftest.er1 16853 rm -f conftest.er1
16186 cat conftest.err >&5 16854 cat conftest.err >&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } && { 16856 (exit $ac_status); } && {
16189 test -z "$ac_c_werror_flag" || 16857 test -z "$ac_c_werror_flag" ||
16190 test ! -s conftest.err 16858 test ! -s conftest.err
16191 } && test -s conftest.$ac_objext; then 16859 } && test -s conftest.$ac_objext; then
16192 16860
16193 { echo "$as_me:$LINENO: result: no" >&5 16861 { $as_echo "$as_me:$LINENO: result: no" >&5
16194echo "${ECHO_T}no" >&6; } 16862$as_echo "no" >&6; }
16195 16863
16196else 16864else
16197 echo "$as_me: failed program was:" >&5 16865 $as_echo "$as_me: failed program was:" >&5
16198sed 's/^/| /' conftest.$ac_ext >&5 16866sed 's/^/| /' conftest.$ac_ext >&5
16199 16867
16200 16868
16201 { echo "$as_me:$LINENO: result: yes" >&5 16869 { $as_echo "$as_me:$LINENO: result: yes" >&5
16202echo "${ECHO_T}yes" >&6; } 16870$as_echo "yes" >&6; }
16203 16871
16204cat >>confdefs.h <<\_ACEOF 16872cat >>confdefs.h <<\_ACEOF
16205#define GETSPNAM_CONFLICTING_DEFS 1 16873#define GETSPNAM_CONFLICTING_DEFS 1
@@ -16212,10 +16880,10 @@ fi
16212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213fi 16881fi
16214 16882
16215{ echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5 16883{ $as_echo "$as_me:$LINENO: checking whether getpgrp requires zero arguments" >&5
16216echo $ECHO_N "checking whether getpgrp requires zero arguments... $ECHO_C" >&6; } 16884$as_echo_n "checking whether getpgrp requires zero arguments... " >&6; }
16217if test "${ac_cv_func_getpgrp_void+set}" = set; then 16885if test "${ac_cv_func_getpgrp_void+set}" = set; then
16218 echo $ECHO_N "(cached) $ECHO_C" >&6 16886 $as_echo_n "(cached) " >&6
16219else 16887else
16220 # Use it with a single arg. 16888 # Use it with a single arg.
16221cat >conftest.$ac_ext <<_ACEOF 16889cat >conftest.$ac_ext <<_ACEOF
@@ -16239,20 +16907,21 @@ case "(($ac_try" in
16239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 16907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16240 *) ac_try_echo=$ac_try;; 16908 *) ac_try_echo=$ac_try;;
16241esac 16909esac
16242eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 16910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16911$as_echo "$ac_try_echo") >&5
16243 (eval "$ac_compile") 2>conftest.er1 16912 (eval "$ac_compile") 2>conftest.er1
16244 ac_status=$? 16913 ac_status=$?
16245 grep -v '^ *+' conftest.er1 >conftest.err 16914 grep -v '^ *+' conftest.er1 >conftest.err
16246 rm -f conftest.er1 16915 rm -f conftest.er1
16247 cat conftest.err >&5 16916 cat conftest.err >&5
16248 echo "$as_me:$LINENO: \$? = $ac_status" >&5 16917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16249 (exit $ac_status); } && { 16918 (exit $ac_status); } && {
16250 test -z "$ac_c_werror_flag" || 16919 test -z "$ac_c_werror_flag" ||
16251 test ! -s conftest.err 16920 test ! -s conftest.err
16252 } && test -s conftest.$ac_objext; then 16921 } && test -s conftest.$ac_objext; then
16253 ac_cv_func_getpgrp_void=no 16922 ac_cv_func_getpgrp_void=no
16254else 16923else
16255 echo "$as_me: failed program was:" >&5 16924 $as_echo "$as_me: failed program was:" >&5
16256sed 's/^/| /' conftest.$ac_ext >&5 16925sed 's/^/| /' conftest.$ac_ext >&5
16257 16926
16258 ac_cv_func_getpgrp_void=yes 16927 ac_cv_func_getpgrp_void=yes
@@ -16261,8 +16930,8 @@ fi
16261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 16930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16262 16931
16263fi 16932fi
16264{ echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5 16933{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_getpgrp_void" >&5
16265echo "${ECHO_T}$ac_cv_func_getpgrp_void" >&6; } 16934$as_echo "$ac_cv_func_getpgrp_void" >&6; }
16266if test $ac_cv_func_getpgrp_void = yes; then 16935if test $ac_cv_func_getpgrp_void = yes; then
16267 16936
16268cat >>confdefs.h <<\_ACEOF 16937cat >>confdefs.h <<\_ACEOF
@@ -16336,25 +17005,28 @@ case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;; 17006 *) ac_try_echo=$ac_try;;
16338esac 17007esac
16339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17008eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17009$as_echo "$ac_try_echo") >&5
16340 (eval "$ac_link") 2>conftest.er1 17010 (eval "$ac_link") 2>conftest.er1
16341 ac_status=$? 17011 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err 17012 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1 17013 rm -f conftest.er1
16344 cat conftest.err >&5 17014 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17015 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } && { 17016 (exit $ac_status); } && {
16347 test -z "$ac_c_werror_flag" || 17017 test -z "$ac_c_werror_flag" ||
16348 test ! -s conftest.err 17018 test ! -s conftest.err
16349 } && test -s conftest$ac_exeext && 17019 } && test -s conftest$ac_exeext && {
16350 $as_test_x conftest$ac_exeext; then 17020 test "$cross_compiling" = yes ||
17021 $as_test_x conftest$ac_exeext
17022 }; then
16351 17023
16352cat >>confdefs.h <<\_ACEOF 17024cat >>confdefs.h <<\_ACEOF
16353#define HAVE_OPENSSL 1 17025#define HAVE_OPENSSL 1
16354_ACEOF 17026_ACEOF
16355 17027
16356else 17028else
16357 echo "$as_me: failed program was:" >&5 17029 $as_echo "$as_me: failed program was:" >&5
16358sed 's/^/| /' conftest.$ac_ext >&5 17030sed 's/^/| /' conftest.$ac_ext >&5
16359 17031
16360 17032
@@ -16364,6 +17036,147 @@ sed 's/^/| /' conftest.$ac_ext >&5
16364 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" 17036 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
16365 fi 17037 fi
16366 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 17038 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
17039 if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17040 { $as_echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5
17041$as_echo_n "checking for openssl/opensslv.h... " >&6; }
17042if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17043 $as_echo_n "(cached) " >&6
17044fi
17045{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5
17046$as_echo "$ac_cv_header_openssl_opensslv_h" >&6; }
17047else
17048 # Is the header compilable?
17049{ $as_echo "$as_me:$LINENO: checking openssl/opensslv.h usability" >&5
17050$as_echo_n "checking openssl/opensslv.h usability... " >&6; }
17051cat >conftest.$ac_ext <<_ACEOF
17052/* confdefs.h. */
17053_ACEOF
17054cat confdefs.h >>conftest.$ac_ext
17055cat >>conftest.$ac_ext <<_ACEOF
17056/* end confdefs.h. */
17057$ac_includes_default
17058#include <openssl/opensslv.h>
17059_ACEOF
17060rm -f conftest.$ac_objext
17061if { (ac_try="$ac_compile"
17062case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17065esac
17066eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17067$as_echo "$ac_try_echo") >&5
17068 (eval "$ac_compile") 2>conftest.er1
17069 ac_status=$?
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
17073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_c_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest.$ac_objext; then
17078 ac_header_compiler=yes
17079else
17080 $as_echo "$as_me: failed program was:" >&5
17081sed 's/^/| /' conftest.$ac_ext >&5
17082
17083 ac_header_compiler=no
17084fi
17085
17086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17088$as_echo "$ac_header_compiler" >&6; }
17089
17090# Is the header present?
17091{ $as_echo "$as_me:$LINENO: checking openssl/opensslv.h presence" >&5
17092$as_echo_n "checking openssl/opensslv.h presence... " >&6; }
17093cat >conftest.$ac_ext <<_ACEOF
17094/* confdefs.h. */
17095_ACEOF
17096cat confdefs.h >>conftest.$ac_ext
17097cat >>conftest.$ac_ext <<_ACEOF
17098/* end confdefs.h. */
17099#include <openssl/opensslv.h>
17100_ACEOF
17101if { (ac_try="$ac_cpp conftest.$ac_ext"
17102case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105esac
17106eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17107$as_echo "$ac_try_echo") >&5
17108 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17109 ac_status=$?
17110 grep -v '^ *+' conftest.er1 >conftest.err
17111 rm -f conftest.er1
17112 cat conftest.err >&5
17113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17114 (exit $ac_status); } >/dev/null && {
17115 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17116 test ! -s conftest.err
17117 }; then
17118 ac_header_preproc=yes
17119else
17120 $as_echo "$as_me: failed program was:" >&5
17121sed 's/^/| /' conftest.$ac_ext >&5
17122
17123 ac_header_preproc=no
17124fi
17125
17126rm -f conftest.err conftest.$ac_ext
17127{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17128$as_echo "$ac_header_preproc" >&6; }
17129
17130# So? What about this header?
17131case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17132 yes:no: )
17133 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&5
17134$as_echo "$as_me: WARNING: openssl/opensslv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17135 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&5
17136$as_echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the compiler's result" >&2;}
17137 ac_header_preproc=yes
17138 ;;
17139 no:yes:* )
17140 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: present but cannot be compiled" >&5
17141$as_echo "$as_me: WARNING: openssl/opensslv.h: present but cannot be compiled" >&2;}
17142 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&5
17143$as_echo "$as_me: WARNING: openssl/opensslv.h: check for missing prerequisite headers?" >&2;}
17144 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&5
17145$as_echo "$as_me: WARNING: openssl/opensslv.h: see the Autoconf documentation" >&2;}
17146 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&5
17147$as_echo "$as_me: WARNING: openssl/opensslv.h: section \"Present But Cannot Be Compiled\"" >&2;}
17148 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&5
17149$as_echo "$as_me: WARNING: openssl/opensslv.h: proceeding with the preprocessor's result" >&2;}
17150 { $as_echo "$as_me:$LINENO: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&5
17151$as_echo "$as_me: WARNING: openssl/opensslv.h: in the future, the compiler will take precedence" >&2;}
17152 ( cat <<\_ASBOX
17153## ------------------------------------------- ##
17154## Report this to openssh-unix-dev@mindrot.org ##
17155## ------------------------------------------- ##
17156_ASBOX
17157 ) | sed "s/^/$as_me: WARNING: /" >&2
17158 ;;
17159esac
17160{ $as_echo "$as_me:$LINENO: checking for openssl/opensslv.h" >&5
17161$as_echo_n "checking for openssl/opensslv.h... " >&6; }
17162if test "${ac_cv_header_openssl_opensslv_h+set}" = set; then
17163 $as_echo_n "(cached) " >&6
17164else
17165 ac_cv_header_openssl_opensslv_h=$ac_header_preproc
17166fi
17167{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_openssl_opensslv_h" >&5
17168$as_echo "$ac_cv_header_openssl_opensslv_h" >&6; }
17169
17170fi
17171if test $ac_cv_header_openssl_opensslv_h = yes; then
17172 :
17173else
17174 { { $as_echo "$as_me:$LINENO: error: *** OpenSSL headers missing - please install first or check config.log ***" >&5
17175$as_echo "$as_me: error: *** OpenSSL headers missing - please install first or check config.log ***" >&2;}
17176 { (exit 1); exit 1; }; }
17177fi
17178
17179
16367 cat >conftest.$ac_ext <<_ACEOF 17180 cat >conftest.$ac_ext <<_ACEOF
16368/* confdefs.h. */ 17181/* confdefs.h. */
16369_ACEOF 17182_ACEOF
@@ -16392,50 +17205,55 @@ case "(($ac_try" in
16392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16393 *) ac_try_echo=$ac_try;; 17206 *) ac_try_echo=$ac_try;;
16394esac 17207esac
16395eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17208eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17209$as_echo "$ac_try_echo") >&5
16396 (eval "$ac_link") 2>conftest.er1 17210 (eval "$ac_link") 2>conftest.er1
16397 ac_status=$? 17211 ac_status=$?
16398 grep -v '^ *+' conftest.er1 >conftest.err 17212 grep -v '^ *+' conftest.er1 >conftest.err
16399 rm -f conftest.er1 17213 rm -f conftest.er1
16400 cat conftest.err >&5 17214 cat conftest.err >&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } && { 17216 (exit $ac_status); } && {
16403 test -z "$ac_c_werror_flag" || 17217 test -z "$ac_c_werror_flag" ||
16404 test ! -s conftest.err 17218 test ! -s conftest.err
16405 } && test -s conftest$ac_exeext && 17219 } && test -s conftest$ac_exeext && {
16406 $as_test_x conftest$ac_exeext; then 17220 test "$cross_compiling" = yes ||
17221 $as_test_x conftest$ac_exeext
17222 }; then
16407 cat >>confdefs.h <<\_ACEOF 17223 cat >>confdefs.h <<\_ACEOF
16408#define HAVE_OPENSSL 1 17224#define HAVE_OPENSSL 1
16409_ACEOF 17225_ACEOF
16410 17226
16411else 17227else
16412 echo "$as_me: failed program was:" >&5 17228 $as_echo "$as_me: failed program was:" >&5
16413sed 's/^/| /' conftest.$ac_ext >&5 17229sed 's/^/| /' conftest.$ac_ext >&5
16414 17230
16415 17231
16416 { { echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5 17232 { { $as_echo "$as_me:$LINENO: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&5
16417echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;} 17233$as_echo "$as_me: error: *** Can't find recent OpenSSL libcrypto (see config.log for details) ***" >&2;}
16418 { (exit 1); exit 1; }; } 17234 { (exit 1); exit 1; }; }
16419 17235
16420 17236
16421fi 17237fi
16422 17238
17239rm -rf conftest.dSYM
16423rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17240rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16424 conftest$ac_exeext conftest.$ac_ext 17241 conftest$ac_exeext conftest.$ac_ext
16425 17242
16426 17243
16427fi 17244fi
16428 17245
17246rm -rf conftest.dSYM
16429rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17247rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16430 conftest$ac_exeext conftest.$ac_ext 17248 conftest$ac_exeext conftest.$ac_ext
16431 17249
16432# Determine OpenSSL header version 17250# Determine OpenSSL header version
16433{ echo "$as_me:$LINENO: checking OpenSSL header version" >&5 17251{ $as_echo "$as_me:$LINENO: checking OpenSSL header version" >&5
16434echo $ECHO_N "checking OpenSSL header version... $ECHO_C" >&6; } 17252$as_echo_n "checking OpenSSL header version... " >&6; }
16435if test "$cross_compiling" = yes; then 17253if test "$cross_compiling" = yes; then
16436 17254
16437 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17255 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16438echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17256$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16439 17257
16440 17258
16441else 17259else
@@ -16471,51 +17289,54 @@ case "(($ac_try" in
16471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16472 *) ac_try_echo=$ac_try;; 17290 *) ac_try_echo=$ac_try;;
16473esac 17291esac
16474eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17292eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17293$as_echo "$ac_try_echo") >&5
16475 (eval "$ac_link") 2>&5 17294 (eval "$ac_link") 2>&5
16476 ac_status=$? 17295 ac_status=$?
16477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17297 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16479 { (case "(($ac_try" in 17298 { (case "(($ac_try" in
16480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;; 17300 *) ac_try_echo=$ac_try;;
16482esac 17301esac
16483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17302eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17303$as_echo "$ac_try_echo") >&5
16484 (eval "$ac_try") 2>&5 17304 (eval "$ac_try") 2>&5
16485 ac_status=$? 17305 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; }; then 17307 (exit $ac_status); }; }; then
16488 17308
16489 ssl_header_ver=`cat conftest.sslincver` 17309 ssl_header_ver=`cat conftest.sslincver`
16490 { echo "$as_me:$LINENO: result: $ssl_header_ver" >&5 17310 { $as_echo "$as_me:$LINENO: result: $ssl_header_ver" >&5
16491echo "${ECHO_T}$ssl_header_ver" >&6; } 17311$as_echo "$ssl_header_ver" >&6; }
16492 17312
16493else 17313else
16494 echo "$as_me: program exited with status $ac_status" >&5 17314 $as_echo "$as_me: program exited with status $ac_status" >&5
16495echo "$as_me: failed program was:" >&5 17315$as_echo "$as_me: failed program was:" >&5
16496sed 's/^/| /' conftest.$ac_ext >&5 17316sed 's/^/| /' conftest.$ac_ext >&5
16497 17317
16498( exit $ac_status ) 17318( exit $ac_status )
16499 17319
16500 { echo "$as_me:$LINENO: result: not found" >&5 17320 { $as_echo "$as_me:$LINENO: result: not found" >&5
16501echo "${ECHO_T}not found" >&6; } 17321$as_echo "not found" >&6; }
16502 { { echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5 17322 { { $as_echo "$as_me:$LINENO: error: OpenSSL version header not found." >&5
16503echo "$as_me: error: OpenSSL version header not found." >&2;} 17323$as_echo "$as_me: error: OpenSSL version header not found." >&2;}
16504 { (exit 1); exit 1; }; } 17324 { (exit 1); exit 1; }; }
16505 17325
16506fi 17326fi
17327rm -rf conftest.dSYM
16507rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17328rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16508fi 17329fi
16509 17330
16510 17331
16511 17332
16512# Determine OpenSSL library version 17333# Determine OpenSSL library version
16513{ echo "$as_me:$LINENO: checking OpenSSL library version" >&5 17334{ $as_echo "$as_me:$LINENO: checking OpenSSL library version" >&5
16514echo $ECHO_N "checking OpenSSL library version... $ECHO_C" >&6; } 17335$as_echo_n "checking OpenSSL library version... " >&6; }
16515if test "$cross_compiling" = yes; then 17336if test "$cross_compiling" = yes; then
16516 17337
16517 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17338 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16518echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17339$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16519 17340
16520 17341
16521else 17342else
@@ -16552,39 +17373,42 @@ case "(($ac_try" in
16552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16553 *) ac_try_echo=$ac_try;; 17374 *) ac_try_echo=$ac_try;;
16554esac 17375esac
16555eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17376eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17377$as_echo "$ac_try_echo") >&5
16556 (eval "$ac_link") 2>&5 17378 (eval "$ac_link") 2>&5
16557 ac_status=$? 17379 ac_status=$?
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16560 { (case "(($ac_try" in 17382 { (case "(($ac_try" in
16561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16562 *) ac_try_echo=$ac_try;; 17384 *) ac_try_echo=$ac_try;;
16563esac 17385esac
16564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17386eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17387$as_echo "$ac_try_echo") >&5
16565 (eval "$ac_try") 2>&5 17388 (eval "$ac_try") 2>&5
16566 ac_status=$? 17389 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then 17391 (exit $ac_status); }; }; then
16569 17392
16570 ssl_library_ver=`cat conftest.ssllibver` 17393 ssl_library_ver=`cat conftest.ssllibver`
16571 { echo "$as_me:$LINENO: result: $ssl_library_ver" >&5 17394 { $as_echo "$as_me:$LINENO: result: $ssl_library_ver" >&5
16572echo "${ECHO_T}$ssl_library_ver" >&6; } 17395$as_echo "$ssl_library_ver" >&6; }
16573 17396
16574else 17397else
16575 echo "$as_me: program exited with status $ac_status" >&5 17398 $as_echo "$as_me: program exited with status $ac_status" >&5
16576echo "$as_me: failed program was:" >&5 17399$as_echo "$as_me: failed program was:" >&5
16577sed 's/^/| /' conftest.$ac_ext >&5 17400sed 's/^/| /' conftest.$ac_ext >&5
16578 17401
16579( exit $ac_status ) 17402( exit $ac_status )
16580 17403
16581 { echo "$as_me:$LINENO: result: not found" >&5 17404 { $as_echo "$as_me:$LINENO: result: not found" >&5
16582echo "${ECHO_T}not found" >&6; } 17405$as_echo "not found" >&6; }
16583 { { echo "$as_me:$LINENO: error: OpenSSL library not found." >&5 17406 { { $as_echo "$as_me:$LINENO: error: OpenSSL library not found." >&5
16584echo "$as_me: error: OpenSSL library not found." >&2;} 17407$as_echo "$as_me: error: OpenSSL library not found." >&2;}
16585 { (exit 1); exit 1; }; } 17408 { (exit 1); exit 1; }; }
16586 17409
16587fi 17410fi
17411rm -rf conftest.dSYM
16588rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17412rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16589fi 17413fi
16590 17414
@@ -16602,12 +17426,12 @@ fi
16602 17426
16603 17427
16604# Sanity check OpenSSL headers 17428# Sanity check OpenSSL headers
16605{ echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5 17429{ $as_echo "$as_me:$LINENO: checking whether OpenSSL's headers match the library" >&5
16606echo $ECHO_N "checking whether OpenSSL's headers match the library... $ECHO_C" >&6; } 17430$as_echo_n "checking whether OpenSSL's headers match the library... " >&6; }
16607if test "$cross_compiling" = yes; then 17431if test "$cross_compiling" = yes; then
16608 17432
16609 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 17433 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
16610echo "$as_me: WARNING: cross compiling: not checking" >&2;} 17434$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
16611 17435
16612 17436
16613else 17437else
@@ -16629,41 +17453,43 @@ case "(($ac_try" in
16629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16630 *) ac_try_echo=$ac_try;; 17454 *) ac_try_echo=$ac_try;;
16631esac 17455esac
16632eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17456eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17457$as_echo "$ac_try_echo") >&5
16633 (eval "$ac_link") 2>&5 17458 (eval "$ac_link") 2>&5
16634 ac_status=$? 17459 ac_status=$?
16635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 17461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16637 { (case "(($ac_try" in 17462 { (case "(($ac_try" in
16638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16639 *) ac_try_echo=$ac_try;; 17464 *) ac_try_echo=$ac_try;;
16640esac 17465esac
16641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17466eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17467$as_echo "$ac_try_echo") >&5
16642 (eval "$ac_try") 2>&5 17468 (eval "$ac_try") 2>&5
16643 ac_status=$? 17469 ac_status=$?
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); }; }; then 17471 (exit $ac_status); }; }; then
16646 17472
16647 { echo "$as_me:$LINENO: result: yes" >&5 17473 { $as_echo "$as_me:$LINENO: result: yes" >&5
16648echo "${ECHO_T}yes" >&6; } 17474$as_echo "yes" >&6; }
16649 17475
16650else 17476else
16651 echo "$as_me: program exited with status $ac_status" >&5 17477 $as_echo "$as_me: program exited with status $ac_status" >&5
16652echo "$as_me: failed program was:" >&5 17478$as_echo "$as_me: failed program was:" >&5
16653sed 's/^/| /' conftest.$ac_ext >&5 17479sed 's/^/| /' conftest.$ac_ext >&5
16654 17480
16655( exit $ac_status ) 17481( exit $ac_status )
16656 17482
16657 { echo "$as_me:$LINENO: result: no" >&5 17483 { $as_echo "$as_me:$LINENO: result: no" >&5
16658echo "${ECHO_T}no" >&6; } 17484$as_echo "no" >&6; }
16659 if test "x$openssl_check_nonfatal" = "x"; then 17485 if test "x$openssl_check_nonfatal" = "x"; then
16660 { { echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your 17486 { { $as_echo "$as_me:$LINENO: error: Your OpenSSL headers do not match your
16661library. Check config.log for details. 17487library. Check config.log for details.
16662If you are sure your installation is consistent, you can disable the check 17488If you are sure your installation is consistent, you can disable the check
16663by running \"./configure --without-openssl-header-check\". 17489by running \"./configure --without-openssl-header-check\".
16664Also see contrib/findssl.sh for help identifying header/library mismatches. 17490Also see contrib/findssl.sh for help identifying header/library mismatches.
16665" >&5 17491" >&5
16666echo "$as_me: error: Your OpenSSL headers do not match your 17492$as_echo "$as_me: error: Your OpenSSL headers do not match your
16667library. Check config.log for details. 17493library. Check config.log for details.
16668If you are sure your installation is consistent, you can disable the check 17494If you are sure your installation is consistent, you can disable the check
16669by running \"./configure --without-openssl-header-check\". 17495by running \"./configure --without-openssl-header-check\".
@@ -16671,22 +17497,23 @@ Also see contrib/findssl.sh for help identifying header/library mismatches.
16671" >&2;} 17497" >&2;}
16672 { (exit 1); exit 1; }; } 17498 { (exit 1); exit 1; }; }
16673 else 17499 else
16674 { echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your 17500 { $as_echo "$as_me:$LINENO: WARNING: Your OpenSSL headers do not match your
16675library. Check config.log for details. 17501library. Check config.log for details.
16676Also see contrib/findssl.sh for help identifying header/library mismatches." >&5 17502Also see contrib/findssl.sh for help identifying header/library mismatches." >&5
16677echo "$as_me: WARNING: Your OpenSSL headers do not match your 17503$as_echo "$as_me: WARNING: Your OpenSSL headers do not match your
16678library. Check config.log for details. 17504library. Check config.log for details.
16679Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;} 17505Also see contrib/findssl.sh for help identifying header/library mismatches." >&2;}
16680 fi 17506 fi
16681 17507
16682fi 17508fi
17509rm -rf conftest.dSYM
16683rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 17510rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16684fi 17511fi
16685 17512
16686 17513
16687 17514
16688{ echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5 17515{ $as_echo "$as_me:$LINENO: checking if programs using OpenSSL functions will link" >&5
16689echo $ECHO_N "checking if programs using OpenSSL functions will link... $ECHO_C" >&6; } 17516$as_echo_n "checking if programs using OpenSSL functions will link... " >&6; }
16690cat >conftest.$ac_ext <<_ACEOF 17517cat >conftest.$ac_ext <<_ACEOF
16691/* confdefs.h. */ 17518/* confdefs.h. */
16692_ACEOF 17519_ACEOF
@@ -16704,33 +17531,36 @@ case "(($ac_try" in
16704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16705 *) ac_try_echo=$ac_try;; 17532 *) ac_try_echo=$ac_try;;
16706esac 17533esac
16707eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17534eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17535$as_echo "$ac_try_echo") >&5
16708 (eval "$ac_link") 2>conftest.er1 17536 (eval "$ac_link") 2>conftest.er1
16709 ac_status=$? 17537 ac_status=$?
16710 grep -v '^ *+' conftest.er1 >conftest.err 17538 grep -v '^ *+' conftest.er1 >conftest.err
16711 rm -f conftest.er1 17539 rm -f conftest.er1
16712 cat conftest.err >&5 17540 cat conftest.err >&5
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } && { 17542 (exit $ac_status); } && {
16715 test -z "$ac_c_werror_flag" || 17543 test -z "$ac_c_werror_flag" ||
16716 test ! -s conftest.err 17544 test ! -s conftest.err
16717 } && test -s conftest$ac_exeext && 17545 } && test -s conftest$ac_exeext && {
16718 $as_test_x conftest$ac_exeext; then 17546 test "$cross_compiling" = yes ||
17547 $as_test_x conftest$ac_exeext
17548 }; then
16719 17549
16720 { echo "$as_me:$LINENO: result: yes" >&5 17550 { $as_echo "$as_me:$LINENO: result: yes" >&5
16721echo "${ECHO_T}yes" >&6; } 17551$as_echo "yes" >&6; }
16722 17552
16723else 17553else
16724 echo "$as_me: failed program was:" >&5 17554 $as_echo "$as_me: failed program was:" >&5
16725sed 's/^/| /' conftest.$ac_ext >&5 17555sed 's/^/| /' conftest.$ac_ext >&5
16726 17556
16727 17557
16728 { echo "$as_me:$LINENO: result: no" >&5 17558 { $as_echo "$as_me:$LINENO: result: no" >&5
16729echo "${ECHO_T}no" >&6; } 17559$as_echo "no" >&6; }
16730 saved_LIBS="$LIBS" 17560 saved_LIBS="$LIBS"
16731 LIBS="$LIBS -ldl" 17561 LIBS="$LIBS -ldl"
16732 { echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5 17562 { $as_echo "$as_me:$LINENO: checking if programs using OpenSSL need -ldl" >&5
16733echo $ECHO_N "checking if programs using OpenSSL need -ldl... $ECHO_C" >&6; } 17563$as_echo_n "checking if programs using OpenSSL need -ldl... " >&6; }
16734 cat >conftest.$ac_ext <<_ACEOF 17564 cat >conftest.$ac_ext <<_ACEOF
16735/* confdefs.h. */ 17565/* confdefs.h. */
16736_ACEOF 17566_ACEOF
@@ -16748,40 +17578,45 @@ case "(($ac_try" in
16748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16749 *) ac_try_echo=$ac_try;; 17579 *) ac_try_echo=$ac_try;;
16750esac 17580esac
16751eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17582$as_echo "$ac_try_echo") >&5
16752 (eval "$ac_link") 2>conftest.er1 17583 (eval "$ac_link") 2>conftest.er1
16753 ac_status=$? 17584 ac_status=$?
16754 grep -v '^ *+' conftest.er1 >conftest.err 17585 grep -v '^ *+' conftest.er1 >conftest.err
16755 rm -f conftest.er1 17586 rm -f conftest.er1
16756 cat conftest.err >&5 17587 cat conftest.err >&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); } && { 17589 (exit $ac_status); } && {
16759 test -z "$ac_c_werror_flag" || 17590 test -z "$ac_c_werror_flag" ||
16760 test ! -s conftest.err 17591 test ! -s conftest.err
16761 } && test -s conftest$ac_exeext && 17592 } && test -s conftest$ac_exeext && {
16762 $as_test_x conftest$ac_exeext; then 17593 test "$cross_compiling" = yes ||
17594 $as_test_x conftest$ac_exeext
17595 }; then
16763 17596
16764 { echo "$as_me:$LINENO: result: yes" >&5 17597 { $as_echo "$as_me:$LINENO: result: yes" >&5
16765echo "${ECHO_T}yes" >&6; } 17598$as_echo "yes" >&6; }
16766 17599
16767else 17600else
16768 echo "$as_me: failed program was:" >&5 17601 $as_echo "$as_me: failed program was:" >&5
16769sed 's/^/| /' conftest.$ac_ext >&5 17602sed 's/^/| /' conftest.$ac_ext >&5
16770 17603
16771 17604
16772 { echo "$as_me:$LINENO: result: no" >&5 17605 { $as_echo "$as_me:$LINENO: result: no" >&5
16773echo "${ECHO_T}no" >&6; } 17606$as_echo "no" >&6; }
16774 LIBS="$saved_LIBS" 17607 LIBS="$saved_LIBS"
16775 17608
16776 17609
16777fi 17610fi
16778 17611
17612rm -rf conftest.dSYM
16779rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17613rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16780 conftest$ac_exeext conftest.$ac_ext 17614 conftest$ac_exeext conftest.$ac_ext
16781 17615
16782 17616
16783fi 17617fi
16784 17618
17619rm -rf conftest.dSYM
16785rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17620rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16786 conftest$ac_exeext conftest.$ac_ext 17621 conftest$ac_exeext conftest.$ac_ext
16787 17622
@@ -16789,8 +17624,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16789# Check whether --with-ssl-engine was given. 17624# Check whether --with-ssl-engine was given.
16790if test "${with_ssl_engine+set}" = set; then 17625if test "${with_ssl_engine+set}" = set; then
16791 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then 17626 withval=$with_ssl_engine; if test "x$withval" != "xno" ; then
16792 { echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5 17627 { $as_echo "$as_me:$LINENO: checking for OpenSSL ENGINE support" >&5
16793echo $ECHO_N "checking for OpenSSL ENGINE support... $ECHO_C" >&6; } 17628$as_echo_n "checking for OpenSSL ENGINE support... " >&6; }
16794 cat >conftest.$ac_ext <<_ACEOF 17629 cat >conftest.$ac_ext <<_ACEOF
16795/* confdefs.h. */ 17630/* confdefs.h. */
16796_ACEOF 17631_ACEOF
@@ -16814,19 +17649,20 @@ case "(($ac_try" in
16814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16815 *) ac_try_echo=$ac_try;; 17650 *) ac_try_echo=$ac_try;;
16816esac 17651esac
16817eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17653$as_echo "$ac_try_echo") >&5
16818 (eval "$ac_compile") 2>conftest.er1 17654 (eval "$ac_compile") 2>conftest.er1
16819 ac_status=$? 17655 ac_status=$?
16820 grep -v '^ *+' conftest.er1 >conftest.err 17656 grep -v '^ *+' conftest.er1 >conftest.err
16821 rm -f conftest.er1 17657 rm -f conftest.er1
16822 cat conftest.err >&5 17658 cat conftest.err >&5
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); } && { 17660 (exit $ac_status); } && {
16825 test -z "$ac_c_werror_flag" || 17661 test -z "$ac_c_werror_flag" ||
16826 test ! -s conftest.err 17662 test ! -s conftest.err
16827 } && test -s conftest.$ac_objext; then 17663 } && test -s conftest.$ac_objext; then
16828 { echo "$as_me:$LINENO: result: yes" >&5 17664 { $as_echo "$as_me:$LINENO: result: yes" >&5
16829echo "${ECHO_T}yes" >&6; } 17665$as_echo "yes" >&6; }
16830 17666
16831cat >>confdefs.h <<\_ACEOF 17667cat >>confdefs.h <<\_ACEOF
16832#define USE_OPENSSL_ENGINE 1 17668#define USE_OPENSSL_ENGINE 1
@@ -16834,11 +17670,11 @@ _ACEOF
16834 17670
16835 17671
16836else 17672else
16837 echo "$as_me: failed program was:" >&5 17673 $as_echo "$as_me: failed program was:" >&5
16838sed 's/^/| /' conftest.$ac_ext >&5 17674sed 's/^/| /' conftest.$ac_ext >&5
16839 17675
16840 { { echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5 17676 { { $as_echo "$as_me:$LINENO: error: OpenSSL ENGINE support not found" >&5
16841echo "$as_me: error: OpenSSL ENGINE support not found" >&2;} 17677$as_echo "$as_me: error: OpenSSL ENGINE support not found" >&2;}
16842 { (exit 1); exit 1; }; } 17678 { (exit 1); exit 1; }; }
16843 17679
16844fi 17680fi
@@ -16850,8 +17686,8 @@ fi
16850 17686
16851 17687
16852# Check for OpenSSL without EVP_aes_{192,256}_cbc 17688# Check for OpenSSL without EVP_aes_{192,256}_cbc
16853{ echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5 17689{ $as_echo "$as_me:$LINENO: checking whether OpenSSL has crippled AES support" >&5
16854echo $ECHO_N "checking whether OpenSSL has crippled AES support... $ECHO_C" >&6; } 17690$as_echo_n "checking whether OpenSSL has crippled AES support... " >&6; }
16855cat >conftest.$ac_ext <<_ACEOF 17691cat >conftest.$ac_ext <<_ACEOF
16856/* confdefs.h. */ 17692/* confdefs.h. */
16857_ACEOF 17693_ACEOF
@@ -16870,29 +17706,32 @@ case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;; 17707 *) ac_try_echo=$ac_try;;
16872esac 17708esac
16873eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17709eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17710$as_echo "$ac_try_echo") >&5
16874 (eval "$ac_link") 2>conftest.er1 17711 (eval "$ac_link") 2>conftest.er1
16875 ac_status=$? 17712 ac_status=$?
16876 grep -v '^ *+' conftest.er1 >conftest.err 17713 grep -v '^ *+' conftest.er1 >conftest.err
16877 rm -f conftest.er1 17714 rm -f conftest.er1
16878 cat conftest.err >&5 17715 cat conftest.err >&5
16879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16880 (exit $ac_status); } && { 17717 (exit $ac_status); } && {
16881 test -z "$ac_c_werror_flag" || 17718 test -z "$ac_c_werror_flag" ||
16882 test ! -s conftest.err 17719 test ! -s conftest.err
16883 } && test -s conftest$ac_exeext && 17720 } && test -s conftest$ac_exeext && {
16884 $as_test_x conftest$ac_exeext; then 17721 test "$cross_compiling" = yes ||
17722 $as_test_x conftest$ac_exeext
17723 }; then
16885 17724
16886 { echo "$as_me:$LINENO: result: no" >&5 17725 { $as_echo "$as_me:$LINENO: result: no" >&5
16887echo "${ECHO_T}no" >&6; } 17726$as_echo "no" >&6; }
16888 17727
16889else 17728else
16890 echo "$as_me: failed program was:" >&5 17729 $as_echo "$as_me: failed program was:" >&5
16891sed 's/^/| /' conftest.$ac_ext >&5 17730sed 's/^/| /' conftest.$ac_ext >&5
16892 17731
16893 17732
16894 { echo "$as_me:$LINENO: result: yes" >&5 17733 { $as_echo "$as_me:$LINENO: result: yes" >&5
16895echo "${ECHO_T}yes" >&6; } 17734$as_echo "yes" >&6; }
16896 17735
16897cat >>confdefs.h <<\_ACEOF 17736cat >>confdefs.h <<\_ACEOF
16898#define OPENSSL_LOBOTOMISED_AES 1 17737#define OPENSSL_LOBOTOMISED_AES 1
@@ -16902,6 +17741,66 @@ _ACEOF
16902 17741
16903fi 17742fi
16904 17743
17744rm -rf conftest.dSYM
17745rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17746 conftest$ac_exeext conftest.$ac_ext
17747
17748{ $as_echo "$as_me:$LINENO: checking if EVP_DigestUpdate returns an int" >&5
17749$as_echo_n "checking if EVP_DigestUpdate returns an int... " >&6; }
17750cat >conftest.$ac_ext <<_ACEOF
17751/* confdefs.h. */
17752_ACEOF
17753cat confdefs.h >>conftest.$ac_ext
17754cat >>conftest.$ac_ext <<_ACEOF
17755/* end confdefs.h. */
17756
17757#include <string.h>
17758#include <openssl/evp.h>
17759int main(void) { if(EVP_DigestUpdate(NULL, NULL,0)) exit(0); }
17760
17761_ACEOF
17762rm -f conftest.$ac_objext conftest$ac_exeext
17763if { (ac_try="$ac_link"
17764case "(($ac_try" in
17765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17766 *) ac_try_echo=$ac_try;;
17767esac
17768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17769$as_echo "$ac_try_echo") >&5
17770 (eval "$ac_link") 2>conftest.er1
17771 ac_status=$?
17772 grep -v '^ *+' conftest.er1 >conftest.err
17773 rm -f conftest.er1
17774 cat conftest.err >&5
17775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17776 (exit $ac_status); } && {
17777 test -z "$ac_c_werror_flag" ||
17778 test ! -s conftest.err
17779 } && test -s conftest$ac_exeext && {
17780 test "$cross_compiling" = yes ||
17781 $as_test_x conftest$ac_exeext
17782 }; then
17783
17784 { $as_echo "$as_me:$LINENO: result: yes" >&5
17785$as_echo "yes" >&6; }
17786
17787else
17788 $as_echo "$as_me: failed program was:" >&5
17789sed 's/^/| /' conftest.$ac_ext >&5
17790
17791
17792 { $as_echo "$as_me:$LINENO: result: no" >&5
17793$as_echo "no" >&6; }
17794
17795cat >>confdefs.h <<\_ACEOF
17796#define OPENSSL_EVP_DIGESTUPDATE_VOID 1
17797_ACEOF
17798
17799
17800
17801fi
17802
17803rm -rf conftest.dSYM
16905rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17804rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16906 conftest$ac_exeext conftest.$ac_ext 17805 conftest$ac_exeext conftest.$ac_ext
16907 17806
@@ -16909,10 +17808,10 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16909# because the system crypt() is more featureful. 17808# because the system crypt() is more featureful.
16910if test "x$check_for_libcrypt_before" = "x1"; then 17809if test "x$check_for_libcrypt_before" = "x1"; then
16911 17810
16912{ echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 17811{ $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
16913echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } 17812$as_echo_n "checking for crypt in -lcrypt... " >&6; }
16914if test "${ac_cv_lib_crypt_crypt+set}" = set; then 17813if test "${ac_cv_lib_crypt_crypt+set}" = set; then
16915 echo $ECHO_N "(cached) $ECHO_C" >&6 17814 $as_echo_n "(cached) " >&6
16916else 17815else
16917 ac_check_lib_save_LIBS=$LIBS 17816 ac_check_lib_save_LIBS=$LIBS
16918LIBS="-lcrypt $LIBS" 17817LIBS="-lcrypt $LIBS"
@@ -16944,32 +17843,36 @@ case "(($ac_try" in
16944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16945 *) ac_try_echo=$ac_try;; 17844 *) ac_try_echo=$ac_try;;
16946esac 17845esac
16947eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17846eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17847$as_echo "$ac_try_echo") >&5
16948 (eval "$ac_link") 2>conftest.er1 17848 (eval "$ac_link") 2>conftest.er1
16949 ac_status=$? 17849 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err 17850 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1 17851 rm -f conftest.er1
16952 cat conftest.err >&5 17852 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } && { 17854 (exit $ac_status); } && {
16955 test -z "$ac_c_werror_flag" || 17855 test -z "$ac_c_werror_flag" ||
16956 test ! -s conftest.err 17856 test ! -s conftest.err
16957 } && test -s conftest$ac_exeext && 17857 } && test -s conftest$ac_exeext && {
16958 $as_test_x conftest$ac_exeext; then 17858 test "$cross_compiling" = yes ||
17859 $as_test_x conftest$ac_exeext
17860 }; then
16959 ac_cv_lib_crypt_crypt=yes 17861 ac_cv_lib_crypt_crypt=yes
16960else 17862else
16961 echo "$as_me: failed program was:" >&5 17863 $as_echo "$as_me: failed program was:" >&5
16962sed 's/^/| /' conftest.$ac_ext >&5 17864sed 's/^/| /' conftest.$ac_ext >&5
16963 17865
16964 ac_cv_lib_crypt_crypt=no 17866 ac_cv_lib_crypt_crypt=no
16965fi 17867fi
16966 17868
17869rm -rf conftest.dSYM
16967rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17870rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16968 conftest$ac_exeext conftest.$ac_ext 17871 conftest$ac_exeext conftest.$ac_ext
16969LIBS=$ac_check_lib_save_LIBS 17872LIBS=$ac_check_lib_save_LIBS
16970fi 17873fi
16971{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 17874{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
16972echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } 17875$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
16973if test $ac_cv_lib_crypt_crypt = yes; then 17876if test $ac_cv_lib_crypt_crypt = yes; then
16974 cat >>confdefs.h <<_ACEOF 17877 cat >>confdefs.h <<_ACEOF
16975#define HAVE_LIBCRYPT 1 17878#define HAVE_LIBCRYPT 1
@@ -16984,10 +17887,10 @@ fi
16984# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the 17887# Some Linux systems (Slackware) need crypt() from libcrypt, *not* the
16985# version in OpenSSL. 17888# version in OpenSSL.
16986if test "x$check_for_libcrypt_later" = "x1"; then 17889if test "x$check_for_libcrypt_later" = "x1"; then
16987 { echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5 17890 { $as_echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
16988echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6; } 17891$as_echo_n "checking for crypt in -lcrypt... " >&6; }
16989if test "${ac_cv_lib_crypt_crypt+set}" = set; then 17892if test "${ac_cv_lib_crypt_crypt+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6 17893 $as_echo_n "(cached) " >&6
16991else 17894else
16992 ac_check_lib_save_LIBS=$LIBS 17895 ac_check_lib_save_LIBS=$LIBS
16993LIBS="-lcrypt $LIBS" 17896LIBS="-lcrypt $LIBS"
@@ -17019,32 +17922,36 @@ case "(($ac_try" in
17019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 17922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17020 *) ac_try_echo=$ac_try;; 17923 *) ac_try_echo=$ac_try;;
17021esac 17924esac
17022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 17925eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17926$as_echo "$ac_try_echo") >&5
17023 (eval "$ac_link") 2>conftest.er1 17927 (eval "$ac_link") 2>conftest.er1
17024 ac_status=$? 17928 ac_status=$?
17025 grep -v '^ *+' conftest.er1 >conftest.err 17929 grep -v '^ *+' conftest.er1 >conftest.err
17026 rm -f conftest.er1 17930 rm -f conftest.er1
17027 cat conftest.err >&5 17931 cat conftest.err >&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 17932 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } && { 17933 (exit $ac_status); } && {
17030 test -z "$ac_c_werror_flag" || 17934 test -z "$ac_c_werror_flag" ||
17031 test ! -s conftest.err 17935 test ! -s conftest.err
17032 } && test -s conftest$ac_exeext && 17936 } && test -s conftest$ac_exeext && {
17033 $as_test_x conftest$ac_exeext; then 17937 test "$cross_compiling" = yes ||
17938 $as_test_x conftest$ac_exeext
17939 }; then
17034 ac_cv_lib_crypt_crypt=yes 17940 ac_cv_lib_crypt_crypt=yes
17035else 17941else
17036 echo "$as_me: failed program was:" >&5 17942 $as_echo "$as_me: failed program was:" >&5
17037sed 's/^/| /' conftest.$ac_ext >&5 17943sed 's/^/| /' conftest.$ac_ext >&5
17038 17944
17039 ac_cv_lib_crypt_crypt=no 17945 ac_cv_lib_crypt_crypt=no
17040fi 17946fi
17041 17947
17948rm -rf conftest.dSYM
17042rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 17949rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17043 conftest$ac_exeext conftest.$ac_ext 17950 conftest$ac_exeext conftest.$ac_ext
17044LIBS=$ac_check_lib_save_LIBS 17951LIBS=$ac_check_lib_save_LIBS
17045fi 17952fi
17046{ echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5 17953{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
17047echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6; } 17954$as_echo "$ac_cv_lib_crypt_crypt" >&6; }
17048if test $ac_cv_lib_crypt_crypt = yes; then 17955if test $ac_cv_lib_crypt_crypt = yes; then
17049 LIBS="$LIBS -lcrypt" 17956 LIBS="$LIBS -lcrypt"
17050fi 17957fi
@@ -17056,11 +17963,11 @@ fi
17056 17963
17057for ac_func in SHA256_Update EVP_sha256 17964for ac_func in SHA256_Update EVP_sha256
17058do 17965do
17059as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 17966as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17060{ echo "$as_me:$LINENO: checking for $ac_func" >&5 17967{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17061echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 17968$as_echo_n "checking for $ac_func... " >&6; }
17062if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 17969if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17063 echo $ECHO_N "(cached) $ECHO_C" >&6 17970 $as_echo_n "(cached) " >&6
17064else 17971else
17065 cat >conftest.$ac_ext <<_ACEOF 17972 cat >conftest.$ac_ext <<_ACEOF
17066/* confdefs.h. */ 17973/* confdefs.h. */
@@ -17113,35 +18020,41 @@ case "(($ac_try" in
17113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17114 *) ac_try_echo=$ac_try;; 18021 *) ac_try_echo=$ac_try;;
17115esac 18022esac
17116eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18023eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18024$as_echo "$ac_try_echo") >&5
17117 (eval "$ac_link") 2>conftest.er1 18025 (eval "$ac_link") 2>conftest.er1
17118 ac_status=$? 18026 ac_status=$?
17119 grep -v '^ *+' conftest.er1 >conftest.err 18027 grep -v '^ *+' conftest.er1 >conftest.err
17120 rm -f conftest.er1 18028 rm -f conftest.er1
17121 cat conftest.err >&5 18029 cat conftest.err >&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } && { 18031 (exit $ac_status); } && {
17124 test -z "$ac_c_werror_flag" || 18032 test -z "$ac_c_werror_flag" ||
17125 test ! -s conftest.err 18033 test ! -s conftest.err
17126 } && test -s conftest$ac_exeext && 18034 } && test -s conftest$ac_exeext && {
17127 $as_test_x conftest$ac_exeext; then 18035 test "$cross_compiling" = yes ||
18036 $as_test_x conftest$ac_exeext
18037 }; then
17128 eval "$as_ac_var=yes" 18038 eval "$as_ac_var=yes"
17129else 18039else
17130 echo "$as_me: failed program was:" >&5 18040 $as_echo "$as_me: failed program was:" >&5
17131sed 's/^/| /' conftest.$ac_ext >&5 18041sed 's/^/| /' conftest.$ac_ext >&5
17132 18042
17133 eval "$as_ac_var=no" 18043 eval "$as_ac_var=no"
17134fi 18044fi
17135 18045
18046rm -rf conftest.dSYM
17136rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18047rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17137 conftest$ac_exeext conftest.$ac_ext 18048 conftest$ac_exeext conftest.$ac_ext
17138fi 18049fi
17139ac_res=`eval echo '${'$as_ac_var'}'` 18050ac_res=`eval 'as_val=${'$as_ac_var'}
17140 { echo "$as_me:$LINENO: result: $ac_res" >&5 18051 $as_echo "$as_val"'`
17141echo "${ECHO_T}$ac_res" >&6; } 18052 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17142if test `eval echo '${'$as_ac_var'}'` = yes; then 18053$as_echo "$ac_res" >&6; }
18054if test `eval 'as_val=${'$as_ac_var'}
18055 $as_echo "$as_val"'` = yes; then
17143 cat >>confdefs.h <<_ACEOF 18056 cat >>confdefs.h <<_ACEOF
17144#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18057#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17145_ACEOF 18058_ACEOF
17146 18059
17147fi 18060fi
@@ -17149,10 +18062,10 @@ done
17149 18062
17150 18063
17151saved_LIBS="$LIBS" 18064saved_LIBS="$LIBS"
17152{ echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5 18065{ $as_echo "$as_me:$LINENO: checking for ia_openinfo in -liaf" >&5
17153echo $ECHO_N "checking for ia_openinfo in -liaf... $ECHO_C" >&6; } 18066$as_echo_n "checking for ia_openinfo in -liaf... " >&6; }
17154if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then 18067if test "${ac_cv_lib_iaf_ia_openinfo+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6 18068 $as_echo_n "(cached) " >&6
17156else 18069else
17157 ac_check_lib_save_LIBS=$LIBS 18070 ac_check_lib_save_LIBS=$LIBS
17158LIBS="-liaf $LIBS" 18071LIBS="-liaf $LIBS"
@@ -17184,43 +18097,47 @@ case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;; 18098 *) ac_try_echo=$ac_try;;
17186esac 18099esac
17187eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18100eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18101$as_echo "$ac_try_echo") >&5
17188 (eval "$ac_link") 2>conftest.er1 18102 (eval "$ac_link") 2>conftest.er1
17189 ac_status=$? 18103 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err 18104 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1 18105 rm -f conftest.er1
17192 cat conftest.err >&5 18106 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && { 18108 (exit $ac_status); } && {
17195 test -z "$ac_c_werror_flag" || 18109 test -z "$ac_c_werror_flag" ||
17196 test ! -s conftest.err 18110 test ! -s conftest.err
17197 } && test -s conftest$ac_exeext && 18111 } && test -s conftest$ac_exeext && {
17198 $as_test_x conftest$ac_exeext; then 18112 test "$cross_compiling" = yes ||
18113 $as_test_x conftest$ac_exeext
18114 }; then
17199 ac_cv_lib_iaf_ia_openinfo=yes 18115 ac_cv_lib_iaf_ia_openinfo=yes
17200else 18116else
17201 echo "$as_me: failed program was:" >&5 18117 $as_echo "$as_me: failed program was:" >&5
17202sed 's/^/| /' conftest.$ac_ext >&5 18118sed 's/^/| /' conftest.$ac_ext >&5
17203 18119
17204 ac_cv_lib_iaf_ia_openinfo=no 18120 ac_cv_lib_iaf_ia_openinfo=no
17205fi 18121fi
17206 18122
18123rm -rf conftest.dSYM
17207rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18124rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17208 conftest$ac_exeext conftest.$ac_ext 18125 conftest$ac_exeext conftest.$ac_ext
17209LIBS=$ac_check_lib_save_LIBS 18126LIBS=$ac_check_lib_save_LIBS
17210fi 18127fi
17211{ echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5 18128{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_iaf_ia_openinfo" >&5
17212echo "${ECHO_T}$ac_cv_lib_iaf_ia_openinfo" >&6; } 18129$as_echo "$ac_cv_lib_iaf_ia_openinfo" >&6; }
17213if test $ac_cv_lib_iaf_ia_openinfo = yes; then 18130if test $ac_cv_lib_iaf_ia_openinfo = yes; then
17214 18131
17215 LIBS="$LIBS -liaf" 18132 LIBS="$LIBS -liaf"
17216 18133
17217for ac_func in set_id 18134for ac_func in set_id
17218do 18135do
17219as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18136as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17220{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18137{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17221echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18138$as_echo_n "checking for $ac_func... " >&6; }
17222if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18139if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17223 echo $ECHO_N "(cached) $ECHO_C" >&6 18140 $as_echo_n "(cached) " >&6
17224else 18141else
17225 cat >conftest.$ac_ext <<_ACEOF 18142 cat >conftest.$ac_ext <<_ACEOF
17226/* confdefs.h. */ 18143/* confdefs.h. */
@@ -17273,35 +18190,41 @@ case "(($ac_try" in
17273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17274 *) ac_try_echo=$ac_try;; 18191 *) ac_try_echo=$ac_try;;
17275esac 18192esac
17276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18194$as_echo "$ac_try_echo") >&5
17277 (eval "$ac_link") 2>conftest.er1 18195 (eval "$ac_link") 2>conftest.er1
17278 ac_status=$? 18196 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err 18197 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1 18198 rm -f conftest.er1
17281 cat conftest.err >&5 18199 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } && { 18201 (exit $ac_status); } && {
17284 test -z "$ac_c_werror_flag" || 18202 test -z "$ac_c_werror_flag" ||
17285 test ! -s conftest.err 18203 test ! -s conftest.err
17286 } && test -s conftest$ac_exeext && 18204 } && test -s conftest$ac_exeext && {
17287 $as_test_x conftest$ac_exeext; then 18205 test "$cross_compiling" = yes ||
18206 $as_test_x conftest$ac_exeext
18207 }; then
17288 eval "$as_ac_var=yes" 18208 eval "$as_ac_var=yes"
17289else 18209else
17290 echo "$as_me: failed program was:" >&5 18210 $as_echo "$as_me: failed program was:" >&5
17291sed 's/^/| /' conftest.$ac_ext >&5 18211sed 's/^/| /' conftest.$ac_ext >&5
17292 18212
17293 eval "$as_ac_var=no" 18213 eval "$as_ac_var=no"
17294fi 18214fi
17295 18215
18216rm -rf conftest.dSYM
17296rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18217rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17297 conftest$ac_exeext conftest.$ac_ext 18218 conftest$ac_exeext conftest.$ac_ext
17298fi 18219fi
17299ac_res=`eval echo '${'$as_ac_var'}'` 18220ac_res=`eval 'as_val=${'$as_ac_var'}
17300 { echo "$as_me:$LINENO: result: $ac_res" >&5 18221 $as_echo "$as_val"'`
17301echo "${ECHO_T}$ac_res" >&6; } 18222 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17302if test `eval echo '${'$as_ac_var'}'` = yes; then 18223$as_echo "$ac_res" >&6; }
18224if test `eval 'as_val=${'$as_ac_var'}
18225 $as_echo "$as_val"'` = yes; then
17303 cat >>confdefs.h <<_ACEOF 18226 cat >>confdefs.h <<_ACEOF
17304#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18227#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17305_ACEOF 18228_ACEOF
17306 SSHDLIBS="$SSHDLIBS -liaf" 18229 SSHDLIBS="$SSHDLIBS -liaf"
17307 18230
@@ -17321,12 +18244,12 @@ LIBS="$saved_LIBS"
17321### Configure cryptographic random number support 18244### Configure cryptographic random number support
17322 18245
17323# Check wheter OpenSSL seeds itself 18246# Check wheter OpenSSL seeds itself
17324{ echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5 18247{ $as_echo "$as_me:$LINENO: checking whether OpenSSL's PRNG is internally seeded" >&5
17325echo $ECHO_N "checking whether OpenSSL's PRNG is internally seeded... $ECHO_C" >&6; } 18248$as_echo_n "checking whether OpenSSL's PRNG is internally seeded... " >&6; }
17326if test "$cross_compiling" = yes; then 18249if test "$cross_compiling" = yes; then
17327 18250
17328 { echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5 18251 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: assuming yes" >&5
17329echo "$as_me: WARNING: cross compiling: assuming yes" >&2;} 18252$as_echo "$as_me: WARNING: cross compiling: assuming yes" >&2;}
17330 # This is safe, since all recent OpenSSL versions will 18253 # This is safe, since all recent OpenSSL versions will
17331 # complain at runtime if not seeded correctly. 18254 # complain at runtime if not seeded correctly.
17332 OPENSSL_SEEDS_ITSELF=yes 18255 OPENSSL_SEEDS_ITSELF=yes
@@ -17351,39 +18274,42 @@ case "(($ac_try" in
17351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17352 *) ac_try_echo=$ac_try;; 18275 *) ac_try_echo=$ac_try;;
17353esac 18276esac
17354eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18277eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18278$as_echo "$ac_try_echo") >&5
17355 (eval "$ac_link") 2>&5 18279 (eval "$ac_link") 2>&5
17356 ac_status=$? 18280 ac_status=$?
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 18282 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17359 { (case "(($ac_try" in 18283 { (case "(($ac_try" in
17360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17361 *) ac_try_echo=$ac_try;; 18285 *) ac_try_echo=$ac_try;;
17362esac 18286esac
17363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18288$as_echo "$ac_try_echo") >&5
17364 (eval "$ac_try") 2>&5 18289 (eval "$ac_try") 2>&5
17365 ac_status=$? 18290 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then 18292 (exit $ac_status); }; }; then
17368 18293
17369 OPENSSL_SEEDS_ITSELF=yes 18294 OPENSSL_SEEDS_ITSELF=yes
17370 { echo "$as_me:$LINENO: result: yes" >&5 18295 { $as_echo "$as_me:$LINENO: result: yes" >&5
17371echo "${ECHO_T}yes" >&6; } 18296$as_echo "yes" >&6; }
17372 18297
17373else 18298else
17374 echo "$as_me: program exited with status $ac_status" >&5 18299 $as_echo "$as_me: program exited with status $ac_status" >&5
17375echo "$as_me: failed program was:" >&5 18300$as_echo "$as_me: failed program was:" >&5
17376sed 's/^/| /' conftest.$ac_ext >&5 18301sed 's/^/| /' conftest.$ac_ext >&5
17377 18302
17378( exit $ac_status ) 18303( exit $ac_status )
17379 18304
17380 { echo "$as_me:$LINENO: result: no" >&5 18305 { $as_echo "$as_me:$LINENO: result: no" >&5
17381echo "${ECHO_T}no" >&6; } 18306$as_echo "no" >&6; }
17382 # Default to use of the rand helper if OpenSSL doesn't 18307 # Default to use of the rand helper if OpenSSL doesn't
17383 # seed itself 18308 # seed itself
17384 USE_RAND_HELPER=yes 18309 USE_RAND_HELPER=yes
17385 18310
17386fi 18311fi
18312rm -rf conftest.dSYM
17387rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 18313rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17388fi 18314fi
17389 18315
@@ -17398,17 +18324,17 @@ if test "${with_pam+set}" = set; then
17398 if test "x$withval" != "xno" ; then 18324 if test "x$withval" != "xno" ; then
17399 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \ 18325 if test "x$ac_cv_header_security_pam_appl_h" != "xyes" && \
17400 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then 18326 test "x$ac_cv_header_pam_pam_appl_h" != "xyes" ; then
17401 { { echo "$as_me:$LINENO: error: PAM headers not found" >&5 18327 { { $as_echo "$as_me:$LINENO: error: PAM headers not found" >&5
17402echo "$as_me: error: PAM headers not found" >&2;} 18328$as_echo "$as_me: error: PAM headers not found" >&2;}
17403 { (exit 1); exit 1; }; } 18329 { (exit 1); exit 1; }; }
17404 fi 18330 fi
17405 18331
17406 saved_LIBS="$LIBS" 18332 saved_LIBS="$LIBS"
17407 18333
17408{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 18334{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17409echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } 18335$as_echo_n "checking for dlopen in -ldl... " >&6; }
17410if test "${ac_cv_lib_dl_dlopen+set}" = set; then 18336if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17411 echo $ECHO_N "(cached) $ECHO_C" >&6 18337 $as_echo_n "(cached) " >&6
17412else 18338else
17413 ac_check_lib_save_LIBS=$LIBS 18339 ac_check_lib_save_LIBS=$LIBS
17414LIBS="-ldl $LIBS" 18340LIBS="-ldl $LIBS"
@@ -17440,32 +18366,36 @@ case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;; 18367 *) ac_try_echo=$ac_try;;
17442esac 18368esac
17443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18369eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18370$as_echo "$ac_try_echo") >&5
17444 (eval "$ac_link") 2>conftest.er1 18371 (eval "$ac_link") 2>conftest.er1
17445 ac_status=$? 18372 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err 18373 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1 18374 rm -f conftest.er1
17448 cat conftest.err >&5 18375 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && { 18377 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" || 18378 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err 18379 test ! -s conftest.err
17453 } && test -s conftest$ac_exeext && 18380 } && test -s conftest$ac_exeext && {
17454 $as_test_x conftest$ac_exeext; then 18381 test "$cross_compiling" = yes ||
18382 $as_test_x conftest$ac_exeext
18383 }; then
17455 ac_cv_lib_dl_dlopen=yes 18384 ac_cv_lib_dl_dlopen=yes
17456else 18385else
17457 echo "$as_me: failed program was:" >&5 18386 $as_echo "$as_me: failed program was:" >&5
17458sed 's/^/| /' conftest.$ac_ext >&5 18387sed 's/^/| /' conftest.$ac_ext >&5
17459 18388
17460 ac_cv_lib_dl_dlopen=no 18389 ac_cv_lib_dl_dlopen=no
17461fi 18390fi
17462 18391
18392rm -rf conftest.dSYM
17463rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18393rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17464 conftest$ac_exeext conftest.$ac_ext 18394 conftest$ac_exeext conftest.$ac_ext
17465LIBS=$ac_check_lib_save_LIBS 18395LIBS=$ac_check_lib_save_LIBS
17466fi 18396fi
17467{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 18397{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17468echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } 18398$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17469if test $ac_cv_lib_dl_dlopen = yes; then 18399if test $ac_cv_lib_dl_dlopen = yes; then
17470 cat >>confdefs.h <<_ACEOF 18400 cat >>confdefs.h <<_ACEOF
17471#define HAVE_LIBDL 1 18401#define HAVE_LIBDL 1
@@ -17476,10 +18406,10 @@ _ACEOF
17476fi 18406fi
17477 18407
17478 18408
17479{ echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5 18409{ $as_echo "$as_me:$LINENO: checking for pam_set_item in -lpam" >&5
17480echo $ECHO_N "checking for pam_set_item in -lpam... $ECHO_C" >&6; } 18410$as_echo_n "checking for pam_set_item in -lpam... " >&6; }
17481if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then 18411if test "${ac_cv_lib_pam_pam_set_item+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6 18412 $as_echo_n "(cached) " >&6
17483else 18413else
17484 ac_check_lib_save_LIBS=$LIBS 18414 ac_check_lib_save_LIBS=$LIBS
17485LIBS="-lpam $LIBS" 18415LIBS="-lpam $LIBS"
@@ -17511,32 +18441,36 @@ case "(($ac_try" in
17511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17512 *) ac_try_echo=$ac_try;; 18442 *) ac_try_echo=$ac_try;;
17513esac 18443esac
17514eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18445$as_echo "$ac_try_echo") >&5
17515 (eval "$ac_link") 2>conftest.er1 18446 (eval "$ac_link") 2>conftest.er1
17516 ac_status=$? 18447 ac_status=$?
17517 grep -v '^ *+' conftest.er1 >conftest.err 18448 grep -v '^ *+' conftest.er1 >conftest.err
17518 rm -f conftest.er1 18449 rm -f conftest.er1
17519 cat conftest.err >&5 18450 cat conftest.err >&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); } && { 18452 (exit $ac_status); } && {
17522 test -z "$ac_c_werror_flag" || 18453 test -z "$ac_c_werror_flag" ||
17523 test ! -s conftest.err 18454 test ! -s conftest.err
17524 } && test -s conftest$ac_exeext && 18455 } && test -s conftest$ac_exeext && {
17525 $as_test_x conftest$ac_exeext; then 18456 test "$cross_compiling" = yes ||
18457 $as_test_x conftest$ac_exeext
18458 }; then
17526 ac_cv_lib_pam_pam_set_item=yes 18459 ac_cv_lib_pam_pam_set_item=yes
17527else 18460else
17528 echo "$as_me: failed program was:" >&5 18461 $as_echo "$as_me: failed program was:" >&5
17529sed 's/^/| /' conftest.$ac_ext >&5 18462sed 's/^/| /' conftest.$ac_ext >&5
17530 18463
17531 ac_cv_lib_pam_pam_set_item=no 18464 ac_cv_lib_pam_pam_set_item=no
17532fi 18465fi
17533 18466
18467rm -rf conftest.dSYM
17534rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18468rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17535 conftest$ac_exeext conftest.$ac_ext 18469 conftest$ac_exeext conftest.$ac_ext
17536LIBS=$ac_check_lib_save_LIBS 18470LIBS=$ac_check_lib_save_LIBS
17537fi 18471fi
17538{ echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5 18472{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pam_pam_set_item" >&5
17539echo "${ECHO_T}$ac_cv_lib_pam_pam_set_item" >&6; } 18473$as_echo "$ac_cv_lib_pam_pam_set_item" >&6; }
17540if test $ac_cv_lib_pam_pam_set_item = yes; then 18474if test $ac_cv_lib_pam_pam_set_item = yes; then
17541 cat >>confdefs.h <<_ACEOF 18475 cat >>confdefs.h <<_ACEOF
17542#define HAVE_LIBPAM 1 18476#define HAVE_LIBPAM 1
@@ -17545,19 +18479,19 @@ _ACEOF
17545 LIBS="-lpam $LIBS" 18479 LIBS="-lpam $LIBS"
17546 18480
17547else 18481else
17548 { { echo "$as_me:$LINENO: error: *** libpam missing" >&5 18482 { { $as_echo "$as_me:$LINENO: error: *** libpam missing" >&5
17549echo "$as_me: error: *** libpam missing" >&2;} 18483$as_echo "$as_me: error: *** libpam missing" >&2;}
17550 { (exit 1); exit 1; }; } 18484 { (exit 1); exit 1; }; }
17551fi 18485fi
17552 18486
17553 18487
17554for ac_func in pam_getenvlist 18488for ac_func in pam_getenvlist
17555do 18489do
17556as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18490as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17557{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18491{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17558echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18492$as_echo_n "checking for $ac_func... " >&6; }
17559if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18493if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17560 echo $ECHO_N "(cached) $ECHO_C" >&6 18494 $as_echo_n "(cached) " >&6
17561else 18495else
17562 cat >conftest.$ac_ext <<_ACEOF 18496 cat >conftest.$ac_ext <<_ACEOF
17563/* confdefs.h. */ 18497/* confdefs.h. */
@@ -17610,35 +18544,41 @@ case "(($ac_try" in
17610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17611 *) ac_try_echo=$ac_try;; 18545 *) ac_try_echo=$ac_try;;
17612esac 18546esac
17613eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18548$as_echo "$ac_try_echo") >&5
17614 (eval "$ac_link") 2>conftest.er1 18549 (eval "$ac_link") 2>conftest.er1
17615 ac_status=$? 18550 ac_status=$?
17616 grep -v '^ *+' conftest.er1 >conftest.err 18551 grep -v '^ *+' conftest.er1 >conftest.err
17617 rm -f conftest.er1 18552 rm -f conftest.er1
17618 cat conftest.err >&5 18553 cat conftest.err >&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } && { 18555 (exit $ac_status); } && {
17621 test -z "$ac_c_werror_flag" || 18556 test -z "$ac_c_werror_flag" ||
17622 test ! -s conftest.err 18557 test ! -s conftest.err
17623 } && test -s conftest$ac_exeext && 18558 } && test -s conftest$ac_exeext && {
17624 $as_test_x conftest$ac_exeext; then 18559 test "$cross_compiling" = yes ||
18560 $as_test_x conftest$ac_exeext
18561 }; then
17625 eval "$as_ac_var=yes" 18562 eval "$as_ac_var=yes"
17626else 18563else
17627 echo "$as_me: failed program was:" >&5 18564 $as_echo "$as_me: failed program was:" >&5
17628sed 's/^/| /' conftest.$ac_ext >&5 18565sed 's/^/| /' conftest.$ac_ext >&5
17629 18566
17630 eval "$as_ac_var=no" 18567 eval "$as_ac_var=no"
17631fi 18568fi
17632 18569
18570rm -rf conftest.dSYM
17633rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18571rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17634 conftest$ac_exeext conftest.$ac_ext 18572 conftest$ac_exeext conftest.$ac_ext
17635fi 18573fi
17636ac_res=`eval echo '${'$as_ac_var'}'` 18574ac_res=`eval 'as_val=${'$as_ac_var'}
17637 { echo "$as_me:$LINENO: result: $ac_res" >&5 18575 $as_echo "$as_val"'`
17638echo "${ECHO_T}$ac_res" >&6; } 18576 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17639if test `eval echo '${'$as_ac_var'}'` = yes; then 18577$as_echo "$ac_res" >&6; }
18578if test `eval 'as_val=${'$as_ac_var'}
18579 $as_echo "$as_val"'` = yes; then
17640 cat >>confdefs.h <<_ACEOF 18580 cat >>confdefs.h <<_ACEOF
17641#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18581#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17642_ACEOF 18582_ACEOF
17643 18583
17644fi 18584fi
@@ -17647,11 +18587,11 @@ done
17647 18587
17648for ac_func in pam_putenv 18588for ac_func in pam_putenv
17649do 18589do
17650as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 18590as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17651{ echo "$as_me:$LINENO: checking for $ac_func" >&5 18591{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17652echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 18592$as_echo_n "checking for $ac_func... " >&6; }
17653if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 18593if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17654 echo $ECHO_N "(cached) $ECHO_C" >&6 18594 $as_echo_n "(cached) " >&6
17655else 18595else
17656 cat >conftest.$ac_ext <<_ACEOF 18596 cat >conftest.$ac_ext <<_ACEOF
17657/* confdefs.h. */ 18597/* confdefs.h. */
@@ -17704,35 +18644,41 @@ case "(($ac_try" in
17704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17705 *) ac_try_echo=$ac_try;; 18645 *) ac_try_echo=$ac_try;;
17706esac 18646esac
17707eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18647eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18648$as_echo "$ac_try_echo") >&5
17708 (eval "$ac_link") 2>conftest.er1 18649 (eval "$ac_link") 2>conftest.er1
17709 ac_status=$? 18650 ac_status=$?
17710 grep -v '^ *+' conftest.er1 >conftest.err 18651 grep -v '^ *+' conftest.er1 >conftest.err
17711 rm -f conftest.er1 18652 rm -f conftest.er1
17712 cat conftest.err >&5 18653 cat conftest.err >&5
17713 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714 (exit $ac_status); } && { 18655 (exit $ac_status); } && {
17715 test -z "$ac_c_werror_flag" || 18656 test -z "$ac_c_werror_flag" ||
17716 test ! -s conftest.err 18657 test ! -s conftest.err
17717 } && test -s conftest$ac_exeext && 18658 } && test -s conftest$ac_exeext && {
17718 $as_test_x conftest$ac_exeext; then 18659 test "$cross_compiling" = yes ||
18660 $as_test_x conftest$ac_exeext
18661 }; then
17719 eval "$as_ac_var=yes" 18662 eval "$as_ac_var=yes"
17720else 18663else
17721 echo "$as_me: failed program was:" >&5 18664 $as_echo "$as_me: failed program was:" >&5
17722sed 's/^/| /' conftest.$ac_ext >&5 18665sed 's/^/| /' conftest.$ac_ext >&5
17723 18666
17724 eval "$as_ac_var=no" 18667 eval "$as_ac_var=no"
17725fi 18668fi
17726 18669
18670rm -rf conftest.dSYM
17727rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 18671rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17728 conftest$ac_exeext conftest.$ac_ext 18672 conftest$ac_exeext conftest.$ac_ext
17729fi 18673fi
17730ac_res=`eval echo '${'$as_ac_var'}'` 18674ac_res=`eval 'as_val=${'$as_ac_var'}
17731 { echo "$as_me:$LINENO: result: $ac_res" >&5 18675 $as_echo "$as_val"'`
17732echo "${ECHO_T}$ac_res" >&6; } 18676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17733if test `eval echo '${'$as_ac_var'}'` = yes; then 18677$as_echo "$ac_res" >&6; }
18678if test `eval 'as_val=${'$as_ac_var'}
18679 $as_echo "$as_val"'` = yes; then
17734 cat >>confdefs.h <<_ACEOF 18680 cat >>confdefs.h <<_ACEOF
17735#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 18681#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17736_ACEOF 18682_ACEOF
17737 18683
17738fi 18684fi
@@ -17768,8 +18714,8 @@ fi
17768# Check for older PAM 18714# Check for older PAM
17769if test "x$PAM_MSG" = "xyes" ; then 18715if test "x$PAM_MSG" = "xyes" ; then
17770 # Check PAM strerror arguments (old PAM) 18716 # Check PAM strerror arguments (old PAM)
17771 { echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5 18717 { $as_echo "$as_me:$LINENO: checking whether pam_strerror takes only one argument" >&5
17772echo $ECHO_N "checking whether pam_strerror takes only one argument... $ECHO_C" >&6; } 18718$as_echo_n "checking whether pam_strerror takes only one argument... " >&6; }
17773 cat >conftest.$ac_ext <<_ACEOF 18719 cat >conftest.$ac_ext <<_ACEOF
17774/* confdefs.h. */ 18720/* confdefs.h. */
17775_ACEOF 18721_ACEOF
@@ -17798,21 +18744,22 @@ case "(($ac_try" in
17798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17799 *) ac_try_echo=$ac_try;; 18745 *) ac_try_echo=$ac_try;;
17800esac 18746esac
17801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 18747eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18748$as_echo "$ac_try_echo") >&5
17802 (eval "$ac_compile") 2>conftest.er1 18749 (eval "$ac_compile") 2>conftest.er1
17803 ac_status=$? 18750 ac_status=$?
17804 grep -v '^ *+' conftest.er1 >conftest.err 18751 grep -v '^ *+' conftest.er1 >conftest.err
17805 rm -f conftest.er1 18752 rm -f conftest.er1
17806 cat conftest.err >&5 18753 cat conftest.err >&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } && { 18755 (exit $ac_status); } && {
17809 test -z "$ac_c_werror_flag" || 18756 test -z "$ac_c_werror_flag" ||
17810 test ! -s conftest.err 18757 test ! -s conftest.err
17811 } && test -s conftest.$ac_objext; then 18758 } && test -s conftest.$ac_objext; then
17812 { echo "$as_me:$LINENO: result: no" >&5 18759 { $as_echo "$as_me:$LINENO: result: no" >&5
17813echo "${ECHO_T}no" >&6; } 18760$as_echo "no" >&6; }
17814else 18761else
17815 echo "$as_me: failed program was:" >&5 18762 $as_echo "$as_me: failed program was:" >&5
17816sed 's/^/| /' conftest.$ac_ext >&5 18763sed 's/^/| /' conftest.$ac_ext >&5
17817 18764
17818 18765
@@ -17821,8 +18768,8 @@ cat >>confdefs.h <<\_ACEOF
17821#define HAVE_OLD_PAM 1 18768#define HAVE_OLD_PAM 1
17822_ACEOF 18769_ACEOF
17823 18770
17824 { echo "$as_me:$LINENO: result: yes" >&5 18771 { $as_echo "$as_me:$LINENO: result: yes" >&5
17825echo "${ECHO_T}yes" >&6; } 18772$as_echo "yes" >&6; }
17826 PAM_MSG="yes (old library)" 18773 PAM_MSG="yes (old library)"
17827 18774
17828 18775
@@ -17840,8 +18787,8 @@ if test "${with_rand_helper+set}" = set; then
17840 # Force use of OpenSSL's internal RNG, even if 18787 # Force use of OpenSSL's internal RNG, even if
17841 # the previous test showed it to be unseeded. 18788 # the previous test showed it to be unseeded.
17842 if test -z "$OPENSSL_SEEDS_ITSELF" ; then 18789 if test -z "$OPENSSL_SEEDS_ITSELF" ; then
17843 { echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5 18790 { $as_echo "$as_me:$LINENO: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&5
17844echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;} 18791$as_echo "$as_me: WARNING: *** Forcing use of OpenSSL's non-self-seeding PRNG" >&2;}
17845 OPENSSL_SEEDS_ITSELF=yes 18792 OPENSSL_SEEDS_ITSELF=yes
17846 USE_RAND_HELPER="" 18793 USE_RAND_HELPER=""
17847 fi 18794 fi
@@ -17883,8 +18830,8 @@ if test "${with_prngd_port+set}" = set; then
17883 [0-9]*) 18830 [0-9]*)
17884 ;; 18831 ;;
17885 *) 18832 *)
17886 { { echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5 18833 { { $as_echo "$as_me:$LINENO: error: You must specify a numeric port number for --with-prngd-port" >&5
17887echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;} 18834$as_echo "$as_me: error: You must specify a numeric port number for --with-prngd-port" >&2;}
17888 { (exit 1); exit 1; }; } 18835 { (exit 1); exit 1; }; }
17889 ;; 18836 ;;
17890 esac 18837 esac
@@ -17916,21 +18863,21 @@ if test "${with_prngd_socket+set}" = set; then
17916 /*) 18863 /*)
17917 ;; 18864 ;;
17918 *) 18865 *)
17919 { { echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5 18866 { { $as_echo "$as_me:$LINENO: error: You must specify an absolute path to the entropy socket" >&5
17920echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;} 18867$as_echo "$as_me: error: You must specify an absolute path to the entropy socket" >&2;}
17921 { (exit 1); exit 1; }; } 18868 { (exit 1); exit 1; }; }
17922 ;; 18869 ;;
17923 esac 18870 esac
17924 18871
17925 if test ! -z "$withval" ; then 18872 if test ! -z "$withval" ; then
17926 if test ! -z "$PRNGD_PORT" ; then 18873 if test ! -z "$PRNGD_PORT" ; then
17927 { { echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5 18874 { { $as_echo "$as_me:$LINENO: error: You may not specify both a PRNGD/EGD port and socket" >&5
17928echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;} 18875$as_echo "$as_me: error: You may not specify both a PRNGD/EGD port and socket" >&2;}
17929 { (exit 1); exit 1; }; } 18876 { (exit 1); exit 1; }; }
17930 fi 18877 fi
17931 if test ! -r "$withval" ; then 18878 if test ! -r "$withval" ; then
17932 { echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5 18879 { $as_echo "$as_me:$LINENO: WARNING: Entropy socket is not readable" >&5
17933echo "$as_me: WARNING: Entropy socket is not readable" >&2;} 18880$as_echo "$as_me: WARNING: Entropy socket is not readable" >&2;}
17934 fi 18881 fi
17935 PRNGD_SOCKET="$withval" 18882 PRNGD_SOCKET="$withval"
17936 18883
@@ -17944,8 +18891,8 @@ else
17944 18891
17945 # Check for existing socket only if we don't have a random device already 18892 # Check for existing socket only if we don't have a random device already
17946 if test "$USE_RAND_HELPER" = yes ; then 18893 if test "$USE_RAND_HELPER" = yes ; then
17947 { echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5 18894 { $as_echo "$as_me:$LINENO: checking for PRNGD/EGD socket" >&5
17948echo $ECHO_N "checking for PRNGD/EGD socket... $ECHO_C" >&6; } 18895$as_echo_n "checking for PRNGD/EGD socket... " >&6; }
17949 # Insert other locations here 18896 # Insert other locations here
17950 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do 18897 for sock in /var/run/egd-pool /dev/egd-pool /etc/entropy; do
17951 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then 18898 if test -r $sock && $TEST_MINUS_S_SH -c "test -S $sock -o -p $sock" ; then
@@ -17958,11 +18905,11 @@ _ACEOF
17958 fi 18905 fi
17959 done 18906 done
17960 if test ! -z "$PRNGD_SOCKET" ; then 18907 if test ! -z "$PRNGD_SOCKET" ; then
17961 { echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5 18908 { $as_echo "$as_me:$LINENO: result: $PRNGD_SOCKET" >&5
17962echo "${ECHO_T}$PRNGD_SOCKET" >&6; } 18909$as_echo "$PRNGD_SOCKET" >&6; }
17963 else 18910 else
17964 { echo "$as_me:$LINENO: result: not found" >&5 18911 { $as_echo "$as_me:$LINENO: result: not found" >&5
17965echo "${ECHO_T}not found" >&6; } 18912$as_echo "not found" >&6; }
17966 fi 18913 fi
17967 fi 18914 fi
17968 18915
@@ -18028,10 +18975,10 @@ PATH=$PATH:/etc:$OPATH
18028 18975
18029 # Extract the first word of "ls", so it can be a program name with args. 18976 # Extract the first word of "ls", so it can be a program name with args.
18030set dummy ls; ac_word=$2 18977set dummy ls; ac_word=$2
18031{ echo "$as_me:$LINENO: checking for $ac_word" >&5 18978{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18032echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 18979$as_echo_n "checking for $ac_word... " >&6; }
18033if test "${ac_cv_path_PROG_LS+set}" = set; then 18980if test "${ac_cv_path_PROG_LS+set}" = set; then
18034 echo $ECHO_N "(cached) $ECHO_C" >&6 18981 $as_echo_n "(cached) " >&6
18035else 18982else
18036 case $PROG_LS in 18983 case $PROG_LS in
18037 [\\/]* | ?:[\\/]*) 18984 [\\/]* | ?:[\\/]*)
@@ -18046,7 +18993,7 @@ do
18046 for ac_exec_ext in '' $ac_executable_extensions; do 18993 for ac_exec_ext in '' $ac_executable_extensions; do
18047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 18994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18048 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext" 18995 ac_cv_path_PROG_LS="$as_dir/$ac_word$ac_exec_ext"
18049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 18996 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18050 break 2 18997 break 2
18051 fi 18998 fi
18052done 18999done
@@ -18058,11 +19005,11 @@ esac
18058fi 19005fi
18059PROG_LS=$ac_cv_path_PROG_LS 19006PROG_LS=$ac_cv_path_PROG_LS
18060if test -n "$PROG_LS"; then 19007if test -n "$PROG_LS"; then
18061 { echo "$as_me:$LINENO: result: $PROG_LS" >&5 19008 { $as_echo "$as_me:$LINENO: result: $PROG_LS" >&5
18062echo "${ECHO_T}$PROG_LS" >&6; } 19009$as_echo "$PROG_LS" >&6; }
18063else 19010else
18064 { echo "$as_me:$LINENO: result: no" >&5 19011 { $as_echo "$as_me:$LINENO: result: no" >&5
18065echo "${ECHO_T}no" >&6; } 19012$as_echo "no" >&6; }
18066fi 19013fi
18067 19014
18068 19015
@@ -18074,10 +19021,10 @@ fi
18074 19021
18075 # Extract the first word of "netstat", so it can be a program name with args. 19022 # Extract the first word of "netstat", so it can be a program name with args.
18076set dummy netstat; ac_word=$2 19023set dummy netstat; ac_word=$2
18077{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19024{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18078echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19025$as_echo_n "checking for $ac_word... " >&6; }
18079if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then 19026if test "${ac_cv_path_PROG_NETSTAT+set}" = set; then
18080 echo $ECHO_N "(cached) $ECHO_C" >&6 19027 $as_echo_n "(cached) " >&6
18081else 19028else
18082 case $PROG_NETSTAT in 19029 case $PROG_NETSTAT in
18083 [\\/]* | ?:[\\/]*) 19030 [\\/]* | ?:[\\/]*)
@@ -18092,7 +19039,7 @@ do
18092 for ac_exec_ext in '' $ac_executable_extensions; do 19039 for ac_exec_ext in '' $ac_executable_extensions; do
18093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18094 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext" 19041 ac_cv_path_PROG_NETSTAT="$as_dir/$ac_word$ac_exec_ext"
18095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19042 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18096 break 2 19043 break 2
18097 fi 19044 fi
18098done 19045done
@@ -18104,11 +19051,11 @@ esac
18104fi 19051fi
18105PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT 19052PROG_NETSTAT=$ac_cv_path_PROG_NETSTAT
18106if test -n "$PROG_NETSTAT"; then 19053if test -n "$PROG_NETSTAT"; then
18107 { echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5 19054 { $as_echo "$as_me:$LINENO: result: $PROG_NETSTAT" >&5
18108echo "${ECHO_T}$PROG_NETSTAT" >&6; } 19055$as_echo "$PROG_NETSTAT" >&6; }
18109else 19056else
18110 { echo "$as_me:$LINENO: result: no" >&5 19057 { $as_echo "$as_me:$LINENO: result: no" >&5
18111echo "${ECHO_T}no" >&6; } 19058$as_echo "no" >&6; }
18112fi 19059fi
18113 19060
18114 19061
@@ -18120,10 +19067,10 @@ fi
18120 19067
18121 # Extract the first word of "arp", so it can be a program name with args. 19068 # Extract the first word of "arp", so it can be a program name with args.
18122set dummy arp; ac_word=$2 19069set dummy arp; ac_word=$2
18123{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19070{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18124echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19071$as_echo_n "checking for $ac_word... " >&6; }
18125if test "${ac_cv_path_PROG_ARP+set}" = set; then 19072if test "${ac_cv_path_PROG_ARP+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6 19073 $as_echo_n "(cached) " >&6
18127else 19074else
18128 case $PROG_ARP in 19075 case $PROG_ARP in
18129 [\\/]* | ?:[\\/]*) 19076 [\\/]* | ?:[\\/]*)
@@ -18138,7 +19085,7 @@ do
18138 for ac_exec_ext in '' $ac_executable_extensions; do 19085 for ac_exec_ext in '' $ac_executable_extensions; do
18139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18140 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext" 19087 ac_cv_path_PROG_ARP="$as_dir/$ac_word$ac_exec_ext"
18141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19088 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18142 break 2 19089 break 2
18143 fi 19090 fi
18144done 19091done
@@ -18150,11 +19097,11 @@ esac
18150fi 19097fi
18151PROG_ARP=$ac_cv_path_PROG_ARP 19098PROG_ARP=$ac_cv_path_PROG_ARP
18152if test -n "$PROG_ARP"; then 19099if test -n "$PROG_ARP"; then
18153 { echo "$as_me:$LINENO: result: $PROG_ARP" >&5 19100 { $as_echo "$as_me:$LINENO: result: $PROG_ARP" >&5
18154echo "${ECHO_T}$PROG_ARP" >&6; } 19101$as_echo "$PROG_ARP" >&6; }
18155else 19102else
18156 { echo "$as_me:$LINENO: result: no" >&5 19103 { $as_echo "$as_me:$LINENO: result: no" >&5
18157echo "${ECHO_T}no" >&6; } 19104$as_echo "no" >&6; }
18158fi 19105fi
18159 19106
18160 19107
@@ -18166,10 +19113,10 @@ fi
18166 19113
18167 # Extract the first word of "ifconfig", so it can be a program name with args. 19114 # Extract the first word of "ifconfig", so it can be a program name with args.
18168set dummy ifconfig; ac_word=$2 19115set dummy ifconfig; ac_word=$2
18169{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19116{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18170echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19117$as_echo_n "checking for $ac_word... " >&6; }
18171if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then 19118if test "${ac_cv_path_PROG_IFCONFIG+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6 19119 $as_echo_n "(cached) " >&6
18173else 19120else
18174 case $PROG_IFCONFIG in 19121 case $PROG_IFCONFIG in
18175 [\\/]* | ?:[\\/]*) 19122 [\\/]* | ?:[\\/]*)
@@ -18184,7 +19131,7 @@ do
18184 for ac_exec_ext in '' $ac_executable_extensions; do 19131 for ac_exec_ext in '' $ac_executable_extensions; do
18185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18186 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext" 19133 ac_cv_path_PROG_IFCONFIG="$as_dir/$ac_word$ac_exec_ext"
18187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19134 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18188 break 2 19135 break 2
18189 fi 19136 fi
18190done 19137done
@@ -18196,11 +19143,11 @@ esac
18196fi 19143fi
18197PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG 19144PROG_IFCONFIG=$ac_cv_path_PROG_IFCONFIG
18198if test -n "$PROG_IFCONFIG"; then 19145if test -n "$PROG_IFCONFIG"; then
18199 { echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5 19146 { $as_echo "$as_me:$LINENO: result: $PROG_IFCONFIG" >&5
18200echo "${ECHO_T}$PROG_IFCONFIG" >&6; } 19147$as_echo "$PROG_IFCONFIG" >&6; }
18201else 19148else
18202 { echo "$as_me:$LINENO: result: no" >&5 19149 { $as_echo "$as_me:$LINENO: result: no" >&5
18203echo "${ECHO_T}no" >&6; } 19150$as_echo "no" >&6; }
18204fi 19151fi
18205 19152
18206 19153
@@ -18212,10 +19159,10 @@ fi
18212 19159
18213 # Extract the first word of "jstat", so it can be a program name with args. 19160 # Extract the first word of "jstat", so it can be a program name with args.
18214set dummy jstat; ac_word=$2 19161set dummy jstat; ac_word=$2
18215{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19162{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18216echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19163$as_echo_n "checking for $ac_word... " >&6; }
18217if test "${ac_cv_path_PROG_JSTAT+set}" = set; then 19164if test "${ac_cv_path_PROG_JSTAT+set}" = set; then
18218 echo $ECHO_N "(cached) $ECHO_C" >&6 19165 $as_echo_n "(cached) " >&6
18219else 19166else
18220 case $PROG_JSTAT in 19167 case $PROG_JSTAT in
18221 [\\/]* | ?:[\\/]*) 19168 [\\/]* | ?:[\\/]*)
@@ -18230,7 +19177,7 @@ do
18230 for ac_exec_ext in '' $ac_executable_extensions; do 19177 for ac_exec_ext in '' $ac_executable_extensions; do
18231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18232 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext" 19179 ac_cv_path_PROG_JSTAT="$as_dir/$ac_word$ac_exec_ext"
18233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18234 break 2 19181 break 2
18235 fi 19182 fi
18236done 19183done
@@ -18242,11 +19189,11 @@ esac
18242fi 19189fi
18243PROG_JSTAT=$ac_cv_path_PROG_JSTAT 19190PROG_JSTAT=$ac_cv_path_PROG_JSTAT
18244if test -n "$PROG_JSTAT"; then 19191if test -n "$PROG_JSTAT"; then
18245 { echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5 19192 { $as_echo "$as_me:$LINENO: result: $PROG_JSTAT" >&5
18246echo "${ECHO_T}$PROG_JSTAT" >&6; } 19193$as_echo "$PROG_JSTAT" >&6; }
18247else 19194else
18248 { echo "$as_me:$LINENO: result: no" >&5 19195 { $as_echo "$as_me:$LINENO: result: no" >&5
18249echo "${ECHO_T}no" >&6; } 19196$as_echo "no" >&6; }
18250fi 19197fi
18251 19198
18252 19199
@@ -18258,10 +19205,10 @@ fi
18258 19205
18259 # Extract the first word of "ps", so it can be a program name with args. 19206 # Extract the first word of "ps", so it can be a program name with args.
18260set dummy ps; ac_word=$2 19207set dummy ps; ac_word=$2
18261{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19208{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18262echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19209$as_echo_n "checking for $ac_word... " >&6; }
18263if test "${ac_cv_path_PROG_PS+set}" = set; then 19210if test "${ac_cv_path_PROG_PS+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6 19211 $as_echo_n "(cached) " >&6
18265else 19212else
18266 case $PROG_PS in 19213 case $PROG_PS in
18267 [\\/]* | ?:[\\/]*) 19214 [\\/]* | ?:[\\/]*)
@@ -18276,7 +19223,7 @@ do
18276 for ac_exec_ext in '' $ac_executable_extensions; do 19223 for ac_exec_ext in '' $ac_executable_extensions; do
18277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18278 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext" 19225 ac_cv_path_PROG_PS="$as_dir/$ac_word$ac_exec_ext"
18279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19226 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18280 break 2 19227 break 2
18281 fi 19228 fi
18282done 19229done
@@ -18288,11 +19235,11 @@ esac
18288fi 19235fi
18289PROG_PS=$ac_cv_path_PROG_PS 19236PROG_PS=$ac_cv_path_PROG_PS
18290if test -n "$PROG_PS"; then 19237if test -n "$PROG_PS"; then
18291 { echo "$as_me:$LINENO: result: $PROG_PS" >&5 19238 { $as_echo "$as_me:$LINENO: result: $PROG_PS" >&5
18292echo "${ECHO_T}$PROG_PS" >&6; } 19239$as_echo "$PROG_PS" >&6; }
18293else 19240else
18294 { echo "$as_me:$LINENO: result: no" >&5 19241 { $as_echo "$as_me:$LINENO: result: no" >&5
18295echo "${ECHO_T}no" >&6; } 19242$as_echo "no" >&6; }
18296fi 19243fi
18297 19244
18298 19245
@@ -18304,10 +19251,10 @@ fi
18304 19251
18305 # Extract the first word of "sar", so it can be a program name with args. 19252 # Extract the first word of "sar", so it can be a program name with args.
18306set dummy sar; ac_word=$2 19253set dummy sar; ac_word=$2
18307{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19254{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18308echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19255$as_echo_n "checking for $ac_word... " >&6; }
18309if test "${ac_cv_path_PROG_SAR+set}" = set; then 19256if test "${ac_cv_path_PROG_SAR+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6 19257 $as_echo_n "(cached) " >&6
18311else 19258else
18312 case $PROG_SAR in 19259 case $PROG_SAR in
18313 [\\/]* | ?:[\\/]*) 19260 [\\/]* | ?:[\\/]*)
@@ -18322,7 +19269,7 @@ do
18322 for ac_exec_ext in '' $ac_executable_extensions; do 19269 for ac_exec_ext in '' $ac_executable_extensions; do
18323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18324 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext" 19271 ac_cv_path_PROG_SAR="$as_dir/$ac_word$ac_exec_ext"
18325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19272 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18326 break 2 19273 break 2
18327 fi 19274 fi
18328done 19275done
@@ -18334,11 +19281,11 @@ esac
18334fi 19281fi
18335PROG_SAR=$ac_cv_path_PROG_SAR 19282PROG_SAR=$ac_cv_path_PROG_SAR
18336if test -n "$PROG_SAR"; then 19283if test -n "$PROG_SAR"; then
18337 { echo "$as_me:$LINENO: result: $PROG_SAR" >&5 19284 { $as_echo "$as_me:$LINENO: result: $PROG_SAR" >&5
18338echo "${ECHO_T}$PROG_SAR" >&6; } 19285$as_echo "$PROG_SAR" >&6; }
18339else 19286else
18340 { echo "$as_me:$LINENO: result: no" >&5 19287 { $as_echo "$as_me:$LINENO: result: no" >&5
18341echo "${ECHO_T}no" >&6; } 19288$as_echo "no" >&6; }
18342fi 19289fi
18343 19290
18344 19291
@@ -18350,10 +19297,10 @@ fi
18350 19297
18351 # Extract the first word of "w", so it can be a program name with args. 19298 # Extract the first word of "w", so it can be a program name with args.
18352set dummy w; ac_word=$2 19299set dummy w; ac_word=$2
18353{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19300{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18354echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19301$as_echo_n "checking for $ac_word... " >&6; }
18355if test "${ac_cv_path_PROG_W+set}" = set; then 19302if test "${ac_cv_path_PROG_W+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6 19303 $as_echo_n "(cached) " >&6
18357else 19304else
18358 case $PROG_W in 19305 case $PROG_W in
18359 [\\/]* | ?:[\\/]*) 19306 [\\/]* | ?:[\\/]*)
@@ -18368,7 +19315,7 @@ do
18368 for ac_exec_ext in '' $ac_executable_extensions; do 19315 for ac_exec_ext in '' $ac_executable_extensions; do
18369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18370 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext" 19317 ac_cv_path_PROG_W="$as_dir/$ac_word$ac_exec_ext"
18371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19318 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18372 break 2 19319 break 2
18373 fi 19320 fi
18374done 19321done
@@ -18380,11 +19327,11 @@ esac
18380fi 19327fi
18381PROG_W=$ac_cv_path_PROG_W 19328PROG_W=$ac_cv_path_PROG_W
18382if test -n "$PROG_W"; then 19329if test -n "$PROG_W"; then
18383 { echo "$as_me:$LINENO: result: $PROG_W" >&5 19330 { $as_echo "$as_me:$LINENO: result: $PROG_W" >&5
18384echo "${ECHO_T}$PROG_W" >&6; } 19331$as_echo "$PROG_W" >&6; }
18385else 19332else
18386 { echo "$as_me:$LINENO: result: no" >&5 19333 { $as_echo "$as_me:$LINENO: result: no" >&5
18387echo "${ECHO_T}no" >&6; } 19334$as_echo "no" >&6; }
18388fi 19335fi
18389 19336
18390 19337
@@ -18396,10 +19343,10 @@ fi
18396 19343
18397 # Extract the first word of "who", so it can be a program name with args. 19344 # Extract the first word of "who", so it can be a program name with args.
18398set dummy who; ac_word=$2 19345set dummy who; ac_word=$2
18399{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19346{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18400echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19347$as_echo_n "checking for $ac_word... " >&6; }
18401if test "${ac_cv_path_PROG_WHO+set}" = set; then 19348if test "${ac_cv_path_PROG_WHO+set}" = set; then
18402 echo $ECHO_N "(cached) $ECHO_C" >&6 19349 $as_echo_n "(cached) " >&6
18403else 19350else
18404 case $PROG_WHO in 19351 case $PROG_WHO in
18405 [\\/]* | ?:[\\/]*) 19352 [\\/]* | ?:[\\/]*)
@@ -18414,7 +19361,7 @@ do
18414 for ac_exec_ext in '' $ac_executable_extensions; do 19361 for ac_exec_ext in '' $ac_executable_extensions; do
18415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18416 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext" 19363 ac_cv_path_PROG_WHO="$as_dir/$ac_word$ac_exec_ext"
18417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19364 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18418 break 2 19365 break 2
18419 fi 19366 fi
18420done 19367done
@@ -18426,11 +19373,11 @@ esac
18426fi 19373fi
18427PROG_WHO=$ac_cv_path_PROG_WHO 19374PROG_WHO=$ac_cv_path_PROG_WHO
18428if test -n "$PROG_WHO"; then 19375if test -n "$PROG_WHO"; then
18429 { echo "$as_me:$LINENO: result: $PROG_WHO" >&5 19376 { $as_echo "$as_me:$LINENO: result: $PROG_WHO" >&5
18430echo "${ECHO_T}$PROG_WHO" >&6; } 19377$as_echo "$PROG_WHO" >&6; }
18431else 19378else
18432 { echo "$as_me:$LINENO: result: no" >&5 19379 { $as_echo "$as_me:$LINENO: result: no" >&5
18433echo "${ECHO_T}no" >&6; } 19380$as_echo "no" >&6; }
18434fi 19381fi
18435 19382
18436 19383
@@ -18442,10 +19389,10 @@ fi
18442 19389
18443 # Extract the first word of "last", so it can be a program name with args. 19390 # Extract the first word of "last", so it can be a program name with args.
18444set dummy last; ac_word=$2 19391set dummy last; ac_word=$2
18445{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19392{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18446echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19393$as_echo_n "checking for $ac_word... " >&6; }
18447if test "${ac_cv_path_PROG_LAST+set}" = set; then 19394if test "${ac_cv_path_PROG_LAST+set}" = set; then
18448 echo $ECHO_N "(cached) $ECHO_C" >&6 19395 $as_echo_n "(cached) " >&6
18449else 19396else
18450 case $PROG_LAST in 19397 case $PROG_LAST in
18451 [\\/]* | ?:[\\/]*) 19398 [\\/]* | ?:[\\/]*)
@@ -18460,7 +19407,7 @@ do
18460 for ac_exec_ext in '' $ac_executable_extensions; do 19407 for ac_exec_ext in '' $ac_executable_extensions; do
18461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18462 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext" 19409 ac_cv_path_PROG_LAST="$as_dir/$ac_word$ac_exec_ext"
18463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19410 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18464 break 2 19411 break 2
18465 fi 19412 fi
18466done 19413done
@@ -18472,11 +19419,11 @@ esac
18472fi 19419fi
18473PROG_LAST=$ac_cv_path_PROG_LAST 19420PROG_LAST=$ac_cv_path_PROG_LAST
18474if test -n "$PROG_LAST"; then 19421if test -n "$PROG_LAST"; then
18475 { echo "$as_me:$LINENO: result: $PROG_LAST" >&5 19422 { $as_echo "$as_me:$LINENO: result: $PROG_LAST" >&5
18476echo "${ECHO_T}$PROG_LAST" >&6; } 19423$as_echo "$PROG_LAST" >&6; }
18477else 19424else
18478 { echo "$as_me:$LINENO: result: no" >&5 19425 { $as_echo "$as_me:$LINENO: result: no" >&5
18479echo "${ECHO_T}no" >&6; } 19426$as_echo "no" >&6; }
18480fi 19427fi
18481 19428
18482 19429
@@ -18488,10 +19435,10 @@ fi
18488 19435
18489 # Extract the first word of "lastlog", so it can be a program name with args. 19436 # Extract the first word of "lastlog", so it can be a program name with args.
18490set dummy lastlog; ac_word=$2 19437set dummy lastlog; ac_word=$2
18491{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19438{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18492echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19439$as_echo_n "checking for $ac_word... " >&6; }
18493if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then 19440if test "${ac_cv_path_PROG_LASTLOG+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6 19441 $as_echo_n "(cached) " >&6
18495else 19442else
18496 case $PROG_LASTLOG in 19443 case $PROG_LASTLOG in
18497 [\\/]* | ?:[\\/]*) 19444 [\\/]* | ?:[\\/]*)
@@ -18506,7 +19453,7 @@ do
18506 for ac_exec_ext in '' $ac_executable_extensions; do 19453 for ac_exec_ext in '' $ac_executable_extensions; do
18507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18508 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext" 19455 ac_cv_path_PROG_LASTLOG="$as_dir/$ac_word$ac_exec_ext"
18509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19456 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18510 break 2 19457 break 2
18511 fi 19458 fi
18512done 19459done
@@ -18518,11 +19465,11 @@ esac
18518fi 19465fi
18519PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG 19466PROG_LASTLOG=$ac_cv_path_PROG_LASTLOG
18520if test -n "$PROG_LASTLOG"; then 19467if test -n "$PROG_LASTLOG"; then
18521 { echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5 19468 { $as_echo "$as_me:$LINENO: result: $PROG_LASTLOG" >&5
18522echo "${ECHO_T}$PROG_LASTLOG" >&6; } 19469$as_echo "$PROG_LASTLOG" >&6; }
18523else 19470else
18524 { echo "$as_me:$LINENO: result: no" >&5 19471 { $as_echo "$as_me:$LINENO: result: no" >&5
18525echo "${ECHO_T}no" >&6; } 19472$as_echo "no" >&6; }
18526fi 19473fi
18527 19474
18528 19475
@@ -18534,10 +19481,10 @@ fi
18534 19481
18535 # Extract the first word of "df", so it can be a program name with args. 19482 # Extract the first word of "df", so it can be a program name with args.
18536set dummy df; ac_word=$2 19483set dummy df; ac_word=$2
18537{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19484{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18538echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19485$as_echo_n "checking for $ac_word... " >&6; }
18539if test "${ac_cv_path_PROG_DF+set}" = set; then 19486if test "${ac_cv_path_PROG_DF+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6 19487 $as_echo_n "(cached) " >&6
18541else 19488else
18542 case $PROG_DF in 19489 case $PROG_DF in
18543 [\\/]* | ?:[\\/]*) 19490 [\\/]* | ?:[\\/]*)
@@ -18552,7 +19499,7 @@ do
18552 for ac_exec_ext in '' $ac_executable_extensions; do 19499 for ac_exec_ext in '' $ac_executable_extensions; do
18553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18554 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext" 19501 ac_cv_path_PROG_DF="$as_dir/$ac_word$ac_exec_ext"
18555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19502 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18556 break 2 19503 break 2
18557 fi 19504 fi
18558done 19505done
@@ -18564,11 +19511,11 @@ esac
18564fi 19511fi
18565PROG_DF=$ac_cv_path_PROG_DF 19512PROG_DF=$ac_cv_path_PROG_DF
18566if test -n "$PROG_DF"; then 19513if test -n "$PROG_DF"; then
18567 { echo "$as_me:$LINENO: result: $PROG_DF" >&5 19514 { $as_echo "$as_me:$LINENO: result: $PROG_DF" >&5
18568echo "${ECHO_T}$PROG_DF" >&6; } 19515$as_echo "$PROG_DF" >&6; }
18569else 19516else
18570 { echo "$as_me:$LINENO: result: no" >&5 19517 { $as_echo "$as_me:$LINENO: result: no" >&5
18571echo "${ECHO_T}no" >&6; } 19518$as_echo "no" >&6; }
18572fi 19519fi
18573 19520
18574 19521
@@ -18580,10 +19527,10 @@ fi
18580 19527
18581 # Extract the first word of "vmstat", so it can be a program name with args. 19528 # Extract the first word of "vmstat", so it can be a program name with args.
18582set dummy vmstat; ac_word=$2 19529set dummy vmstat; ac_word=$2
18583{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19530{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18584echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19531$as_echo_n "checking for $ac_word... " >&6; }
18585if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then 19532if test "${ac_cv_path_PROG_VMSTAT+set}" = set; then
18586 echo $ECHO_N "(cached) $ECHO_C" >&6 19533 $as_echo_n "(cached) " >&6
18587else 19534else
18588 case $PROG_VMSTAT in 19535 case $PROG_VMSTAT in
18589 [\\/]* | ?:[\\/]*) 19536 [\\/]* | ?:[\\/]*)
@@ -18598,7 +19545,7 @@ do
18598 for ac_exec_ext in '' $ac_executable_extensions; do 19545 for ac_exec_ext in '' $ac_executable_extensions; do
18599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18600 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext" 19547 ac_cv_path_PROG_VMSTAT="$as_dir/$ac_word$ac_exec_ext"
18601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19548 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18602 break 2 19549 break 2
18603 fi 19550 fi
18604done 19551done
@@ -18610,11 +19557,11 @@ esac
18610fi 19557fi
18611PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT 19558PROG_VMSTAT=$ac_cv_path_PROG_VMSTAT
18612if test -n "$PROG_VMSTAT"; then 19559if test -n "$PROG_VMSTAT"; then
18613 { echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5 19560 { $as_echo "$as_me:$LINENO: result: $PROG_VMSTAT" >&5
18614echo "${ECHO_T}$PROG_VMSTAT" >&6; } 19561$as_echo "$PROG_VMSTAT" >&6; }
18615else 19562else
18616 { echo "$as_me:$LINENO: result: no" >&5 19563 { $as_echo "$as_me:$LINENO: result: no" >&5
18617echo "${ECHO_T}no" >&6; } 19564$as_echo "no" >&6; }
18618fi 19565fi
18619 19566
18620 19567
@@ -18626,10 +19573,10 @@ fi
18626 19573
18627 # Extract the first word of "uptime", so it can be a program name with args. 19574 # Extract the first word of "uptime", so it can be a program name with args.
18628set dummy uptime; ac_word=$2 19575set dummy uptime; ac_word=$2
18629{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19576{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18630echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19577$as_echo_n "checking for $ac_word... " >&6; }
18631if test "${ac_cv_path_PROG_UPTIME+set}" = set; then 19578if test "${ac_cv_path_PROG_UPTIME+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6 19579 $as_echo_n "(cached) " >&6
18633else 19580else
18634 case $PROG_UPTIME in 19581 case $PROG_UPTIME in
18635 [\\/]* | ?:[\\/]*) 19582 [\\/]* | ?:[\\/]*)
@@ -18644,7 +19591,7 @@ do
18644 for ac_exec_ext in '' $ac_executable_extensions; do 19591 for ac_exec_ext in '' $ac_executable_extensions; do
18645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18646 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext" 19593 ac_cv_path_PROG_UPTIME="$as_dir/$ac_word$ac_exec_ext"
18647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19594 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18648 break 2 19595 break 2
18649 fi 19596 fi
18650done 19597done
@@ -18656,11 +19603,11 @@ esac
18656fi 19603fi
18657PROG_UPTIME=$ac_cv_path_PROG_UPTIME 19604PROG_UPTIME=$ac_cv_path_PROG_UPTIME
18658if test -n "$PROG_UPTIME"; then 19605if test -n "$PROG_UPTIME"; then
18659 { echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5 19606 { $as_echo "$as_me:$LINENO: result: $PROG_UPTIME" >&5
18660echo "${ECHO_T}$PROG_UPTIME" >&6; } 19607$as_echo "$PROG_UPTIME" >&6; }
18661else 19608else
18662 { echo "$as_me:$LINENO: result: no" >&5 19609 { $as_echo "$as_me:$LINENO: result: no" >&5
18663echo "${ECHO_T}no" >&6; } 19610$as_echo "no" >&6; }
18664fi 19611fi
18665 19612
18666 19613
@@ -18672,10 +19619,10 @@ fi
18672 19619
18673 # Extract the first word of "ipcs", so it can be a program name with args. 19620 # Extract the first word of "ipcs", so it can be a program name with args.
18674set dummy ipcs; ac_word=$2 19621set dummy ipcs; ac_word=$2
18675{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19622{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18676echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19623$as_echo_n "checking for $ac_word... " >&6; }
18677if test "${ac_cv_path_PROG_IPCS+set}" = set; then 19624if test "${ac_cv_path_PROG_IPCS+set}" = set; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6 19625 $as_echo_n "(cached) " >&6
18679else 19626else
18680 case $PROG_IPCS in 19627 case $PROG_IPCS in
18681 [\\/]* | ?:[\\/]*) 19628 [\\/]* | ?:[\\/]*)
@@ -18690,7 +19637,7 @@ do
18690 for ac_exec_ext in '' $ac_executable_extensions; do 19637 for ac_exec_ext in '' $ac_executable_extensions; do
18691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18692 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext" 19639 ac_cv_path_PROG_IPCS="$as_dir/$ac_word$ac_exec_ext"
18693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18694 break 2 19641 break 2
18695 fi 19642 fi
18696done 19643done
@@ -18702,11 +19649,11 @@ esac
18702fi 19649fi
18703PROG_IPCS=$ac_cv_path_PROG_IPCS 19650PROG_IPCS=$ac_cv_path_PROG_IPCS
18704if test -n "$PROG_IPCS"; then 19651if test -n "$PROG_IPCS"; then
18705 { echo "$as_me:$LINENO: result: $PROG_IPCS" >&5 19652 { $as_echo "$as_me:$LINENO: result: $PROG_IPCS" >&5
18706echo "${ECHO_T}$PROG_IPCS" >&6; } 19653$as_echo "$PROG_IPCS" >&6; }
18707else 19654else
18708 { echo "$as_me:$LINENO: result: no" >&5 19655 { $as_echo "$as_me:$LINENO: result: no" >&5
18709echo "${ECHO_T}no" >&6; } 19656$as_echo "no" >&6; }
18710fi 19657fi
18711 19658
18712 19659
@@ -18718,10 +19665,10 @@ fi
18718 19665
18719 # Extract the first word of "tail", so it can be a program name with args. 19666 # Extract the first word of "tail", so it can be a program name with args.
18720set dummy tail; ac_word=$2 19667set dummy tail; ac_word=$2
18721{ echo "$as_me:$LINENO: checking for $ac_word" >&5 19668{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
18722echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 19669$as_echo_n "checking for $ac_word... " >&6; }
18723if test "${ac_cv_path_PROG_TAIL+set}" = set; then 19670if test "${ac_cv_path_PROG_TAIL+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6 19671 $as_echo_n "(cached) " >&6
18725else 19672else
18726 case $PROG_TAIL in 19673 case $PROG_TAIL in
18727 [\\/]* | ?:[\\/]*) 19674 [\\/]* | ?:[\\/]*)
@@ -18736,7 +19683,7 @@ do
18736 for ac_exec_ext in '' $ac_executable_extensions; do 19683 for ac_exec_ext in '' $ac_executable_extensions; do
18737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 19684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18738 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext" 19685 ac_cv_path_PROG_TAIL="$as_dir/$ac_word$ac_exec_ext"
18739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 19686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18740 break 2 19687 break 2
18741 fi 19688 fi
18742done 19689done
@@ -18748,11 +19695,11 @@ esac
18748fi 19695fi
18749PROG_TAIL=$ac_cv_path_PROG_TAIL 19696PROG_TAIL=$ac_cv_path_PROG_TAIL
18750if test -n "$PROG_TAIL"; then 19697if test -n "$PROG_TAIL"; then
18751 { echo "$as_me:$LINENO: result: $PROG_TAIL" >&5 19698 { $as_echo "$as_me:$LINENO: result: $PROG_TAIL" >&5
18752echo "${ECHO_T}$PROG_TAIL" >&6; } 19699$as_echo "$PROG_TAIL" >&6; }
18753else 19700else
18754 { echo "$as_me:$LINENO: result: no" >&5 19701 { $as_echo "$as_me:$LINENO: result: no" >&5
18755echo "${ECHO_T}no" >&6; } 19702$as_echo "no" >&6; }
18756fi 19703fi
18757 19704
18758 19705
@@ -18786,26 +19733,58 @@ if test ! -z "$SONY" ; then
18786fi 19733fi
18787 19734
18788# Check for long long datatypes 19735# Check for long long datatypes
18789{ echo "$as_me:$LINENO: checking for long long" >&5 19736{ $as_echo "$as_me:$LINENO: checking for long long" >&5
18790echo $ECHO_N "checking for long long... $ECHO_C" >&6; } 19737$as_echo_n "checking for long long... " >&6; }
18791if test "${ac_cv_type_long_long+set}" = set; then 19738if test "${ac_cv_type_long_long+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6 19739 $as_echo_n "(cached) " >&6
18793else 19740else
18794 cat >conftest.$ac_ext <<_ACEOF 19741 ac_cv_type_long_long=no
19742cat >conftest.$ac_ext <<_ACEOF
18795/* confdefs.h. */ 19743/* confdefs.h. */
18796_ACEOF 19744_ACEOF
18797cat confdefs.h >>conftest.$ac_ext 19745cat confdefs.h >>conftest.$ac_ext
18798cat >>conftest.$ac_ext <<_ACEOF 19746cat >>conftest.$ac_ext <<_ACEOF
18799/* end confdefs.h. */ 19747/* end confdefs.h. */
18800$ac_includes_default 19748$ac_includes_default
18801typedef long long ac__type_new_;
18802int 19749int
18803main () 19750main ()
18804{ 19751{
18805if ((ac__type_new_ *) 0) 19752if (sizeof (long long))
18806 return 0; 19753 return 0;
18807if (sizeof (ac__type_new_)) 19754 ;
18808 return 0; 19755 return 0;
19756}
19757_ACEOF
19758rm -f conftest.$ac_objext
19759if { (ac_try="$ac_compile"
19760case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19763esac
19764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19765$as_echo "$ac_try_echo") >&5
19766 (eval "$ac_compile") 2>conftest.er1
19767 ac_status=$?
19768 grep -v '^ *+' conftest.er1 >conftest.err
19769 rm -f conftest.er1
19770 cat conftest.err >&5
19771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } && {
19773 test -z "$ac_c_werror_flag" ||
19774 test ! -s conftest.err
19775 } && test -s conftest.$ac_objext; then
19776 cat >conftest.$ac_ext <<_ACEOF
19777/* confdefs.h. */
19778_ACEOF
19779cat confdefs.h >>conftest.$ac_ext
19780cat >>conftest.$ac_ext <<_ACEOF
19781/* end confdefs.h. */
19782$ac_includes_default
19783int
19784main ()
19785{
19786if (sizeof ((long long)))
19787 return 0;
18809 ; 19788 ;
18810 return 0; 19789 return 0;
18811} 19790}
@@ -18816,29 +19795,38 @@ case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;; 19796 *) ac_try_echo=$ac_try;;
18818esac 19797esac
18819eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19798eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19799$as_echo "$ac_try_echo") >&5
18820 (eval "$ac_compile") 2>conftest.er1 19800 (eval "$ac_compile") 2>conftest.er1
18821 ac_status=$? 19801 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err 19802 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1 19803 rm -f conftest.er1
18824 cat conftest.err >&5 19804 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && { 19806 (exit $ac_status); } && {
18827 test -z "$ac_c_werror_flag" || 19807 test -z "$ac_c_werror_flag" ||
18828 test ! -s conftest.err 19808 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then 19809 } && test -s conftest.$ac_objext; then
18830 ac_cv_type_long_long=yes 19810 :
18831else 19811else
18832 echo "$as_me: failed program was:" >&5 19812 $as_echo "$as_me: failed program was:" >&5
18833sed 's/^/| /' conftest.$ac_ext >&5 19813sed 's/^/| /' conftest.$ac_ext >&5
18834 19814
18835 ac_cv_type_long_long=no 19815 ac_cv_type_long_long=yes
19816fi
19817
19818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19819else
19820 $as_echo "$as_me: failed program was:" >&5
19821sed 's/^/| /' conftest.$ac_ext >&5
19822
19823
18836fi 19824fi
18837 19825
18838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839fi 19827fi
18840{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 19828{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18841echo "${ECHO_T}$ac_cv_type_long_long" >&6; } 19829$as_echo "$ac_cv_type_long_long" >&6; }
18842if test $ac_cv_type_long_long = yes; then 19830if test $ac_cv_type_long_long = yes; then
18843 19831
18844cat >>confdefs.h <<_ACEOF 19832cat >>confdefs.h <<_ACEOF
@@ -18847,26 +19835,58 @@ _ACEOF
18847 19835
18848 19836
18849fi 19837fi
18850{ echo "$as_me:$LINENO: checking for unsigned long long" >&5 19838{ $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
18851echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6; } 19839$as_echo_n "checking for unsigned long long... " >&6; }
18852if test "${ac_cv_type_unsigned_long_long+set}" = set; then 19840if test "${ac_cv_type_unsigned_long_long+set}" = set; then
18853 echo $ECHO_N "(cached) $ECHO_C" >&6 19841 $as_echo_n "(cached) " >&6
18854else 19842else
18855 cat >conftest.$ac_ext <<_ACEOF 19843 ac_cv_type_unsigned_long_long=no
19844cat >conftest.$ac_ext <<_ACEOF
18856/* confdefs.h. */ 19845/* confdefs.h. */
18857_ACEOF 19846_ACEOF
18858cat confdefs.h >>conftest.$ac_ext 19847cat confdefs.h >>conftest.$ac_ext
18859cat >>conftest.$ac_ext <<_ACEOF 19848cat >>conftest.$ac_ext <<_ACEOF
18860/* end confdefs.h. */ 19849/* end confdefs.h. */
18861$ac_includes_default 19850$ac_includes_default
18862typedef unsigned long long ac__type_new_;
18863int 19851int
18864main () 19852main ()
18865{ 19853{
18866if ((ac__type_new_ *) 0) 19854if (sizeof (unsigned long long))
18867 return 0; 19855 return 0;
18868if (sizeof (ac__type_new_)) 19856 ;
18869 return 0; 19857 return 0;
19858}
19859_ACEOF
19860rm -f conftest.$ac_objext
19861if { (ac_try="$ac_compile"
19862case "(($ac_try" in
19863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19864 *) ac_try_echo=$ac_try;;
19865esac
19866eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19867$as_echo "$ac_try_echo") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19869 ac_status=$?
19870 grep -v '^ *+' conftest.er1 >conftest.err
19871 rm -f conftest.er1
19872 cat conftest.err >&5
19873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_c_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 cat >conftest.$ac_ext <<_ACEOF
19879/* confdefs.h. */
19880_ACEOF
19881cat confdefs.h >>conftest.$ac_ext
19882cat >>conftest.$ac_ext <<_ACEOF
19883/* end confdefs.h. */
19884$ac_includes_default
19885int
19886main ()
19887{
19888if (sizeof ((unsigned long long)))
19889 return 0;
18870 ; 19890 ;
18871 return 0; 19891 return 0;
18872} 19892}
@@ -18877,29 +19897,38 @@ case "(($ac_try" in
18877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18878 *) ac_try_echo=$ac_try;; 19898 *) ac_try_echo=$ac_try;;
18879esac 19899esac
18880eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19900eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19901$as_echo "$ac_try_echo") >&5
18881 (eval "$ac_compile") 2>conftest.er1 19902 (eval "$ac_compile") 2>conftest.er1
18882 ac_status=$? 19903 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err 19904 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1 19905 rm -f conftest.er1
18885 cat conftest.err >&5 19906 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && { 19908 (exit $ac_status); } && {
18888 test -z "$ac_c_werror_flag" || 19909 test -z "$ac_c_werror_flag" ||
18889 test ! -s conftest.err 19910 test ! -s conftest.err
18890 } && test -s conftest.$ac_objext; then 19911 } && test -s conftest.$ac_objext; then
18891 ac_cv_type_unsigned_long_long=yes 19912 :
18892else 19913else
18893 echo "$as_me: failed program was:" >&5 19914 $as_echo "$as_me: failed program was:" >&5
18894sed 's/^/| /' conftest.$ac_ext >&5 19915sed 's/^/| /' conftest.$ac_ext >&5
18895 19916
18896 ac_cv_type_unsigned_long_long=no 19917 ac_cv_type_unsigned_long_long=yes
19918fi
19919
19920rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19921else
19922 $as_echo "$as_me: failed program was:" >&5
19923sed 's/^/| /' conftest.$ac_ext >&5
19924
19925
18897fi 19926fi
18898 19927
18899rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900fi 19929fi
18901{ echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 19930{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
18902echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6; } 19931$as_echo "$ac_cv_type_unsigned_long_long" >&6; }
18903if test $ac_cv_type_unsigned_long_long = yes; then 19932if test $ac_cv_type_unsigned_long_long = yes; then
18904 19933
18905cat >>confdefs.h <<_ACEOF 19934cat >>confdefs.h <<_ACEOF
@@ -18908,26 +19937,24 @@ _ACEOF
18908 19937
18909 19938
18910fi 19939fi
18911{ echo "$as_me:$LINENO: checking for long double" >&5 19940{ $as_echo "$as_me:$LINENO: checking for long double" >&5
18912echo $ECHO_N "checking for long double... $ECHO_C" >&6; } 19941$as_echo_n "checking for long double... " >&6; }
18913if test "${ac_cv_type_long_double+set}" = set; then 19942if test "${ac_cv_type_long_double+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6 19943 $as_echo_n "(cached) " >&6
18915else 19944else
18916 cat >conftest.$ac_ext <<_ACEOF 19945 ac_cv_type_long_double=no
19946cat >conftest.$ac_ext <<_ACEOF
18917/* confdefs.h. */ 19947/* confdefs.h. */
18918_ACEOF 19948_ACEOF
18919cat confdefs.h >>conftest.$ac_ext 19949cat confdefs.h >>conftest.$ac_ext
18920cat >>conftest.$ac_ext <<_ACEOF 19950cat >>conftest.$ac_ext <<_ACEOF
18921/* end confdefs.h. */ 19951/* end confdefs.h. */
18922$ac_includes_default 19952$ac_includes_default
18923typedef long double ac__type_new_;
18924int 19953int
18925main () 19954main ()
18926{ 19955{
18927if ((ac__type_new_ *) 0) 19956if (sizeof (long double))
18928 return 0; 19957 return 0;
18929if (sizeof (ac__type_new_))
18930 return 0;
18931 ; 19958 ;
18932 return 0; 19959 return 0;
18933} 19960}
@@ -18938,45 +19965,18 @@ case "(($ac_try" in
18938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18939 *) ac_try_echo=$ac_try;; 19966 *) ac_try_echo=$ac_try;;
18940esac 19967esac
18941eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 19968eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19969$as_echo "$ac_try_echo") >&5
18942 (eval "$ac_compile") 2>conftest.er1 19970 (eval "$ac_compile") 2>conftest.er1
18943 ac_status=$? 19971 ac_status=$?
18944 grep -v '^ *+' conftest.er1 >conftest.err 19972 grep -v '^ *+' conftest.er1 >conftest.err
18945 rm -f conftest.er1 19973 rm -f conftest.er1
18946 cat conftest.err >&5 19974 cat conftest.err >&5
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5 19975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); } && { 19976 (exit $ac_status); } && {
18949 test -z "$ac_c_werror_flag" || 19977 test -z "$ac_c_werror_flag" ||
18950 test ! -s conftest.err 19978 test ! -s conftest.err
18951 } && test -s conftest.$ac_objext; then 19979 } && test -s conftest.$ac_objext; then
18952 ac_cv_type_long_double=yes
18953else
18954 echo "$as_me: failed program was:" >&5
18955sed 's/^/| /' conftest.$ac_ext >&5
18956
18957 ac_cv_type_long_double=no
18958fi
18959
18960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961fi
18962{ echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
18963echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
18964if test $ac_cv_type_long_double = yes; then
18965
18966cat >>confdefs.h <<_ACEOF
18967#define HAVE_LONG_DOUBLE 1
18968_ACEOF
18969
18970
18971fi
18972
18973
18974# Check datatype sizes
18975{ echo "$as_me:$LINENO: checking for char" >&5
18976echo $ECHO_N "checking for char... $ECHO_C" >&6; }
18977if test "${ac_cv_type_char+set}" = set; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18979else
18980 cat >conftest.$ac_ext <<_ACEOF 19980 cat >conftest.$ac_ext <<_ACEOF
18981/* confdefs.h. */ 19981/* confdefs.h. */
18982_ACEOF 19982_ACEOF
@@ -18984,14 +19984,11 @@ cat confdefs.h >>conftest.$ac_ext
18984cat >>conftest.$ac_ext <<_ACEOF 19984cat >>conftest.$ac_ext <<_ACEOF
18985/* end confdefs.h. */ 19985/* end confdefs.h. */
18986$ac_includes_default 19986$ac_includes_default
18987typedef char ac__type_new_;
18988int 19987int
18989main () 19988main ()
18990{ 19989{
18991if ((ac__type_new_ *) 0) 19990if (sizeof ((long double)))
18992 return 0; 19991 return 0;
18993if (sizeof (ac__type_new_))
18994 return 0;
18995 ; 19992 ;
18996 return 0; 19993 return 0;
18997} 19994}
@@ -19002,38 +19999,57 @@ case "(($ac_try" in
19002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 19999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19003 *) ac_try_echo=$ac_try;; 20000 *) ac_try_echo=$ac_try;;
19004esac 20001esac
19005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20003$as_echo "$ac_try_echo") >&5
19006 (eval "$ac_compile") 2>conftest.er1 20004 (eval "$ac_compile") 2>conftest.er1
19007 ac_status=$? 20005 ac_status=$?
19008 grep -v '^ *+' conftest.er1 >conftest.err 20006 grep -v '^ *+' conftest.er1 >conftest.err
19009 rm -f conftest.er1 20007 rm -f conftest.er1
19010 cat conftest.err >&5 20008 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } && { 20010 (exit $ac_status); } && {
19013 test -z "$ac_c_werror_flag" || 20011 test -z "$ac_c_werror_flag" ||
19014 test ! -s conftest.err 20012 test ! -s conftest.err
19015 } && test -s conftest.$ac_objext; then 20013 } && test -s conftest.$ac_objext; then
19016 ac_cv_type_char=yes 20014 :
19017else 20015else
19018 echo "$as_me: failed program was:" >&5 20016 $as_echo "$as_me: failed program was:" >&5
19019sed 's/^/| /' conftest.$ac_ext >&5 20017sed 's/^/| /' conftest.$ac_ext >&5
19020 20018
19021 ac_cv_type_char=no 20019 ac_cv_type_long_double=yes
19022fi 20020fi
19023 20021
19024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023else
20024 $as_echo "$as_me: failed program was:" >&5
20025sed 's/^/| /' conftest.$ac_ext >&5
20026
20027
20028fi
20029
20030rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20031fi
20032{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
20033$as_echo "$ac_cv_type_long_double" >&6; }
20034if test $ac_cv_type_long_double = yes; then
20035
20036cat >>confdefs.h <<_ACEOF
20037#define HAVE_LONG_DOUBLE 1
20038_ACEOF
20039
20040
19025fi 20041fi
19026{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
19027echo "${ECHO_T}$ac_cv_type_char" >&6; }
19028 20042
20043
20044# Check datatype sizes
19029# The cast to long int works around a bug in the HP C Compiler 20045# The cast to long int works around a bug in the HP C Compiler
19030# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20046# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19031# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20047# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19032# This bug is HP SR number 8606223364. 20048# This bug is HP SR number 8606223364.
19033{ echo "$as_me:$LINENO: checking size of char" >&5 20049{ $as_echo "$as_me:$LINENO: checking size of char" >&5
19034echo $ECHO_N "checking size of char... $ECHO_C" >&6; } 20050$as_echo_n "checking size of char... " >&6; }
19035if test "${ac_cv_sizeof_char+set}" = set; then 20051if test "${ac_cv_sizeof_char+set}" = set; then
19036 echo $ECHO_N "(cached) $ECHO_C" >&6 20052 $as_echo_n "(cached) " >&6
19037else 20053else
19038 if test "$cross_compiling" = yes; then 20054 if test "$cross_compiling" = yes; then
19039 # Depending upon the size, compute the lo and hi bounds. 20055 # Depending upon the size, compute the lo and hi bounds.
@@ -19044,11 +20060,10 @@ cat confdefs.h >>conftest.$ac_ext
19044cat >>conftest.$ac_ext <<_ACEOF 20060cat >>conftest.$ac_ext <<_ACEOF
19045/* end confdefs.h. */ 20061/* end confdefs.h. */
19046$ac_includes_default 20062$ac_includes_default
19047 typedef char ac__type_sizeof_;
19048int 20063int
19049main () 20064main ()
19050{ 20065{
19051static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20066static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)];
19052test_array [0] = 0 20067test_array [0] = 0
19053 20068
19054 ; 20069 ;
@@ -19061,13 +20076,14 @@ case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;; 20077 *) ac_try_echo=$ac_try;;
19063esac 20078esac
19064eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20079eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20080$as_echo "$ac_try_echo") >&5
19065 (eval "$ac_compile") 2>conftest.er1 20081 (eval "$ac_compile") 2>conftest.er1
19066 ac_status=$? 20082 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err 20083 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1 20084 rm -f conftest.er1
19069 cat conftest.err >&5 20085 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && { 20087 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" || 20088 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err 20089 test ! -s conftest.err
@@ -19081,11 +20097,10 @@ cat confdefs.h >>conftest.$ac_ext
19081cat >>conftest.$ac_ext <<_ACEOF 20097cat >>conftest.$ac_ext <<_ACEOF
19082/* end confdefs.h. */ 20098/* end confdefs.h. */
19083$ac_includes_default 20099$ac_includes_default
19084 typedef char ac__type_sizeof_;
19085int 20100int
19086main () 20101main ()
19087{ 20102{
19088static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20103static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
19089test_array [0] = 0 20104test_array [0] = 0
19090 20105
19091 ; 20106 ;
@@ -19098,20 +20113,21 @@ case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;; 20114 *) ac_try_echo=$ac_try;;
19100esac 20115esac
19101eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20117$as_echo "$ac_try_echo") >&5
19102 (eval "$ac_compile") 2>conftest.er1 20118 (eval "$ac_compile") 2>conftest.er1
19103 ac_status=$? 20119 ac_status=$?
19104 grep -v '^ *+' conftest.er1 >conftest.err 20120 grep -v '^ *+' conftest.er1 >conftest.err
19105 rm -f conftest.er1 20121 rm -f conftest.er1
19106 cat conftest.err >&5 20122 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } && { 20124 (exit $ac_status); } && {
19109 test -z "$ac_c_werror_flag" || 20125 test -z "$ac_c_werror_flag" ||
19110 test ! -s conftest.err 20126 test ! -s conftest.err
19111 } && test -s conftest.$ac_objext; then 20127 } && test -s conftest.$ac_objext; then
19112 ac_hi=$ac_mid; break 20128 ac_hi=$ac_mid; break
19113else 20129else
19114 echo "$as_me: failed program was:" >&5 20130 $as_echo "$as_me: failed program was:" >&5
19115sed 's/^/| /' conftest.$ac_ext >&5 20131sed 's/^/| /' conftest.$ac_ext >&5
19116 20132
19117 ac_lo=`expr $ac_mid + 1` 20133 ac_lo=`expr $ac_mid + 1`
@@ -19125,7 +20141,7 @@ fi
19125rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126 done 20142 done
19127else 20143else
19128 echo "$as_me: failed program was:" >&5 20144 $as_echo "$as_me: failed program was:" >&5
19129sed 's/^/| /' conftest.$ac_ext >&5 20145sed 's/^/| /' conftest.$ac_ext >&5
19130 20146
19131 cat >conftest.$ac_ext <<_ACEOF 20147 cat >conftest.$ac_ext <<_ACEOF
@@ -19135,11 +20151,10 @@ cat confdefs.h >>conftest.$ac_ext
19135cat >>conftest.$ac_ext <<_ACEOF 20151cat >>conftest.$ac_ext <<_ACEOF
19136/* end confdefs.h. */ 20152/* end confdefs.h. */
19137$ac_includes_default 20153$ac_includes_default
19138 typedef char ac__type_sizeof_;
19139int 20154int
19140main () 20155main ()
19141{ 20156{
19142static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20157static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)];
19143test_array [0] = 0 20158test_array [0] = 0
19144 20159
19145 ; 20160 ;
@@ -19152,13 +20167,14 @@ case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;; 20168 *) ac_try_echo=$ac_try;;
19154esac 20169esac
19155eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20170eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20171$as_echo "$ac_try_echo") >&5
19156 (eval "$ac_compile") 2>conftest.er1 20172 (eval "$ac_compile") 2>conftest.er1
19157 ac_status=$? 20173 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err 20174 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1 20175 rm -f conftest.er1
19160 cat conftest.err >&5 20176 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && { 20178 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" || 20179 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err 20180 test ! -s conftest.err
@@ -19172,11 +20188,10 @@ cat confdefs.h >>conftest.$ac_ext
19172cat >>conftest.$ac_ext <<_ACEOF 20188cat >>conftest.$ac_ext <<_ACEOF
19173/* end confdefs.h. */ 20189/* end confdefs.h. */
19174$ac_includes_default 20190$ac_includes_default
19175 typedef char ac__type_sizeof_;
19176int 20191int
19177main () 20192main ()
19178{ 20193{
19179static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20194static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)];
19180test_array [0] = 0 20195test_array [0] = 0
19181 20196
19182 ; 20197 ;
@@ -19189,20 +20204,21 @@ case "(($ac_try" in
19189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19190 *) ac_try_echo=$ac_try;; 20205 *) ac_try_echo=$ac_try;;
19191esac 20206esac
19192eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20207eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20208$as_echo "$ac_try_echo") >&5
19193 (eval "$ac_compile") 2>conftest.er1 20209 (eval "$ac_compile") 2>conftest.er1
19194 ac_status=$? 20210 ac_status=$?
19195 grep -v '^ *+' conftest.er1 >conftest.err 20211 grep -v '^ *+' conftest.er1 >conftest.err
19196 rm -f conftest.er1 20212 rm -f conftest.er1
19197 cat conftest.err >&5 20213 cat conftest.err >&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); } && { 20215 (exit $ac_status); } && {
19200 test -z "$ac_c_werror_flag" || 20216 test -z "$ac_c_werror_flag" ||
19201 test ! -s conftest.err 20217 test ! -s conftest.err
19202 } && test -s conftest.$ac_objext; then 20218 } && test -s conftest.$ac_objext; then
19203 ac_lo=$ac_mid; break 20219 ac_lo=$ac_mid; break
19204else 20220else
19205 echo "$as_me: failed program was:" >&5 20221 $as_echo "$as_me: failed program was:" >&5
19206sed 's/^/| /' conftest.$ac_ext >&5 20222sed 's/^/| /' conftest.$ac_ext >&5
19207 20223
19208 ac_hi=`expr '(' $ac_mid ')' - 1` 20224 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -19216,7 +20232,7 @@ fi
19216rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20232rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19217 done 20233 done
19218else 20234else
19219 echo "$as_me: failed program was:" >&5 20235 $as_echo "$as_me: failed program was:" >&5
19220sed 's/^/| /' conftest.$ac_ext >&5 20236sed 's/^/| /' conftest.$ac_ext >&5
19221 20237
19222 ac_lo= ac_hi= 20238 ac_lo= ac_hi=
@@ -19236,11 +20252,10 @@ cat confdefs.h >>conftest.$ac_ext
19236cat >>conftest.$ac_ext <<_ACEOF 20252cat >>conftest.$ac_ext <<_ACEOF
19237/* end confdefs.h. */ 20253/* end confdefs.h. */
19238$ac_includes_default 20254$ac_includes_default
19239 typedef char ac__type_sizeof_;
19240int 20255int
19241main () 20256main ()
19242{ 20257{
19243static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20258static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)];
19244test_array [0] = 0 20259test_array [0] = 0
19245 20260
19246 ; 20261 ;
@@ -19253,20 +20268,21 @@ case "(($ac_try" in
19253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19254 *) ac_try_echo=$ac_try;; 20269 *) ac_try_echo=$ac_try;;
19255esac 20270esac
19256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20271eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20272$as_echo "$ac_try_echo") >&5
19257 (eval "$ac_compile") 2>conftest.er1 20273 (eval "$ac_compile") 2>conftest.er1
19258 ac_status=$? 20274 ac_status=$?
19259 grep -v '^ *+' conftest.er1 >conftest.err 20275 grep -v '^ *+' conftest.er1 >conftest.err
19260 rm -f conftest.er1 20276 rm -f conftest.er1
19261 cat conftest.err >&5 20277 cat conftest.err >&5
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20278 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); } && { 20279 (exit $ac_status); } && {
19264 test -z "$ac_c_werror_flag" || 20280 test -z "$ac_c_werror_flag" ||
19265 test ! -s conftest.err 20281 test ! -s conftest.err
19266 } && test -s conftest.$ac_objext; then 20282 } && test -s conftest.$ac_objext; then
19267 ac_hi=$ac_mid 20283 ac_hi=$ac_mid
19268else 20284else
19269 echo "$as_me: failed program was:" >&5 20285 $as_echo "$as_me: failed program was:" >&5
19270sed 's/^/| /' conftest.$ac_ext >&5 20286sed 's/^/| /' conftest.$ac_ext >&5
19271 20287
19272 ac_lo=`expr '(' $ac_mid ')' + 1` 20288 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -19277,9 +20293,9 @@ done
19277case $ac_lo in 20293case $ac_lo in
19278?*) ac_cv_sizeof_char=$ac_lo;; 20294?*) ac_cv_sizeof_char=$ac_lo;;
19279'') if test "$ac_cv_type_char" = yes; then 20295'') if test "$ac_cv_type_char" = yes; then
19280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) 20296 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19281See \`config.log' for more details." >&5 20297See \`config.log' for more details." >&5
19282echo "$as_me: error: cannot compute sizeof (char) 20298$as_echo "$as_me: error: cannot compute sizeof (char)
19283See \`config.log' for more details." >&2;} 20299See \`config.log' for more details." >&2;}
19284 { (exit 77); exit 77; }; } 20300 { (exit 77); exit 77; }; }
19285 else 20301 else
@@ -19294,9 +20310,8 @@ cat confdefs.h >>conftest.$ac_ext
19294cat >>conftest.$ac_ext <<_ACEOF 20310cat >>conftest.$ac_ext <<_ACEOF
19295/* end confdefs.h. */ 20311/* end confdefs.h. */
19296$ac_includes_default 20312$ac_includes_default
19297 typedef char ac__type_sizeof_; 20313static long int longval () { return (long int) (sizeof (char)); }
19298static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 20314static unsigned long int ulongval () { return (long int) (sizeof (char)); }
19299static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19300#include <stdio.h> 20315#include <stdio.h>
19301#include <stdlib.h> 20316#include <stdlib.h>
19302int 20317int
@@ -19306,20 +20321,22 @@ main ()
19306 FILE *f = fopen ("conftest.val", "w"); 20321 FILE *f = fopen ("conftest.val", "w");
19307 if (! f) 20322 if (! f)
19308 return 1; 20323 return 1;
19309 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 20324 if (((long int) (sizeof (char))) < 0)
19310 { 20325 {
19311 long int i = longval (); 20326 long int i = longval ();
19312 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20327 if (i != ((long int) (sizeof (char))))
19313 return 1; 20328 return 1;
19314 fprintf (f, "%ld\n", i); 20329 fprintf (f, "%ld", i);
19315 } 20330 }
19316 else 20331 else
19317 { 20332 {
19318 unsigned long int i = ulongval (); 20333 unsigned long int i = ulongval ();
19319 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20334 if (i != ((long int) (sizeof (char))))
19320 return 1; 20335 return 1;
19321 fprintf (f, "%lu\n", i); 20336 fprintf (f, "%lu", i);
19322 } 20337 }
20338 /* Do not output a trailing newline, as this causes \r\n confusion
20339 on some platforms. */
19323 return ferror (f) || fclose (f) != 0; 20340 return ferror (f) || fclose (f) != 0;
19324 20341
19325 ; 20342 ;
@@ -19332,43 +20349,46 @@ case "(($ac_try" in
19332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19333 *) ac_try_echo=$ac_try;; 20350 *) ac_try_echo=$ac_try;;
19334esac 20351esac
19335eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20352eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20353$as_echo "$ac_try_echo") >&5
19336 (eval "$ac_link") 2>&5 20354 (eval "$ac_link") 2>&5
19337 ac_status=$? 20355 ac_status=$?
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19340 { (case "(($ac_try" in 20358 { (case "(($ac_try" in
19341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19342 *) ac_try_echo=$ac_try;; 20360 *) ac_try_echo=$ac_try;;
19343esac 20361esac
19344eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20362eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20363$as_echo "$ac_try_echo") >&5
19345 (eval "$ac_try") 2>&5 20364 (eval "$ac_try") 2>&5
19346 ac_status=$? 20365 ac_status=$?
19347 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); }; }; then 20367 (exit $ac_status); }; }; then
19349 ac_cv_sizeof_char=`cat conftest.val` 20368 ac_cv_sizeof_char=`cat conftest.val`
19350else 20369else
19351 echo "$as_me: program exited with status $ac_status" >&5 20370 $as_echo "$as_me: program exited with status $ac_status" >&5
19352echo "$as_me: failed program was:" >&5 20371$as_echo "$as_me: failed program was:" >&5
19353sed 's/^/| /' conftest.$ac_ext >&5 20372sed 's/^/| /' conftest.$ac_ext >&5
19354 20373
19355( exit $ac_status ) 20374( exit $ac_status )
19356if test "$ac_cv_type_char" = yes; then 20375if test "$ac_cv_type_char" = yes; then
19357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char) 20376 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char)
19358See \`config.log' for more details." >&5 20377See \`config.log' for more details." >&5
19359echo "$as_me: error: cannot compute sizeof (char) 20378$as_echo "$as_me: error: cannot compute sizeof (char)
19360See \`config.log' for more details." >&2;} 20379See \`config.log' for more details." >&2;}
19361 { (exit 77); exit 77; }; } 20380 { (exit 77); exit 77; }; }
19362 else 20381 else
19363 ac_cv_sizeof_char=0 20382 ac_cv_sizeof_char=0
19364 fi 20383 fi
19365fi 20384fi
20385rm -rf conftest.dSYM
19366rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20386rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19367fi 20387fi
19368rm -f conftest.val 20388rm -f conftest.val
19369fi 20389fi
19370{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 20390{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
19371echo "${ECHO_T}$ac_cv_sizeof_char" >&6; } 20391$as_echo "$ac_cv_sizeof_char" >&6; }
19372 20392
19373 20393
19374 20394
@@ -19377,68 +20397,14 @@ cat >>confdefs.h <<_ACEOF
19377_ACEOF 20397_ACEOF
19378 20398
19379 20399
19380{ echo "$as_me:$LINENO: checking for short int" >&5
19381echo $ECHO_N "checking for short int... $ECHO_C" >&6; }
19382if test "${ac_cv_type_short_int+set}" = set; then
19383 echo $ECHO_N "(cached) $ECHO_C" >&6
19384else
19385 cat >conftest.$ac_ext <<_ACEOF
19386/* confdefs.h. */
19387_ACEOF
19388cat confdefs.h >>conftest.$ac_ext
19389cat >>conftest.$ac_ext <<_ACEOF
19390/* end confdefs.h. */
19391$ac_includes_default
19392typedef short int ac__type_new_;
19393int
19394main ()
19395{
19396if ((ac__type_new_ *) 0)
19397 return 0;
19398if (sizeof (ac__type_new_))
19399 return 0;
19400 ;
19401 return 0;
19402}
19403_ACEOF
19404rm -f conftest.$ac_objext
19405if { (ac_try="$ac_compile"
19406case "(($ac_try" in
19407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19408 *) ac_try_echo=$ac_try;;
19409esac
19410eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19411 (eval "$ac_compile") 2>conftest.er1
19412 ac_status=$?
19413 grep -v '^ *+' conftest.er1 >conftest.err
19414 rm -f conftest.er1
19415 cat conftest.err >&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); } && {
19418 test -z "$ac_c_werror_flag" ||
19419 test ! -s conftest.err
19420 } && test -s conftest.$ac_objext; then
19421 ac_cv_type_short_int=yes
19422else
19423 echo "$as_me: failed program was:" >&5
19424sed 's/^/| /' conftest.$ac_ext >&5
19425
19426 ac_cv_type_short_int=no
19427fi
19428
19429rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19430fi
19431{ echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
19432echo "${ECHO_T}$ac_cv_type_short_int" >&6; }
19433
19434# The cast to long int works around a bug in the HP C Compiler 20400# The cast to long int works around a bug in the HP C Compiler
19435# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20401# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19436# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20402# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19437# This bug is HP SR number 8606223364. 20403# This bug is HP SR number 8606223364.
19438{ echo "$as_me:$LINENO: checking size of short int" >&5 20404{ $as_echo "$as_me:$LINENO: checking size of short int" >&5
19439echo $ECHO_N "checking size of short int... $ECHO_C" >&6; } 20405$as_echo_n "checking size of short int... " >&6; }
19440if test "${ac_cv_sizeof_short_int+set}" = set; then 20406if test "${ac_cv_sizeof_short_int+set}" = set; then
19441 echo $ECHO_N "(cached) $ECHO_C" >&6 20407 $as_echo_n "(cached) " >&6
19442else 20408else
19443 if test "$cross_compiling" = yes; then 20409 if test "$cross_compiling" = yes; then
19444 # Depending upon the size, compute the lo and hi bounds. 20410 # Depending upon the size, compute the lo and hi bounds.
@@ -19449,11 +20415,10 @@ cat confdefs.h >>conftest.$ac_ext
19449cat >>conftest.$ac_ext <<_ACEOF 20415cat >>conftest.$ac_ext <<_ACEOF
19450/* end confdefs.h. */ 20416/* end confdefs.h. */
19451$ac_includes_default 20417$ac_includes_default
19452 typedef short int ac__type_sizeof_;
19453int 20418int
19454main () 20419main ()
19455{ 20420{
19456static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20421static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= 0)];
19457test_array [0] = 0 20422test_array [0] = 0
19458 20423
19459 ; 20424 ;
@@ -19466,13 +20431,14 @@ case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;; 20432 *) ac_try_echo=$ac_try;;
19468esac 20433esac
19469eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20434eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20435$as_echo "$ac_try_echo") >&5
19470 (eval "$ac_compile") 2>conftest.er1 20436 (eval "$ac_compile") 2>conftest.er1
19471 ac_status=$? 20437 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err 20438 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1 20439 rm -f conftest.er1
19474 cat conftest.err >&5 20440 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && { 20442 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" || 20443 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err 20444 test ! -s conftest.err
@@ -19486,11 +20452,10 @@ cat confdefs.h >>conftest.$ac_ext
19486cat >>conftest.$ac_ext <<_ACEOF 20452cat >>conftest.$ac_ext <<_ACEOF
19487/* end confdefs.h. */ 20453/* end confdefs.h. */
19488$ac_includes_default 20454$ac_includes_default
19489 typedef short int ac__type_sizeof_;
19490int 20455int
19491main () 20456main ()
19492{ 20457{
19493static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20458static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)];
19494test_array [0] = 0 20459test_array [0] = 0
19495 20460
19496 ; 20461 ;
@@ -19503,20 +20468,21 @@ case "(($ac_try" in
19503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19504 *) ac_try_echo=$ac_try;; 20469 *) ac_try_echo=$ac_try;;
19505esac 20470esac
19506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20472$as_echo "$ac_try_echo") >&5
19507 (eval "$ac_compile") 2>conftest.er1 20473 (eval "$ac_compile") 2>conftest.er1
19508 ac_status=$? 20474 ac_status=$?
19509 grep -v '^ *+' conftest.er1 >conftest.err 20475 grep -v '^ *+' conftest.er1 >conftest.err
19510 rm -f conftest.er1 20476 rm -f conftest.er1
19511 cat conftest.err >&5 20477 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } && { 20479 (exit $ac_status); } && {
19514 test -z "$ac_c_werror_flag" || 20480 test -z "$ac_c_werror_flag" ||
19515 test ! -s conftest.err 20481 test ! -s conftest.err
19516 } && test -s conftest.$ac_objext; then 20482 } && test -s conftest.$ac_objext; then
19517 ac_hi=$ac_mid; break 20483 ac_hi=$ac_mid; break
19518else 20484else
19519 echo "$as_me: failed program was:" >&5 20485 $as_echo "$as_me: failed program was:" >&5
19520sed 's/^/| /' conftest.$ac_ext >&5 20486sed 's/^/| /' conftest.$ac_ext >&5
19521 20487
19522 ac_lo=`expr $ac_mid + 1` 20488 ac_lo=`expr $ac_mid + 1`
@@ -19530,7 +20496,7 @@ fi
19530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19531 done 20497 done
19532else 20498else
19533 echo "$as_me: failed program was:" >&5 20499 $as_echo "$as_me: failed program was:" >&5
19534sed 's/^/| /' conftest.$ac_ext >&5 20500sed 's/^/| /' conftest.$ac_ext >&5
19535 20501
19536 cat >conftest.$ac_ext <<_ACEOF 20502 cat >conftest.$ac_ext <<_ACEOF
@@ -19540,11 +20506,10 @@ cat confdefs.h >>conftest.$ac_ext
19540cat >>conftest.$ac_ext <<_ACEOF 20506cat >>conftest.$ac_ext <<_ACEOF
19541/* end confdefs.h. */ 20507/* end confdefs.h. */
19542$ac_includes_default 20508$ac_includes_default
19543 typedef short int ac__type_sizeof_;
19544int 20509int
19545main () 20510main ()
19546{ 20511{
19547static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20512static int test_array [1 - 2 * !(((long int) (sizeof (short int))) < 0)];
19548test_array [0] = 0 20513test_array [0] = 0
19549 20514
19550 ; 20515 ;
@@ -19557,13 +20522,14 @@ case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;; 20523 *) ac_try_echo=$ac_try;;
19559esac 20524esac
19560eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20525eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20526$as_echo "$ac_try_echo") >&5
19561 (eval "$ac_compile") 2>conftest.er1 20527 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$? 20528 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err 20529 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1 20530 rm -f conftest.er1
19565 cat conftest.err >&5 20531 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && { 20533 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" || 20534 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err 20535 test ! -s conftest.err
@@ -19577,11 +20543,10 @@ cat confdefs.h >>conftest.$ac_ext
19577cat >>conftest.$ac_ext <<_ACEOF 20543cat >>conftest.$ac_ext <<_ACEOF
19578/* end confdefs.h. */ 20544/* end confdefs.h. */
19579$ac_includes_default 20545$ac_includes_default
19580 typedef short int ac__type_sizeof_;
19581int 20546int
19582main () 20547main ()
19583{ 20548{
19584static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20549static int test_array [1 - 2 * !(((long int) (sizeof (short int))) >= $ac_mid)];
19585test_array [0] = 0 20550test_array [0] = 0
19586 20551
19587 ; 20552 ;
@@ -19594,20 +20559,21 @@ case "(($ac_try" in
19594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19595 *) ac_try_echo=$ac_try;; 20560 *) ac_try_echo=$ac_try;;
19596esac 20561esac
19597eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20562eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20563$as_echo "$ac_try_echo") >&5
19598 (eval "$ac_compile") 2>conftest.er1 20564 (eval "$ac_compile") 2>conftest.er1
19599 ac_status=$? 20565 ac_status=$?
19600 grep -v '^ *+' conftest.er1 >conftest.err 20566 grep -v '^ *+' conftest.er1 >conftest.err
19601 rm -f conftest.er1 20567 rm -f conftest.er1
19602 cat conftest.err >&5 20568 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } && { 20570 (exit $ac_status); } && {
19605 test -z "$ac_c_werror_flag" || 20571 test -z "$ac_c_werror_flag" ||
19606 test ! -s conftest.err 20572 test ! -s conftest.err
19607 } && test -s conftest.$ac_objext; then 20573 } && test -s conftest.$ac_objext; then
19608 ac_lo=$ac_mid; break 20574 ac_lo=$ac_mid; break
19609else 20575else
19610 echo "$as_me: failed program was:" >&5 20576 $as_echo "$as_me: failed program was:" >&5
19611sed 's/^/| /' conftest.$ac_ext >&5 20577sed 's/^/| /' conftest.$ac_ext >&5
19612 20578
19613 ac_hi=`expr '(' $ac_mid ')' - 1` 20579 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -19621,7 +20587,7 @@ fi
19621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20587rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19622 done 20588 done
19623else 20589else
19624 echo "$as_me: failed program was:" >&5 20590 $as_echo "$as_me: failed program was:" >&5
19625sed 's/^/| /' conftest.$ac_ext >&5 20591sed 's/^/| /' conftest.$ac_ext >&5
19626 20592
19627 ac_lo= ac_hi= 20593 ac_lo= ac_hi=
@@ -19641,11 +20607,10 @@ cat confdefs.h >>conftest.$ac_ext
19641cat >>conftest.$ac_ext <<_ACEOF 20607cat >>conftest.$ac_ext <<_ACEOF
19642/* end confdefs.h. */ 20608/* end confdefs.h. */
19643$ac_includes_default 20609$ac_includes_default
19644 typedef short int ac__type_sizeof_;
19645int 20610int
19646main () 20611main ()
19647{ 20612{
19648static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20613static int test_array [1 - 2 * !(((long int) (sizeof (short int))) <= $ac_mid)];
19649test_array [0] = 0 20614test_array [0] = 0
19650 20615
19651 ; 20616 ;
@@ -19658,20 +20623,21 @@ case "(($ac_try" in
19658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19659 *) ac_try_echo=$ac_try;; 20624 *) ac_try_echo=$ac_try;;
19660esac 20625esac
19661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20626eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20627$as_echo "$ac_try_echo") >&5
19662 (eval "$ac_compile") 2>conftest.er1 20628 (eval "$ac_compile") 2>conftest.er1
19663 ac_status=$? 20629 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err 20630 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1 20631 rm -f conftest.er1
19666 cat conftest.err >&5 20632 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } && { 20634 (exit $ac_status); } && {
19669 test -z "$ac_c_werror_flag" || 20635 test -z "$ac_c_werror_flag" ||
19670 test ! -s conftest.err 20636 test ! -s conftest.err
19671 } && test -s conftest.$ac_objext; then 20637 } && test -s conftest.$ac_objext; then
19672 ac_hi=$ac_mid 20638 ac_hi=$ac_mid
19673else 20639else
19674 echo "$as_me: failed program was:" >&5 20640 $as_echo "$as_me: failed program was:" >&5
19675sed 's/^/| /' conftest.$ac_ext >&5 20641sed 's/^/| /' conftest.$ac_ext >&5
19676 20642
19677 ac_lo=`expr '(' $ac_mid ')' + 1` 20643 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -19682,9 +20648,9 @@ done
19682case $ac_lo in 20648case $ac_lo in
19683?*) ac_cv_sizeof_short_int=$ac_lo;; 20649?*) ac_cv_sizeof_short_int=$ac_lo;;
19684'') if test "$ac_cv_type_short_int" = yes; then 20650'') if test "$ac_cv_type_short_int" = yes; then
19685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) 20651 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
19686See \`config.log' for more details." >&5 20652See \`config.log' for more details." >&5
19687echo "$as_me: error: cannot compute sizeof (short int) 20653$as_echo "$as_me: error: cannot compute sizeof (short int)
19688See \`config.log' for more details." >&2;} 20654See \`config.log' for more details." >&2;}
19689 { (exit 77); exit 77; }; } 20655 { (exit 77); exit 77; }; }
19690 else 20656 else
@@ -19699,9 +20665,8 @@ cat confdefs.h >>conftest.$ac_ext
19699cat >>conftest.$ac_ext <<_ACEOF 20665cat >>conftest.$ac_ext <<_ACEOF
19700/* end confdefs.h. */ 20666/* end confdefs.h. */
19701$ac_includes_default 20667$ac_includes_default
19702 typedef short int ac__type_sizeof_; 20668static long int longval () { return (long int) (sizeof (short int)); }
19703static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 20669static unsigned long int ulongval () { return (long int) (sizeof (short int)); }
19704static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19705#include <stdio.h> 20670#include <stdio.h>
19706#include <stdlib.h> 20671#include <stdlib.h>
19707int 20672int
@@ -19711,20 +20676,22 @@ main ()
19711 FILE *f = fopen ("conftest.val", "w"); 20676 FILE *f = fopen ("conftest.val", "w");
19712 if (! f) 20677 if (! f)
19713 return 1; 20678 return 1;
19714 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 20679 if (((long int) (sizeof (short int))) < 0)
19715 { 20680 {
19716 long int i = longval (); 20681 long int i = longval ();
19717 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20682 if (i != ((long int) (sizeof (short int))))
19718 return 1; 20683 return 1;
19719 fprintf (f, "%ld\n", i); 20684 fprintf (f, "%ld", i);
19720 } 20685 }
19721 else 20686 else
19722 { 20687 {
19723 unsigned long int i = ulongval (); 20688 unsigned long int i = ulongval ();
19724 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 20689 if (i != ((long int) (sizeof (short int))))
19725 return 1; 20690 return 1;
19726 fprintf (f, "%lu\n", i); 20691 fprintf (f, "%lu", i);
19727 } 20692 }
20693 /* Do not output a trailing newline, as this causes \r\n confusion
20694 on some platforms. */
19728 return ferror (f) || fclose (f) != 0; 20695 return ferror (f) || fclose (f) != 0;
19729 20696
19730 ; 20697 ;
@@ -19737,43 +20704,46 @@ case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;; 20705 *) ac_try_echo=$ac_try;;
19739esac 20706esac
19740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20708$as_echo "$ac_try_echo") >&5
19741 (eval "$ac_link") 2>&5 20709 (eval "$ac_link") 2>&5
19742 ac_status=$? 20710 ac_status=$?
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 20712 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19745 { (case "(($ac_try" in 20713 { (case "(($ac_try" in
19746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19747 *) ac_try_echo=$ac_try;; 20715 *) ac_try_echo=$ac_try;;
19748esac 20716esac
19749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20717eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20718$as_echo "$ac_try_echo") >&5
19750 (eval "$ac_try") 2>&5 20719 (eval "$ac_try") 2>&5
19751 ac_status=$? 20720 ac_status=$?
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); }; }; then 20722 (exit $ac_status); }; }; then
19754 ac_cv_sizeof_short_int=`cat conftest.val` 20723 ac_cv_sizeof_short_int=`cat conftest.val`
19755else 20724else
19756 echo "$as_me: program exited with status $ac_status" >&5 20725 $as_echo "$as_me: program exited with status $ac_status" >&5
19757echo "$as_me: failed program was:" >&5 20726$as_echo "$as_me: failed program was:" >&5
19758sed 's/^/| /' conftest.$ac_ext >&5 20727sed 's/^/| /' conftest.$ac_ext >&5
19759 20728
19760( exit $ac_status ) 20729( exit $ac_status )
19761if test "$ac_cv_type_short_int" = yes; then 20730if test "$ac_cv_type_short_int" = yes; then
19762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int) 20731 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short int)
19763See \`config.log' for more details." >&5 20732See \`config.log' for more details." >&5
19764echo "$as_me: error: cannot compute sizeof (short int) 20733$as_echo "$as_me: error: cannot compute sizeof (short int)
19765See \`config.log' for more details." >&2;} 20734See \`config.log' for more details." >&2;}
19766 { (exit 77); exit 77; }; } 20735 { (exit 77); exit 77; }; }
19767 else 20736 else
19768 ac_cv_sizeof_short_int=0 20737 ac_cv_sizeof_short_int=0
19769 fi 20738 fi
19770fi 20739fi
20740rm -rf conftest.dSYM
19771rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 20741rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19772fi 20742fi
19773rm -f conftest.val 20743rm -f conftest.val
19774fi 20744fi
19775{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5 20745{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
19776echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6; } 20746$as_echo "$ac_cv_sizeof_short_int" >&6; }
19777 20747
19778 20748
19779 20749
@@ -19782,68 +20752,14 @@ cat >>confdefs.h <<_ACEOF
19782_ACEOF 20752_ACEOF
19783 20753
19784 20754
19785{ echo "$as_me:$LINENO: checking for int" >&5
19786echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19787if test "${ac_cv_type_int+set}" = set; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19789else
19790 cat >conftest.$ac_ext <<_ACEOF
19791/* confdefs.h. */
19792_ACEOF
19793cat confdefs.h >>conftest.$ac_ext
19794cat >>conftest.$ac_ext <<_ACEOF
19795/* end confdefs.h. */
19796$ac_includes_default
19797typedef int ac__type_new_;
19798int
19799main ()
19800{
19801if ((ac__type_new_ *) 0)
19802 return 0;
19803if (sizeof (ac__type_new_))
19804 return 0;
19805 ;
19806 return 0;
19807}
19808_ACEOF
19809rm -f conftest.$ac_objext
19810if { (ac_try="$ac_compile"
19811case "(($ac_try" in
19812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19813 *) ac_try_echo=$ac_try;;
19814esac
19815eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19816 (eval "$ac_compile") 2>conftest.er1
19817 ac_status=$?
19818 grep -v '^ *+' conftest.er1 >conftest.err
19819 rm -f conftest.er1
19820 cat conftest.err >&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } && {
19823 test -z "$ac_c_werror_flag" ||
19824 test ! -s conftest.err
19825 } && test -s conftest.$ac_objext; then
19826 ac_cv_type_int=yes
19827else
19828 echo "$as_me: failed program was:" >&5
19829sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_cv_type_int=no
19832fi
19833
19834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835fi
19836{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19837echo "${ECHO_T}$ac_cv_type_int" >&6; }
19838
19839# The cast to long int works around a bug in the HP C Compiler 20755# The cast to long int works around a bug in the HP C Compiler
19840# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 20756# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19841# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 20757# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19842# This bug is HP SR number 8606223364. 20758# This bug is HP SR number 8606223364.
19843{ echo "$as_me:$LINENO: checking size of int" >&5 20759{ $as_echo "$as_me:$LINENO: checking size of int" >&5
19844echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 20760$as_echo_n "checking size of int... " >&6; }
19845if test "${ac_cv_sizeof_int+set}" = set; then 20761if test "${ac_cv_sizeof_int+set}" = set; then
19846 echo $ECHO_N "(cached) $ECHO_C" >&6 20762 $as_echo_n "(cached) " >&6
19847else 20763else
19848 if test "$cross_compiling" = yes; then 20764 if test "$cross_compiling" = yes; then
19849 # Depending upon the size, compute the lo and hi bounds. 20765 # Depending upon the size, compute the lo and hi bounds.
@@ -19854,11 +20770,10 @@ cat confdefs.h >>conftest.$ac_ext
19854cat >>conftest.$ac_ext <<_ACEOF 20770cat >>conftest.$ac_ext <<_ACEOF
19855/* end confdefs.h. */ 20771/* end confdefs.h. */
19856$ac_includes_default 20772$ac_includes_default
19857 typedef int ac__type_sizeof_;
19858int 20773int
19859main () 20774main ()
19860{ 20775{
19861static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 20776static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
19862test_array [0] = 0 20777test_array [0] = 0
19863 20778
19864 ; 20779 ;
@@ -19871,13 +20786,14 @@ case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;; 20787 *) ac_try_echo=$ac_try;;
19873esac 20788esac
19874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20789eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20790$as_echo "$ac_try_echo") >&5
19875 (eval "$ac_compile") 2>conftest.er1 20791 (eval "$ac_compile") 2>conftest.er1
19876 ac_status=$? 20792 ac_status=$?
19877 grep -v '^ *+' conftest.er1 >conftest.err 20793 grep -v '^ *+' conftest.er1 >conftest.err
19878 rm -f conftest.er1 20794 rm -f conftest.er1
19879 cat conftest.err >&5 20795 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20796 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && { 20797 (exit $ac_status); } && {
19882 test -z "$ac_c_werror_flag" || 20798 test -z "$ac_c_werror_flag" ||
19883 test ! -s conftest.err 20799 test ! -s conftest.err
@@ -19891,11 +20807,10 @@ cat confdefs.h >>conftest.$ac_ext
19891cat >>conftest.$ac_ext <<_ACEOF 20807cat >>conftest.$ac_ext <<_ACEOF
19892/* end confdefs.h. */ 20808/* end confdefs.h. */
19893$ac_includes_default 20809$ac_includes_default
19894 typedef int ac__type_sizeof_;
19895int 20810int
19896main () 20811main ()
19897{ 20812{
19898static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20813static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
19899test_array [0] = 0 20814test_array [0] = 0
19900 20815
19901 ; 20816 ;
@@ -19908,20 +20823,21 @@ case "(($ac_try" in
19908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19909 *) ac_try_echo=$ac_try;; 20824 *) ac_try_echo=$ac_try;;
19910esac 20825esac
19911eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20826eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20827$as_echo "$ac_try_echo") >&5
19912 (eval "$ac_compile") 2>conftest.er1 20828 (eval "$ac_compile") 2>conftest.er1
19913 ac_status=$? 20829 ac_status=$?
19914 grep -v '^ *+' conftest.er1 >conftest.err 20830 grep -v '^ *+' conftest.er1 >conftest.err
19915 rm -f conftest.er1 20831 rm -f conftest.er1
19916 cat conftest.err >&5 20832 cat conftest.err >&5
19917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19918 (exit $ac_status); } && { 20834 (exit $ac_status); } && {
19919 test -z "$ac_c_werror_flag" || 20835 test -z "$ac_c_werror_flag" ||
19920 test ! -s conftest.err 20836 test ! -s conftest.err
19921 } && test -s conftest.$ac_objext; then 20837 } && test -s conftest.$ac_objext; then
19922 ac_hi=$ac_mid; break 20838 ac_hi=$ac_mid; break
19923else 20839else
19924 echo "$as_me: failed program was:" >&5 20840 $as_echo "$as_me: failed program was:" >&5
19925sed 's/^/| /' conftest.$ac_ext >&5 20841sed 's/^/| /' conftest.$ac_ext >&5
19926 20842
19927 ac_lo=`expr $ac_mid + 1` 20843 ac_lo=`expr $ac_mid + 1`
@@ -19935,7 +20851,7 @@ fi
19935rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19936 done 20852 done
19937else 20853else
19938 echo "$as_me: failed program was:" >&5 20854 $as_echo "$as_me: failed program was:" >&5
19939sed 's/^/| /' conftest.$ac_ext >&5 20855sed 's/^/| /' conftest.$ac_ext >&5
19940 20856
19941 cat >conftest.$ac_ext <<_ACEOF 20857 cat >conftest.$ac_ext <<_ACEOF
@@ -19945,11 +20861,10 @@ cat confdefs.h >>conftest.$ac_ext
19945cat >>conftest.$ac_ext <<_ACEOF 20861cat >>conftest.$ac_ext <<_ACEOF
19946/* end confdefs.h. */ 20862/* end confdefs.h. */
19947$ac_includes_default 20863$ac_includes_default
19948 typedef int ac__type_sizeof_;
19949int 20864int
19950main () 20865main ()
19951{ 20866{
19952static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 20867static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
19953test_array [0] = 0 20868test_array [0] = 0
19954 20869
19955 ; 20870 ;
@@ -19962,13 +20877,14 @@ case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;; 20878 *) ac_try_echo=$ac_try;;
19964esac 20879esac
19965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20880eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20881$as_echo "$ac_try_echo") >&5
19966 (eval "$ac_compile") 2>conftest.er1 20882 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$? 20883 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err 20884 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1 20885 rm -f conftest.er1
19970 cat conftest.err >&5 20886 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && { 20888 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" || 20889 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err 20890 test ! -s conftest.err
@@ -19982,11 +20898,10 @@ cat confdefs.h >>conftest.$ac_ext
19982cat >>conftest.$ac_ext <<_ACEOF 20898cat >>conftest.$ac_ext <<_ACEOF
19983/* end confdefs.h. */ 20899/* end confdefs.h. */
19984$ac_includes_default 20900$ac_includes_default
19985 typedef int ac__type_sizeof_;
19986int 20901int
19987main () 20902main ()
19988{ 20903{
19989static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 20904static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
19990test_array [0] = 0 20905test_array [0] = 0
19991 20906
19992 ; 20907 ;
@@ -19999,20 +20914,21 @@ case "(($ac_try" in
19999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20000 *) ac_try_echo=$ac_try;; 20915 *) ac_try_echo=$ac_try;;
20001esac 20916esac
20002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20918$as_echo "$ac_try_echo") >&5
20003 (eval "$ac_compile") 2>conftest.er1 20919 (eval "$ac_compile") 2>conftest.er1
20004 ac_status=$? 20920 ac_status=$?
20005 grep -v '^ *+' conftest.er1 >conftest.err 20921 grep -v '^ *+' conftest.er1 >conftest.err
20006 rm -f conftest.er1 20922 rm -f conftest.er1
20007 cat conftest.err >&5 20923 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } && { 20925 (exit $ac_status); } && {
20010 test -z "$ac_c_werror_flag" || 20926 test -z "$ac_c_werror_flag" ||
20011 test ! -s conftest.err 20927 test ! -s conftest.err
20012 } && test -s conftest.$ac_objext; then 20928 } && test -s conftest.$ac_objext; then
20013 ac_lo=$ac_mid; break 20929 ac_lo=$ac_mid; break
20014else 20930else
20015 echo "$as_me: failed program was:" >&5 20931 $as_echo "$as_me: failed program was:" >&5
20016sed 's/^/| /' conftest.$ac_ext >&5 20932sed 's/^/| /' conftest.$ac_ext >&5
20017 20933
20018 ac_hi=`expr '(' $ac_mid ')' - 1` 20934 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20026,7 +20942,7 @@ fi
20026rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 done 20943 done
20028else 20944else
20029 echo "$as_me: failed program was:" >&5 20945 $as_echo "$as_me: failed program was:" >&5
20030sed 's/^/| /' conftest.$ac_ext >&5 20946sed 's/^/| /' conftest.$ac_ext >&5
20031 20947
20032 ac_lo= ac_hi= 20948 ac_lo= ac_hi=
@@ -20046,11 +20962,10 @@ cat confdefs.h >>conftest.$ac_ext
20046cat >>conftest.$ac_ext <<_ACEOF 20962cat >>conftest.$ac_ext <<_ACEOF
20047/* end confdefs.h. */ 20963/* end confdefs.h. */
20048$ac_includes_default 20964$ac_includes_default
20049 typedef int ac__type_sizeof_;
20050int 20965int
20051main () 20966main ()
20052{ 20967{
20053static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 20968static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
20054test_array [0] = 0 20969test_array [0] = 0
20055 20970
20056 ; 20971 ;
@@ -20063,20 +20978,21 @@ case "(($ac_try" in
20063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 20978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20064 *) ac_try_echo=$ac_try;; 20979 *) ac_try_echo=$ac_try;;
20065esac 20980esac
20066eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 20981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20982$as_echo "$ac_try_echo") >&5
20067 (eval "$ac_compile") 2>conftest.er1 20983 (eval "$ac_compile") 2>conftest.er1
20068 ac_status=$? 20984 ac_status=$?
20069 grep -v '^ *+' conftest.er1 >conftest.err 20985 grep -v '^ *+' conftest.er1 >conftest.err
20070 rm -f conftest.er1 20986 rm -f conftest.er1
20071 cat conftest.err >&5 20987 cat conftest.err >&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5 20988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); } && { 20989 (exit $ac_status); } && {
20074 test -z "$ac_c_werror_flag" || 20990 test -z "$ac_c_werror_flag" ||
20075 test ! -s conftest.err 20991 test ! -s conftest.err
20076 } && test -s conftest.$ac_objext; then 20992 } && test -s conftest.$ac_objext; then
20077 ac_hi=$ac_mid 20993 ac_hi=$ac_mid
20078else 20994else
20079 echo "$as_me: failed program was:" >&5 20995 $as_echo "$as_me: failed program was:" >&5
20080sed 's/^/| /' conftest.$ac_ext >&5 20996sed 's/^/| /' conftest.$ac_ext >&5
20081 20997
20082 ac_lo=`expr '(' $ac_mid ')' + 1` 20998 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20087,9 +21003,9 @@ done
20087case $ac_lo in 21003case $ac_lo in
20088?*) ac_cv_sizeof_int=$ac_lo;; 21004?*) ac_cv_sizeof_int=$ac_lo;;
20089'') if test "$ac_cv_type_int" = yes; then 21005'') if test "$ac_cv_type_int" = yes; then
20090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 21006 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20091See \`config.log' for more details." >&5 21007See \`config.log' for more details." >&5
20092echo "$as_me: error: cannot compute sizeof (int) 21008$as_echo "$as_me: error: cannot compute sizeof (int)
20093See \`config.log' for more details." >&2;} 21009See \`config.log' for more details." >&2;}
20094 { (exit 77); exit 77; }; } 21010 { (exit 77); exit 77; }; }
20095 else 21011 else
@@ -20104,9 +21020,8 @@ cat confdefs.h >>conftest.$ac_ext
20104cat >>conftest.$ac_ext <<_ACEOF 21020cat >>conftest.$ac_ext <<_ACEOF
20105/* end confdefs.h. */ 21021/* end confdefs.h. */
20106$ac_includes_default 21022$ac_includes_default
20107 typedef int ac__type_sizeof_; 21023static long int longval () { return (long int) (sizeof (int)); }
20108static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21024static unsigned long int ulongval () { return (long int) (sizeof (int)); }
20109static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20110#include <stdio.h> 21025#include <stdio.h>
20111#include <stdlib.h> 21026#include <stdlib.h>
20112int 21027int
@@ -20116,20 +21031,22 @@ main ()
20116 FILE *f = fopen ("conftest.val", "w"); 21031 FILE *f = fopen ("conftest.val", "w");
20117 if (! f) 21032 if (! f)
20118 return 1; 21033 return 1;
20119 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21034 if (((long int) (sizeof (int))) < 0)
20120 { 21035 {
20121 long int i = longval (); 21036 long int i = longval ();
20122 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21037 if (i != ((long int) (sizeof (int))))
20123 return 1; 21038 return 1;
20124 fprintf (f, "%ld\n", i); 21039 fprintf (f, "%ld", i);
20125 } 21040 }
20126 else 21041 else
20127 { 21042 {
20128 unsigned long int i = ulongval (); 21043 unsigned long int i = ulongval ();
20129 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21044 if (i != ((long int) (sizeof (int))))
20130 return 1; 21045 return 1;
20131 fprintf (f, "%lu\n", i); 21046 fprintf (f, "%lu", i);
20132 } 21047 }
21048 /* Do not output a trailing newline, as this causes \r\n confusion
21049 on some platforms. */
20133 return ferror (f) || fclose (f) != 0; 21050 return ferror (f) || fclose (f) != 0;
20134 21051
20135 ; 21052 ;
@@ -20142,43 +21059,46 @@ case "(($ac_try" in
20142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20143 *) ac_try_echo=$ac_try;; 21060 *) ac_try_echo=$ac_try;;
20144esac 21061esac
20145eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21062eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21063$as_echo "$ac_try_echo") >&5
20146 (eval "$ac_link") 2>&5 21064 (eval "$ac_link") 2>&5
20147 ac_status=$? 21065 ac_status=$?
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20150 { (case "(($ac_try" in 21068 { (case "(($ac_try" in
20151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20152 *) ac_try_echo=$ac_try;; 21070 *) ac_try_echo=$ac_try;;
20153esac 21071esac
20154eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21072eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21073$as_echo "$ac_try_echo") >&5
20155 (eval "$ac_try") 2>&5 21074 (eval "$ac_try") 2>&5
20156 ac_status=$? 21075 ac_status=$?
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then 21077 (exit $ac_status); }; }; then
20159 ac_cv_sizeof_int=`cat conftest.val` 21078 ac_cv_sizeof_int=`cat conftest.val`
20160else 21079else
20161 echo "$as_me: program exited with status $ac_status" >&5 21080 $as_echo "$as_me: program exited with status $ac_status" >&5
20162echo "$as_me: failed program was:" >&5 21081$as_echo "$as_me: failed program was:" >&5
20163sed 's/^/| /' conftest.$ac_ext >&5 21082sed 's/^/| /' conftest.$ac_ext >&5
20164 21083
20165( exit $ac_status ) 21084( exit $ac_status )
20166if test "$ac_cv_type_int" = yes; then 21085if test "$ac_cv_type_int" = yes; then
20167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 21086 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20168See \`config.log' for more details." >&5 21087See \`config.log' for more details." >&5
20169echo "$as_me: error: cannot compute sizeof (int) 21088$as_echo "$as_me: error: cannot compute sizeof (int)
20170See \`config.log' for more details." >&2;} 21089See \`config.log' for more details." >&2;}
20171 { (exit 77); exit 77; }; } 21090 { (exit 77); exit 77; }; }
20172 else 21091 else
20173 ac_cv_sizeof_int=0 21092 ac_cv_sizeof_int=0
20174 fi 21093 fi
20175fi 21094fi
21095rm -rf conftest.dSYM
20176rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21096rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20177fi 21097fi
20178rm -f conftest.val 21098rm -f conftest.val
20179fi 21099fi
20180{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 21100{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20181echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 21101$as_echo "$ac_cv_sizeof_int" >&6; }
20182 21102
20183 21103
20184 21104
@@ -20187,68 +21107,14 @@ cat >>confdefs.h <<_ACEOF
20187_ACEOF 21107_ACEOF
20188 21108
20189 21109
20190{ echo "$as_me:$LINENO: checking for long int" >&5
20191echo $ECHO_N "checking for long int... $ECHO_C" >&6; }
20192if test "${ac_cv_type_long_int+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194else
20195 cat >conftest.$ac_ext <<_ACEOF
20196/* confdefs.h. */
20197_ACEOF
20198cat confdefs.h >>conftest.$ac_ext
20199cat >>conftest.$ac_ext <<_ACEOF
20200/* end confdefs.h. */
20201$ac_includes_default
20202typedef long int ac__type_new_;
20203int
20204main ()
20205{
20206if ((ac__type_new_ *) 0)
20207 return 0;
20208if (sizeof (ac__type_new_))
20209 return 0;
20210 ;
20211 return 0;
20212}
20213_ACEOF
20214rm -f conftest.$ac_objext
20215if { (ac_try="$ac_compile"
20216case "(($ac_try" in
20217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20218 *) ac_try_echo=$ac_try;;
20219esac
20220eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20221 (eval "$ac_compile") 2>conftest.er1
20222 ac_status=$?
20223 grep -v '^ *+' conftest.er1 >conftest.err
20224 rm -f conftest.er1
20225 cat conftest.err >&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); } && {
20228 test -z "$ac_c_werror_flag" ||
20229 test ! -s conftest.err
20230 } && test -s conftest.$ac_objext; then
20231 ac_cv_type_long_int=yes
20232else
20233 echo "$as_me: failed program was:" >&5
20234sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_cv_type_long_int=no
20237fi
20238
20239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240fi
20241{ echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
20242echo "${ECHO_T}$ac_cv_type_long_int" >&6; }
20243
20244# The cast to long int works around a bug in the HP C Compiler 21110# The cast to long int works around a bug in the HP C Compiler
20245# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21111# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21112# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247# This bug is HP SR number 8606223364. 21113# This bug is HP SR number 8606223364.
20248{ echo "$as_me:$LINENO: checking size of long int" >&5 21114{ $as_echo "$as_me:$LINENO: checking size of long int" >&5
20249echo $ECHO_N "checking size of long int... $ECHO_C" >&6; } 21115$as_echo_n "checking size of long int... " >&6; }
20250if test "${ac_cv_sizeof_long_int+set}" = set; then 21116if test "${ac_cv_sizeof_long_int+set}" = set; then
20251 echo $ECHO_N "(cached) $ECHO_C" >&6 21117 $as_echo_n "(cached) " >&6
20252else 21118else
20253 if test "$cross_compiling" = yes; then 21119 if test "$cross_compiling" = yes; then
20254 # Depending upon the size, compute the lo and hi bounds. 21120 # Depending upon the size, compute the lo and hi bounds.
@@ -20259,11 +21125,10 @@ cat confdefs.h >>conftest.$ac_ext
20259cat >>conftest.$ac_ext <<_ACEOF 21125cat >>conftest.$ac_ext <<_ACEOF
20260/* end confdefs.h. */ 21126/* end confdefs.h. */
20261$ac_includes_default 21127$ac_includes_default
20262 typedef long int ac__type_sizeof_;
20263int 21128int
20264main () 21129main ()
20265{ 21130{
20266static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 21131static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= 0)];
20267test_array [0] = 0 21132test_array [0] = 0
20268 21133
20269 ; 21134 ;
@@ -20276,13 +21141,14 @@ case "(($ac_try" in
20276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20277 *) ac_try_echo=$ac_try;; 21142 *) ac_try_echo=$ac_try;;
20278esac 21143esac
20279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21145$as_echo "$ac_try_echo") >&5
20280 (eval "$ac_compile") 2>conftest.er1 21146 (eval "$ac_compile") 2>conftest.er1
20281 ac_status=$? 21147 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err 21148 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1 21149 rm -f conftest.er1
20284 cat conftest.err >&5 21150 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21151 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } && { 21152 (exit $ac_status); } && {
20287 test -z "$ac_c_werror_flag" || 21153 test -z "$ac_c_werror_flag" ||
20288 test ! -s conftest.err 21154 test ! -s conftest.err
@@ -20296,11 +21162,10 @@ cat confdefs.h >>conftest.$ac_ext
20296cat >>conftest.$ac_ext <<_ACEOF 21162cat >>conftest.$ac_ext <<_ACEOF
20297/* end confdefs.h. */ 21163/* end confdefs.h. */
20298$ac_includes_default 21164$ac_includes_default
20299 typedef long int ac__type_sizeof_;
20300int 21165int
20301main () 21166main ()
20302{ 21167{
20303static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21168static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
20304test_array [0] = 0 21169test_array [0] = 0
20305 21170
20306 ; 21171 ;
@@ -20313,20 +21178,21 @@ case "(($ac_try" in
20313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314 *) ac_try_echo=$ac_try;; 21179 *) ac_try_echo=$ac_try;;
20315esac 21180esac
20316eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21182$as_echo "$ac_try_echo") >&5
20317 (eval "$ac_compile") 2>conftest.er1 21183 (eval "$ac_compile") 2>conftest.er1
20318 ac_status=$? 21184 ac_status=$?
20319 grep -v '^ *+' conftest.er1 >conftest.err 21185 grep -v '^ *+' conftest.er1 >conftest.err
20320 rm -f conftest.er1 21186 rm -f conftest.er1
20321 cat conftest.err >&5 21187 cat conftest.err >&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } && { 21189 (exit $ac_status); } && {
20324 test -z "$ac_c_werror_flag" || 21190 test -z "$ac_c_werror_flag" ||
20325 test ! -s conftest.err 21191 test ! -s conftest.err
20326 } && test -s conftest.$ac_objext; then 21192 } && test -s conftest.$ac_objext; then
20327 ac_hi=$ac_mid; break 21193 ac_hi=$ac_mid; break
20328else 21194else
20329 echo "$as_me: failed program was:" >&5 21195 $as_echo "$as_me: failed program was:" >&5
20330sed 's/^/| /' conftest.$ac_ext >&5 21196sed 's/^/| /' conftest.$ac_ext >&5
20331 21197
20332 ac_lo=`expr $ac_mid + 1` 21198 ac_lo=`expr $ac_mid + 1`
@@ -20340,7 +21206,7 @@ fi
20340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20341 done 21207 done
20342else 21208else
20343 echo "$as_me: failed program was:" >&5 21209 $as_echo "$as_me: failed program was:" >&5
20344sed 's/^/| /' conftest.$ac_ext >&5 21210sed 's/^/| /' conftest.$ac_ext >&5
20345 21211
20346 cat >conftest.$ac_ext <<_ACEOF 21212 cat >conftest.$ac_ext <<_ACEOF
@@ -20350,11 +21216,10 @@ cat confdefs.h >>conftest.$ac_ext
20350cat >>conftest.$ac_ext <<_ACEOF 21216cat >>conftest.$ac_ext <<_ACEOF
20351/* end confdefs.h. */ 21217/* end confdefs.h. */
20352$ac_includes_default 21218$ac_includes_default
20353 typedef long int ac__type_sizeof_;
20354int 21219int
20355main () 21220main ()
20356{ 21221{
20357static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 21222static int test_array [1 - 2 * !(((long int) (sizeof (long int))) < 0)];
20358test_array [0] = 0 21223test_array [0] = 0
20359 21224
20360 ; 21225 ;
@@ -20367,13 +21232,14 @@ case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;; 21233 *) ac_try_echo=$ac_try;;
20369esac 21234esac
20370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21235eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21236$as_echo "$ac_try_echo") >&5
20371 (eval "$ac_compile") 2>conftest.er1 21237 (eval "$ac_compile") 2>conftest.er1
20372 ac_status=$? 21238 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err 21239 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1 21240 rm -f conftest.er1
20375 cat conftest.err >&5 21241 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && { 21243 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" || 21244 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err 21245 test ! -s conftest.err
@@ -20387,11 +21253,10 @@ cat confdefs.h >>conftest.$ac_ext
20387cat >>conftest.$ac_ext <<_ACEOF 21253cat >>conftest.$ac_ext <<_ACEOF
20388/* end confdefs.h. */ 21254/* end confdefs.h. */
20389$ac_includes_default 21255$ac_includes_default
20390 typedef long int ac__type_sizeof_;
20391int 21256int
20392main () 21257main ()
20393{ 21258{
20394static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 21259static int test_array [1 - 2 * !(((long int) (sizeof (long int))) >= $ac_mid)];
20395test_array [0] = 0 21260test_array [0] = 0
20396 21261
20397 ; 21262 ;
@@ -20404,20 +21269,21 @@ case "(($ac_try" in
20404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 *) ac_try_echo=$ac_try;; 21270 *) ac_try_echo=$ac_try;;
20406esac 21271esac
20407eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21273$as_echo "$ac_try_echo") >&5
20408 (eval "$ac_compile") 2>conftest.er1 21274 (eval "$ac_compile") 2>conftest.er1
20409 ac_status=$? 21275 ac_status=$?
20410 grep -v '^ *+' conftest.er1 >conftest.err 21276 grep -v '^ *+' conftest.er1 >conftest.err
20411 rm -f conftest.er1 21277 rm -f conftest.er1
20412 cat conftest.err >&5 21278 cat conftest.err >&5
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); } && { 21280 (exit $ac_status); } && {
20415 test -z "$ac_c_werror_flag" || 21281 test -z "$ac_c_werror_flag" ||
20416 test ! -s conftest.err 21282 test ! -s conftest.err
20417 } && test -s conftest.$ac_objext; then 21283 } && test -s conftest.$ac_objext; then
20418 ac_lo=$ac_mid; break 21284 ac_lo=$ac_mid; break
20419else 21285else
20420 echo "$as_me: failed program was:" >&5 21286 $as_echo "$as_me: failed program was:" >&5
20421sed 's/^/| /' conftest.$ac_ext >&5 21287sed 's/^/| /' conftest.$ac_ext >&5
20422 21288
20423 ac_hi=`expr '(' $ac_mid ')' - 1` 21289 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20431,7 +21297,7 @@ fi
20431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20432 done 21298 done
20433else 21299else
20434 echo "$as_me: failed program was:" >&5 21300 $as_echo "$as_me: failed program was:" >&5
20435sed 's/^/| /' conftest.$ac_ext >&5 21301sed 's/^/| /' conftest.$ac_ext >&5
20436 21302
20437 ac_lo= ac_hi= 21303 ac_lo= ac_hi=
@@ -20451,11 +21317,10 @@ cat confdefs.h >>conftest.$ac_ext
20451cat >>conftest.$ac_ext <<_ACEOF 21317cat >>conftest.$ac_ext <<_ACEOF
20452/* end confdefs.h. */ 21318/* end confdefs.h. */
20453$ac_includes_default 21319$ac_includes_default
20454 typedef long int ac__type_sizeof_;
20455int 21320int
20456main () 21321main ()
20457{ 21322{
20458static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21323static int test_array [1 - 2 * !(((long int) (sizeof (long int))) <= $ac_mid)];
20459test_array [0] = 0 21324test_array [0] = 0
20460 21325
20461 ; 21326 ;
@@ -20468,20 +21333,21 @@ case "(($ac_try" in
20468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20469 *) ac_try_echo=$ac_try;; 21334 *) ac_try_echo=$ac_try;;
20470esac 21335esac
20471eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21337$as_echo "$ac_try_echo") >&5
20472 (eval "$ac_compile") 2>conftest.er1 21338 (eval "$ac_compile") 2>conftest.er1
20473 ac_status=$? 21339 ac_status=$?
20474 grep -v '^ *+' conftest.er1 >conftest.err 21340 grep -v '^ *+' conftest.er1 >conftest.err
20475 rm -f conftest.er1 21341 rm -f conftest.er1
20476 cat conftest.err >&5 21342 cat conftest.err >&5
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); } && { 21344 (exit $ac_status); } && {
20479 test -z "$ac_c_werror_flag" || 21345 test -z "$ac_c_werror_flag" ||
20480 test ! -s conftest.err 21346 test ! -s conftest.err
20481 } && test -s conftest.$ac_objext; then 21347 } && test -s conftest.$ac_objext; then
20482 ac_hi=$ac_mid 21348 ac_hi=$ac_mid
20483else 21349else
20484 echo "$as_me: failed program was:" >&5 21350 $as_echo "$as_me: failed program was:" >&5
20485sed 's/^/| /' conftest.$ac_ext >&5 21351sed 's/^/| /' conftest.$ac_ext >&5
20486 21352
20487 ac_lo=`expr '(' $ac_mid ')' + 1` 21353 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20492,9 +21358,9 @@ done
20492case $ac_lo in 21358case $ac_lo in
20493?*) ac_cv_sizeof_long_int=$ac_lo;; 21359?*) ac_cv_sizeof_long_int=$ac_lo;;
20494'') if test "$ac_cv_type_long_int" = yes; then 21360'') if test "$ac_cv_type_long_int" = yes; then
20495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) 21361 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
20496See \`config.log' for more details." >&5 21362See \`config.log' for more details." >&5
20497echo "$as_me: error: cannot compute sizeof (long int) 21363$as_echo "$as_me: error: cannot compute sizeof (long int)
20498See \`config.log' for more details." >&2;} 21364See \`config.log' for more details." >&2;}
20499 { (exit 77); exit 77; }; } 21365 { (exit 77); exit 77; }; }
20500 else 21366 else
@@ -20509,9 +21375,8 @@ cat confdefs.h >>conftest.$ac_ext
20509cat >>conftest.$ac_ext <<_ACEOF 21375cat >>conftest.$ac_ext <<_ACEOF
20510/* end confdefs.h. */ 21376/* end confdefs.h. */
20511$ac_includes_default 21377$ac_includes_default
20512 typedef long int ac__type_sizeof_; 21378static long int longval () { return (long int) (sizeof (long int)); }
20513static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21379static unsigned long int ulongval () { return (long int) (sizeof (long int)); }
20514static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20515#include <stdio.h> 21380#include <stdio.h>
20516#include <stdlib.h> 21381#include <stdlib.h>
20517int 21382int
@@ -20521,20 +21386,22 @@ main ()
20521 FILE *f = fopen ("conftest.val", "w"); 21386 FILE *f = fopen ("conftest.val", "w");
20522 if (! f) 21387 if (! f)
20523 return 1; 21388 return 1;
20524 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21389 if (((long int) (sizeof (long int))) < 0)
20525 { 21390 {
20526 long int i = longval (); 21391 long int i = longval ();
20527 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21392 if (i != ((long int) (sizeof (long int))))
20528 return 1; 21393 return 1;
20529 fprintf (f, "%ld\n", i); 21394 fprintf (f, "%ld", i);
20530 } 21395 }
20531 else 21396 else
20532 { 21397 {
20533 unsigned long int i = ulongval (); 21398 unsigned long int i = ulongval ();
20534 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21399 if (i != ((long int) (sizeof (long int))))
20535 return 1; 21400 return 1;
20536 fprintf (f, "%lu\n", i); 21401 fprintf (f, "%lu", i);
20537 } 21402 }
21403 /* Do not output a trailing newline, as this causes \r\n confusion
21404 on some platforms. */
20538 return ferror (f) || fclose (f) != 0; 21405 return ferror (f) || fclose (f) != 0;
20539 21406
20540 ; 21407 ;
@@ -20547,43 +21414,46 @@ case "(($ac_try" in
20547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20548 *) ac_try_echo=$ac_try;; 21415 *) ac_try_echo=$ac_try;;
20549esac 21416esac
20550eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21418$as_echo "$ac_try_echo") >&5
20551 (eval "$ac_link") 2>&5 21419 (eval "$ac_link") 2>&5
20552 ac_status=$? 21420 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20555 { (case "(($ac_try" in 21423 { (case "(($ac_try" in
20556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20557 *) ac_try_echo=$ac_try;; 21425 *) ac_try_echo=$ac_try;;
20558esac 21426esac
20559eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21427eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21428$as_echo "$ac_try_echo") >&5
20560 (eval "$ac_try") 2>&5 21429 (eval "$ac_try") 2>&5
20561 ac_status=$? 21430 ac_status=$?
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then 21432 (exit $ac_status); }; }; then
20564 ac_cv_sizeof_long_int=`cat conftest.val` 21433 ac_cv_sizeof_long_int=`cat conftest.val`
20565else 21434else
20566 echo "$as_me: program exited with status $ac_status" >&5 21435 $as_echo "$as_me: program exited with status $ac_status" >&5
20567echo "$as_me: failed program was:" >&5 21436$as_echo "$as_me: failed program was:" >&5
20568sed 's/^/| /' conftest.$ac_ext >&5 21437sed 's/^/| /' conftest.$ac_ext >&5
20569 21438
20570( exit $ac_status ) 21439( exit $ac_status )
20571if test "$ac_cv_type_long_int" = yes; then 21440if test "$ac_cv_type_long_int" = yes; then
20572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int) 21441 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long int)
20573See \`config.log' for more details." >&5 21442See \`config.log' for more details." >&5
20574echo "$as_me: error: cannot compute sizeof (long int) 21443$as_echo "$as_me: error: cannot compute sizeof (long int)
20575See \`config.log' for more details." >&2;} 21444See \`config.log' for more details." >&2;}
20576 { (exit 77); exit 77; }; } 21445 { (exit 77); exit 77; }; }
20577 else 21446 else
20578 ac_cv_sizeof_long_int=0 21447 ac_cv_sizeof_long_int=0
20579 fi 21448 fi
20580fi 21449fi
21450rm -rf conftest.dSYM
20581rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21451rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20582fi 21452fi
20583rm -f conftest.val 21453rm -f conftest.val
20584fi 21454fi
20585{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5 21455{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
20586echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6; } 21456$as_echo "$ac_cv_sizeof_long_int" >&6; }
20587 21457
20588 21458
20589 21459
@@ -20592,68 +21462,14 @@ cat >>confdefs.h <<_ACEOF
20592_ACEOF 21462_ACEOF
20593 21463
20594 21464
20595{ echo "$as_me:$LINENO: checking for long long int" >&5
20596echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
20597if test "${ac_cv_type_long_long_int+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20599else
20600 cat >conftest.$ac_ext <<_ACEOF
20601/* confdefs.h. */
20602_ACEOF
20603cat confdefs.h >>conftest.$ac_ext
20604cat >>conftest.$ac_ext <<_ACEOF
20605/* end confdefs.h. */
20606$ac_includes_default
20607typedef long long int ac__type_new_;
20608int
20609main ()
20610{
20611if ((ac__type_new_ *) 0)
20612 return 0;
20613if (sizeof (ac__type_new_))
20614 return 0;
20615 ;
20616 return 0;
20617}
20618_ACEOF
20619rm -f conftest.$ac_objext
20620if { (ac_try="$ac_compile"
20621case "(($ac_try" in
20622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20623 *) ac_try_echo=$ac_try;;
20624esac
20625eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20626 (eval "$ac_compile") 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && {
20633 test -z "$ac_c_werror_flag" ||
20634 test ! -s conftest.err
20635 } && test -s conftest.$ac_objext; then
20636 ac_cv_type_long_long_int=yes
20637else
20638 echo "$as_me: failed program was:" >&5
20639sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_cv_type_long_long_int=no
20642fi
20643
20644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645fi
20646{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
20647echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
20648
20649# The cast to long int works around a bug in the HP C Compiler 21465# The cast to long int works around a bug in the HP C Compiler
20650# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 21466# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20651# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 21467# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20652# This bug is HP SR number 8606223364. 21468# This bug is HP SR number 8606223364.
20653{ echo "$as_me:$LINENO: checking size of long long int" >&5 21469{ $as_echo "$as_me:$LINENO: checking size of long long int" >&5
20654echo $ECHO_N "checking size of long long int... $ECHO_C" >&6; } 21470$as_echo_n "checking size of long long int... " >&6; }
20655if test "${ac_cv_sizeof_long_long_int+set}" = set; then 21471if test "${ac_cv_sizeof_long_long_int+set}" = set; then
20656 echo $ECHO_N "(cached) $ECHO_C" >&6 21472 $as_echo_n "(cached) " >&6
20657else 21473else
20658 if test "$cross_compiling" = yes; then 21474 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds. 21475 # Depending upon the size, compute the lo and hi bounds.
@@ -20664,11 +21480,10 @@ cat confdefs.h >>conftest.$ac_ext
20664cat >>conftest.$ac_ext <<_ACEOF 21480cat >>conftest.$ac_ext <<_ACEOF
20665/* end confdefs.h. */ 21481/* end confdefs.h. */
20666$ac_includes_default 21482$ac_includes_default
20667 typedef long long int ac__type_sizeof_;
20668int 21483int
20669main () 21484main ()
20670{ 21485{
20671static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 21486static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= 0)];
20672test_array [0] = 0 21487test_array [0] = 0
20673 21488
20674 ; 21489 ;
@@ -20681,13 +21496,14 @@ case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;; 21497 *) ac_try_echo=$ac_try;;
20683esac 21498esac
20684eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21499eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21500$as_echo "$ac_try_echo") >&5
20685 (eval "$ac_compile") 2>conftest.er1 21501 (eval "$ac_compile") 2>conftest.er1
20686 ac_status=$? 21502 ac_status=$?
20687 grep -v '^ *+' conftest.er1 >conftest.err 21503 grep -v '^ *+' conftest.er1 >conftest.err
20688 rm -f conftest.er1 21504 rm -f conftest.er1
20689 cat conftest.err >&5 21505 cat conftest.err >&5
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); } && { 21507 (exit $ac_status); } && {
20692 test -z "$ac_c_werror_flag" || 21508 test -z "$ac_c_werror_flag" ||
20693 test ! -s conftest.err 21509 test ! -s conftest.err
@@ -20701,11 +21517,10 @@ cat confdefs.h >>conftest.$ac_ext
20701cat >>conftest.$ac_ext <<_ACEOF 21517cat >>conftest.$ac_ext <<_ACEOF
20702/* end confdefs.h. */ 21518/* end confdefs.h. */
20703$ac_includes_default 21519$ac_includes_default
20704 typedef long long int ac__type_sizeof_;
20705int 21520int
20706main () 21521main ()
20707{ 21522{
20708static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21523static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
20709test_array [0] = 0 21524test_array [0] = 0
20710 21525
20711 ; 21526 ;
@@ -20718,20 +21533,21 @@ case "(($ac_try" in
20718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20719 *) ac_try_echo=$ac_try;; 21534 *) ac_try_echo=$ac_try;;
20720esac 21535esac
20721eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21536eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21537$as_echo "$ac_try_echo") >&5
20722 (eval "$ac_compile") 2>conftest.er1 21538 (eval "$ac_compile") 2>conftest.er1
20723 ac_status=$? 21539 ac_status=$?
20724 grep -v '^ *+' conftest.er1 >conftest.err 21540 grep -v '^ *+' conftest.er1 >conftest.err
20725 rm -f conftest.er1 21541 rm -f conftest.er1
20726 cat conftest.err >&5 21542 cat conftest.err >&5
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); } && { 21544 (exit $ac_status); } && {
20729 test -z "$ac_c_werror_flag" || 21545 test -z "$ac_c_werror_flag" ||
20730 test ! -s conftest.err 21546 test ! -s conftest.err
20731 } && test -s conftest.$ac_objext; then 21547 } && test -s conftest.$ac_objext; then
20732 ac_hi=$ac_mid; break 21548 ac_hi=$ac_mid; break
20733else 21549else
20734 echo "$as_me: failed program was:" >&5 21550 $as_echo "$as_me: failed program was:" >&5
20735sed 's/^/| /' conftest.$ac_ext >&5 21551sed 's/^/| /' conftest.$ac_ext >&5
20736 21552
20737 ac_lo=`expr $ac_mid + 1` 21553 ac_lo=`expr $ac_mid + 1`
@@ -20745,7 +21561,7 @@ fi
20745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20746 done 21562 done
20747else 21563else
20748 echo "$as_me: failed program was:" >&5 21564 $as_echo "$as_me: failed program was:" >&5
20749sed 's/^/| /' conftest.$ac_ext >&5 21565sed 's/^/| /' conftest.$ac_ext >&5
20750 21566
20751 cat >conftest.$ac_ext <<_ACEOF 21567 cat >conftest.$ac_ext <<_ACEOF
@@ -20755,11 +21571,10 @@ cat confdefs.h >>conftest.$ac_ext
20755cat >>conftest.$ac_ext <<_ACEOF 21571cat >>conftest.$ac_ext <<_ACEOF
20756/* end confdefs.h. */ 21572/* end confdefs.h. */
20757$ac_includes_default 21573$ac_includes_default
20758 typedef long long int ac__type_sizeof_;
20759int 21574int
20760main () 21575main ()
20761{ 21576{
20762static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 21577static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) < 0)];
20763test_array [0] = 0 21578test_array [0] = 0
20764 21579
20765 ; 21580 ;
@@ -20772,13 +21587,14 @@ case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;; 21588 *) ac_try_echo=$ac_try;;
20774esac 21589esac
20775eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21590eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21591$as_echo "$ac_try_echo") >&5
20776 (eval "$ac_compile") 2>conftest.er1 21592 (eval "$ac_compile") 2>conftest.er1
20777 ac_status=$? 21593 ac_status=$?
20778 grep -v '^ *+' conftest.er1 >conftest.err 21594 grep -v '^ *+' conftest.er1 >conftest.err
20779 rm -f conftest.er1 21595 rm -f conftest.er1
20780 cat conftest.err >&5 21596 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && { 21598 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" || 21599 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err 21600 test ! -s conftest.err
@@ -20792,11 +21608,10 @@ cat confdefs.h >>conftest.$ac_ext
20792cat >>conftest.$ac_ext <<_ACEOF 21608cat >>conftest.$ac_ext <<_ACEOF
20793/* end confdefs.h. */ 21609/* end confdefs.h. */
20794$ac_includes_default 21610$ac_includes_default
20795 typedef long long int ac__type_sizeof_;
20796int 21611int
20797main () 21612main ()
20798{ 21613{
20799static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 21614static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) >= $ac_mid)];
20800test_array [0] = 0 21615test_array [0] = 0
20801 21616
20802 ; 21617 ;
@@ -20809,20 +21624,21 @@ case "(($ac_try" in
20809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20810 *) ac_try_echo=$ac_try;; 21625 *) ac_try_echo=$ac_try;;
20811esac 21626esac
20812eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21627eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21628$as_echo "$ac_try_echo") >&5
20813 (eval "$ac_compile") 2>conftest.er1 21629 (eval "$ac_compile") 2>conftest.er1
20814 ac_status=$? 21630 ac_status=$?
20815 grep -v '^ *+' conftest.er1 >conftest.err 21631 grep -v '^ *+' conftest.er1 >conftest.err
20816 rm -f conftest.er1 21632 rm -f conftest.er1
20817 cat conftest.err >&5 21633 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } && { 21635 (exit $ac_status); } && {
20820 test -z "$ac_c_werror_flag" || 21636 test -z "$ac_c_werror_flag" ||
20821 test ! -s conftest.err 21637 test ! -s conftest.err
20822 } && test -s conftest.$ac_objext; then 21638 } && test -s conftest.$ac_objext; then
20823 ac_lo=$ac_mid; break 21639 ac_lo=$ac_mid; break
20824else 21640else
20825 echo "$as_me: failed program was:" >&5 21641 $as_echo "$as_me: failed program was:" >&5
20826sed 's/^/| /' conftest.$ac_ext >&5 21642sed 's/^/| /' conftest.$ac_ext >&5
20827 21643
20828 ac_hi=`expr '(' $ac_mid ')' - 1` 21644 ac_hi=`expr '(' $ac_mid ')' - 1`
@@ -20836,7 +21652,7 @@ fi
20836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21652rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20837 done 21653 done
20838else 21654else
20839 echo "$as_me: failed program was:" >&5 21655 $as_echo "$as_me: failed program was:" >&5
20840sed 's/^/| /' conftest.$ac_ext >&5 21656sed 's/^/| /' conftest.$ac_ext >&5
20841 21657
20842 ac_lo= ac_hi= 21658 ac_lo= ac_hi=
@@ -20856,11 +21672,10 @@ cat confdefs.h >>conftest.$ac_ext
20856cat >>conftest.$ac_ext <<_ACEOF 21672cat >>conftest.$ac_ext <<_ACEOF
20857/* end confdefs.h. */ 21673/* end confdefs.h. */
20858$ac_includes_default 21674$ac_includes_default
20859 typedef long long int ac__type_sizeof_;
20860int 21675int
20861main () 21676main ()
20862{ 21677{
20863static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 21678static int test_array [1 - 2 * !(((long int) (sizeof (long long int))) <= $ac_mid)];
20864test_array [0] = 0 21679test_array [0] = 0
20865 21680
20866 ; 21681 ;
@@ -20873,20 +21688,21 @@ case "(($ac_try" in
20873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;; 21689 *) ac_try_echo=$ac_try;;
20875esac 21690esac
20876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21691eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21692$as_echo "$ac_try_echo") >&5
20877 (eval "$ac_compile") 2>conftest.er1 21693 (eval "$ac_compile") 2>conftest.er1
20878 ac_status=$? 21694 ac_status=$?
20879 grep -v '^ *+' conftest.er1 >conftest.err 21695 grep -v '^ *+' conftest.er1 >conftest.err
20880 rm -f conftest.er1 21696 rm -f conftest.er1
20881 cat conftest.err >&5 21697 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } && { 21699 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" || 21700 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err 21701 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then 21702 } && test -s conftest.$ac_objext; then
20887 ac_hi=$ac_mid 21703 ac_hi=$ac_mid
20888else 21704else
20889 echo "$as_me: failed program was:" >&5 21705 $as_echo "$as_me: failed program was:" >&5
20890sed 's/^/| /' conftest.$ac_ext >&5 21706sed 's/^/| /' conftest.$ac_ext >&5
20891 21707
20892 ac_lo=`expr '(' $ac_mid ')' + 1` 21708 ac_lo=`expr '(' $ac_mid ')' + 1`
@@ -20897,9 +21713,9 @@ done
20897case $ac_lo in 21713case $ac_lo in
20898?*) ac_cv_sizeof_long_long_int=$ac_lo;; 21714?*) ac_cv_sizeof_long_long_int=$ac_lo;;
20899'') if test "$ac_cv_type_long_long_int" = yes; then 21715'') if test "$ac_cv_type_long_long_int" = yes; then
20900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) 21716 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
20901See \`config.log' for more details." >&5 21717See \`config.log' for more details." >&5
20902echo "$as_me: error: cannot compute sizeof (long long int) 21718$as_echo "$as_me: error: cannot compute sizeof (long long int)
20903See \`config.log' for more details." >&2;} 21719See \`config.log' for more details." >&2;}
20904 { (exit 77); exit 77; }; } 21720 { (exit 77); exit 77; }; }
20905 else 21721 else
@@ -20914,9 +21730,8 @@ cat confdefs.h >>conftest.$ac_ext
20914cat >>conftest.$ac_ext <<_ACEOF 21730cat >>conftest.$ac_ext <<_ACEOF
20915/* end confdefs.h. */ 21731/* end confdefs.h. */
20916$ac_includes_default 21732$ac_includes_default
20917 typedef long long int ac__type_sizeof_; 21733static long int longval () { return (long int) (sizeof (long long int)); }
20918static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 21734static unsigned long int ulongval () { return (long int) (sizeof (long long int)); }
20919static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20920#include <stdio.h> 21735#include <stdio.h>
20921#include <stdlib.h> 21736#include <stdlib.h>
20922int 21737int
@@ -20926,20 +21741,22 @@ main ()
20926 FILE *f = fopen ("conftest.val", "w"); 21741 FILE *f = fopen ("conftest.val", "w");
20927 if (! f) 21742 if (! f)
20928 return 1; 21743 return 1;
20929 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 21744 if (((long int) (sizeof (long long int))) < 0)
20930 { 21745 {
20931 long int i = longval (); 21746 long int i = longval ();
20932 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21747 if (i != ((long int) (sizeof (long long int))))
20933 return 1; 21748 return 1;
20934 fprintf (f, "%ld\n", i); 21749 fprintf (f, "%ld", i);
20935 } 21750 }
20936 else 21751 else
20937 { 21752 {
20938 unsigned long int i = ulongval (); 21753 unsigned long int i = ulongval ();
20939 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 21754 if (i != ((long int) (sizeof (long long int))))
20940 return 1; 21755 return 1;
20941 fprintf (f, "%lu\n", i); 21756 fprintf (f, "%lu", i);
20942 } 21757 }
21758 /* Do not output a trailing newline, as this causes \r\n confusion
21759 on some platforms. */
20943 return ferror (f) || fclose (f) != 0; 21760 return ferror (f) || fclose (f) != 0;
20944 21761
20945 ; 21762 ;
@@ -20952,43 +21769,46 @@ case "(($ac_try" in
20952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20953 *) ac_try_echo=$ac_try;; 21770 *) ac_try_echo=$ac_try;;
20954esac 21771esac
20955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21772eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21773$as_echo "$ac_try_echo") >&5
20956 (eval "$ac_link") 2>&5 21774 (eval "$ac_link") 2>&5
20957 ac_status=$? 21775 ac_status=$?
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21776 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20960 { (case "(($ac_try" in 21778 { (case "(($ac_try" in
20961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20962 *) ac_try_echo=$ac_try;; 21780 *) ac_try_echo=$ac_try;;
20963esac 21781esac
20964eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21782eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21783$as_echo "$ac_try_echo") >&5
20965 (eval "$ac_try") 2>&5 21784 (eval "$ac_try") 2>&5
20966 ac_status=$? 21785 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21786 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then 21787 (exit $ac_status); }; }; then
20969 ac_cv_sizeof_long_long_int=`cat conftest.val` 21788 ac_cv_sizeof_long_long_int=`cat conftest.val`
20970else 21789else
20971 echo "$as_me: program exited with status $ac_status" >&5 21790 $as_echo "$as_me: program exited with status $ac_status" >&5
20972echo "$as_me: failed program was:" >&5 21791$as_echo "$as_me: failed program was:" >&5
20973sed 's/^/| /' conftest.$ac_ext >&5 21792sed 's/^/| /' conftest.$ac_ext >&5
20974 21793
20975( exit $ac_status ) 21794( exit $ac_status )
20976if test "$ac_cv_type_long_long_int" = yes; then 21795if test "$ac_cv_type_long_long_int" = yes; then
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int) 21796 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long int)
20978See \`config.log' for more details." >&5 21797See \`config.log' for more details." >&5
20979echo "$as_me: error: cannot compute sizeof (long long int) 21798$as_echo "$as_me: error: cannot compute sizeof (long long int)
20980See \`config.log' for more details." >&2;} 21799See \`config.log' for more details." >&2;}
20981 { (exit 77); exit 77; }; } 21800 { (exit 77); exit 77; }; }
20982 else 21801 else
20983 ac_cv_sizeof_long_long_int=0 21802 ac_cv_sizeof_long_long_int=0
20984 fi 21803 fi
20985fi 21804fi
21805rm -rf conftest.dSYM
20986rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21806rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20987fi 21807fi
20988rm -f conftest.val 21808rm -f conftest.val
20989fi 21809fi
20990{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5 21810{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
20991echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6; } 21811$as_echo "$ac_cv_sizeof_long_long_int" >&6; }
20992 21812
20993 21813
20994 21814
@@ -21005,12 +21825,12 @@ fi
21005 21825
21006# compute LLONG_MIN and LLONG_MAX if we don't know them. 21826# compute LLONG_MIN and LLONG_MAX if we don't know them.
21007if test -z "$have_llong_max"; then 21827if test -z "$have_llong_max"; then
21008 { echo "$as_me:$LINENO: checking for max value of long long" >&5 21828 { $as_echo "$as_me:$LINENO: checking for max value of long long" >&5
21009echo $ECHO_N "checking for max value of long long... $ECHO_C" >&6; } 21829$as_echo_n "checking for max value of long long... " >&6; }
21010 if test "$cross_compiling" = yes; then 21830 if test "$cross_compiling" = yes; then
21011 21831
21012 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5 21832 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking" >&5
21013echo "$as_me: WARNING: cross compiling: not checking" >&2;} 21833$as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
21014 21834
21015 21835
21016else 21836else
@@ -21100,35 +21920,37 @@ case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;; 21921 *) ac_try_echo=$ac_try;;
21102esac 21922esac
21103eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21923eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21924$as_echo "$ac_try_echo") >&5
21104 (eval "$ac_link") 2>&5 21925 (eval "$ac_link") 2>&5
21105 ac_status=$? 21926 ac_status=$?
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 21928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21108 { (case "(($ac_try" in 21929 { (case "(($ac_try" in
21109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21110 *) ac_try_echo=$ac_try;; 21931 *) ac_try_echo=$ac_try;;
21111esac 21932esac
21112eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 21933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21934$as_echo "$ac_try_echo") >&5
21113 (eval "$ac_try") 2>&5 21935 (eval "$ac_try") 2>&5
21114 ac_status=$? 21936 ac_status=$?
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 21937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; }; then 21938 (exit $ac_status); }; }; then
21117 21939
21118 llong_min=`$AWK '{print $1}' conftest.llminmax` 21940 llong_min=`$AWK '{print $1}' conftest.llminmax`
21119 llong_max=`$AWK '{print $2}' conftest.llminmax` 21941 llong_max=`$AWK '{print $2}' conftest.llminmax`
21120 21942
21121 { echo "$as_me:$LINENO: result: $llong_max" >&5 21943 { $as_echo "$as_me:$LINENO: result: $llong_max" >&5
21122echo "${ECHO_T}$llong_max" >&6; } 21944$as_echo "$llong_max" >&6; }
21123 21945
21124cat >>confdefs.h <<_ACEOF 21946cat >>confdefs.h <<_ACEOF
21125#define LLONG_MAX ${llong_max}LL 21947#define LLONG_MAX ${llong_max}LL
21126_ACEOF 21948_ACEOF
21127 21949
21128 { echo "$as_me:$LINENO: checking for min value of long long" >&5 21950 { $as_echo "$as_me:$LINENO: checking for min value of long long" >&5
21129echo $ECHO_N "checking for min value of long long... $ECHO_C" >&6; } 21951$as_echo_n "checking for min value of long long... " >&6; }
21130 { echo "$as_me:$LINENO: result: $llong_min" >&5 21952 { $as_echo "$as_me:$LINENO: result: $llong_min" >&5
21131echo "${ECHO_T}$llong_min" >&6; } 21953$as_echo "$llong_min" >&6; }
21132 21954
21133cat >>confdefs.h <<_ACEOF 21955cat >>confdefs.h <<_ACEOF
21134#define LLONG_MIN ${llong_min}LL 21956#define LLONG_MIN ${llong_min}LL
@@ -21136,16 +21958,17 @@ _ACEOF
21136 21958
21137 21959
21138else 21960else
21139 echo "$as_me: program exited with status $ac_status" >&5 21961 $as_echo "$as_me: program exited with status $ac_status" >&5
21140echo "$as_me: failed program was:" >&5 21962$as_echo "$as_me: failed program was:" >&5
21141sed 's/^/| /' conftest.$ac_ext >&5 21963sed 's/^/| /' conftest.$ac_ext >&5
21142 21964
21143( exit $ac_status ) 21965( exit $ac_status )
21144 21966
21145 { echo "$as_me:$LINENO: result: not found" >&5 21967 { $as_echo "$as_me:$LINENO: result: not found" >&5
21146echo "${ECHO_T}not found" >&6; } 21968$as_echo "not found" >&6; }
21147 21969
21148fi 21970fi
21971rm -rf conftest.dSYM
21149rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 21972rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21150fi 21973fi
21151 21974
@@ -21154,10 +21977,10 @@ fi
21154 21977
21155 21978
21156# More checks for data types 21979# More checks for data types
21157{ echo "$as_me:$LINENO: checking for u_int type" >&5 21980{ $as_echo "$as_me:$LINENO: checking for u_int type" >&5
21158echo $ECHO_N "checking for u_int type... $ECHO_C" >&6; } 21981$as_echo_n "checking for u_int type... " >&6; }
21159if test "${ac_cv_have_u_int+set}" = set; then 21982if test "${ac_cv_have_u_int+set}" = set; then
21160 echo $ECHO_N "(cached) $ECHO_C" >&6 21983 $as_echo_n "(cached) " >&6
21161else 21984else
21162 21985
21163 cat >conftest.$ac_ext <<_ACEOF 21986 cat >conftest.$ac_ext <<_ACEOF
@@ -21181,20 +22004,21 @@ case "(($ac_try" in
21181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21182 *) ac_try_echo=$ac_try;; 22005 *) ac_try_echo=$ac_try;;
21183esac 22006esac
21184eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22007eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22008$as_echo "$ac_try_echo") >&5
21185 (eval "$ac_compile") 2>conftest.er1 22009 (eval "$ac_compile") 2>conftest.er1
21186 ac_status=$? 22010 ac_status=$?
21187 grep -v '^ *+' conftest.er1 >conftest.err 22011 grep -v '^ *+' conftest.er1 >conftest.err
21188 rm -f conftest.er1 22012 rm -f conftest.er1
21189 cat conftest.err >&5 22013 cat conftest.err >&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); } && { 22015 (exit $ac_status); } && {
21192 test -z "$ac_c_werror_flag" || 22016 test -z "$ac_c_werror_flag" ||
21193 test ! -s conftest.err 22017 test ! -s conftest.err
21194 } && test -s conftest.$ac_objext; then 22018 } && test -s conftest.$ac_objext; then
21195 ac_cv_have_u_int="yes" 22019 ac_cv_have_u_int="yes"
21196else 22020else
21197 echo "$as_me: failed program was:" >&5 22021 $as_echo "$as_me: failed program was:" >&5
21198sed 's/^/| /' conftest.$ac_ext >&5 22022sed 's/^/| /' conftest.$ac_ext >&5
21199 22023
21200 ac_cv_have_u_int="no" 22024 ac_cv_have_u_int="no"
@@ -21204,8 +22028,8 @@ fi
21204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22028rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 22029
21206fi 22030fi
21207{ echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5 22031{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
21208echo "${ECHO_T}$ac_cv_have_u_int" >&6; } 22032$as_echo "$ac_cv_have_u_int" >&6; }
21209if test "x$ac_cv_have_u_int" = "xyes" ; then 22033if test "x$ac_cv_have_u_int" = "xyes" ; then
21210 22034
21211cat >>confdefs.h <<\_ACEOF 22035cat >>confdefs.h <<\_ACEOF
@@ -21215,10 +22039,10 @@ _ACEOF
21215 have_u_int=1 22039 have_u_int=1
21216fi 22040fi
21217 22041
21218{ echo "$as_me:$LINENO: checking for intXX_t types" >&5 22042{ $as_echo "$as_me:$LINENO: checking for intXX_t types" >&5
21219echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6; } 22043$as_echo_n "checking for intXX_t types... " >&6; }
21220if test "${ac_cv_have_intxx_t+set}" = set; then 22044if test "${ac_cv_have_intxx_t+set}" = set; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6 22045 $as_echo_n "(cached) " >&6
21222else 22046else
21223 22047
21224 cat >conftest.$ac_ext <<_ACEOF 22048 cat >conftest.$ac_ext <<_ACEOF
@@ -21242,20 +22066,21 @@ case "(($ac_try" in
21242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 *) ac_try_echo=$ac_try;; 22067 *) ac_try_echo=$ac_try;;
21244esac 22068esac
21245eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22069eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22070$as_echo "$ac_try_echo") >&5
21246 (eval "$ac_compile") 2>conftest.er1 22071 (eval "$ac_compile") 2>conftest.er1
21247 ac_status=$? 22072 ac_status=$?
21248 grep -v '^ *+' conftest.er1 >conftest.err 22073 grep -v '^ *+' conftest.er1 >conftest.err
21249 rm -f conftest.er1 22074 rm -f conftest.er1
21250 cat conftest.err >&5 22075 cat conftest.err >&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); } && { 22077 (exit $ac_status); } && {
21253 test -z "$ac_c_werror_flag" || 22078 test -z "$ac_c_werror_flag" ||
21254 test ! -s conftest.err 22079 test ! -s conftest.err
21255 } && test -s conftest.$ac_objext; then 22080 } && test -s conftest.$ac_objext; then
21256 ac_cv_have_intxx_t="yes" 22081 ac_cv_have_intxx_t="yes"
21257else 22082else
21258 echo "$as_me: failed program was:" >&5 22083 $as_echo "$as_me: failed program was:" >&5
21259sed 's/^/| /' conftest.$ac_ext >&5 22084sed 's/^/| /' conftest.$ac_ext >&5
21260 22085
21261 ac_cv_have_intxx_t="no" 22086 ac_cv_have_intxx_t="no"
@@ -21265,8 +22090,8 @@ fi
21265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22090rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 22091
21267fi 22092fi
21268{ echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5 22093{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
21269echo "${ECHO_T}$ac_cv_have_intxx_t" >&6; } 22094$as_echo "$ac_cv_have_intxx_t" >&6; }
21270if test "x$ac_cv_have_intxx_t" = "xyes" ; then 22095if test "x$ac_cv_have_intxx_t" = "xyes" ; then
21271 22096
21272cat >>confdefs.h <<\_ACEOF 22097cat >>confdefs.h <<\_ACEOF
@@ -21279,8 +22104,8 @@ fi
21279if (test -z "$have_intxx_t" && \ 22104if (test -z "$have_intxx_t" && \
21280 test "x$ac_cv_header_stdint_h" = "xyes") 22105 test "x$ac_cv_header_stdint_h" = "xyes")
21281then 22106then
21282 { echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5 22107 { $as_echo "$as_me:$LINENO: checking for intXX_t types in stdint.h" >&5
21283echo $ECHO_N "checking for intXX_t types in stdint.h... $ECHO_C" >&6; } 22108$as_echo_n "checking for intXX_t types in stdint.h... " >&6; }
21284 cat >conftest.$ac_ext <<_ACEOF 22109 cat >conftest.$ac_ext <<_ACEOF
21285/* confdefs.h. */ 22110/* confdefs.h. */
21286_ACEOF 22111_ACEOF
@@ -21302,13 +22127,14 @@ case "(($ac_try" in
21302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21303 *) ac_try_echo=$ac_try;; 22128 *) ac_try_echo=$ac_try;;
21304esac 22129esac
21305eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22130eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22131$as_echo "$ac_try_echo") >&5
21306 (eval "$ac_compile") 2>conftest.er1 22132 (eval "$ac_compile") 2>conftest.er1
21307 ac_status=$? 22133 ac_status=$?
21308 grep -v '^ *+' conftest.er1 >conftest.err 22134 grep -v '^ *+' conftest.er1 >conftest.err
21309 rm -f conftest.er1 22135 rm -f conftest.er1
21310 cat conftest.err >&5 22136 cat conftest.err >&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22137 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); } && { 22138 (exit $ac_status); } && {
21313 test -z "$ac_c_werror_flag" || 22139 test -z "$ac_c_werror_flag" ||
21314 test ! -s conftest.err 22140 test ! -s conftest.err
@@ -21318,25 +22144,25 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21318#define HAVE_INTXX_T 1 22144#define HAVE_INTXX_T 1
21319_ACEOF 22145_ACEOF
21320 22146
21321 { echo "$as_me:$LINENO: result: yes" >&5 22147 { $as_echo "$as_me:$LINENO: result: yes" >&5
21322echo "${ECHO_T}yes" >&6; } 22148$as_echo "yes" >&6; }
21323 22149
21324else 22150else
21325 echo "$as_me: failed program was:" >&5 22151 $as_echo "$as_me: failed program was:" >&5
21326sed 's/^/| /' conftest.$ac_ext >&5 22152sed 's/^/| /' conftest.$ac_ext >&5
21327 22153
21328 { echo "$as_me:$LINENO: result: no" >&5 22154 { $as_echo "$as_me:$LINENO: result: no" >&5
21329echo "${ECHO_T}no" >&6; } 22155$as_echo "no" >&6; }
21330 22156
21331fi 22157fi
21332 22158
21333rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334fi 22160fi
21335 22161
21336{ echo "$as_me:$LINENO: checking for int64_t type" >&5 22162{ $as_echo "$as_me:$LINENO: checking for int64_t type" >&5
21337echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6; } 22163$as_echo_n "checking for int64_t type... " >&6; }
21338if test "${ac_cv_have_int64_t+set}" = set; then 22164if test "${ac_cv_have_int64_t+set}" = set; then
21339 echo $ECHO_N "(cached) $ECHO_C" >&6 22165 $as_echo_n "(cached) " >&6
21340else 22166else
21341 22167
21342 cat >conftest.$ac_ext <<_ACEOF 22168 cat >conftest.$ac_ext <<_ACEOF
@@ -21369,20 +22195,21 @@ case "(($ac_try" in
21369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21370 *) ac_try_echo=$ac_try;; 22196 *) ac_try_echo=$ac_try;;
21371esac 22197esac
21372eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22198eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22199$as_echo "$ac_try_echo") >&5
21373 (eval "$ac_compile") 2>conftest.er1 22200 (eval "$ac_compile") 2>conftest.er1
21374 ac_status=$? 22201 ac_status=$?
21375 grep -v '^ *+' conftest.er1 >conftest.err 22202 grep -v '^ *+' conftest.er1 >conftest.err
21376 rm -f conftest.er1 22203 rm -f conftest.er1
21377 cat conftest.err >&5 22204 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } && { 22206 (exit $ac_status); } && {
21380 test -z "$ac_c_werror_flag" || 22207 test -z "$ac_c_werror_flag" ||
21381 test ! -s conftest.err 22208 test ! -s conftest.err
21382 } && test -s conftest.$ac_objext; then 22209 } && test -s conftest.$ac_objext; then
21383 ac_cv_have_int64_t="yes" 22210 ac_cv_have_int64_t="yes"
21384else 22211else
21385 echo "$as_me: failed program was:" >&5 22212 $as_echo "$as_me: failed program was:" >&5
21386sed 's/^/| /' conftest.$ac_ext >&5 22213sed 's/^/| /' conftest.$ac_ext >&5
21387 22214
21388 ac_cv_have_int64_t="no" 22215 ac_cv_have_int64_t="no"
@@ -21392,8 +22219,8 @@ fi
21392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22219rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21393 22220
21394fi 22221fi
21395{ echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5 22222{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
21396echo "${ECHO_T}$ac_cv_have_int64_t" >&6; } 22223$as_echo "$ac_cv_have_int64_t" >&6; }
21397if test "x$ac_cv_have_int64_t" = "xyes" ; then 22224if test "x$ac_cv_have_int64_t" = "xyes" ; then
21398 22225
21399cat >>confdefs.h <<\_ACEOF 22226cat >>confdefs.h <<\_ACEOF
@@ -21402,10 +22229,10 @@ _ACEOF
21402 22229
21403fi 22230fi
21404 22231
21405{ echo "$as_me:$LINENO: checking for u_intXX_t types" >&5 22232{ $as_echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
21406echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6; } 22233$as_echo_n "checking for u_intXX_t types... " >&6; }
21407if test "${ac_cv_have_u_intxx_t+set}" = set; then 22234if test "${ac_cv_have_u_intxx_t+set}" = set; then
21408 echo $ECHO_N "(cached) $ECHO_C" >&6 22235 $as_echo_n "(cached) " >&6
21409else 22236else
21410 22237
21411 cat >conftest.$ac_ext <<_ACEOF 22238 cat >conftest.$ac_ext <<_ACEOF
@@ -21429,20 +22256,21 @@ case "(($ac_try" in
21429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21430 *) ac_try_echo=$ac_try;; 22257 *) ac_try_echo=$ac_try;;
21431esac 22258esac
21432eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22259eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22260$as_echo "$ac_try_echo") >&5
21433 (eval "$ac_compile") 2>conftest.er1 22261 (eval "$ac_compile") 2>conftest.er1
21434 ac_status=$? 22262 ac_status=$?
21435 grep -v '^ *+' conftest.er1 >conftest.err 22263 grep -v '^ *+' conftest.er1 >conftest.err
21436 rm -f conftest.er1 22264 rm -f conftest.er1
21437 cat conftest.err >&5 22265 cat conftest.err >&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } && { 22267 (exit $ac_status); } && {
21440 test -z "$ac_c_werror_flag" || 22268 test -z "$ac_c_werror_flag" ||
21441 test ! -s conftest.err 22269 test ! -s conftest.err
21442 } && test -s conftest.$ac_objext; then 22270 } && test -s conftest.$ac_objext; then
21443 ac_cv_have_u_intxx_t="yes" 22271 ac_cv_have_u_intxx_t="yes"
21444else 22272else
21445 echo "$as_me: failed program was:" >&5 22273 $as_echo "$as_me: failed program was:" >&5
21446sed 's/^/| /' conftest.$ac_ext >&5 22274sed 's/^/| /' conftest.$ac_ext >&5
21447 22275
21448 ac_cv_have_u_intxx_t="no" 22276 ac_cv_have_u_intxx_t="no"
@@ -21452,8 +22280,8 @@ fi
21452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22280rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 22281
21454fi 22282fi
21455{ echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5 22283{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
21456echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6; } 22284$as_echo "$ac_cv_have_u_intxx_t" >&6; }
21457if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then 22285if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
21458 22286
21459cat >>confdefs.h <<\_ACEOF 22287cat >>confdefs.h <<\_ACEOF
@@ -21464,8 +22292,8 @@ _ACEOF
21464fi 22292fi
21465 22293
21466if test -z "$have_u_intxx_t" ; then 22294if test -z "$have_u_intxx_t" ; then
21467 { echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5 22295 { $as_echo "$as_me:$LINENO: checking for u_intXX_t types in sys/socket.h" >&5
21468echo $ECHO_N "checking for u_intXX_t types in sys/socket.h... $ECHO_C" >&6; } 22296$as_echo_n "checking for u_intXX_t types in sys/socket.h... " >&6; }
21469 cat >conftest.$ac_ext <<_ACEOF 22297 cat >conftest.$ac_ext <<_ACEOF
21470/* confdefs.h. */ 22298/* confdefs.h. */
21471_ACEOF 22299_ACEOF
@@ -21487,13 +22315,14 @@ case "(($ac_try" in
21487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21488 *) ac_try_echo=$ac_try;; 22316 *) ac_try_echo=$ac_try;;
21489esac 22317esac
21490eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22318eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22319$as_echo "$ac_try_echo") >&5
21491 (eval "$ac_compile") 2>conftest.er1 22320 (eval "$ac_compile") 2>conftest.er1
21492 ac_status=$? 22321 ac_status=$?
21493 grep -v '^ *+' conftest.er1 >conftest.err 22322 grep -v '^ *+' conftest.er1 >conftest.err
21494 rm -f conftest.er1 22323 rm -f conftest.er1
21495 cat conftest.err >&5 22324 cat conftest.err >&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22325 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } && { 22326 (exit $ac_status); } && {
21498 test -z "$ac_c_werror_flag" || 22327 test -z "$ac_c_werror_flag" ||
21499 test ! -s conftest.err 22328 test ! -s conftest.err
@@ -21503,25 +22332,25 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21503#define HAVE_U_INTXX_T 1 22332#define HAVE_U_INTXX_T 1
21504_ACEOF 22333_ACEOF
21505 22334
21506 { echo "$as_me:$LINENO: result: yes" >&5 22335 { $as_echo "$as_me:$LINENO: result: yes" >&5
21507echo "${ECHO_T}yes" >&6; } 22336$as_echo "yes" >&6; }
21508 22337
21509else 22338else
21510 echo "$as_me: failed program was:" >&5 22339 $as_echo "$as_me: failed program was:" >&5
21511sed 's/^/| /' conftest.$ac_ext >&5 22340sed 's/^/| /' conftest.$ac_ext >&5
21512 22341
21513 { echo "$as_me:$LINENO: result: no" >&5 22342 { $as_echo "$as_me:$LINENO: result: no" >&5
21514echo "${ECHO_T}no" >&6; } 22343$as_echo "no" >&6; }
21515 22344
21516fi 22345fi
21517 22346
21518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22347rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21519fi 22348fi
21520 22349
21521{ echo "$as_me:$LINENO: checking for u_int64_t types" >&5 22350{ $as_echo "$as_me:$LINENO: checking for u_int64_t types" >&5
21522echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6; } 22351$as_echo_n "checking for u_int64_t types... " >&6; }
21523if test "${ac_cv_have_u_int64_t+set}" = set; then 22352if test "${ac_cv_have_u_int64_t+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6 22353 $as_echo_n "(cached) " >&6
21525else 22354else
21526 22355
21527 cat >conftest.$ac_ext <<_ACEOF 22356 cat >conftest.$ac_ext <<_ACEOF
@@ -21545,20 +22374,21 @@ case "(($ac_try" in
21545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21546 *) ac_try_echo=$ac_try;; 22375 *) ac_try_echo=$ac_try;;
21547esac 22376esac
21548eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22377eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22378$as_echo "$ac_try_echo") >&5
21549 (eval "$ac_compile") 2>conftest.er1 22379 (eval "$ac_compile") 2>conftest.er1
21550 ac_status=$? 22380 ac_status=$?
21551 grep -v '^ *+' conftest.er1 >conftest.err 22381 grep -v '^ *+' conftest.er1 >conftest.err
21552 rm -f conftest.er1 22382 rm -f conftest.er1
21553 cat conftest.err >&5 22383 cat conftest.err >&5
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22384 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } && { 22385 (exit $ac_status); } && {
21556 test -z "$ac_c_werror_flag" || 22386 test -z "$ac_c_werror_flag" ||
21557 test ! -s conftest.err 22387 test ! -s conftest.err
21558 } && test -s conftest.$ac_objext; then 22388 } && test -s conftest.$ac_objext; then
21559 ac_cv_have_u_int64_t="yes" 22389 ac_cv_have_u_int64_t="yes"
21560else 22390else
21561 echo "$as_me: failed program was:" >&5 22391 $as_echo "$as_me: failed program was:" >&5
21562sed 's/^/| /' conftest.$ac_ext >&5 22392sed 's/^/| /' conftest.$ac_ext >&5
21563 22393
21564 ac_cv_have_u_int64_t="no" 22394 ac_cv_have_u_int64_t="no"
@@ -21568,8 +22398,8 @@ fi
21568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21569 22399
21570fi 22400fi
21571{ echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5 22401{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
21572echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6; } 22402$as_echo "$ac_cv_have_u_int64_t" >&6; }
21573if test "x$ac_cv_have_u_int64_t" = "xyes" ; then 22403if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
21574 22404
21575cat >>confdefs.h <<\_ACEOF 22405cat >>confdefs.h <<\_ACEOF
@@ -21580,8 +22410,8 @@ _ACEOF
21580fi 22410fi
21581 22411
21582if test -z "$have_u_int64_t" ; then 22412if test -z "$have_u_int64_t" ; then
21583 { echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5 22413 { $as_echo "$as_me:$LINENO: checking for u_int64_t type in sys/bitypes.h" >&5
21584echo $ECHO_N "checking for u_int64_t type in sys/bitypes.h... $ECHO_C" >&6; } 22414$as_echo_n "checking for u_int64_t type in sys/bitypes.h... " >&6; }
21585 cat >conftest.$ac_ext <<_ACEOF 22415 cat >conftest.$ac_ext <<_ACEOF
21586/* confdefs.h. */ 22416/* confdefs.h. */
21587_ACEOF 22417_ACEOF
@@ -21603,13 +22433,14 @@ case "(($ac_try" in
21603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21604 *) ac_try_echo=$ac_try;; 22434 *) ac_try_echo=$ac_try;;
21605esac 22435esac
21606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22436eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22437$as_echo "$ac_try_echo") >&5
21607 (eval "$ac_compile") 2>conftest.er1 22438 (eval "$ac_compile") 2>conftest.er1
21608 ac_status=$? 22439 ac_status=$?
21609 grep -v '^ *+' conftest.er1 >conftest.err 22440 grep -v '^ *+' conftest.er1 >conftest.err
21610 rm -f conftest.er1 22441 rm -f conftest.er1
21611 cat conftest.err >&5 22442 cat conftest.err >&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22443 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && { 22444 (exit $ac_status); } && {
21614 test -z "$ac_c_werror_flag" || 22445 test -z "$ac_c_werror_flag" ||
21615 test ! -s conftest.err 22446 test ! -s conftest.err
@@ -21619,15 +22450,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21619#define HAVE_U_INT64_T 1 22450#define HAVE_U_INT64_T 1
21620_ACEOF 22451_ACEOF
21621 22452
21622 { echo "$as_me:$LINENO: result: yes" >&5 22453 { $as_echo "$as_me:$LINENO: result: yes" >&5
21623echo "${ECHO_T}yes" >&6; } 22454$as_echo "yes" >&6; }
21624 22455
21625else 22456else
21626 echo "$as_me: failed program was:" >&5 22457 $as_echo "$as_me: failed program was:" >&5
21627sed 's/^/| /' conftest.$ac_ext >&5 22458sed 's/^/| /' conftest.$ac_ext >&5
21628 22459
21629 { echo "$as_me:$LINENO: result: no" >&5 22460 { $as_echo "$as_me:$LINENO: result: no" >&5
21630echo "${ECHO_T}no" >&6; } 22461$as_echo "no" >&6; }
21631 22462
21632fi 22463fi
21633 22464
@@ -21635,10 +22466,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635fi 22466fi
21636 22467
21637if test -z "$have_u_intxx_t" ; then 22468if test -z "$have_u_intxx_t" ; then
21638 { echo "$as_me:$LINENO: checking for uintXX_t types" >&5 22469 { $as_echo "$as_me:$LINENO: checking for uintXX_t types" >&5
21639echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6; } 22470$as_echo_n "checking for uintXX_t types... " >&6; }
21640if test "${ac_cv_have_uintxx_t+set}" = set; then 22471if test "${ac_cv_have_uintxx_t+set}" = set; then
21641 echo $ECHO_N "(cached) $ECHO_C" >&6 22472 $as_echo_n "(cached) " >&6
21642else 22473else
21643 22474
21644 cat >conftest.$ac_ext <<_ACEOF 22475 cat >conftest.$ac_ext <<_ACEOF
@@ -21664,20 +22495,21 @@ case "(($ac_try" in
21664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21665 *) ac_try_echo=$ac_try;; 22496 *) ac_try_echo=$ac_try;;
21666esac 22497esac
21667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22498eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22499$as_echo "$ac_try_echo") >&5
21668 (eval "$ac_compile") 2>conftest.er1 22500 (eval "$ac_compile") 2>conftest.er1
21669 ac_status=$? 22501 ac_status=$?
21670 grep -v '^ *+' conftest.er1 >conftest.err 22502 grep -v '^ *+' conftest.er1 >conftest.err
21671 rm -f conftest.er1 22503 rm -f conftest.er1
21672 cat conftest.err >&5 22504 cat conftest.err >&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); } && { 22506 (exit $ac_status); } && {
21675 test -z "$ac_c_werror_flag" || 22507 test -z "$ac_c_werror_flag" ||
21676 test ! -s conftest.err 22508 test ! -s conftest.err
21677 } && test -s conftest.$ac_objext; then 22509 } && test -s conftest.$ac_objext; then
21678 ac_cv_have_uintxx_t="yes" 22510 ac_cv_have_uintxx_t="yes"
21679else 22511else
21680 echo "$as_me: failed program was:" >&5 22512 $as_echo "$as_me: failed program was:" >&5
21681sed 's/^/| /' conftest.$ac_ext >&5 22513sed 's/^/| /' conftest.$ac_ext >&5
21682 22514
21683 ac_cv_have_uintxx_t="no" 22515 ac_cv_have_uintxx_t="no"
@@ -21687,8 +22519,8 @@ fi
21687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688 22520
21689fi 22521fi
21690{ echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5 22522{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
21691echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6; } 22523$as_echo "$ac_cv_have_uintxx_t" >&6; }
21692 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then 22524 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
21693 22525
21694cat >>confdefs.h <<\_ACEOF 22526cat >>confdefs.h <<\_ACEOF
@@ -21699,8 +22531,8 @@ _ACEOF
21699fi 22531fi
21700 22532
21701if test -z "$have_uintxx_t" ; then 22533if test -z "$have_uintxx_t" ; then
21702 { echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5 22534 { $as_echo "$as_me:$LINENO: checking for uintXX_t types in stdint.h" >&5
21703echo $ECHO_N "checking for uintXX_t types in stdint.h... $ECHO_C" >&6; } 22535$as_echo_n "checking for uintXX_t types in stdint.h... " >&6; }
21704 cat >conftest.$ac_ext <<_ACEOF 22536 cat >conftest.$ac_ext <<_ACEOF
21705/* confdefs.h. */ 22537/* confdefs.h. */
21706_ACEOF 22538_ACEOF
@@ -21722,13 +22554,14 @@ case "(($ac_try" in
21722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21723 *) ac_try_echo=$ac_try;; 22555 *) ac_try_echo=$ac_try;;
21724esac 22556esac
21725eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22557eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22558$as_echo "$ac_try_echo") >&5
21726 (eval "$ac_compile") 2>conftest.er1 22559 (eval "$ac_compile") 2>conftest.er1
21727 ac_status=$? 22560 ac_status=$?
21728 grep -v '^ *+' conftest.er1 >conftest.err 22561 grep -v '^ *+' conftest.er1 >conftest.err
21729 rm -f conftest.er1 22562 rm -f conftest.er1
21730 cat conftest.err >&5 22563 cat conftest.err >&5
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); } && { 22565 (exit $ac_status); } && {
21733 test -z "$ac_c_werror_flag" || 22566 test -z "$ac_c_werror_flag" ||
21734 test ! -s conftest.err 22567 test ! -s conftest.err
@@ -21738,15 +22571,15 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21738#define HAVE_UINTXX_T 1 22571#define HAVE_UINTXX_T 1
21739_ACEOF 22572_ACEOF
21740 22573
21741 { echo "$as_me:$LINENO: result: yes" >&5 22574 { $as_echo "$as_me:$LINENO: result: yes" >&5
21742echo "${ECHO_T}yes" >&6; } 22575$as_echo "yes" >&6; }
21743 22576
21744else 22577else
21745 echo "$as_me: failed program was:" >&5 22578 $as_echo "$as_me: failed program was:" >&5
21746sed 's/^/| /' conftest.$ac_ext >&5 22579sed 's/^/| /' conftest.$ac_ext >&5
21747 22580
21748 { echo "$as_me:$LINENO: result: no" >&5 22581 { $as_echo "$as_me:$LINENO: result: no" >&5
21749echo "${ECHO_T}no" >&6; } 22582$as_echo "no" >&6; }
21750 22583
21751fi 22584fi
21752 22585
@@ -21756,8 +22589,8 @@ fi
21756if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \ 22589if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
21757 test "x$ac_cv_header_sys_bitypes_h" = "xyes") 22590 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
21758then 22591then
21759 { echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5 22592 { $as_echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
21760echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6; } 22593$as_echo_n "checking for intXX_t and u_intXX_t types in sys/bitypes.h... " >&6; }
21761 cat >conftest.$ac_ext <<_ACEOF 22594 cat >conftest.$ac_ext <<_ACEOF
21762/* confdefs.h. */ 22595/* confdefs.h. */
21763_ACEOF 22596_ACEOF
@@ -21785,13 +22618,14 @@ case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;; 22619 *) ac_try_echo=$ac_try;;
21787esac 22620esac
21788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22621eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22622$as_echo "$ac_try_echo") >&5
21789 (eval "$ac_compile") 2>conftest.er1 22623 (eval "$ac_compile") 2>conftest.er1
21790 ac_status=$? 22624 ac_status=$?
21791 grep -v '^ *+' conftest.er1 >conftest.err 22625 grep -v '^ *+' conftest.er1 >conftest.err
21792 rm -f conftest.er1 22626 rm -f conftest.er1
21793 cat conftest.err >&5 22627 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && { 22629 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" || 22630 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err 22631 test ! -s conftest.err
@@ -21805,15 +22639,15 @@ _ACEOF
21805#define HAVE_INTXX_T 1 22639#define HAVE_INTXX_T 1
21806_ACEOF 22640_ACEOF
21807 22641
21808 { echo "$as_me:$LINENO: result: yes" >&5 22642 { $as_echo "$as_me:$LINENO: result: yes" >&5
21809echo "${ECHO_T}yes" >&6; } 22643$as_echo "yes" >&6; }
21810 22644
21811else 22645else
21812 echo "$as_me: failed program was:" >&5 22646 $as_echo "$as_me: failed program was:" >&5
21813sed 's/^/| /' conftest.$ac_ext >&5 22647sed 's/^/| /' conftest.$ac_ext >&5
21814 22648
21815 { echo "$as_me:$LINENO: result: no" >&5 22649 { $as_echo "$as_me:$LINENO: result: no" >&5
21816echo "${ECHO_T}no" >&6; } 22650$as_echo "no" >&6; }
21817 22651
21818fi 22652fi
21819 22653
@@ -21821,10 +22655,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21821fi 22655fi
21822 22656
21823 22657
21824{ echo "$as_me:$LINENO: checking for u_char" >&5 22658{ $as_echo "$as_me:$LINENO: checking for u_char" >&5
21825echo $ECHO_N "checking for u_char... $ECHO_C" >&6; } 22659$as_echo_n "checking for u_char... " >&6; }
21826if test "${ac_cv_have_u_char+set}" = set; then 22660if test "${ac_cv_have_u_char+set}" = set; then
21827 echo $ECHO_N "(cached) $ECHO_C" >&6 22661 $as_echo_n "(cached) " >&6
21828else 22662else
21829 22663
21830 cat >conftest.$ac_ext <<_ACEOF 22664 cat >conftest.$ac_ext <<_ACEOF
@@ -21850,20 +22684,21 @@ case "(($ac_try" in
21850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21851 *) ac_try_echo=$ac_try;; 22685 *) ac_try_echo=$ac_try;;
21852esac 22686esac
21853eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22687eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22688$as_echo "$ac_try_echo") >&5
21854 (eval "$ac_compile") 2>conftest.er1 22689 (eval "$ac_compile") 2>conftest.er1
21855 ac_status=$? 22690 ac_status=$?
21856 grep -v '^ *+' conftest.er1 >conftest.err 22691 grep -v '^ *+' conftest.er1 >conftest.err
21857 rm -f conftest.er1 22692 rm -f conftest.er1
21858 cat conftest.err >&5 22693 cat conftest.err >&5
21859 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21860 (exit $ac_status); } && { 22695 (exit $ac_status); } && {
21861 test -z "$ac_c_werror_flag" || 22696 test -z "$ac_c_werror_flag" ||
21862 test ! -s conftest.err 22697 test ! -s conftest.err
21863 } && test -s conftest.$ac_objext; then 22698 } && test -s conftest.$ac_objext; then
21864 ac_cv_have_u_char="yes" 22699 ac_cv_have_u_char="yes"
21865else 22700else
21866 echo "$as_me: failed program was:" >&5 22701 $as_echo "$as_me: failed program was:" >&5
21867sed 's/^/| /' conftest.$ac_ext >&5 22702sed 's/^/| /' conftest.$ac_ext >&5
21868 22703
21869 ac_cv_have_u_char="no" 22704 ac_cv_have_u_char="no"
@@ -21873,8 +22708,8 @@ fi
21873rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 22709
21875fi 22710fi
21876{ echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5 22711{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_u_char" >&5
21877echo "${ECHO_T}$ac_cv_have_u_char" >&6; } 22712$as_echo "$ac_cv_have_u_char" >&6; }
21878if test "x$ac_cv_have_u_char" = "xyes" ; then 22713if test "x$ac_cv_have_u_char" = "xyes" ; then
21879 22714
21880cat >>confdefs.h <<\_ACEOF 22715cat >>confdefs.h <<\_ACEOF
@@ -21884,12 +22719,13 @@ _ACEOF
21884fi 22719fi
21885 22720
21886 22721
21887 { echo "$as_me:$LINENO: checking for socklen_t" >&5 22722 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
21888echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; } 22723$as_echo_n "checking for socklen_t... " >&6; }
21889if test "${ac_cv_type_socklen_t+set}" = set; then 22724if test "${ac_cv_type_socklen_t+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6 22725 $as_echo_n "(cached) " >&6
21891else 22726else
21892 cat >conftest.$ac_ext <<_ACEOF 22727 ac_cv_type_socklen_t=no
22728cat >conftest.$ac_ext <<_ACEOF
21893/* confdefs.h. */ 22729/* confdefs.h. */
21894_ACEOF 22730_ACEOF
21895cat confdefs.h >>conftest.$ac_ext 22731cat confdefs.h >>conftest.$ac_ext
@@ -21898,14 +22734,47 @@ cat >>conftest.$ac_ext <<_ACEOF
21898#include <sys/types.h> 22734#include <sys/types.h>
21899#include <sys/socket.h> 22735#include <sys/socket.h>
21900 22736
21901typedef socklen_t ac__type_new_;
21902int 22737int
21903main () 22738main ()
21904{ 22739{
21905if ((ac__type_new_ *) 0) 22740if (sizeof (socklen_t))
21906 return 0; 22741 return 0;
21907if (sizeof (ac__type_new_)) 22742 ;
21908 return 0; 22743 return 0;
22744}
22745_ACEOF
22746rm -f conftest.$ac_objext
22747if { (ac_try="$ac_compile"
22748case "(($ac_try" in
22749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22750 *) ac_try_echo=$ac_try;;
22751esac
22752eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22753$as_echo "$ac_try_echo") >&5
22754 (eval "$ac_compile") 2>conftest.er1
22755 ac_status=$?
22756 grep -v '^ *+' conftest.er1 >conftest.err
22757 rm -f conftest.er1
22758 cat conftest.err >&5
22759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } && {
22761 test -z "$ac_c_werror_flag" ||
22762 test ! -s conftest.err
22763 } && test -s conftest.$ac_objext; then
22764 cat >conftest.$ac_ext <<_ACEOF
22765/* confdefs.h. */
22766_ACEOF
22767cat confdefs.h >>conftest.$ac_ext
22768cat >>conftest.$ac_ext <<_ACEOF
22769/* end confdefs.h. */
22770#include <sys/types.h>
22771#include <sys/socket.h>
22772
22773int
22774main ()
22775{
22776if (sizeof ((socklen_t)))
22777 return 0;
21909 ; 22778 ;
21910 return 0; 22779 return 0;
21911} 22780}
@@ -21916,37 +22785,46 @@ case "(($ac_try" in
21916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21917 *) ac_try_echo=$ac_try;; 22786 *) ac_try_echo=$ac_try;;
21918esac 22787esac
21919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22789$as_echo "$ac_try_echo") >&5
21920 (eval "$ac_compile") 2>conftest.er1 22790 (eval "$ac_compile") 2>conftest.er1
21921 ac_status=$? 22791 ac_status=$?
21922 grep -v '^ *+' conftest.er1 >conftest.err 22792 grep -v '^ *+' conftest.er1 >conftest.err
21923 rm -f conftest.er1 22793 rm -f conftest.er1
21924 cat conftest.err >&5 22794 cat conftest.err >&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } && { 22796 (exit $ac_status); } && {
21927 test -z "$ac_c_werror_flag" || 22797 test -z "$ac_c_werror_flag" ||
21928 test ! -s conftest.err 22798 test ! -s conftest.err
21929 } && test -s conftest.$ac_objext; then 22799 } && test -s conftest.$ac_objext; then
21930 ac_cv_type_socklen_t=yes 22800 :
21931else 22801else
21932 echo "$as_me: failed program was:" >&5 22802 $as_echo "$as_me: failed program was:" >&5
21933sed 's/^/| /' conftest.$ac_ext >&5 22803sed 's/^/| /' conftest.$ac_ext >&5
21934 22804
21935 ac_cv_type_socklen_t=no 22805 ac_cv_type_socklen_t=yes
22806fi
22807
22808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22809else
22810 $as_echo "$as_me: failed program was:" >&5
22811sed 's/^/| /' conftest.$ac_ext >&5
22812
22813
21936fi 22814fi
21937 22815
21938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21939fi 22817fi
21940{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 22818{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
21941echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; } 22819$as_echo "$ac_cv_type_socklen_t" >&6; }
21942if test $ac_cv_type_socklen_t = yes; then 22820if test $ac_cv_type_socklen_t = yes; then
21943 : 22821 :
21944else 22822else
21945 22823
21946 { echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5 22824 { $as_echo "$as_me:$LINENO: checking for socklen_t equivalent" >&5
21947echo $ECHO_N "checking for socklen_t equivalent... $ECHO_C" >&6; } 22825$as_echo_n "checking for socklen_t equivalent... " >&6; }
21948 if test "${curl_cv_socklen_t_equiv+set}" = set; then 22826 if test "${curl_cv_socklen_t_equiv+set}" = set; then
21949 echo $ECHO_N "(cached) $ECHO_C" >&6 22827 $as_echo_n "(cached) " >&6
21950else 22828else
21951 22829
21952 # Systems have either "struct sockaddr *" or 22830 # Systems have either "struct sockaddr *" or
@@ -21983,13 +22861,14 @@ case "(($ac_try" in
21983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21984 *) ac_try_echo=$ac_try;; 22862 *) ac_try_echo=$ac_try;;
21985esac 22863esac
21986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22864eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22865$as_echo "$ac_try_echo") >&5
21987 (eval "$ac_compile") 2>conftest.er1 22866 (eval "$ac_compile") 2>conftest.er1
21988 ac_status=$? 22867 ac_status=$?
21989 grep -v '^ *+' conftest.er1 >conftest.err 22868 grep -v '^ *+' conftest.er1 >conftest.err
21990 rm -f conftest.er1 22869 rm -f conftest.er1
21991 cat conftest.err >&5 22870 cat conftest.err >&5
21992 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21993 (exit $ac_status); } && { 22872 (exit $ac_status); } && {
21994 test -z "$ac_c_werror_flag" || 22873 test -z "$ac_c_werror_flag" ||
21995 test ! -s conftest.err 22874 test ! -s conftest.err
@@ -21999,7 +22878,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21999 break 22878 break
22000 22879
22001else 22880else
22002 echo "$as_me: failed program was:" >&5 22881 $as_echo "$as_me: failed program was:" >&5
22003sed 's/^/| /' conftest.$ac_ext >&5 22882sed 's/^/| /' conftest.$ac_ext >&5
22004 22883
22005 22884
@@ -22010,15 +22889,15 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 done 22889 done
22011 22890
22012 if test "x$curl_cv_socklen_t_equiv" = x; then 22891 if test "x$curl_cv_socklen_t_equiv" = x; then
22013 { { echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5 22892 { { $as_echo "$as_me:$LINENO: error: Cannot find a type to use in place of socklen_t" >&5
22014echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;} 22893$as_echo "$as_me: error: Cannot find a type to use in place of socklen_t" >&2;}
22015 { (exit 1); exit 1; }; } 22894 { (exit 1); exit 1; }; }
22016 fi 22895 fi
22017 22896
22018fi 22897fi
22019 22898
22020 { echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5 22899 { $as_echo "$as_me:$LINENO: result: $curl_cv_socklen_t_equiv" >&5
22021echo "${ECHO_T}$curl_cv_socklen_t_equiv" >&6; } 22900$as_echo "$curl_cv_socklen_t_equiv" >&6; }
22022 22901
22023cat >>confdefs.h <<_ACEOF 22902cat >>confdefs.h <<_ACEOF
22024#define socklen_t $curl_cv_socklen_t_equiv 22903#define socklen_t $curl_cv_socklen_t_equiv
@@ -22028,12 +22907,13 @@ fi
22028 22907
22029 22908
22030 22909
22031{ echo "$as_me:$LINENO: checking for sig_atomic_t" >&5 22910{ $as_echo "$as_me:$LINENO: checking for sig_atomic_t" >&5
22032echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6; } 22911$as_echo_n "checking for sig_atomic_t... " >&6; }
22033if test "${ac_cv_type_sig_atomic_t+set}" = set; then 22912if test "${ac_cv_type_sig_atomic_t+set}" = set; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6 22913 $as_echo_n "(cached) " >&6
22035else 22914else
22036 cat >conftest.$ac_ext <<_ACEOF 22915 ac_cv_type_sig_atomic_t=no
22916cat >conftest.$ac_ext <<_ACEOF
22037/* confdefs.h. */ 22917/* confdefs.h. */
22038_ACEOF 22918_ACEOF
22039cat confdefs.h >>conftest.$ac_ext 22919cat confdefs.h >>conftest.$ac_ext
@@ -22041,14 +22921,46 @@ cat >>conftest.$ac_ext <<_ACEOF
22041/* end confdefs.h. */ 22921/* end confdefs.h. */
22042#include <signal.h> 22922#include <signal.h>
22043 22923
22044typedef sig_atomic_t ac__type_new_;
22045int 22924int
22046main () 22925main ()
22047{ 22926{
22048if ((ac__type_new_ *) 0) 22927if (sizeof (sig_atomic_t))
22049 return 0; 22928 return 0;
22050if (sizeof (ac__type_new_)) 22929 ;
22051 return 0; 22930 return 0;
22931}
22932_ACEOF
22933rm -f conftest.$ac_objext
22934if { (ac_try="$ac_compile"
22935case "(($ac_try" in
22936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22938esac
22939eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22940$as_echo "$ac_try_echo") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22942 ac_status=$?
22943 grep -v '^ *+' conftest.er1 >conftest.err
22944 rm -f conftest.er1
22945 cat conftest.err >&5
22946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22951 cat >conftest.$ac_ext <<_ACEOF
22952/* confdefs.h. */
22953_ACEOF
22954cat confdefs.h >>conftest.$ac_ext
22955cat >>conftest.$ac_ext <<_ACEOF
22956/* end confdefs.h. */
22957#include <signal.h>
22958
22959int
22960main ()
22961{
22962if (sizeof ((sig_atomic_t)))
22963 return 0;
22052 ; 22964 ;
22053 return 0; 22965 return 0;
22054} 22966}
@@ -22059,29 +22971,38 @@ case "(($ac_try" in
22059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 22971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22060 *) ac_try_echo=$ac_try;; 22972 *) ac_try_echo=$ac_try;;
22061esac 22973esac
22062eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 22974eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22975$as_echo "$ac_try_echo") >&5
22063 (eval "$ac_compile") 2>conftest.er1 22976 (eval "$ac_compile") 2>conftest.er1
22064 ac_status=$? 22977 ac_status=$?
22065 grep -v '^ *+' conftest.er1 >conftest.err 22978 grep -v '^ *+' conftest.er1 >conftest.err
22066 rm -f conftest.er1 22979 rm -f conftest.er1
22067 cat conftest.err >&5 22980 cat conftest.err >&5
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 22981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); } && { 22982 (exit $ac_status); } && {
22070 test -z "$ac_c_werror_flag" || 22983 test -z "$ac_c_werror_flag" ||
22071 test ! -s conftest.err 22984 test ! -s conftest.err
22072 } && test -s conftest.$ac_objext; then 22985 } && test -s conftest.$ac_objext; then
22073 ac_cv_type_sig_atomic_t=yes 22986 :
22074else 22987else
22075 echo "$as_me: failed program was:" >&5 22988 $as_echo "$as_me: failed program was:" >&5
22076sed 's/^/| /' conftest.$ac_ext >&5 22989sed 's/^/| /' conftest.$ac_ext >&5
22077 22990
22078 ac_cv_type_sig_atomic_t=no 22991 ac_cv_type_sig_atomic_t=yes
22079fi 22992fi
22080 22993
22081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 22994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22995else
22996 $as_echo "$as_me: failed program was:" >&5
22997sed 's/^/| /' conftest.$ac_ext >&5
22998
22999
22082fi 23000fi
22083{ echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5 23001
22084echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6; } 23002rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23003fi
23004{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_sig_atomic_t" >&5
23005$as_echo "$ac_cv_type_sig_atomic_t" >&6; }
22085if test $ac_cv_type_sig_atomic_t = yes; then 23006if test $ac_cv_type_sig_atomic_t = yes; then
22086 23007
22087cat >>confdefs.h <<_ACEOF 23008cat >>confdefs.h <<_ACEOF
@@ -22091,12 +23012,13 @@ _ACEOF
22091 23012
22092fi 23013fi
22093 23014
22094{ echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5 23015{ $as_echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
22095echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; } 23016$as_echo_n "checking for fsblkcnt_t... " >&6; }
22096if test "${ac_cv_type_fsblkcnt_t+set}" = set; then 23017if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6 23018 $as_echo_n "(cached) " >&6
22098else 23019else
22099 cat >conftest.$ac_ext <<_ACEOF 23020 ac_cv_type_fsblkcnt_t=no
23021cat >conftest.$ac_ext <<_ACEOF
22100/* confdefs.h. */ 23022/* confdefs.h. */
22101_ACEOF 23023_ACEOF
22102cat confdefs.h >>conftest.$ac_ext 23024cat confdefs.h >>conftest.$ac_ext
@@ -22115,14 +23037,57 @@ cat >>conftest.$ac_ext <<_ACEOF
22115#endif 23037#endif
22116 23038
22117 23039
22118typedef fsblkcnt_t ac__type_new_;
22119int 23040int
22120main () 23041main ()
22121{ 23042{
22122if ((ac__type_new_ *) 0) 23043if (sizeof (fsblkcnt_t))
22123 return 0; 23044 return 0;
22124if (sizeof (ac__type_new_)) 23045 ;
22125 return 0; 23046 return 0;
23047}
23048_ACEOF
23049rm -f conftest.$ac_objext
23050if { (ac_try="$ac_compile"
23051case "(($ac_try" in
23052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23053 *) ac_try_echo=$ac_try;;
23054esac
23055eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23056$as_echo "$ac_try_echo") >&5
23057 (eval "$ac_compile") 2>conftest.er1
23058 ac_status=$?
23059 grep -v '^ *+' conftest.er1 >conftest.err
23060 rm -f conftest.er1
23061 cat conftest.err >&5
23062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); } && {
23064 test -z "$ac_c_werror_flag" ||
23065 test ! -s conftest.err
23066 } && test -s conftest.$ac_objext; then
23067 cat >conftest.$ac_ext <<_ACEOF
23068/* confdefs.h. */
23069_ACEOF
23070cat confdefs.h >>conftest.$ac_ext
23071cat >>conftest.$ac_ext <<_ACEOF
23072/* end confdefs.h. */
23073
23074#include <sys/types.h>
23075#ifdef HAVE_SYS_BITYPES_H
23076#include <sys/bitypes.h>
23077#endif
23078#ifdef HAVE_SYS_STATFS_H
23079#include <sys/statfs.h>
23080#endif
23081#ifdef HAVE_SYS_STATVFS_H
23082#include <sys/statvfs.h>
23083#endif
23084
23085
23086int
23087main ()
23088{
23089if (sizeof ((fsblkcnt_t)))
23090 return 0;
22126 ; 23091 ;
22127 return 0; 23092 return 0;
22128} 23093}
@@ -22133,29 +23098,38 @@ case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;; 23099 *) ac_try_echo=$ac_try;;
22135esac 23100esac
22136eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23102$as_echo "$ac_try_echo") >&5
22137 (eval "$ac_compile") 2>conftest.er1 23103 (eval "$ac_compile") 2>conftest.er1
22138 ac_status=$? 23104 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err 23105 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1 23106 rm -f conftest.er1
22141 cat conftest.err >&5 23107 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23108 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } && { 23109 (exit $ac_status); } && {
22144 test -z "$ac_c_werror_flag" || 23110 test -z "$ac_c_werror_flag" ||
22145 test ! -s conftest.err 23111 test ! -s conftest.err
22146 } && test -s conftest.$ac_objext; then 23112 } && test -s conftest.$ac_objext; then
22147 ac_cv_type_fsblkcnt_t=yes 23113 :
22148else 23114else
22149 echo "$as_me: failed program was:" >&5 23115 $as_echo "$as_me: failed program was:" >&5
22150sed 's/^/| /' conftest.$ac_ext >&5 23116sed 's/^/| /' conftest.$ac_ext >&5
22151 23117
22152 ac_cv_type_fsblkcnt_t=no 23118 ac_cv_type_fsblkcnt_t=yes
23119fi
23120
23121rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23122else
23123 $as_echo "$as_me: failed program was:" >&5
23124sed 's/^/| /' conftest.$ac_ext >&5
23125
23126
22153fi 23127fi
22154 23128
22155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156fi 23130fi
22157{ echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5 23131{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
22158echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; } 23132$as_echo "$ac_cv_type_fsblkcnt_t" >&6; }
22159if test $ac_cv_type_fsblkcnt_t = yes; then 23133if test $ac_cv_type_fsblkcnt_t = yes; then
22160 23134
22161cat >>confdefs.h <<_ACEOF 23135cat >>confdefs.h <<_ACEOF
@@ -22164,12 +23138,13 @@ _ACEOF
22164 23138
22165 23139
22166fi 23140fi
22167{ echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5 23141{ $as_echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
22168echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; } 23142$as_echo_n "checking for fsfilcnt_t... " >&6; }
22169if test "${ac_cv_type_fsfilcnt_t+set}" = set; then 23143if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6 23144 $as_echo_n "(cached) " >&6
22171else 23145else
22172 cat >conftest.$ac_ext <<_ACEOF 23146 ac_cv_type_fsfilcnt_t=no
23147cat >conftest.$ac_ext <<_ACEOF
22173/* confdefs.h. */ 23148/* confdefs.h. */
22174_ACEOF 23149_ACEOF
22175cat confdefs.h >>conftest.$ac_ext 23150cat confdefs.h >>conftest.$ac_ext
@@ -22188,14 +23163,57 @@ cat >>conftest.$ac_ext <<_ACEOF
22188#endif 23163#endif
22189 23164
22190 23165
22191typedef fsfilcnt_t ac__type_new_;
22192int 23166int
22193main () 23167main ()
22194{ 23168{
22195if ((ac__type_new_ *) 0) 23169if (sizeof (fsfilcnt_t))
22196 return 0; 23170 return 0;
22197if (sizeof (ac__type_new_)) 23171 ;
22198 return 0; 23172 return 0;
23173}
23174_ACEOF
23175rm -f conftest.$ac_objext
23176if { (ac_try="$ac_compile"
23177case "(($ac_try" in
23178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23179 *) ac_try_echo=$ac_try;;
23180esac
23181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23182$as_echo "$ac_try_echo") >&5
23183 (eval "$ac_compile") 2>conftest.er1
23184 ac_status=$?
23185 grep -v '^ *+' conftest.er1 >conftest.err
23186 rm -f conftest.er1
23187 cat conftest.err >&5
23188 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); } && {
23190 test -z "$ac_c_werror_flag" ||
23191 test ! -s conftest.err
23192 } && test -s conftest.$ac_objext; then
23193 cat >conftest.$ac_ext <<_ACEOF
23194/* confdefs.h. */
23195_ACEOF
23196cat confdefs.h >>conftest.$ac_ext
23197cat >>conftest.$ac_ext <<_ACEOF
23198/* end confdefs.h. */
23199
23200#include <sys/types.h>
23201#ifdef HAVE_SYS_BITYPES_H
23202#include <sys/bitypes.h>
23203#endif
23204#ifdef HAVE_SYS_STATFS_H
23205#include <sys/statfs.h>
23206#endif
23207#ifdef HAVE_SYS_STATVFS_H
23208#include <sys/statvfs.h>
23209#endif
23210
23211
23212int
23213main ()
23214{
23215if (sizeof ((fsfilcnt_t)))
23216 return 0;
22199 ; 23217 ;
22200 return 0; 23218 return 0;
22201} 23219}
@@ -22206,29 +23224,38 @@ case "(($ac_try" in
22206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22207 *) ac_try_echo=$ac_try;; 23225 *) ac_try_echo=$ac_try;;
22208esac 23226esac
22209eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23227eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23228$as_echo "$ac_try_echo") >&5
22210 (eval "$ac_compile") 2>conftest.er1 23229 (eval "$ac_compile") 2>conftest.er1
22211 ac_status=$? 23230 ac_status=$?
22212 grep -v '^ *+' conftest.er1 >conftest.err 23231 grep -v '^ *+' conftest.er1 >conftest.err
22213 rm -f conftest.er1 23232 rm -f conftest.er1
22214 cat conftest.err >&5 23233 cat conftest.err >&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23234 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { 23235 (exit $ac_status); } && {
22217 test -z "$ac_c_werror_flag" || 23236 test -z "$ac_c_werror_flag" ||
22218 test ! -s conftest.err 23237 test ! -s conftest.err
22219 } && test -s conftest.$ac_objext; then 23238 } && test -s conftest.$ac_objext; then
22220 ac_cv_type_fsfilcnt_t=yes 23239 :
23240else
23241 $as_echo "$as_me: failed program was:" >&5
23242sed 's/^/| /' conftest.$ac_ext >&5
23243
23244 ac_cv_type_fsfilcnt_t=yes
23245fi
23246
23247rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22221else 23248else
22222 echo "$as_me: failed program was:" >&5 23249 $as_echo "$as_me: failed program was:" >&5
22223sed 's/^/| /' conftest.$ac_ext >&5 23250sed 's/^/| /' conftest.$ac_ext >&5
22224 23251
22225 ac_cv_type_fsfilcnt_t=no 23252
22226fi 23253fi
22227 23254
22228rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229fi 23256fi
22230{ echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5 23257{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
22231echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; } 23258$as_echo "$ac_cv_type_fsfilcnt_t" >&6; }
22232if test $ac_cv_type_fsfilcnt_t = yes; then 23259if test $ac_cv_type_fsfilcnt_t = yes; then
22233 23260
22234cat >>confdefs.h <<_ACEOF 23261cat >>confdefs.h <<_ACEOF
@@ -22239,12 +23266,13 @@ _ACEOF
22239fi 23266fi
22240 23267
22241 23268
22242{ echo "$as_me:$LINENO: checking for in_addr_t" >&5 23269{ $as_echo "$as_me:$LINENO: checking for in_addr_t" >&5
22243echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6; } 23270$as_echo_n "checking for in_addr_t... " >&6; }
22244if test "${ac_cv_type_in_addr_t+set}" = set; then 23271if test "${ac_cv_type_in_addr_t+set}" = set; then
22245 echo $ECHO_N "(cached) $ECHO_C" >&6 23272 $as_echo_n "(cached) " >&6
22246else 23273else
22247 cat >conftest.$ac_ext <<_ACEOF 23274 ac_cv_type_in_addr_t=no
23275cat >conftest.$ac_ext <<_ACEOF
22248/* confdefs.h. */ 23276/* confdefs.h. */
22249_ACEOF 23277_ACEOF
22250cat confdefs.h >>conftest.$ac_ext 23278cat confdefs.h >>conftest.$ac_ext
@@ -22253,14 +23281,47 @@ cat >>conftest.$ac_ext <<_ACEOF
22253#include <sys/types.h> 23281#include <sys/types.h>
22254#include <netinet/in.h> 23282#include <netinet/in.h>
22255 23283
22256typedef in_addr_t ac__type_new_;
22257int 23284int
22258main () 23285main ()
22259{ 23286{
22260if ((ac__type_new_ *) 0) 23287if (sizeof (in_addr_t))
22261 return 0; 23288 return 0;
22262if (sizeof (ac__type_new_)) 23289 ;
22263 return 0; 23290 return 0;
23291}
23292_ACEOF
23293rm -f conftest.$ac_objext
23294if { (ac_try="$ac_compile"
23295case "(($ac_try" in
23296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23297 *) ac_try_echo=$ac_try;;
23298esac
23299eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23300$as_echo "$ac_try_echo") >&5
23301 (eval "$ac_compile") 2>conftest.er1
23302 ac_status=$?
23303 grep -v '^ *+' conftest.er1 >conftest.err
23304 rm -f conftest.er1
23305 cat conftest.err >&5
23306 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } && {
23308 test -z "$ac_c_werror_flag" ||
23309 test ! -s conftest.err
23310 } && test -s conftest.$ac_objext; then
23311 cat >conftest.$ac_ext <<_ACEOF
23312/* confdefs.h. */
23313_ACEOF
23314cat confdefs.h >>conftest.$ac_ext
23315cat >>conftest.$ac_ext <<_ACEOF
23316/* end confdefs.h. */
23317#include <sys/types.h>
23318#include <netinet/in.h>
23319
23320int
23321main ()
23322{
23323if (sizeof ((in_addr_t)))
23324 return 0;
22264 ; 23325 ;
22265 return 0; 23326 return 0;
22266} 23327}
@@ -22271,29 +23332,38 @@ case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;; 23333 *) ac_try_echo=$ac_try;;
22273esac 23334esac
22274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23335eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23336$as_echo "$ac_try_echo") >&5
22275 (eval "$ac_compile") 2>conftest.er1 23337 (eval "$ac_compile") 2>conftest.er1
22276 ac_status=$? 23338 ac_status=$?
22277 grep -v '^ *+' conftest.er1 >conftest.err 23339 grep -v '^ *+' conftest.er1 >conftest.err
22278 rm -f conftest.er1 23340 rm -f conftest.er1
22279 cat conftest.err >&5 23341 cat conftest.err >&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23342 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); } && { 23343 (exit $ac_status); } && {
22282 test -z "$ac_c_werror_flag" || 23344 test -z "$ac_c_werror_flag" ||
22283 test ! -s conftest.err 23345 test ! -s conftest.err
22284 } && test -s conftest.$ac_objext; then 23346 } && test -s conftest.$ac_objext; then
22285 ac_cv_type_in_addr_t=yes 23347 :
22286else 23348else
22287 echo "$as_me: failed program was:" >&5 23349 $as_echo "$as_me: failed program was:" >&5
22288sed 's/^/| /' conftest.$ac_ext >&5 23350sed 's/^/| /' conftest.$ac_ext >&5
22289 23351
22290 ac_cv_type_in_addr_t=no 23352 ac_cv_type_in_addr_t=yes
23353fi
23354
23355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356else
23357 $as_echo "$as_me: failed program was:" >&5
23358sed 's/^/| /' conftest.$ac_ext >&5
23359
23360
22291fi 23361fi
22292 23362
22293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294fi 23364fi
22295{ echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5 23365{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
22296echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6; } 23366$as_echo "$ac_cv_type_in_addr_t" >&6; }
22297if test $ac_cv_type_in_addr_t = yes; then 23367if test $ac_cv_type_in_addr_t = yes; then
22298 23368
22299cat >>confdefs.h <<_ACEOF 23369cat >>confdefs.h <<_ACEOF
@@ -22302,12 +23372,118 @@ _ACEOF
22302 23372
22303 23373
22304fi 23374fi
23375{ $as_echo "$as_me:$LINENO: checking for in_port_t" >&5
23376$as_echo_n "checking for in_port_t... " >&6; }
23377if test "${ac_cv_type_in_port_t+set}" = set; then
23378 $as_echo_n "(cached) " >&6
23379else
23380 ac_cv_type_in_port_t=no
23381cat >conftest.$ac_ext <<_ACEOF
23382/* confdefs.h. */
23383_ACEOF
23384cat confdefs.h >>conftest.$ac_ext
23385cat >>conftest.$ac_ext <<_ACEOF
23386/* end confdefs.h. */
23387#include <sys/types.h>
23388#include <netinet/in.h>
23389
23390int
23391main ()
23392{
23393if (sizeof (in_port_t))
23394 return 0;
23395 ;
23396 return 0;
23397}
23398_ACEOF
23399rm -f conftest.$ac_objext
23400if { (ac_try="$ac_compile"
23401case "(($ac_try" in
23402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23403 *) ac_try_echo=$ac_try;;
23404esac
23405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23406$as_echo "$ac_try_echo") >&5
23407 (eval "$ac_compile") 2>conftest.er1
23408 ac_status=$?
23409 grep -v '^ *+' conftest.er1 >conftest.err
23410 rm -f conftest.er1
23411 cat conftest.err >&5
23412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23413 (exit $ac_status); } && {
23414 test -z "$ac_c_werror_flag" ||
23415 test ! -s conftest.err
23416 } && test -s conftest.$ac_objext; then
23417 cat >conftest.$ac_ext <<_ACEOF
23418/* confdefs.h. */
23419_ACEOF
23420cat confdefs.h >>conftest.$ac_ext
23421cat >>conftest.$ac_ext <<_ACEOF
23422/* end confdefs.h. */
23423#include <sys/types.h>
23424#include <netinet/in.h>
23425
23426int
23427main ()
23428{
23429if (sizeof ((in_port_t)))
23430 return 0;
23431 ;
23432 return 0;
23433}
23434_ACEOF
23435rm -f conftest.$ac_objext
23436if { (ac_try="$ac_compile"
23437case "(($ac_try" in
23438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23439 *) ac_try_echo=$ac_try;;
23440esac
23441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23442$as_echo "$ac_try_echo") >&5
23443 (eval "$ac_compile") 2>conftest.er1
23444 ac_status=$?
23445 grep -v '^ *+' conftest.er1 >conftest.err
23446 rm -f conftest.er1
23447 cat conftest.err >&5
23448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest.$ac_objext; then
23453 :
23454else
23455 $as_echo "$as_me: failed program was:" >&5
23456sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 ac_cv_type_in_port_t=yes
23459fi
23460
23461rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23462else
23463 $as_echo "$as_me: failed program was:" >&5
23464sed 's/^/| /' conftest.$ac_ext >&5
23465
23466
23467fi
23468
23469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23470fi
23471{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_in_port_t" >&5
23472$as_echo "$ac_cv_type_in_port_t" >&6; }
23473if test $ac_cv_type_in_port_t = yes; then
23474
23475cat >>confdefs.h <<_ACEOF
23476#define HAVE_IN_PORT_T 1
23477_ACEOF
23478
23479
23480fi
22305 23481
22306 23482
22307{ echo "$as_me:$LINENO: checking for size_t" >&5 23483{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
22308echo $ECHO_N "checking for size_t... $ECHO_C" >&6; } 23484$as_echo_n "checking for size_t... " >&6; }
22309if test "${ac_cv_have_size_t+set}" = set; then 23485if test "${ac_cv_have_size_t+set}" = set; then
22310 echo $ECHO_N "(cached) $ECHO_C" >&6 23486 $as_echo_n "(cached) " >&6
22311else 23487else
22312 23488
22313 cat >conftest.$ac_ext <<_ACEOF 23489 cat >conftest.$ac_ext <<_ACEOF
@@ -22333,20 +23509,21 @@ case "(($ac_try" in
22333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22334 *) ac_try_echo=$ac_try;; 23510 *) ac_try_echo=$ac_try;;
22335esac 23511esac
22336eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23512eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23513$as_echo "$ac_try_echo") >&5
22337 (eval "$ac_compile") 2>conftest.er1 23514 (eval "$ac_compile") 2>conftest.er1
22338 ac_status=$? 23515 ac_status=$?
22339 grep -v '^ *+' conftest.er1 >conftest.err 23516 grep -v '^ *+' conftest.er1 >conftest.err
22340 rm -f conftest.er1 23517 rm -f conftest.er1
22341 cat conftest.err >&5 23518 cat conftest.err >&5
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); } && { 23520 (exit $ac_status); } && {
22344 test -z "$ac_c_werror_flag" || 23521 test -z "$ac_c_werror_flag" ||
22345 test ! -s conftest.err 23522 test ! -s conftest.err
22346 } && test -s conftest.$ac_objext; then 23523 } && test -s conftest.$ac_objext; then
22347 ac_cv_have_size_t="yes" 23524 ac_cv_have_size_t="yes"
22348else 23525else
22349 echo "$as_me: failed program was:" >&5 23526 $as_echo "$as_me: failed program was:" >&5
22350sed 's/^/| /' conftest.$ac_ext >&5 23527sed 's/^/| /' conftest.$ac_ext >&5
22351 23528
22352 ac_cv_have_size_t="no" 23529 ac_cv_have_size_t="no"
@@ -22356,8 +23533,8 @@ fi
22356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23533rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 23534
22358fi 23535fi
22359{ echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5 23536{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_size_t" >&5
22360echo "${ECHO_T}$ac_cv_have_size_t" >&6; } 23537$as_echo "$ac_cv_have_size_t" >&6; }
22361if test "x$ac_cv_have_size_t" = "xyes" ; then 23538if test "x$ac_cv_have_size_t" = "xyes" ; then
22362 23539
22363cat >>confdefs.h <<\_ACEOF 23540cat >>confdefs.h <<\_ACEOF
@@ -22366,10 +23543,10 @@ _ACEOF
22366 23543
22367fi 23544fi
22368 23545
22369{ echo "$as_me:$LINENO: checking for ssize_t" >&5 23546{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
22370echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; } 23547$as_echo_n "checking for ssize_t... " >&6; }
22371if test "${ac_cv_have_ssize_t+set}" = set; then 23548if test "${ac_cv_have_ssize_t+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6 23549 $as_echo_n "(cached) " >&6
22373else 23550else
22374 23551
22375 cat >conftest.$ac_ext <<_ACEOF 23552 cat >conftest.$ac_ext <<_ACEOF
@@ -22395,20 +23572,21 @@ case "(($ac_try" in
22395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22396 *) ac_try_echo=$ac_try;; 23573 *) ac_try_echo=$ac_try;;
22397esac 23574esac
22398eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23575eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23576$as_echo "$ac_try_echo") >&5
22399 (eval "$ac_compile") 2>conftest.er1 23577 (eval "$ac_compile") 2>conftest.er1
22400 ac_status=$? 23578 ac_status=$?
22401 grep -v '^ *+' conftest.er1 >conftest.err 23579 grep -v '^ *+' conftest.er1 >conftest.err
22402 rm -f conftest.er1 23580 rm -f conftest.er1
22403 cat conftest.err >&5 23581 cat conftest.err >&5
22404 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23582 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22405 (exit $ac_status); } && { 23583 (exit $ac_status); } && {
22406 test -z "$ac_c_werror_flag" || 23584 test -z "$ac_c_werror_flag" ||
22407 test ! -s conftest.err 23585 test ! -s conftest.err
22408 } && test -s conftest.$ac_objext; then 23586 } && test -s conftest.$ac_objext; then
22409 ac_cv_have_ssize_t="yes" 23587 ac_cv_have_ssize_t="yes"
22410else 23588else
22411 echo "$as_me: failed program was:" >&5 23589 $as_echo "$as_me: failed program was:" >&5
22412sed 's/^/| /' conftest.$ac_ext >&5 23590sed 's/^/| /' conftest.$ac_ext >&5
22413 23591
22414 ac_cv_have_ssize_t="no" 23592 ac_cv_have_ssize_t="no"
@@ -22418,8 +23596,8 @@ fi
22418rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22419 23597
22420fi 23598fi
22421{ echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5 23599{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_ssize_t" >&5
22422echo "${ECHO_T}$ac_cv_have_ssize_t" >&6; } 23600$as_echo "$ac_cv_have_ssize_t" >&6; }
22423if test "x$ac_cv_have_ssize_t" = "xyes" ; then 23601if test "x$ac_cv_have_ssize_t" = "xyes" ; then
22424 23602
22425cat >>confdefs.h <<\_ACEOF 23603cat >>confdefs.h <<\_ACEOF
@@ -22428,10 +23606,10 @@ _ACEOF
22428 23606
22429fi 23607fi
22430 23608
22431{ echo "$as_me:$LINENO: checking for clock_t" >&5 23609{ $as_echo "$as_me:$LINENO: checking for clock_t" >&5
22432echo $ECHO_N "checking for clock_t... $ECHO_C" >&6; } 23610$as_echo_n "checking for clock_t... " >&6; }
22433if test "${ac_cv_have_clock_t+set}" = set; then 23611if test "${ac_cv_have_clock_t+set}" = set; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6 23612 $as_echo_n "(cached) " >&6
22435else 23613else
22436 23614
22437 cat >conftest.$ac_ext <<_ACEOF 23615 cat >conftest.$ac_ext <<_ACEOF
@@ -22457,20 +23635,21 @@ case "(($ac_try" in
22457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22458 *) ac_try_echo=$ac_try;; 23636 *) ac_try_echo=$ac_try;;
22459esac 23637esac
22460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23638eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23639$as_echo "$ac_try_echo") >&5
22461 (eval "$ac_compile") 2>conftest.er1 23640 (eval "$ac_compile") 2>conftest.er1
22462 ac_status=$? 23641 ac_status=$?
22463 grep -v '^ *+' conftest.er1 >conftest.err 23642 grep -v '^ *+' conftest.er1 >conftest.err
22464 rm -f conftest.er1 23643 rm -f conftest.er1
22465 cat conftest.err >&5 23644 cat conftest.err >&5
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); } && { 23646 (exit $ac_status); } && {
22468 test -z "$ac_c_werror_flag" || 23647 test -z "$ac_c_werror_flag" ||
22469 test ! -s conftest.err 23648 test ! -s conftest.err
22470 } && test -s conftest.$ac_objext; then 23649 } && test -s conftest.$ac_objext; then
22471 ac_cv_have_clock_t="yes" 23650 ac_cv_have_clock_t="yes"
22472else 23651else
22473 echo "$as_me: failed program was:" >&5 23652 $as_echo "$as_me: failed program was:" >&5
22474sed 's/^/| /' conftest.$ac_ext >&5 23653sed 's/^/| /' conftest.$ac_ext >&5
22475 23654
22476 ac_cv_have_clock_t="no" 23655 ac_cv_have_clock_t="no"
@@ -22480,8 +23659,8 @@ fi
22480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23659rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 23660
22482fi 23661fi
22483{ echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5 23662{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_clock_t" >&5
22484echo "${ECHO_T}$ac_cv_have_clock_t" >&6; } 23663$as_echo "$ac_cv_have_clock_t" >&6; }
22485if test "x$ac_cv_have_clock_t" = "xyes" ; then 23664if test "x$ac_cv_have_clock_t" = "xyes" ; then
22486 23665
22487cat >>confdefs.h <<\_ACEOF 23666cat >>confdefs.h <<\_ACEOF
@@ -22490,10 +23669,10 @@ _ACEOF
22490 23669
22491fi 23670fi
22492 23671
22493{ echo "$as_me:$LINENO: checking for sa_family_t" >&5 23672{ $as_echo "$as_me:$LINENO: checking for sa_family_t" >&5
22494echo $ECHO_N "checking for sa_family_t... $ECHO_C" >&6; } 23673$as_echo_n "checking for sa_family_t... " >&6; }
22495if test "${ac_cv_have_sa_family_t+set}" = set; then 23674if test "${ac_cv_have_sa_family_t+set}" = set; then
22496 echo $ECHO_N "(cached) $ECHO_C" >&6 23675 $as_echo_n "(cached) " >&6
22497else 23676else
22498 23677
22499 cat >conftest.$ac_ext <<_ACEOF 23678 cat >conftest.$ac_ext <<_ACEOF
@@ -22520,20 +23699,21 @@ case "(($ac_try" in
22520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22521 *) ac_try_echo=$ac_try;; 23700 *) ac_try_echo=$ac_try;;
22522esac 23701esac
22523eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23702eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23703$as_echo "$ac_try_echo") >&5
22524 (eval "$ac_compile") 2>conftest.er1 23704 (eval "$ac_compile") 2>conftest.er1
22525 ac_status=$? 23705 ac_status=$?
22526 grep -v '^ *+' conftest.er1 >conftest.err 23706 grep -v '^ *+' conftest.er1 >conftest.err
22527 rm -f conftest.er1 23707 rm -f conftest.er1
22528 cat conftest.err >&5 23708 cat conftest.err >&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); } && { 23710 (exit $ac_status); } && {
22531 test -z "$ac_c_werror_flag" || 23711 test -z "$ac_c_werror_flag" ||
22532 test ! -s conftest.err 23712 test ! -s conftest.err
22533 } && test -s conftest.$ac_objext; then 23713 } && test -s conftest.$ac_objext; then
22534 ac_cv_have_sa_family_t="yes" 23714 ac_cv_have_sa_family_t="yes"
22535else 23715else
22536 echo "$as_me: failed program was:" >&5 23716 $as_echo "$as_me: failed program was:" >&5
22537sed 's/^/| /' conftest.$ac_ext >&5 23717sed 's/^/| /' conftest.$ac_ext >&5
22538 23718
22539 cat >conftest.$ac_ext <<_ACEOF 23719 cat >conftest.$ac_ext <<_ACEOF
@@ -22561,20 +23741,21 @@ case "(($ac_try" in
22561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;; 23742 *) ac_try_echo=$ac_try;;
22563esac 23743esac
22564eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23744eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23745$as_echo "$ac_try_echo") >&5
22565 (eval "$ac_compile") 2>conftest.er1 23746 (eval "$ac_compile") 2>conftest.er1
22566 ac_status=$? 23747 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err 23748 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1 23749 rm -f conftest.er1
22569 cat conftest.err >&5 23750 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } && { 23752 (exit $ac_status); } && {
22572 test -z "$ac_c_werror_flag" || 23753 test -z "$ac_c_werror_flag" ||
22573 test ! -s conftest.err 23754 test ! -s conftest.err
22574 } && test -s conftest.$ac_objext; then 23755 } && test -s conftest.$ac_objext; then
22575 ac_cv_have_sa_family_t="yes" 23756 ac_cv_have_sa_family_t="yes"
22576else 23757else
22577 echo "$as_me: failed program was:" >&5 23758 $as_echo "$as_me: failed program was:" >&5
22578sed 's/^/| /' conftest.$ac_ext >&5 23759sed 's/^/| /' conftest.$ac_ext >&5
22579 23760
22580 ac_cv_have_sa_family_t="no" 23761 ac_cv_have_sa_family_t="no"
@@ -22588,8 +23769,8 @@ fi
22588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 23770
22590fi 23771fi
22591{ echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5 23772{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_sa_family_t" >&5
22592echo "${ECHO_T}$ac_cv_have_sa_family_t" >&6; } 23773$as_echo "$ac_cv_have_sa_family_t" >&6; }
22593if test "x$ac_cv_have_sa_family_t" = "xyes" ; then 23774if test "x$ac_cv_have_sa_family_t" = "xyes" ; then
22594 23775
22595cat >>confdefs.h <<\_ACEOF 23776cat >>confdefs.h <<\_ACEOF
@@ -22598,10 +23779,10 @@ _ACEOF
22598 23779
22599fi 23780fi
22600 23781
22601{ echo "$as_me:$LINENO: checking for pid_t" >&5 23782{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
22602echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } 23783$as_echo_n "checking for pid_t... " >&6; }
22603if test "${ac_cv_have_pid_t+set}" = set; then 23784if test "${ac_cv_have_pid_t+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6 23785 $as_echo_n "(cached) " >&6
22605else 23786else
22606 23787
22607 cat >conftest.$ac_ext <<_ACEOF 23788 cat >conftest.$ac_ext <<_ACEOF
@@ -22627,20 +23808,21 @@ case "(($ac_try" in
22627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22628 *) ac_try_echo=$ac_try;; 23809 *) ac_try_echo=$ac_try;;
22629esac 23810esac
22630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23811eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23812$as_echo "$ac_try_echo") >&5
22631 (eval "$ac_compile") 2>conftest.er1 23813 (eval "$ac_compile") 2>conftest.er1
22632 ac_status=$? 23814 ac_status=$?
22633 grep -v '^ *+' conftest.er1 >conftest.err 23815 grep -v '^ *+' conftest.er1 >conftest.err
22634 rm -f conftest.er1 23816 rm -f conftest.er1
22635 cat conftest.err >&5 23817 cat conftest.err >&5
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); } && { 23819 (exit $ac_status); } && {
22638 test -z "$ac_c_werror_flag" || 23820 test -z "$ac_c_werror_flag" ||
22639 test ! -s conftest.err 23821 test ! -s conftest.err
22640 } && test -s conftest.$ac_objext; then 23822 } && test -s conftest.$ac_objext; then
22641 ac_cv_have_pid_t="yes" 23823 ac_cv_have_pid_t="yes"
22642else 23824else
22643 echo "$as_me: failed program was:" >&5 23825 $as_echo "$as_me: failed program was:" >&5
22644sed 's/^/| /' conftest.$ac_ext >&5 23826sed 's/^/| /' conftest.$ac_ext >&5
22645 23827
22646 ac_cv_have_pid_t="no" 23828 ac_cv_have_pid_t="no"
@@ -22650,8 +23832,8 @@ fi
22650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22651 23833
22652fi 23834fi
22653{ echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5 23835{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pid_t" >&5
22654echo "${ECHO_T}$ac_cv_have_pid_t" >&6; } 23836$as_echo "$ac_cv_have_pid_t" >&6; }
22655if test "x$ac_cv_have_pid_t" = "xyes" ; then 23837if test "x$ac_cv_have_pid_t" = "xyes" ; then
22656 23838
22657cat >>confdefs.h <<\_ACEOF 23839cat >>confdefs.h <<\_ACEOF
@@ -22660,10 +23842,10 @@ _ACEOF
22660 23842
22661fi 23843fi
22662 23844
22663{ echo "$as_me:$LINENO: checking for mode_t" >&5 23845{ $as_echo "$as_me:$LINENO: checking for mode_t" >&5
22664echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 23846$as_echo_n "checking for mode_t... " >&6; }
22665if test "${ac_cv_have_mode_t+set}" = set; then 23847if test "${ac_cv_have_mode_t+set}" = set; then
22666 echo $ECHO_N "(cached) $ECHO_C" >&6 23848 $as_echo_n "(cached) " >&6
22667else 23849else
22668 23850
22669 cat >conftest.$ac_ext <<_ACEOF 23851 cat >conftest.$ac_ext <<_ACEOF
@@ -22689,20 +23871,21 @@ case "(($ac_try" in
22689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22690 *) ac_try_echo=$ac_try;; 23872 *) ac_try_echo=$ac_try;;
22691esac 23873esac
22692eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23875$as_echo "$ac_try_echo") >&5
22693 (eval "$ac_compile") 2>conftest.er1 23876 (eval "$ac_compile") 2>conftest.er1
22694 ac_status=$? 23877 ac_status=$?
22695 grep -v '^ *+' conftest.er1 >conftest.err 23878 grep -v '^ *+' conftest.er1 >conftest.err
22696 rm -f conftest.er1 23879 rm -f conftest.er1
22697 cat conftest.err >&5 23880 cat conftest.err >&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); } && { 23882 (exit $ac_status); } && {
22700 test -z "$ac_c_werror_flag" || 23883 test -z "$ac_c_werror_flag" ||
22701 test ! -s conftest.err 23884 test ! -s conftest.err
22702 } && test -s conftest.$ac_objext; then 23885 } && test -s conftest.$ac_objext; then
22703 ac_cv_have_mode_t="yes" 23886 ac_cv_have_mode_t="yes"
22704else 23887else
22705 echo "$as_me: failed program was:" >&5 23888 $as_echo "$as_me: failed program was:" >&5
22706sed 's/^/| /' conftest.$ac_ext >&5 23889sed 's/^/| /' conftest.$ac_ext >&5
22707 23890
22708 ac_cv_have_mode_t="no" 23891 ac_cv_have_mode_t="no"
@@ -22712,8 +23895,8 @@ fi
22712rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22713 23896
22714fi 23897fi
22715{ echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5 23898{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_mode_t" >&5
22716echo "${ECHO_T}$ac_cv_have_mode_t" >&6; } 23899$as_echo "$ac_cv_have_mode_t" >&6; }
22717if test "x$ac_cv_have_mode_t" = "xyes" ; then 23900if test "x$ac_cv_have_mode_t" = "xyes" ; then
22718 23901
22719cat >>confdefs.h <<\_ACEOF 23902cat >>confdefs.h <<\_ACEOF
@@ -22723,10 +23906,10 @@ _ACEOF
22723fi 23906fi
22724 23907
22725 23908
22726{ echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5 23909{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
22727echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; } 23910$as_echo_n "checking for struct sockaddr_storage... " >&6; }
22728if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then 23911if test "${ac_cv_have_struct_sockaddr_storage+set}" = set; then
22729 echo $ECHO_N "(cached) $ECHO_C" >&6 23912 $as_echo_n "(cached) " >&6
22730else 23913else
22731 23914
22732 cat >conftest.$ac_ext <<_ACEOF 23915 cat >conftest.$ac_ext <<_ACEOF
@@ -22753,20 +23936,21 @@ case "(($ac_try" in
22753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 23936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22754 *) ac_try_echo=$ac_try;; 23937 *) ac_try_echo=$ac_try;;
22755esac 23938esac
22756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 23939eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23940$as_echo "$ac_try_echo") >&5
22757 (eval "$ac_compile") 2>conftest.er1 23941 (eval "$ac_compile") 2>conftest.er1
22758 ac_status=$? 23942 ac_status=$?
22759 grep -v '^ *+' conftest.er1 >conftest.err 23943 grep -v '^ *+' conftest.er1 >conftest.err
22760 rm -f conftest.er1 23944 rm -f conftest.er1
22761 cat conftest.err >&5 23945 cat conftest.err >&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5 23946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); } && { 23947 (exit $ac_status); } && {
22764 test -z "$ac_c_werror_flag" || 23948 test -z "$ac_c_werror_flag" ||
22765 test ! -s conftest.err 23949 test ! -s conftest.err
22766 } && test -s conftest.$ac_objext; then 23950 } && test -s conftest.$ac_objext; then
22767 ac_cv_have_struct_sockaddr_storage="yes" 23951 ac_cv_have_struct_sockaddr_storage="yes"
22768else 23952else
22769 echo "$as_me: failed program was:" >&5 23953 $as_echo "$as_me: failed program was:" >&5
22770sed 's/^/| /' conftest.$ac_ext >&5 23954sed 's/^/| /' conftest.$ac_ext >&5
22771 23955
22772 ac_cv_have_struct_sockaddr_storage="no" 23956 ac_cv_have_struct_sockaddr_storage="no"
@@ -22776,8 +23960,8 @@ fi
22776rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 23960rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22777 23961
22778fi 23962fi
22779{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5 23963{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_storage" >&5
22780echo "${ECHO_T}$ac_cv_have_struct_sockaddr_storage" >&6; } 23964$as_echo "$ac_cv_have_struct_sockaddr_storage" >&6; }
22781if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then 23965if test "x$ac_cv_have_struct_sockaddr_storage" = "xyes" ; then
22782 23966
22783cat >>confdefs.h <<\_ACEOF 23967cat >>confdefs.h <<\_ACEOF
@@ -22786,10 +23970,10 @@ _ACEOF
22786 23970
22787fi 23971fi
22788 23972
22789{ echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5 23973{ $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6" >&5
22790echo $ECHO_N "checking for struct sockaddr_in6... $ECHO_C" >&6; } 23974$as_echo_n "checking for struct sockaddr_in6... " >&6; }
22791if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then 23975if test "${ac_cv_have_struct_sockaddr_in6+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6 23976 $as_echo_n "(cached) " >&6
22793else 23977else
22794 23978
22795 cat >conftest.$ac_ext <<_ACEOF 23979 cat >conftest.$ac_ext <<_ACEOF
@@ -22816,20 +24000,21 @@ case "(($ac_try" in
22816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22817 *) ac_try_echo=$ac_try;; 24001 *) ac_try_echo=$ac_try;;
22818esac 24002esac
22819eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24004$as_echo "$ac_try_echo") >&5
22820 (eval "$ac_compile") 2>conftest.er1 24005 (eval "$ac_compile") 2>conftest.er1
22821 ac_status=$? 24006 ac_status=$?
22822 grep -v '^ *+' conftest.er1 >conftest.err 24007 grep -v '^ *+' conftest.er1 >conftest.err
22823 rm -f conftest.er1 24008 rm -f conftest.er1
22824 cat conftest.err >&5 24009 cat conftest.err >&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); } && { 24011 (exit $ac_status); } && {
22827 test -z "$ac_c_werror_flag" || 24012 test -z "$ac_c_werror_flag" ||
22828 test ! -s conftest.err 24013 test ! -s conftest.err
22829 } && test -s conftest.$ac_objext; then 24014 } && test -s conftest.$ac_objext; then
22830 ac_cv_have_struct_sockaddr_in6="yes" 24015 ac_cv_have_struct_sockaddr_in6="yes"
22831else 24016else
22832 echo "$as_me: failed program was:" >&5 24017 $as_echo "$as_me: failed program was:" >&5
22833sed 's/^/| /' conftest.$ac_ext >&5 24018sed 's/^/| /' conftest.$ac_ext >&5
22834 24019
22835 ac_cv_have_struct_sockaddr_in6="no" 24020 ac_cv_have_struct_sockaddr_in6="no"
@@ -22839,8 +24024,8 @@ fi
22839rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22840 24025
22841fi 24026fi
22842{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5 24027{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_sockaddr_in6" >&5
22843echo "${ECHO_T}$ac_cv_have_struct_sockaddr_in6" >&6; } 24028$as_echo "$ac_cv_have_struct_sockaddr_in6" >&6; }
22844if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then 24029if test "x$ac_cv_have_struct_sockaddr_in6" = "xyes" ; then
22845 24030
22846cat >>confdefs.h <<\_ACEOF 24031cat >>confdefs.h <<\_ACEOF
@@ -22849,10 +24034,10 @@ _ACEOF
22849 24034
22850fi 24035fi
22851 24036
22852{ echo "$as_me:$LINENO: checking for struct in6_addr" >&5 24037{ $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5
22853echo $ECHO_N "checking for struct in6_addr... $ECHO_C" >&6; } 24038$as_echo_n "checking for struct in6_addr... " >&6; }
22854if test "${ac_cv_have_struct_in6_addr+set}" = set; then 24039if test "${ac_cv_have_struct_in6_addr+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6 24040 $as_echo_n "(cached) " >&6
22856else 24041else
22857 24042
22858 cat >conftest.$ac_ext <<_ACEOF 24043 cat >conftest.$ac_ext <<_ACEOF
@@ -22879,20 +24064,21 @@ case "(($ac_try" in
22879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22880 *) ac_try_echo=$ac_try;; 24065 *) ac_try_echo=$ac_try;;
22881esac 24066esac
22882eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24068$as_echo "$ac_try_echo") >&5
22883 (eval "$ac_compile") 2>conftest.er1 24069 (eval "$ac_compile") 2>conftest.er1
22884 ac_status=$? 24070 ac_status=$?
22885 grep -v '^ *+' conftest.er1 >conftest.err 24071 grep -v '^ *+' conftest.er1 >conftest.err
22886 rm -f conftest.er1 24072 rm -f conftest.er1
22887 cat conftest.err >&5 24073 cat conftest.err >&5
22888 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22889 (exit $ac_status); } && { 24075 (exit $ac_status); } && {
22890 test -z "$ac_c_werror_flag" || 24076 test -z "$ac_c_werror_flag" ||
22891 test ! -s conftest.err 24077 test ! -s conftest.err
22892 } && test -s conftest.$ac_objext; then 24078 } && test -s conftest.$ac_objext; then
22893 ac_cv_have_struct_in6_addr="yes" 24079 ac_cv_have_struct_in6_addr="yes"
22894else 24080else
22895 echo "$as_me: failed program was:" >&5 24081 $as_echo "$as_me: failed program was:" >&5
22896sed 's/^/| /' conftest.$ac_ext >&5 24082sed 's/^/| /' conftest.$ac_ext >&5
22897 24083
22898 ac_cv_have_struct_in6_addr="no" 24084 ac_cv_have_struct_in6_addr="no"
@@ -22902,8 +24088,8 @@ fi
22902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903 24089
22904fi 24090fi
22905{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5 24091{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_in6_addr" >&5
22906echo "${ECHO_T}$ac_cv_have_struct_in6_addr" >&6; } 24092$as_echo "$ac_cv_have_struct_in6_addr" >&6; }
22907if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then 24093if test "x$ac_cv_have_struct_in6_addr" = "xyes" ; then
22908 24094
22909cat >>confdefs.h <<\_ACEOF 24095cat >>confdefs.h <<\_ACEOF
@@ -22911,10 +24097,10 @@ cat >>confdefs.h <<\_ACEOF
22911_ACEOF 24097_ACEOF
22912 24098
22913 24099
22914 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5 24100 { $as_echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
22915echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; } 24101$as_echo_n "checking for struct sockaddr_in6.sin6_scope_id... " >&6; }
22916if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then 24102if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
22917 echo $ECHO_N "(cached) $ECHO_C" >&6 24103 $as_echo_n "(cached) " >&6
22918else 24104else
22919 cat >conftest.$ac_ext <<_ACEOF 24105 cat >conftest.$ac_ext <<_ACEOF
22920/* confdefs.h. */ 24106/* confdefs.h. */
@@ -22945,20 +24131,21 @@ case "(($ac_try" in
22945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22946 *) ac_try_echo=$ac_try;; 24132 *) ac_try_echo=$ac_try;;
22947esac 24133esac
22948eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24134eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24135$as_echo "$ac_try_echo") >&5
22949 (eval "$ac_compile") 2>conftest.er1 24136 (eval "$ac_compile") 2>conftest.er1
22950 ac_status=$? 24137 ac_status=$?
22951 grep -v '^ *+' conftest.er1 >conftest.err 24138 grep -v '^ *+' conftest.er1 >conftest.err
22952 rm -f conftest.er1 24139 rm -f conftest.er1
22953 cat conftest.err >&5 24140 cat conftest.err >&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } && { 24142 (exit $ac_status); } && {
22956 test -z "$ac_c_werror_flag" || 24143 test -z "$ac_c_werror_flag" ||
22957 test ! -s conftest.err 24144 test ! -s conftest.err
22958 } && test -s conftest.$ac_objext; then 24145 } && test -s conftest.$ac_objext; then
22959 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes 24146 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
22960else 24147else
22961 echo "$as_me: failed program was:" >&5 24148 $as_echo "$as_me: failed program was:" >&5
22962sed 's/^/| /' conftest.$ac_ext >&5 24149sed 's/^/| /' conftest.$ac_ext >&5
22963 24150
22964 cat >conftest.$ac_ext <<_ACEOF 24151 cat >conftest.$ac_ext <<_ACEOF
@@ -22990,20 +24177,21 @@ case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;; 24178 *) ac_try_echo=$ac_try;;
22992esac 24179esac
22993eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24180eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24181$as_echo "$ac_try_echo") >&5
22994 (eval "$ac_compile") 2>conftest.er1 24182 (eval "$ac_compile") 2>conftest.er1
22995 ac_status=$? 24183 ac_status=$?
22996 grep -v '^ *+' conftest.er1 >conftest.err 24184 grep -v '^ *+' conftest.er1 >conftest.err
22997 rm -f conftest.er1 24185 rm -f conftest.er1
22998 cat conftest.err >&5 24186 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); } && { 24188 (exit $ac_status); } && {
23001 test -z "$ac_c_werror_flag" || 24189 test -z "$ac_c_werror_flag" ||
23002 test ! -s conftest.err 24190 test ! -s conftest.err
23003 } && test -s conftest.$ac_objext; then 24191 } && test -s conftest.$ac_objext; then
23004 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes 24192 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23005else 24193else
23006 echo "$as_me: failed program was:" >&5 24194 $as_echo "$as_me: failed program was:" >&5
23007sed 's/^/| /' conftest.$ac_ext >&5 24195sed 's/^/| /' conftest.$ac_ext >&5
23008 24196
23009 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no 24197 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
@@ -23014,8 +24202,8 @@ fi
23014 24202
23015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23016fi 24204fi
23017{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5 24205{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23018echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; } 24206$as_echo "$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23019if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then 24207if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23020 24208
23021cat >>confdefs.h <<_ACEOF 24209cat >>confdefs.h <<_ACEOF
@@ -23027,10 +24215,10 @@ fi
23027 24215
23028fi 24216fi
23029 24217
23030{ echo "$as_me:$LINENO: checking for struct addrinfo" >&5 24218{ $as_echo "$as_me:$LINENO: checking for struct addrinfo" >&5
23031echo $ECHO_N "checking for struct addrinfo... $ECHO_C" >&6; } 24219$as_echo_n "checking for struct addrinfo... " >&6; }
23032if test "${ac_cv_have_struct_addrinfo+set}" = set; then 24220if test "${ac_cv_have_struct_addrinfo+set}" = set; then
23033 echo $ECHO_N "(cached) $ECHO_C" >&6 24221 $as_echo_n "(cached) " >&6
23034else 24222else
23035 24223
23036 cat >conftest.$ac_ext <<_ACEOF 24224 cat >conftest.$ac_ext <<_ACEOF
@@ -23058,20 +24246,21 @@ case "(($ac_try" in
23058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23059 *) ac_try_echo=$ac_try;; 24247 *) ac_try_echo=$ac_try;;
23060esac 24248esac
23061eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24249eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24250$as_echo "$ac_try_echo") >&5
23062 (eval "$ac_compile") 2>conftest.er1 24251 (eval "$ac_compile") 2>conftest.er1
23063 ac_status=$? 24252 ac_status=$?
23064 grep -v '^ *+' conftest.er1 >conftest.err 24253 grep -v '^ *+' conftest.er1 >conftest.err
23065 rm -f conftest.er1 24254 rm -f conftest.er1
23066 cat conftest.err >&5 24255 cat conftest.err >&5
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); } && { 24257 (exit $ac_status); } && {
23069 test -z "$ac_c_werror_flag" || 24258 test -z "$ac_c_werror_flag" ||
23070 test ! -s conftest.err 24259 test ! -s conftest.err
23071 } && test -s conftest.$ac_objext; then 24260 } && test -s conftest.$ac_objext; then
23072 ac_cv_have_struct_addrinfo="yes" 24261 ac_cv_have_struct_addrinfo="yes"
23073else 24262else
23074 echo "$as_me: failed program was:" >&5 24263 $as_echo "$as_me: failed program was:" >&5
23075sed 's/^/| /' conftest.$ac_ext >&5 24264sed 's/^/| /' conftest.$ac_ext >&5
23076 24265
23077 ac_cv_have_struct_addrinfo="no" 24266 ac_cv_have_struct_addrinfo="no"
@@ -23081,8 +24270,8 @@ fi
23081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24270rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 24271
23083fi 24272fi
23084{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5 24273{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_addrinfo" >&5
23085echo "${ECHO_T}$ac_cv_have_struct_addrinfo" >&6; } 24274$as_echo "$ac_cv_have_struct_addrinfo" >&6; }
23086if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then 24275if test "x$ac_cv_have_struct_addrinfo" = "xyes" ; then
23087 24276
23088cat >>confdefs.h <<\_ACEOF 24277cat >>confdefs.h <<\_ACEOF
@@ -23091,10 +24280,10 @@ _ACEOF
23091 24280
23092fi 24281fi
23093 24282
23094{ echo "$as_me:$LINENO: checking for struct timeval" >&5 24283{ $as_echo "$as_me:$LINENO: checking for struct timeval" >&5
23095echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6; } 24284$as_echo_n "checking for struct timeval... " >&6; }
23096if test "${ac_cv_have_struct_timeval+set}" = set; then 24285if test "${ac_cv_have_struct_timeval+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6 24286 $as_echo_n "(cached) " >&6
23098else 24287else
23099 24288
23100 cat >conftest.$ac_ext <<_ACEOF 24289 cat >conftest.$ac_ext <<_ACEOF
@@ -23118,20 +24307,21 @@ case "(($ac_try" in
23118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23119 *) ac_try_echo=$ac_try;; 24308 *) ac_try_echo=$ac_try;;
23120esac 24309esac
23121eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24310eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24311$as_echo "$ac_try_echo") >&5
23122 (eval "$ac_compile") 2>conftest.er1 24312 (eval "$ac_compile") 2>conftest.er1
23123 ac_status=$? 24313 ac_status=$?
23124 grep -v '^ *+' conftest.er1 >conftest.err 24314 grep -v '^ *+' conftest.er1 >conftest.err
23125 rm -f conftest.er1 24315 rm -f conftest.er1
23126 cat conftest.err >&5 24316 cat conftest.err >&5
23127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23128 (exit $ac_status); } && { 24318 (exit $ac_status); } && {
23129 test -z "$ac_c_werror_flag" || 24319 test -z "$ac_c_werror_flag" ||
23130 test ! -s conftest.err 24320 test ! -s conftest.err
23131 } && test -s conftest.$ac_objext; then 24321 } && test -s conftest.$ac_objext; then
23132 ac_cv_have_struct_timeval="yes" 24322 ac_cv_have_struct_timeval="yes"
23133else 24323else
23134 echo "$as_me: failed program was:" >&5 24324 $as_echo "$as_me: failed program was:" >&5
23135sed 's/^/| /' conftest.$ac_ext >&5 24325sed 's/^/| /' conftest.$ac_ext >&5
23136 24326
23137 ac_cv_have_struct_timeval="no" 24327 ac_cv_have_struct_timeval="no"
@@ -23141,8 +24331,8 @@ fi
23141rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23142 24332
23143fi 24333fi
23144{ echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5 24334{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_struct_timeval" >&5
23145echo "${ECHO_T}$ac_cv_have_struct_timeval" >&6; } 24335$as_echo "$ac_cv_have_struct_timeval" >&6; }
23146if test "x$ac_cv_have_struct_timeval" = "xyes" ; then 24336if test "x$ac_cv_have_struct_timeval" = "xyes" ; then
23147 24337
23148cat >>confdefs.h <<\_ACEOF 24338cat >>confdefs.h <<\_ACEOF
@@ -23152,26 +24342,58 @@ _ACEOF
23152 have_struct_timeval=1 24342 have_struct_timeval=1
23153fi 24343fi
23154 24344
23155{ echo "$as_me:$LINENO: checking for struct timespec" >&5 24345{ $as_echo "$as_me:$LINENO: checking for struct timespec" >&5
23156echo $ECHO_N "checking for struct timespec... $ECHO_C" >&6; } 24346$as_echo_n "checking for struct timespec... " >&6; }
23157if test "${ac_cv_type_struct_timespec+set}" = set; then 24347if test "${ac_cv_type_struct_timespec+set}" = set; then
23158 echo $ECHO_N "(cached) $ECHO_C" >&6 24348 $as_echo_n "(cached) " >&6
23159else 24349else
23160 cat >conftest.$ac_ext <<_ACEOF 24350 ac_cv_type_struct_timespec=no
24351cat >conftest.$ac_ext <<_ACEOF
23161/* confdefs.h. */ 24352/* confdefs.h. */
23162_ACEOF 24353_ACEOF
23163cat confdefs.h >>conftest.$ac_ext 24354cat confdefs.h >>conftest.$ac_ext
23164cat >>conftest.$ac_ext <<_ACEOF 24355cat >>conftest.$ac_ext <<_ACEOF
23165/* end confdefs.h. */ 24356/* end confdefs.h. */
23166$ac_includes_default 24357$ac_includes_default
23167typedef struct timespec ac__type_new_;
23168int 24358int
23169main () 24359main ()
23170{ 24360{
23171if ((ac__type_new_ *) 0) 24361if (sizeof (struct timespec))
23172 return 0; 24362 return 0;
23173if (sizeof (ac__type_new_)) 24363 ;
23174 return 0; 24364 return 0;
24365}
24366_ACEOF
24367rm -f conftest.$ac_objext
24368if { (ac_try="$ac_compile"
24369case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24372esac
24373eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24374$as_echo "$ac_try_echo") >&5
24375 (eval "$ac_compile") 2>conftest.er1
24376 ac_status=$?
24377 grep -v '^ *+' conftest.er1 >conftest.err
24378 rm -f conftest.er1
24379 cat conftest.err >&5
24380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); } && {
24382 test -z "$ac_c_werror_flag" ||
24383 test ! -s conftest.err
24384 } && test -s conftest.$ac_objext; then
24385 cat >conftest.$ac_ext <<_ACEOF
24386/* confdefs.h. */
24387_ACEOF
24388cat confdefs.h >>conftest.$ac_ext
24389cat >>conftest.$ac_ext <<_ACEOF
24390/* end confdefs.h. */
24391$ac_includes_default
24392int
24393main ()
24394{
24395if (sizeof ((struct timespec)))
24396 return 0;
23175 ; 24397 ;
23176 return 0; 24398 return 0;
23177} 24399}
@@ -23182,29 +24404,38 @@ case "(($ac_try" in
23182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23183 *) ac_try_echo=$ac_try;; 24405 *) ac_try_echo=$ac_try;;
23184esac 24406esac
23185eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24407eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24408$as_echo "$ac_try_echo") >&5
23186 (eval "$ac_compile") 2>conftest.er1 24409 (eval "$ac_compile") 2>conftest.er1
23187 ac_status=$? 24410 ac_status=$?
23188 grep -v '^ *+' conftest.er1 >conftest.err 24411 grep -v '^ *+' conftest.er1 >conftest.err
23189 rm -f conftest.er1 24412 rm -f conftest.er1
23190 cat conftest.err >&5 24413 cat conftest.err >&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } && { 24415 (exit $ac_status); } && {
23193 test -z "$ac_c_werror_flag" || 24416 test -z "$ac_c_werror_flag" ||
23194 test ! -s conftest.err 24417 test ! -s conftest.err
23195 } && test -s conftest.$ac_objext; then 24418 } && test -s conftest.$ac_objext; then
23196 ac_cv_type_struct_timespec=yes 24419 :
23197else 24420else
23198 echo "$as_me: failed program was:" >&5 24421 $as_echo "$as_me: failed program was:" >&5
23199sed 's/^/| /' conftest.$ac_ext >&5 24422sed 's/^/| /' conftest.$ac_ext >&5
23200 24423
23201 ac_cv_type_struct_timespec=no 24424 ac_cv_type_struct_timespec=yes
24425fi
24426
24427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428else
24429 $as_echo "$as_me: failed program was:" >&5
24430sed 's/^/| /' conftest.$ac_ext >&5
24431
24432
23202fi 24433fi
23203 24434
23204rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 24435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23205fi 24436fi
23206{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5 24437{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_timespec" >&5
23207echo "${ECHO_T}$ac_cv_type_struct_timespec" >&6; } 24438$as_echo "$ac_cv_type_struct_timespec" >&6; }
23208if test $ac_cv_type_struct_timespec = yes; then 24439if test $ac_cv_type_struct_timespec = yes; then
23209 24440
23210cat >>confdefs.h <<_ACEOF 24441cat >>confdefs.h <<_ACEOF
@@ -23225,8 +24456,8 @@ if test "x$ac_cv_have_int64_t" = "xno" && \
23225 exit 1; 24456 exit 1;
23226else 24457else
23227 if test "$cross_compiling" = yes; then 24458 if test "$cross_compiling" = yes; then
23228 { echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5 24459 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Assuming working snprintf()" >&5
23229echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;} 24460$as_echo "$as_me: WARNING: cross compiling: Assuming working snprintf()" >&2;}
23230 24461
23231else 24462else
23232 cat >conftest.$ac_ext <<_ACEOF 24463 cat >conftest.$ac_ext <<_ACEOF
@@ -23266,24 +24497,26 @@ case "(($ac_try" in
23266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23267 *) ac_try_echo=$ac_try;; 24498 *) ac_try_echo=$ac_try;;
23268esac 24499esac
23269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24500eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24501$as_echo "$ac_try_echo") >&5
23270 (eval "$ac_link") 2>&5 24502 (eval "$ac_link") 2>&5
23271 ac_status=$? 24503 ac_status=$?
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 24505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23274 { (case "(($ac_try" in 24506 { (case "(($ac_try" in
23275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;; 24508 *) ac_try_echo=$ac_try;;
23277esac 24509esac
23278eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 24510eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24511$as_echo "$ac_try_echo") >&5
23279 (eval "$ac_try") 2>&5 24512 (eval "$ac_try") 2>&5
23280 ac_status=$? 24513 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 24514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then 24515 (exit $ac_status); }; }; then
23283 true 24516 true
23284else 24517else
23285 echo "$as_me: program exited with status $ac_status" >&5 24518 $as_echo "$as_me: program exited with status $ac_status" >&5
23286echo "$as_me: failed program was:" >&5 24519$as_echo "$as_me: failed program was:" >&5
23287sed 's/^/| /' conftest.$ac_ext >&5 24520sed 's/^/| /' conftest.$ac_ext >&5
23288 24521
23289( exit $ac_status ) 24522( exit $ac_status )
@@ -23292,6 +24525,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
23292_ACEOF 24525_ACEOF
23293 24526
23294fi 24527fi
24528rm -rf conftest.dSYM
23295rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 24529rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23296fi 24530fi
23297 24531
@@ -23302,10 +24536,10 @@ fi
23302# look for field 'ut_host' in header 'utmp.h' 24536# look for field 'ut_host' in header 'utmp.h'
23303 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24537 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23304 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 24538 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
23305 { echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5 24539 { $as_echo "$as_me:$LINENO: checking for ut_host field in utmp.h" >&5
23306echo $ECHO_N "checking for ut_host field in utmp.h... $ECHO_C" >&6; } 24540$as_echo_n "checking for ut_host field in utmp.h... " >&6; }
23307 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24541 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6 24542 $as_echo_n "(cached) " >&6
23309else 24543else
23310 24544
23311 cat >conftest.$ac_ext <<_ACEOF 24545 cat >conftest.$ac_ext <<_ACEOF
@@ -23329,8 +24563,8 @@ fi
23329 24563
23330 ossh_result=`eval 'echo $'"$ossh_varname"` 24564 ossh_result=`eval 'echo $'"$ossh_varname"`
23331 if test -n "`echo $ossh_varname`"; then 24565 if test -n "`echo $ossh_varname`"; then
23332 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24566 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23333echo "${ECHO_T}$ossh_result" >&6; } 24567$as_echo "$ossh_result" >&6; }
23334 if test "x$ossh_result" = "xyes"; then 24568 if test "x$ossh_result" = "xyes"; then
23335 24569
23336cat >>confdefs.h <<\_ACEOF 24570cat >>confdefs.h <<\_ACEOF
@@ -23339,18 +24573,18 @@ _ACEOF
23339 24573
23340 fi 24574 fi
23341 else 24575 else
23342 { echo "$as_me:$LINENO: result: no" >&5 24576 { $as_echo "$as_me:$LINENO: result: no" >&5
23343echo "${ECHO_T}no" >&6; } 24577$as_echo "no" >&6; }
23344 fi 24578 fi
23345 24579
23346 24580
23347# look for field 'ut_host' in header 'utmpx.h' 24581# look for field 'ut_host' in header 'utmpx.h'
23348 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24582 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23349 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host 24583 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_host
23350 { echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5 24584 { $as_echo "$as_me:$LINENO: checking for ut_host field in utmpx.h" >&5
23351echo $ECHO_N "checking for ut_host field in utmpx.h... $ECHO_C" >&6; } 24585$as_echo_n "checking for ut_host field in utmpx.h... " >&6; }
23352 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24586 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23353 echo $ECHO_N "(cached) $ECHO_C" >&6 24587 $as_echo_n "(cached) " >&6
23354else 24588else
23355 24589
23356 cat >conftest.$ac_ext <<_ACEOF 24590 cat >conftest.$ac_ext <<_ACEOF
@@ -23374,8 +24608,8 @@ fi
23374 24608
23375 ossh_result=`eval 'echo $'"$ossh_varname"` 24609 ossh_result=`eval 'echo $'"$ossh_varname"`
23376 if test -n "`echo $ossh_varname`"; then 24610 if test -n "`echo $ossh_varname`"; then
23377 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24611 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23378echo "${ECHO_T}$ossh_result" >&6; } 24612$as_echo "$ossh_result" >&6; }
23379 if test "x$ossh_result" = "xyes"; then 24613 if test "x$ossh_result" = "xyes"; then
23380 24614
23381cat >>confdefs.h <<\_ACEOF 24615cat >>confdefs.h <<\_ACEOF
@@ -23384,18 +24618,18 @@ _ACEOF
23384 24618
23385 fi 24619 fi
23386 else 24620 else
23387 { echo "$as_me:$LINENO: result: no" >&5 24621 { $as_echo "$as_me:$LINENO: result: no" >&5
23388echo "${ECHO_T}no" >&6; } 24622$as_echo "no" >&6; }
23389 fi 24623 fi
23390 24624
23391 24625
23392# look for field 'syslen' in header 'utmpx.h' 24626# look for field 'syslen' in header 'utmpx.h'
23393 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24627 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23394 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen 24628 ossh_varname="ossh_cv_$ossh_safe""_has_"syslen
23395 { echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5 24629 { $as_echo "$as_me:$LINENO: checking for syslen field in utmpx.h" >&5
23396echo $ECHO_N "checking for syslen field in utmpx.h... $ECHO_C" >&6; } 24630$as_echo_n "checking for syslen field in utmpx.h... " >&6; }
23397 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24631 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23398 echo $ECHO_N "(cached) $ECHO_C" >&6 24632 $as_echo_n "(cached) " >&6
23399else 24633else
23400 24634
23401 cat >conftest.$ac_ext <<_ACEOF 24635 cat >conftest.$ac_ext <<_ACEOF
@@ -23419,8 +24653,8 @@ fi
23419 24653
23420 ossh_result=`eval 'echo $'"$ossh_varname"` 24654 ossh_result=`eval 'echo $'"$ossh_varname"`
23421 if test -n "`echo $ossh_varname`"; then 24655 if test -n "`echo $ossh_varname`"; then
23422 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24656 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23423echo "${ECHO_T}$ossh_result" >&6; } 24657$as_echo "$ossh_result" >&6; }
23424 if test "x$ossh_result" = "xyes"; then 24658 if test "x$ossh_result" = "xyes"; then
23425 24659
23426cat >>confdefs.h <<\_ACEOF 24660cat >>confdefs.h <<\_ACEOF
@@ -23429,18 +24663,18 @@ _ACEOF
23429 24663
23430 fi 24664 fi
23431 else 24665 else
23432 { echo "$as_me:$LINENO: result: no" >&5 24666 { $as_echo "$as_me:$LINENO: result: no" >&5
23433echo "${ECHO_T}no" >&6; } 24667$as_echo "no" >&6; }
23434 fi 24668 fi
23435 24669
23436 24670
23437# look for field 'ut_pid' in header 'utmp.h' 24671# look for field 'ut_pid' in header 'utmp.h'
23438 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24672 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23439 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid 24673 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_pid
23440 { echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5 24674 { $as_echo "$as_me:$LINENO: checking for ut_pid field in utmp.h" >&5
23441echo $ECHO_N "checking for ut_pid field in utmp.h... $ECHO_C" >&6; } 24675$as_echo_n "checking for ut_pid field in utmp.h... " >&6; }
23442 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24676 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6 24677 $as_echo_n "(cached) " >&6
23444else 24678else
23445 24679
23446 cat >conftest.$ac_ext <<_ACEOF 24680 cat >conftest.$ac_ext <<_ACEOF
@@ -23464,8 +24698,8 @@ fi
23464 24698
23465 ossh_result=`eval 'echo $'"$ossh_varname"` 24699 ossh_result=`eval 'echo $'"$ossh_varname"`
23466 if test -n "`echo $ossh_varname`"; then 24700 if test -n "`echo $ossh_varname`"; then
23467 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24701 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23468echo "${ECHO_T}$ossh_result" >&6; } 24702$as_echo "$ossh_result" >&6; }
23469 if test "x$ossh_result" = "xyes"; then 24703 if test "x$ossh_result" = "xyes"; then
23470 24704
23471cat >>confdefs.h <<\_ACEOF 24705cat >>confdefs.h <<\_ACEOF
@@ -23474,18 +24708,18 @@ _ACEOF
23474 24708
23475 fi 24709 fi
23476 else 24710 else
23477 { echo "$as_me:$LINENO: result: no" >&5 24711 { $as_echo "$as_me:$LINENO: result: no" >&5
23478echo "${ECHO_T}no" >&6; } 24712$as_echo "no" >&6; }
23479 fi 24713 fi
23480 24714
23481 24715
23482# look for field 'ut_type' in header 'utmp.h' 24716# look for field 'ut_type' in header 'utmp.h'
23483 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24717 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23484 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 24718 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
23485 { echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5 24719 { $as_echo "$as_me:$LINENO: checking for ut_type field in utmp.h" >&5
23486echo $ECHO_N "checking for ut_type field in utmp.h... $ECHO_C" >&6; } 24720$as_echo_n "checking for ut_type field in utmp.h... " >&6; }
23487 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24721 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23488 echo $ECHO_N "(cached) $ECHO_C" >&6 24722 $as_echo_n "(cached) " >&6
23489else 24723else
23490 24724
23491 cat >conftest.$ac_ext <<_ACEOF 24725 cat >conftest.$ac_ext <<_ACEOF
@@ -23509,8 +24743,8 @@ fi
23509 24743
23510 ossh_result=`eval 'echo $'"$ossh_varname"` 24744 ossh_result=`eval 'echo $'"$ossh_varname"`
23511 if test -n "`echo $ossh_varname`"; then 24745 if test -n "`echo $ossh_varname`"; then
23512 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24746 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23513echo "${ECHO_T}$ossh_result" >&6; } 24747$as_echo "$ossh_result" >&6; }
23514 if test "x$ossh_result" = "xyes"; then 24748 if test "x$ossh_result" = "xyes"; then
23515 24749
23516cat >>confdefs.h <<\_ACEOF 24750cat >>confdefs.h <<\_ACEOF
@@ -23519,18 +24753,18 @@ _ACEOF
23519 24753
23520 fi 24754 fi
23521 else 24755 else
23522 { echo "$as_me:$LINENO: result: no" >&5 24756 { $as_echo "$as_me:$LINENO: result: no" >&5
23523echo "${ECHO_T}no" >&6; } 24757$as_echo "no" >&6; }
23524 fi 24758 fi
23525 24759
23526 24760
23527# look for field 'ut_type' in header 'utmpx.h' 24761# look for field 'ut_type' in header 'utmpx.h'
23528 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24762 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23529 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type 24763 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_type
23530 { echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5 24764 { $as_echo "$as_me:$LINENO: checking for ut_type field in utmpx.h" >&5
23531echo $ECHO_N "checking for ut_type field in utmpx.h... $ECHO_C" >&6; } 24765$as_echo_n "checking for ut_type field in utmpx.h... " >&6; }
23532 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24766 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23533 echo $ECHO_N "(cached) $ECHO_C" >&6 24767 $as_echo_n "(cached) " >&6
23534else 24768else
23535 24769
23536 cat >conftest.$ac_ext <<_ACEOF 24770 cat >conftest.$ac_ext <<_ACEOF
@@ -23554,8 +24788,8 @@ fi
23554 24788
23555 ossh_result=`eval 'echo $'"$ossh_varname"` 24789 ossh_result=`eval 'echo $'"$ossh_varname"`
23556 if test -n "`echo $ossh_varname`"; then 24790 if test -n "`echo $ossh_varname`"; then
23557 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24791 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23558echo "${ECHO_T}$ossh_result" >&6; } 24792$as_echo "$ossh_result" >&6; }
23559 if test "x$ossh_result" = "xyes"; then 24793 if test "x$ossh_result" = "xyes"; then
23560 24794
23561cat >>confdefs.h <<\_ACEOF 24795cat >>confdefs.h <<\_ACEOF
@@ -23564,18 +24798,18 @@ _ACEOF
23564 24798
23565 fi 24799 fi
23566 else 24800 else
23567 { echo "$as_me:$LINENO: result: no" >&5 24801 { $as_echo "$as_me:$LINENO: result: no" >&5
23568echo "${ECHO_T}no" >&6; } 24802$as_echo "no" >&6; }
23569 fi 24803 fi
23570 24804
23571 24805
23572# look for field 'ut_tv' in header 'utmp.h' 24806# look for field 'ut_tv' in header 'utmp.h'
23573 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24807 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23574 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 24808 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
23575 { echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5 24809 { $as_echo "$as_me:$LINENO: checking for ut_tv field in utmp.h" >&5
23576echo $ECHO_N "checking for ut_tv field in utmp.h... $ECHO_C" >&6; } 24810$as_echo_n "checking for ut_tv field in utmp.h... " >&6; }
23577 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24811 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6 24812 $as_echo_n "(cached) " >&6
23579else 24813else
23580 24814
23581 cat >conftest.$ac_ext <<_ACEOF 24815 cat >conftest.$ac_ext <<_ACEOF
@@ -23599,8 +24833,8 @@ fi
23599 24833
23600 ossh_result=`eval 'echo $'"$ossh_varname"` 24834 ossh_result=`eval 'echo $'"$ossh_varname"`
23601 if test -n "`echo $ossh_varname`"; then 24835 if test -n "`echo $ossh_varname`"; then
23602 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24836 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23603echo "${ECHO_T}$ossh_result" >&6; } 24837$as_echo "$ossh_result" >&6; }
23604 if test "x$ossh_result" = "xyes"; then 24838 if test "x$ossh_result" = "xyes"; then
23605 24839
23606cat >>confdefs.h <<\_ACEOF 24840cat >>confdefs.h <<\_ACEOF
@@ -23609,18 +24843,18 @@ _ACEOF
23609 24843
23610 fi 24844 fi
23611 else 24845 else
23612 { echo "$as_me:$LINENO: result: no" >&5 24846 { $as_echo "$as_me:$LINENO: result: no" >&5
23613echo "${ECHO_T}no" >&6; } 24847$as_echo "no" >&6; }
23614 fi 24848 fi
23615 24849
23616 24850
23617# look for field 'ut_id' in header 'utmp.h' 24851# look for field 'ut_id' in header 'utmp.h'
23618 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24852 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23619 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 24853 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
23620 { echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5 24854 { $as_echo "$as_me:$LINENO: checking for ut_id field in utmp.h" >&5
23621echo $ECHO_N "checking for ut_id field in utmp.h... $ECHO_C" >&6; } 24855$as_echo_n "checking for ut_id field in utmp.h... " >&6; }
23622 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24856 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6 24857 $as_echo_n "(cached) " >&6
23624else 24858else
23625 24859
23626 cat >conftest.$ac_ext <<_ACEOF 24860 cat >conftest.$ac_ext <<_ACEOF
@@ -23644,8 +24878,8 @@ fi
23644 24878
23645 ossh_result=`eval 'echo $'"$ossh_varname"` 24879 ossh_result=`eval 'echo $'"$ossh_varname"`
23646 if test -n "`echo $ossh_varname`"; then 24880 if test -n "`echo $ossh_varname`"; then
23647 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24881 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23648echo "${ECHO_T}$ossh_result" >&6; } 24882$as_echo "$ossh_result" >&6; }
23649 if test "x$ossh_result" = "xyes"; then 24883 if test "x$ossh_result" = "xyes"; then
23650 24884
23651cat >>confdefs.h <<\_ACEOF 24885cat >>confdefs.h <<\_ACEOF
@@ -23654,18 +24888,18 @@ _ACEOF
23654 24888
23655 fi 24889 fi
23656 else 24890 else
23657 { echo "$as_me:$LINENO: result: no" >&5 24891 { $as_echo "$as_me:$LINENO: result: no" >&5
23658echo "${ECHO_T}no" >&6; } 24892$as_echo "no" >&6; }
23659 fi 24893 fi
23660 24894
23661 24895
23662# look for field 'ut_id' in header 'utmpx.h' 24896# look for field 'ut_id' in header 'utmpx.h'
23663 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24897 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23664 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id 24898 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_id
23665 { echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5 24899 { $as_echo "$as_me:$LINENO: checking for ut_id field in utmpx.h" >&5
23666echo $ECHO_N "checking for ut_id field in utmpx.h... $ECHO_C" >&6; } 24900$as_echo_n "checking for ut_id field in utmpx.h... " >&6; }
23667 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24901 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23668 echo $ECHO_N "(cached) $ECHO_C" >&6 24902 $as_echo_n "(cached) " >&6
23669else 24903else
23670 24904
23671 cat >conftest.$ac_ext <<_ACEOF 24905 cat >conftest.$ac_ext <<_ACEOF
@@ -23689,8 +24923,8 @@ fi
23689 24923
23690 ossh_result=`eval 'echo $'"$ossh_varname"` 24924 ossh_result=`eval 'echo $'"$ossh_varname"`
23691 if test -n "`echo $ossh_varname`"; then 24925 if test -n "`echo $ossh_varname`"; then
23692 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24926 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23693echo "${ECHO_T}$ossh_result" >&6; } 24927$as_echo "$ossh_result" >&6; }
23694 if test "x$ossh_result" = "xyes"; then 24928 if test "x$ossh_result" = "xyes"; then
23695 24929
23696cat >>confdefs.h <<\_ACEOF 24930cat >>confdefs.h <<\_ACEOF
@@ -23699,18 +24933,18 @@ _ACEOF
23699 24933
23700 fi 24934 fi
23701 else 24935 else
23702 { echo "$as_me:$LINENO: result: no" >&5 24936 { $as_echo "$as_me:$LINENO: result: no" >&5
23703echo "${ECHO_T}no" >&6; } 24937$as_echo "no" >&6; }
23704 fi 24938 fi
23705 24939
23706 24940
23707# look for field 'ut_addr' in header 'utmp.h' 24941# look for field 'ut_addr' in header 'utmp.h'
23708 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 24942 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23709 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 24943 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
23710 { echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5 24944 { $as_echo "$as_me:$LINENO: checking for ut_addr field in utmp.h" >&5
23711echo $ECHO_N "checking for ut_addr field in utmp.h... $ECHO_C" >&6; } 24945$as_echo_n "checking for ut_addr field in utmp.h... " >&6; }
23712 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24946 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23713 echo $ECHO_N "(cached) $ECHO_C" >&6 24947 $as_echo_n "(cached) " >&6
23714else 24948else
23715 24949
23716 cat >conftest.$ac_ext <<_ACEOF 24950 cat >conftest.$ac_ext <<_ACEOF
@@ -23734,8 +24968,8 @@ fi
23734 24968
23735 ossh_result=`eval 'echo $'"$ossh_varname"` 24969 ossh_result=`eval 'echo $'"$ossh_varname"`
23736 if test -n "`echo $ossh_varname`"; then 24970 if test -n "`echo $ossh_varname`"; then
23737 { echo "$as_me:$LINENO: result: $ossh_result" >&5 24971 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23738echo "${ECHO_T}$ossh_result" >&6; } 24972$as_echo "$ossh_result" >&6; }
23739 if test "x$ossh_result" = "xyes"; then 24973 if test "x$ossh_result" = "xyes"; then
23740 24974
23741cat >>confdefs.h <<\_ACEOF 24975cat >>confdefs.h <<\_ACEOF
@@ -23744,18 +24978,18 @@ _ACEOF
23744 24978
23745 fi 24979 fi
23746 else 24980 else
23747 { echo "$as_me:$LINENO: result: no" >&5 24981 { $as_echo "$as_me:$LINENO: result: no" >&5
23748echo "${ECHO_T}no" >&6; } 24982$as_echo "no" >&6; }
23749 fi 24983 fi
23750 24984
23751 24985
23752# look for field 'ut_addr' in header 'utmpx.h' 24986# look for field 'ut_addr' in header 'utmpx.h'
23753 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 24987 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23754 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr 24988 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr
23755 { echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5 24989 { $as_echo "$as_me:$LINENO: checking for ut_addr field in utmpx.h" >&5
23756echo $ECHO_N "checking for ut_addr field in utmpx.h... $ECHO_C" >&6; } 24990$as_echo_n "checking for ut_addr field in utmpx.h... " >&6; }
23757 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 24991 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6 24992 $as_echo_n "(cached) " >&6
23759else 24993else
23760 24994
23761 cat >conftest.$ac_ext <<_ACEOF 24995 cat >conftest.$ac_ext <<_ACEOF
@@ -23779,8 +25013,8 @@ fi
23779 25013
23780 ossh_result=`eval 'echo $'"$ossh_varname"` 25014 ossh_result=`eval 'echo $'"$ossh_varname"`
23781 if test -n "`echo $ossh_varname`"; then 25015 if test -n "`echo $ossh_varname`"; then
23782 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25016 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23783echo "${ECHO_T}$ossh_result" >&6; } 25017$as_echo "$ossh_result" >&6; }
23784 if test "x$ossh_result" = "xyes"; then 25018 if test "x$ossh_result" = "xyes"; then
23785 25019
23786cat >>confdefs.h <<\_ACEOF 25020cat >>confdefs.h <<\_ACEOF
@@ -23789,18 +25023,18 @@ _ACEOF
23789 25023
23790 fi 25024 fi
23791 else 25025 else
23792 { echo "$as_me:$LINENO: result: no" >&5 25026 { $as_echo "$as_me:$LINENO: result: no" >&5
23793echo "${ECHO_T}no" >&6; } 25027$as_echo "no" >&6; }
23794 fi 25028 fi
23795 25029
23796 25030
23797# look for field 'ut_addr_v6' in header 'utmp.h' 25031# look for field 'ut_addr_v6' in header 'utmp.h'
23798 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25032 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23799 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 25033 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
23800 { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5 25034 { $as_echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmp.h" >&5
23801echo $ECHO_N "checking for ut_addr_v6 field in utmp.h... $ECHO_C" >&6; } 25035$as_echo_n "checking for ut_addr_v6 field in utmp.h... " >&6; }
23802 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25036 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6 25037 $as_echo_n "(cached) " >&6
23804else 25038else
23805 25039
23806 cat >conftest.$ac_ext <<_ACEOF 25040 cat >conftest.$ac_ext <<_ACEOF
@@ -23824,8 +25058,8 @@ fi
23824 25058
23825 ossh_result=`eval 'echo $'"$ossh_varname"` 25059 ossh_result=`eval 'echo $'"$ossh_varname"`
23826 if test -n "`echo $ossh_varname`"; then 25060 if test -n "`echo $ossh_varname`"; then
23827 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25061 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23828echo "${ECHO_T}$ossh_result" >&6; } 25062$as_echo "$ossh_result" >&6; }
23829 if test "x$ossh_result" = "xyes"; then 25063 if test "x$ossh_result" = "xyes"; then
23830 25064
23831cat >>confdefs.h <<\_ACEOF 25065cat >>confdefs.h <<\_ACEOF
@@ -23834,18 +25068,18 @@ _ACEOF
23834 25068
23835 fi 25069 fi
23836 else 25070 else
23837 { echo "$as_me:$LINENO: result: no" >&5 25071 { $as_echo "$as_me:$LINENO: result: no" >&5
23838echo "${ECHO_T}no" >&6; } 25072$as_echo "no" >&6; }
23839 fi 25073 fi
23840 25074
23841 25075
23842# look for field 'ut_addr_v6' in header 'utmpx.h' 25076# look for field 'ut_addr_v6' in header 'utmpx.h'
23843 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25077 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23844 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6 25078 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_addr_v6
23845 { echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5 25079 { $as_echo "$as_me:$LINENO: checking for ut_addr_v6 field in utmpx.h" >&5
23846echo $ECHO_N "checking for ut_addr_v6 field in utmpx.h... $ECHO_C" >&6; } 25080$as_echo_n "checking for ut_addr_v6 field in utmpx.h... " >&6; }
23847 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25081 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23848 echo $ECHO_N "(cached) $ECHO_C" >&6 25082 $as_echo_n "(cached) " >&6
23849else 25083else
23850 25084
23851 cat >conftest.$ac_ext <<_ACEOF 25085 cat >conftest.$ac_ext <<_ACEOF
@@ -23869,8 +25103,8 @@ fi
23869 25103
23870 ossh_result=`eval 'echo $'"$ossh_varname"` 25104 ossh_result=`eval 'echo $'"$ossh_varname"`
23871 if test -n "`echo $ossh_varname`"; then 25105 if test -n "`echo $ossh_varname`"; then
23872 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25106 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23873echo "${ECHO_T}$ossh_result" >&6; } 25107$as_echo "$ossh_result" >&6; }
23874 if test "x$ossh_result" = "xyes"; then 25108 if test "x$ossh_result" = "xyes"; then
23875 25109
23876cat >>confdefs.h <<\_ACEOF 25110cat >>confdefs.h <<\_ACEOF
@@ -23879,18 +25113,18 @@ _ACEOF
23879 25113
23880 fi 25114 fi
23881 else 25115 else
23882 { echo "$as_me:$LINENO: result: no" >&5 25116 { $as_echo "$as_me:$LINENO: result: no" >&5
23883echo "${ECHO_T}no" >&6; } 25117$as_echo "no" >&6; }
23884 fi 25118 fi
23885 25119
23886 25120
23887# look for field 'ut_exit' in header 'utmp.h' 25121# look for field 'ut_exit' in header 'utmp.h'
23888 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25122 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23889 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit 25123 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_exit
23890 { echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5 25124 { $as_echo "$as_me:$LINENO: checking for ut_exit field in utmp.h" >&5
23891echo $ECHO_N "checking for ut_exit field in utmp.h... $ECHO_C" >&6; } 25125$as_echo_n "checking for ut_exit field in utmp.h... " >&6; }
23892 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25126 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6 25127 $as_echo_n "(cached) " >&6
23894else 25128else
23895 25129
23896 cat >conftest.$ac_ext <<_ACEOF 25130 cat >conftest.$ac_ext <<_ACEOF
@@ -23914,8 +25148,8 @@ fi
23914 25148
23915 ossh_result=`eval 'echo $'"$ossh_varname"` 25149 ossh_result=`eval 'echo $'"$ossh_varname"`
23916 if test -n "`echo $ossh_varname`"; then 25150 if test -n "`echo $ossh_varname`"; then
23917 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25151 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23918echo "${ECHO_T}$ossh_result" >&6; } 25152$as_echo "$ossh_result" >&6; }
23919 if test "x$ossh_result" = "xyes"; then 25153 if test "x$ossh_result" = "xyes"; then
23920 25154
23921cat >>confdefs.h <<\_ACEOF 25155cat >>confdefs.h <<\_ACEOF
@@ -23924,18 +25158,18 @@ _ACEOF
23924 25158
23925 fi 25159 fi
23926 else 25160 else
23927 { echo "$as_me:$LINENO: result: no" >&5 25161 { $as_echo "$as_me:$LINENO: result: no" >&5
23928echo "${ECHO_T}no" >&6; } 25162$as_echo "no" >&6; }
23929 fi 25163 fi
23930 25164
23931 25165
23932# look for field 'ut_time' in header 'utmp.h' 25166# look for field 'ut_time' in header 'utmp.h'
23933 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'` 25167 ossh_safe=`echo "utmp.h" | sed 'y%./+-%__p_%'`
23934 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 25168 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
23935 { echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5 25169 { $as_echo "$as_me:$LINENO: checking for ut_time field in utmp.h" >&5
23936echo $ECHO_N "checking for ut_time field in utmp.h... $ECHO_C" >&6; } 25170$as_echo_n "checking for ut_time field in utmp.h... " >&6; }
23937 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25171 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23938 echo $ECHO_N "(cached) $ECHO_C" >&6 25172 $as_echo_n "(cached) " >&6
23939else 25173else
23940 25174
23941 cat >conftest.$ac_ext <<_ACEOF 25175 cat >conftest.$ac_ext <<_ACEOF
@@ -23959,8 +25193,8 @@ fi
23959 25193
23960 ossh_result=`eval 'echo $'"$ossh_varname"` 25194 ossh_result=`eval 'echo $'"$ossh_varname"`
23961 if test -n "`echo $ossh_varname`"; then 25195 if test -n "`echo $ossh_varname`"; then
23962 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25196 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
23963echo "${ECHO_T}$ossh_result" >&6; } 25197$as_echo "$ossh_result" >&6; }
23964 if test "x$ossh_result" = "xyes"; then 25198 if test "x$ossh_result" = "xyes"; then
23965 25199
23966cat >>confdefs.h <<\_ACEOF 25200cat >>confdefs.h <<\_ACEOF
@@ -23969,18 +25203,18 @@ _ACEOF
23969 25203
23970 fi 25204 fi
23971 else 25205 else
23972 { echo "$as_me:$LINENO: result: no" >&5 25206 { $as_echo "$as_me:$LINENO: result: no" >&5
23973echo "${ECHO_T}no" >&6; } 25207$as_echo "no" >&6; }
23974 fi 25208 fi
23975 25209
23976 25210
23977# look for field 'ut_time' in header 'utmpx.h' 25211# look for field 'ut_time' in header 'utmpx.h'
23978 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25212 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
23979 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time 25213 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_time
23980 { echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5 25214 { $as_echo "$as_me:$LINENO: checking for ut_time field in utmpx.h" >&5
23981echo $ECHO_N "checking for ut_time field in utmpx.h... $ECHO_C" >&6; } 25215$as_echo_n "checking for ut_time field in utmpx.h... " >&6; }
23982 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25216 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
23983 echo $ECHO_N "(cached) $ECHO_C" >&6 25217 $as_echo_n "(cached) " >&6
23984else 25218else
23985 25219
23986 cat >conftest.$ac_ext <<_ACEOF 25220 cat >conftest.$ac_ext <<_ACEOF
@@ -24004,8 +25238,8 @@ fi
24004 25238
24005 ossh_result=`eval 'echo $'"$ossh_varname"` 25239 ossh_result=`eval 'echo $'"$ossh_varname"`
24006 if test -n "`echo $ossh_varname`"; then 25240 if test -n "`echo $ossh_varname`"; then
24007 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25241 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
24008echo "${ECHO_T}$ossh_result" >&6; } 25242$as_echo "$ossh_result" >&6; }
24009 if test "x$ossh_result" = "xyes"; then 25243 if test "x$ossh_result" = "xyes"; then
24010 25244
24011cat >>confdefs.h <<\_ACEOF 25245cat >>confdefs.h <<\_ACEOF
@@ -24014,18 +25248,18 @@ _ACEOF
24014 25248
24015 fi 25249 fi
24016 else 25250 else
24017 { echo "$as_me:$LINENO: result: no" >&5 25251 { $as_echo "$as_me:$LINENO: result: no" >&5
24018echo "${ECHO_T}no" >&6; } 25252$as_echo "no" >&6; }
24019 fi 25253 fi
24020 25254
24021 25255
24022# look for field 'ut_tv' in header 'utmpx.h' 25256# look for field 'ut_tv' in header 'utmpx.h'
24023 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'` 25257 ossh_safe=`echo "utmpx.h" | sed 'y%./+-%__p_%'`
24024 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv 25258 ossh_varname="ossh_cv_$ossh_safe""_has_"ut_tv
24025 { echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5 25259 { $as_echo "$as_me:$LINENO: checking for ut_tv field in utmpx.h" >&5
24026echo $ECHO_N "checking for ut_tv field in utmpx.h... $ECHO_C" >&6; } 25260$as_echo_n "checking for ut_tv field in utmpx.h... " >&6; }
24027 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then 25261 if { as_var=$ossh_varname; eval "test \"\${$as_var+set}\" = set"; }; then
24028 echo $ECHO_N "(cached) $ECHO_C" >&6 25262 $as_echo_n "(cached) " >&6
24029else 25263else
24030 25264
24031 cat >conftest.$ac_ext <<_ACEOF 25265 cat >conftest.$ac_ext <<_ACEOF
@@ -24049,8 +25283,8 @@ fi
24049 25283
24050 ossh_result=`eval 'echo $'"$ossh_varname"` 25284 ossh_result=`eval 'echo $'"$ossh_varname"`
24051 if test -n "`echo $ossh_varname`"; then 25285 if test -n "`echo $ossh_varname`"; then
24052 { echo "$as_me:$LINENO: result: $ossh_result" >&5 25286 { $as_echo "$as_me:$LINENO: result: $ossh_result" >&5
24053echo "${ECHO_T}$ossh_result" >&6; } 25287$as_echo "$ossh_result" >&6; }
24054 if test "x$ossh_result" = "xyes"; then 25288 if test "x$ossh_result" = "xyes"; then
24055 25289
24056cat >>confdefs.h <<\_ACEOF 25290cat >>confdefs.h <<\_ACEOF
@@ -24059,15 +25293,15 @@ _ACEOF
24059 25293
24060 fi 25294 fi
24061 else 25295 else
24062 { echo "$as_me:$LINENO: result: no" >&5 25296 { $as_echo "$as_me:$LINENO: result: no" >&5
24063echo "${ECHO_T}no" >&6; } 25297$as_echo "no" >&6; }
24064 fi 25298 fi
24065 25299
24066 25300
24067{ echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 25301{ $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
24068echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; } 25302$as_echo_n "checking for struct stat.st_blksize... " >&6; }
24069if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then 25303if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
24070 echo $ECHO_N "(cached) $ECHO_C" >&6 25304 $as_echo_n "(cached) " >&6
24071else 25305else
24072 cat >conftest.$ac_ext <<_ACEOF 25306 cat >conftest.$ac_ext <<_ACEOF
24073/* confdefs.h. */ 25307/* confdefs.h. */
@@ -24092,20 +25326,21 @@ case "(($ac_try" in
24092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24093 *) ac_try_echo=$ac_try;; 25327 *) ac_try_echo=$ac_try;;
24094esac 25328esac
24095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25329eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25330$as_echo "$ac_try_echo") >&5
24096 (eval "$ac_compile") 2>conftest.er1 25331 (eval "$ac_compile") 2>conftest.er1
24097 ac_status=$? 25332 ac_status=$?
24098 grep -v '^ *+' conftest.er1 >conftest.err 25333 grep -v '^ *+' conftest.er1 >conftest.err
24099 rm -f conftest.er1 25334 rm -f conftest.er1
24100 cat conftest.err >&5 25335 cat conftest.err >&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } && { 25337 (exit $ac_status); } && {
24103 test -z "$ac_c_werror_flag" || 25338 test -z "$ac_c_werror_flag" ||
24104 test ! -s conftest.err 25339 test ! -s conftest.err
24105 } && test -s conftest.$ac_objext; then 25340 } && test -s conftest.$ac_objext; then
24106 ac_cv_member_struct_stat_st_blksize=yes 25341 ac_cv_member_struct_stat_st_blksize=yes
24107else 25342else
24108 echo "$as_me: failed program was:" >&5 25343 $as_echo "$as_me: failed program was:" >&5
24109sed 's/^/| /' conftest.$ac_ext >&5 25344sed 's/^/| /' conftest.$ac_ext >&5
24110 25345
24111 cat >conftest.$ac_ext <<_ACEOF 25346 cat >conftest.$ac_ext <<_ACEOF
@@ -24131,20 +25366,21 @@ case "(($ac_try" in
24131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24132 *) ac_try_echo=$ac_try;; 25367 *) ac_try_echo=$ac_try;;
24133esac 25368esac
24134eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25369eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25370$as_echo "$ac_try_echo") >&5
24135 (eval "$ac_compile") 2>conftest.er1 25371 (eval "$ac_compile") 2>conftest.er1
24136 ac_status=$? 25372 ac_status=$?
24137 grep -v '^ *+' conftest.er1 >conftest.err 25373 grep -v '^ *+' conftest.er1 >conftest.err
24138 rm -f conftest.er1 25374 rm -f conftest.er1
24139 cat conftest.err >&5 25375 cat conftest.err >&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25376 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); } && { 25377 (exit $ac_status); } && {
24142 test -z "$ac_c_werror_flag" || 25378 test -z "$ac_c_werror_flag" ||
24143 test ! -s conftest.err 25379 test ! -s conftest.err
24144 } && test -s conftest.$ac_objext; then 25380 } && test -s conftest.$ac_objext; then
24145 ac_cv_member_struct_stat_st_blksize=yes 25381 ac_cv_member_struct_stat_st_blksize=yes
24146else 25382else
24147 echo "$as_me: failed program was:" >&5 25383 $as_echo "$as_me: failed program was:" >&5
24148sed 's/^/| /' conftest.$ac_ext >&5 25384sed 's/^/| /' conftest.$ac_ext >&5
24149 25385
24150 ac_cv_member_struct_stat_st_blksize=no 25386 ac_cv_member_struct_stat_st_blksize=no
@@ -24155,8 +25391,8 @@ fi
24155 25391
24156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157fi 25393fi
24158{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 25394{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
24159echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; } 25395$as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
24160if test $ac_cv_member_struct_stat_st_blksize = yes; then 25396if test $ac_cv_member_struct_stat_st_blksize = yes; then
24161 25397
24162cat >>confdefs.h <<_ACEOF 25398cat >>confdefs.h <<_ACEOF
@@ -24166,10 +25402,10 @@ _ACEOF
24166 25402
24167fi 25403fi
24168 25404
24169{ echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5 25405{ $as_echo "$as_me:$LINENO: checking for struct __res_state.retrans" >&5
24170echo $ECHO_N "checking for struct __res_state.retrans... $ECHO_C" >&6; } 25406$as_echo_n "checking for struct __res_state.retrans... " >&6; }
24171if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then 25407if test "${ac_cv_member_struct___res_state_retrans+set}" = set; then
24172 echo $ECHO_N "(cached) $ECHO_C" >&6 25408 $as_echo_n "(cached) " >&6
24173else 25409else
24174 cat >conftest.$ac_ext <<_ACEOF 25410 cat >conftest.$ac_ext <<_ACEOF
24175/* confdefs.h. */ 25411/* confdefs.h. */
@@ -24203,20 +25439,21 @@ case "(($ac_try" in
24203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24204 *) ac_try_echo=$ac_try;; 25440 *) ac_try_echo=$ac_try;;
24205esac 25441esac
24206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25442eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25443$as_echo "$ac_try_echo") >&5
24207 (eval "$ac_compile") 2>conftest.er1 25444 (eval "$ac_compile") 2>conftest.er1
24208 ac_status=$? 25445 ac_status=$?
24209 grep -v '^ *+' conftest.er1 >conftest.err 25446 grep -v '^ *+' conftest.er1 >conftest.err
24210 rm -f conftest.er1 25447 rm -f conftest.er1
24211 cat conftest.err >&5 25448 cat conftest.err >&5
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25449 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); } && { 25450 (exit $ac_status); } && {
24214 test -z "$ac_c_werror_flag" || 25451 test -z "$ac_c_werror_flag" ||
24215 test ! -s conftest.err 25452 test ! -s conftest.err
24216 } && test -s conftest.$ac_objext; then 25453 } && test -s conftest.$ac_objext; then
24217 ac_cv_member_struct___res_state_retrans=yes 25454 ac_cv_member_struct___res_state_retrans=yes
24218else 25455else
24219 echo "$as_me: failed program was:" >&5 25456 $as_echo "$as_me: failed program was:" >&5
24220sed 's/^/| /' conftest.$ac_ext >&5 25457sed 's/^/| /' conftest.$ac_ext >&5
24221 25458
24222 cat >conftest.$ac_ext <<_ACEOF 25459 cat >conftest.$ac_ext <<_ACEOF
@@ -24251,20 +25488,21 @@ case "(($ac_try" in
24251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24252 *) ac_try_echo=$ac_try;; 25489 *) ac_try_echo=$ac_try;;
24253esac 25490esac
24254eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25491eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25492$as_echo "$ac_try_echo") >&5
24255 (eval "$ac_compile") 2>conftest.er1 25493 (eval "$ac_compile") 2>conftest.er1
24256 ac_status=$? 25494 ac_status=$?
24257 grep -v '^ *+' conftest.er1 >conftest.err 25495 grep -v '^ *+' conftest.er1 >conftest.err
24258 rm -f conftest.er1 25496 rm -f conftest.er1
24259 cat conftest.err >&5 25497 cat conftest.err >&5
24260 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24261 (exit $ac_status); } && { 25499 (exit $ac_status); } && {
24262 test -z "$ac_c_werror_flag" || 25500 test -z "$ac_c_werror_flag" ||
24263 test ! -s conftest.err 25501 test ! -s conftest.err
24264 } && test -s conftest.$ac_objext; then 25502 } && test -s conftest.$ac_objext; then
24265 ac_cv_member_struct___res_state_retrans=yes 25503 ac_cv_member_struct___res_state_retrans=yes
24266else 25504else
24267 echo "$as_me: failed program was:" >&5 25505 $as_echo "$as_me: failed program was:" >&5
24268sed 's/^/| /' conftest.$ac_ext >&5 25506sed 's/^/| /' conftest.$ac_ext >&5
24269 25507
24270 ac_cv_member_struct___res_state_retrans=no 25508 ac_cv_member_struct___res_state_retrans=no
@@ -24275,8 +25513,8 @@ fi
24275 25513
24276rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25514rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277fi 25515fi
24278{ echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5 25516{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct___res_state_retrans" >&5
24279echo "${ECHO_T}$ac_cv_member_struct___res_state_retrans" >&6; } 25517$as_echo "$ac_cv_member_struct___res_state_retrans" >&6; }
24280if test $ac_cv_member_struct___res_state_retrans = yes; then 25518if test $ac_cv_member_struct___res_state_retrans = yes; then
24281 : 25519 :
24282else 25520else
@@ -24288,10 +25526,10 @@ _ACEOF
24288fi 25526fi
24289 25527
24290 25528
24291{ echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5 25529{ $as_echo "$as_me:$LINENO: checking for ss_family field in struct sockaddr_storage" >&5
24292echo $ECHO_N "checking for ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } 25530$as_echo_n "checking for ss_family field in struct sockaddr_storage... " >&6; }
24293if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then 25531if test "${ac_cv_have_ss_family_in_struct_ss+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6 25532 $as_echo_n "(cached) " >&6
24295else 25533else
24296 25534
24297 cat >conftest.$ac_ext <<_ACEOF 25535 cat >conftest.$ac_ext <<_ACEOF
@@ -24318,20 +25556,21 @@ case "(($ac_try" in
24318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24319 *) ac_try_echo=$ac_try;; 25557 *) ac_try_echo=$ac_try;;
24320esac 25558esac
24321eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25560$as_echo "$ac_try_echo") >&5
24322 (eval "$ac_compile") 2>conftest.er1 25561 (eval "$ac_compile") 2>conftest.er1
24323 ac_status=$? 25562 ac_status=$?
24324 grep -v '^ *+' conftest.er1 >conftest.err 25563 grep -v '^ *+' conftest.er1 >conftest.err
24325 rm -f conftest.er1 25564 rm -f conftest.er1
24326 cat conftest.err >&5 25565 cat conftest.err >&5
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); } && { 25567 (exit $ac_status); } && {
24329 test -z "$ac_c_werror_flag" || 25568 test -z "$ac_c_werror_flag" ||
24330 test ! -s conftest.err 25569 test ! -s conftest.err
24331 } && test -s conftest.$ac_objext; then 25570 } && test -s conftest.$ac_objext; then
24332 ac_cv_have_ss_family_in_struct_ss="yes" 25571 ac_cv_have_ss_family_in_struct_ss="yes"
24333else 25572else
24334 echo "$as_me: failed program was:" >&5 25573 $as_echo "$as_me: failed program was:" >&5
24335sed 's/^/| /' conftest.$ac_ext >&5 25574sed 's/^/| /' conftest.$ac_ext >&5
24336 25575
24337 ac_cv_have_ss_family_in_struct_ss="no" 25576 ac_cv_have_ss_family_in_struct_ss="no"
@@ -24340,8 +25579,8 @@ fi
24340rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341 25580
24342fi 25581fi
24343{ echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5 25582{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_ss_family_in_struct_ss" >&5
24344echo "${ECHO_T}$ac_cv_have_ss_family_in_struct_ss" >&6; } 25583$as_echo "$ac_cv_have_ss_family_in_struct_ss" >&6; }
24345if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then 25584if test "x$ac_cv_have_ss_family_in_struct_ss" = "xyes" ; then
24346 25585
24347cat >>confdefs.h <<\_ACEOF 25586cat >>confdefs.h <<\_ACEOF
@@ -24350,10 +25589,10 @@ _ACEOF
24350 25589
24351fi 25590fi
24352 25591
24353{ echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5 25592{ $as_echo "$as_me:$LINENO: checking for __ss_family field in struct sockaddr_storage" >&5
24354echo $ECHO_N "checking for __ss_family field in struct sockaddr_storage... $ECHO_C" >&6; } 25593$as_echo_n "checking for __ss_family field in struct sockaddr_storage... " >&6; }
24355if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then 25594if test "${ac_cv_have___ss_family_in_struct_ss+set}" = set; then
24356 echo $ECHO_N "(cached) $ECHO_C" >&6 25595 $as_echo_n "(cached) " >&6
24357else 25596else
24358 25597
24359 cat >conftest.$ac_ext <<_ACEOF 25598 cat >conftest.$ac_ext <<_ACEOF
@@ -24380,20 +25619,21 @@ case "(($ac_try" in
24380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24381 *) ac_try_echo=$ac_try;; 25620 *) ac_try_echo=$ac_try;;
24382esac 25621esac
24383eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25622eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25623$as_echo "$ac_try_echo") >&5
24384 (eval "$ac_compile") 2>conftest.er1 25624 (eval "$ac_compile") 2>conftest.er1
24385 ac_status=$? 25625 ac_status=$?
24386 grep -v '^ *+' conftest.er1 >conftest.err 25626 grep -v '^ *+' conftest.er1 >conftest.err
24387 rm -f conftest.er1 25627 rm -f conftest.er1
24388 cat conftest.err >&5 25628 cat conftest.err >&5
24389 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25629 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390 (exit $ac_status); } && { 25630 (exit $ac_status); } && {
24391 test -z "$ac_c_werror_flag" || 25631 test -z "$ac_c_werror_flag" ||
24392 test ! -s conftest.err 25632 test ! -s conftest.err
24393 } && test -s conftest.$ac_objext; then 25633 } && test -s conftest.$ac_objext; then
24394 ac_cv_have___ss_family_in_struct_ss="yes" 25634 ac_cv_have___ss_family_in_struct_ss="yes"
24395else 25635else
24396 echo "$as_me: failed program was:" >&5 25636 $as_echo "$as_me: failed program was:" >&5
24397sed 's/^/| /' conftest.$ac_ext >&5 25637sed 's/^/| /' conftest.$ac_ext >&5
24398 25638
24399 ac_cv_have___ss_family_in_struct_ss="no" 25639 ac_cv_have___ss_family_in_struct_ss="no"
@@ -24403,8 +25643,8 @@ fi
24403rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25643rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404 25644
24405fi 25645fi
24406{ echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5 25646{ $as_echo "$as_me:$LINENO: result: $ac_cv_have___ss_family_in_struct_ss" >&5
24407echo "${ECHO_T}$ac_cv_have___ss_family_in_struct_ss" >&6; } 25647$as_echo "$ac_cv_have___ss_family_in_struct_ss" >&6; }
24408if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then 25648if test "x$ac_cv_have___ss_family_in_struct_ss" = "xyes" ; then
24409 25649
24410cat >>confdefs.h <<\_ACEOF 25650cat >>confdefs.h <<\_ACEOF
@@ -24413,10 +25653,10 @@ _ACEOF
24413 25653
24414fi 25654fi
24415 25655
24416{ echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5 25656{ $as_echo "$as_me:$LINENO: checking for pw_class field in struct passwd" >&5
24417echo $ECHO_N "checking for pw_class field in struct passwd... $ECHO_C" >&6; } 25657$as_echo_n "checking for pw_class field in struct passwd... " >&6; }
24418if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then 25658if test "${ac_cv_have_pw_class_in_struct_passwd+set}" = set; then
24419 echo $ECHO_N "(cached) $ECHO_C" >&6 25659 $as_echo_n "(cached) " >&6
24420else 25660else
24421 25661
24422 cat >conftest.$ac_ext <<_ACEOF 25662 cat >conftest.$ac_ext <<_ACEOF
@@ -24442,20 +25682,21 @@ case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;; 25683 *) ac_try_echo=$ac_try;;
24444esac 25684esac
24445eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25685eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25686$as_echo "$ac_try_echo") >&5
24446 (eval "$ac_compile") 2>conftest.er1 25687 (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$? 25688 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err 25689 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1 25690 rm -f conftest.er1
24450 cat conftest.err >&5 25691 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && { 25693 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" || 25694 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err 25695 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then 25696 } && test -s conftest.$ac_objext; then
24456 ac_cv_have_pw_class_in_struct_passwd="yes" 25697 ac_cv_have_pw_class_in_struct_passwd="yes"
24457else 25698else
24458 echo "$as_me: failed program was:" >&5 25699 $as_echo "$as_me: failed program was:" >&5
24459sed 's/^/| /' conftest.$ac_ext >&5 25700sed 's/^/| /' conftest.$ac_ext >&5
24460 25701
24461 ac_cv_have_pw_class_in_struct_passwd="no" 25702 ac_cv_have_pw_class_in_struct_passwd="no"
@@ -24465,8 +25706,8 @@ fi
24465rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24466 25707
24467fi 25708fi
24468{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5 25709{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_class_in_struct_passwd" >&5
24469echo "${ECHO_T}$ac_cv_have_pw_class_in_struct_passwd" >&6; } 25710$as_echo "$ac_cv_have_pw_class_in_struct_passwd" >&6; }
24470if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then 25711if test "x$ac_cv_have_pw_class_in_struct_passwd" = "xyes" ; then
24471 25712
24472cat >>confdefs.h <<\_ACEOF 25713cat >>confdefs.h <<\_ACEOF
@@ -24475,10 +25716,10 @@ _ACEOF
24475 25716
24476fi 25717fi
24477 25718
24478{ echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5 25719{ $as_echo "$as_me:$LINENO: checking for pw_expire field in struct passwd" >&5
24479echo $ECHO_N "checking for pw_expire field in struct passwd... $ECHO_C" >&6; } 25720$as_echo_n "checking for pw_expire field in struct passwd... " >&6; }
24480if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then 25721if test "${ac_cv_have_pw_expire_in_struct_passwd+set}" = set; then
24481 echo $ECHO_N "(cached) $ECHO_C" >&6 25722 $as_echo_n "(cached) " >&6
24482else 25723else
24483 25724
24484 cat >conftest.$ac_ext <<_ACEOF 25725 cat >conftest.$ac_ext <<_ACEOF
@@ -24504,20 +25745,21 @@ case "(($ac_try" in
24504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;; 25746 *) ac_try_echo=$ac_try;;
24506esac 25747esac
24507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25748eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25749$as_echo "$ac_try_echo") >&5
24508 (eval "$ac_compile") 2>conftest.er1 25750 (eval "$ac_compile") 2>conftest.er1
24509 ac_status=$? 25751 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err 25752 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1 25753 rm -f conftest.er1
24512 cat conftest.err >&5 25754 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && { 25756 (exit $ac_status); } && {
24515 test -z "$ac_c_werror_flag" || 25757 test -z "$ac_c_werror_flag" ||
24516 test ! -s conftest.err 25758 test ! -s conftest.err
24517 } && test -s conftest.$ac_objext; then 25759 } && test -s conftest.$ac_objext; then
24518 ac_cv_have_pw_expire_in_struct_passwd="yes" 25760 ac_cv_have_pw_expire_in_struct_passwd="yes"
24519else 25761else
24520 echo "$as_me: failed program was:" >&5 25762 $as_echo "$as_me: failed program was:" >&5
24521sed 's/^/| /' conftest.$ac_ext >&5 25763sed 's/^/| /' conftest.$ac_ext >&5
24522 25764
24523 ac_cv_have_pw_expire_in_struct_passwd="no" 25765 ac_cv_have_pw_expire_in_struct_passwd="no"
@@ -24527,8 +25769,8 @@ fi
24527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24528 25770
24529fi 25771fi
24530{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5 25772{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_expire_in_struct_passwd" >&5
24531echo "${ECHO_T}$ac_cv_have_pw_expire_in_struct_passwd" >&6; } 25773$as_echo "$ac_cv_have_pw_expire_in_struct_passwd" >&6; }
24532if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then 25774if test "x$ac_cv_have_pw_expire_in_struct_passwd" = "xyes" ; then
24533 25775
24534cat >>confdefs.h <<\_ACEOF 25776cat >>confdefs.h <<\_ACEOF
@@ -24537,10 +25779,10 @@ _ACEOF
24537 25779
24538fi 25780fi
24539 25781
24540{ echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5 25782{ $as_echo "$as_me:$LINENO: checking for pw_change field in struct passwd" >&5
24541echo $ECHO_N "checking for pw_change field in struct passwd... $ECHO_C" >&6; } 25783$as_echo_n "checking for pw_change field in struct passwd... " >&6; }
24542if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then 25784if test "${ac_cv_have_pw_change_in_struct_passwd+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6 25785 $as_echo_n "(cached) " >&6
24544else 25786else
24545 25787
24546 cat >conftest.$ac_ext <<_ACEOF 25788 cat >conftest.$ac_ext <<_ACEOF
@@ -24566,20 +25808,21 @@ case "(($ac_try" in
24566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24567 *) ac_try_echo=$ac_try;; 25809 *) ac_try_echo=$ac_try;;
24568esac 25810esac
24569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25811eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25812$as_echo "$ac_try_echo") >&5
24570 (eval "$ac_compile") 2>conftest.er1 25813 (eval "$ac_compile") 2>conftest.er1
24571 ac_status=$? 25814 ac_status=$?
24572 grep -v '^ *+' conftest.er1 >conftest.err 25815 grep -v '^ *+' conftest.er1 >conftest.err
24573 rm -f conftest.er1 25816 rm -f conftest.er1
24574 cat conftest.err >&5 25817 cat conftest.err >&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25818 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); } && { 25819 (exit $ac_status); } && {
24577 test -z "$ac_c_werror_flag" || 25820 test -z "$ac_c_werror_flag" ||
24578 test ! -s conftest.err 25821 test ! -s conftest.err
24579 } && test -s conftest.$ac_objext; then 25822 } && test -s conftest.$ac_objext; then
24580 ac_cv_have_pw_change_in_struct_passwd="yes" 25823 ac_cv_have_pw_change_in_struct_passwd="yes"
24581else 25824else
24582 echo "$as_me: failed program was:" >&5 25825 $as_echo "$as_me: failed program was:" >&5
24583sed 's/^/| /' conftest.$ac_ext >&5 25826sed 's/^/| /' conftest.$ac_ext >&5
24584 25827
24585 ac_cv_have_pw_change_in_struct_passwd="no" 25828 ac_cv_have_pw_change_in_struct_passwd="no"
@@ -24589,8 +25832,8 @@ fi
24589rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 25833
24591fi 25834fi
24592{ echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5 25835{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_pw_change_in_struct_passwd" >&5
24593echo "${ECHO_T}$ac_cv_have_pw_change_in_struct_passwd" >&6; } 25836$as_echo "$ac_cv_have_pw_change_in_struct_passwd" >&6; }
24594if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then 25837if test "x$ac_cv_have_pw_change_in_struct_passwd" = "xyes" ; then
24595 25838
24596cat >>confdefs.h <<\_ACEOF 25839cat >>confdefs.h <<\_ACEOF
@@ -24599,10 +25842,10 @@ _ACEOF
24599 25842
24600fi 25843fi
24601 25844
24602{ echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5 25845{ $as_echo "$as_me:$LINENO: checking for msg_accrights field in struct msghdr" >&5
24603echo $ECHO_N "checking for msg_accrights field in struct msghdr... $ECHO_C" >&6; } 25846$as_echo_n "checking for msg_accrights field in struct msghdr... " >&6; }
24604if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then 25847if test "${ac_cv_have_accrights_in_msghdr+set}" = set; then
24605 echo $ECHO_N "(cached) $ECHO_C" >&6 25848 $as_echo_n "(cached) " >&6
24606else 25849else
24607 25850
24608 cat >conftest.$ac_ext <<_ACEOF 25851 cat >conftest.$ac_ext <<_ACEOF
@@ -24627,20 +25870,21 @@ case "(($ac_try" in
24627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24628 *) ac_try_echo=$ac_try;; 25871 *) ac_try_echo=$ac_try;;
24629esac 25872esac
24630eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25873eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25874$as_echo "$ac_try_echo") >&5
24631 (eval "$ac_compile") 2>conftest.er1 25875 (eval "$ac_compile") 2>conftest.er1
24632 ac_status=$? 25876 ac_status=$?
24633 grep -v '^ *+' conftest.er1 >conftest.err 25877 grep -v '^ *+' conftest.er1 >conftest.err
24634 rm -f conftest.er1 25878 rm -f conftest.er1
24635 cat conftest.err >&5 25879 cat conftest.err >&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); } && { 25881 (exit $ac_status); } && {
24638 test -z "$ac_c_werror_flag" || 25882 test -z "$ac_c_werror_flag" ||
24639 test ! -s conftest.err 25883 test ! -s conftest.err
24640 } && test -s conftest.$ac_objext; then 25884 } && test -s conftest.$ac_objext; then
24641 ac_cv_have_accrights_in_msghdr="yes" 25885 ac_cv_have_accrights_in_msghdr="yes"
24642else 25886else
24643 echo "$as_me: failed program was:" >&5 25887 $as_echo "$as_me: failed program was:" >&5
24644sed 's/^/| /' conftest.$ac_ext >&5 25888sed 's/^/| /' conftest.$ac_ext >&5
24645 25889
24646 ac_cv_have_accrights_in_msghdr="no" 25890 ac_cv_have_accrights_in_msghdr="no"
@@ -24650,8 +25894,8 @@ fi
24650rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 25894rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 25895
24652fi 25896fi
24653{ echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5 25897{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_accrights_in_msghdr" >&5
24654echo "${ECHO_T}$ac_cv_have_accrights_in_msghdr" >&6; } 25898$as_echo "$ac_cv_have_accrights_in_msghdr" >&6; }
24655if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then 25899if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
24656 25900
24657cat >>confdefs.h <<\_ACEOF 25901cat >>confdefs.h <<\_ACEOF
@@ -24660,8 +25904,8 @@ _ACEOF
24660 25904
24661fi 25905fi
24662 25906
24663{ echo "$as_me:$LINENO: checking if f_fsid has val members" >&5 25907{ $as_echo "$as_me:$LINENO: checking if struct statvfs.f_fsid is integral type" >&5
24664echo $ECHO_N "checking if f_fsid has val members... $ECHO_C" >&6; } 25908$as_echo_n "checking if struct statvfs.f_fsid is integral type... " >&6; }
24665cat >conftest.$ac_ext <<_ACEOF 25909cat >conftest.$ac_ext <<_ACEOF
24666/* confdefs.h. */ 25910/* confdefs.h. */
24667_ACEOF 25911_ACEOF
@@ -24670,11 +25914,67 @@ cat >>conftest.$ac_ext <<_ACEOF
24670/* end confdefs.h. */ 25914/* end confdefs.h. */
24671 25915
24672#include <sys/types.h> 25916#include <sys/types.h>
25917#include <sys/stat.h>
25918#ifdef HAVE_SYS_TIME_H
25919# include <sys/time.h>
25920#endif
25921#ifdef HAVE_SYS_MOUNT_H
25922#include <sys/mount.h>
25923#endif
25924#ifdef HAVE_SYS_STATVFS_H
25925#include <sys/statvfs.h>
25926#endif
25927
25928int
25929main ()
25930{
25931struct statvfs s; s.f_fsid = 0;
25932 ;
25933 return 0;
25934}
25935_ACEOF
25936rm -f conftest.$ac_objext
25937if { (ac_try="$ac_compile"
25938case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;;
25941esac
25942eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25943$as_echo "$ac_try_echo") >&5
25944 (eval "$ac_compile") 2>conftest.er1
25945 ac_status=$?
25946 grep -v '^ *+' conftest.er1 >conftest.err
25947 rm -f conftest.er1
25948 cat conftest.err >&5
25949 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); } && {
25951 test -z "$ac_c_werror_flag" ||
25952 test ! -s conftest.err
25953 } && test -s conftest.$ac_objext; then
25954 { $as_echo "$as_me:$LINENO: result: yes" >&5
25955$as_echo "yes" >&6; }
25956else
25957 $as_echo "$as_me: failed program was:" >&5
25958sed 's/^/| /' conftest.$ac_ext >&5
25959
25960 { $as_echo "$as_me:$LINENO: result: no" >&5
25961$as_echo "no" >&6; }
25962
25963 { $as_echo "$as_me:$LINENO: checking if fsid_t has member val" >&5
25964$as_echo_n "checking if fsid_t has member val... " >&6; }
25965 cat >conftest.$ac_ext <<_ACEOF
25966/* confdefs.h. */
25967_ACEOF
25968cat confdefs.h >>conftest.$ac_ext
25969cat >>conftest.$ac_ext <<_ACEOF
25970/* end confdefs.h. */
25971
25972#include <sys/types.h>
24673#include <sys/statvfs.h> 25973#include <sys/statvfs.h>
24674int 25974int
24675main () 25975main ()
24676{ 25976{
24677struct fsid_t t; t.val[0] = 0; 25977fsid_t t; t.val[0] = 0;
24678 ; 25978 ;
24679 return 0; 25979 return 0;
24680} 25980}
@@ -24685,39 +25985,97 @@ case "(($ac_try" in
24685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24686 *) ac_try_echo=$ac_try;; 25986 *) ac_try_echo=$ac_try;;
24687esac 25987esac
24688eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 25988eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
25989$as_echo "$ac_try_echo") >&5
24689 (eval "$ac_compile") 2>conftest.er1 25990 (eval "$ac_compile") 2>conftest.er1
24690 ac_status=$? 25991 ac_status=$?
24691 grep -v '^ *+' conftest.er1 >conftest.err 25992 grep -v '^ *+' conftest.er1 >conftest.err
24692 rm -f conftest.er1 25993 rm -f conftest.er1
24693 cat conftest.err >&5 25994 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5 25995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } && { 25996 (exit $ac_status); } && {
24696 test -z "$ac_c_werror_flag" || 25997 test -z "$ac_c_werror_flag" ||
24697 test ! -s conftest.err 25998 test ! -s conftest.err
24698 } && test -s conftest.$ac_objext; then 25999 } && test -s conftest.$ac_objext; then
24699 { echo "$as_me:$LINENO: result: yes" >&5 26000 { $as_echo "$as_me:$LINENO: result: yes" >&5
24700echo "${ECHO_T}yes" >&6; } 26001$as_echo "yes" >&6; }
24701 26002
24702cat >>confdefs.h <<\_ACEOF 26003cat >>confdefs.h <<\_ACEOF
24703#define FSID_HAS_VAL 1 26004#define FSID_HAS_VAL 1
24704_ACEOF 26005_ACEOF
24705 26006
24706else 26007else
24707 echo "$as_me: failed program was:" >&5 26008 $as_echo "$as_me: failed program was:" >&5
24708sed 's/^/| /' conftest.$ac_ext >&5 26009sed 's/^/| /' conftest.$ac_ext >&5
24709 26010
24710 { echo "$as_me:$LINENO: result: no" >&5 26011 { $as_echo "$as_me:$LINENO: result: no" >&5
24711echo "${ECHO_T}no" >&6; } 26012$as_echo "no" >&6; }
26013fi
26014
26015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016
26017 { $as_echo "$as_me:$LINENO: checking if f_fsid has member __val" >&5
26018$as_echo_n "checking if f_fsid has member __val... " >&6; }
26019 cat >conftest.$ac_ext <<_ACEOF
26020/* confdefs.h. */
26021_ACEOF
26022cat confdefs.h >>conftest.$ac_ext
26023cat >>conftest.$ac_ext <<_ACEOF
26024/* end confdefs.h. */
24712 26025
26026#include <sys/types.h>
26027#include <sys/statvfs.h>
26028int
26029main ()
26030{
26031fsid_t t; t.__val[0] = 0;
26032 ;
26033 return 0;
26034}
26035_ACEOF
26036rm -f conftest.$ac_objext
26037if { (ac_try="$ac_compile"
26038case "(($ac_try" in
26039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26040 *) ac_try_echo=$ac_try;;
26041esac
26042eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26043$as_echo "$ac_try_echo") >&5
26044 (eval "$ac_compile") 2>conftest.er1
26045 ac_status=$?
26046 grep -v '^ *+' conftest.er1 >conftest.err
26047 rm -f conftest.er1
26048 cat conftest.err >&5
26049 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26050 (exit $ac_status); } && {
26051 test -z "$ac_c_werror_flag" ||
26052 test ! -s conftest.err
26053 } && test -s conftest.$ac_objext; then
26054 { $as_echo "$as_me:$LINENO: result: yes" >&5
26055$as_echo "yes" >&6; }
26056
26057cat >>confdefs.h <<\_ACEOF
26058#define FSID_HAS___VAL 1
26059_ACEOF
26060
26061else
26062 $as_echo "$as_me: failed program was:" >&5
26063sed 's/^/| /' conftest.$ac_ext >&5
26064
26065 { $as_echo "$as_me:$LINENO: result: no" >&5
26066$as_echo "no" >&6; }
24713fi 26067fi
24714 26068
24715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24716 26070
24717{ echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5 26071fi
24718echo $ECHO_N "checking for msg_control field in struct msghdr... $ECHO_C" >&6; } 26072
26073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26074
26075{ $as_echo "$as_me:$LINENO: checking for msg_control field in struct msghdr" >&5
26076$as_echo_n "checking for msg_control field in struct msghdr... " >&6; }
24719if test "${ac_cv_have_control_in_msghdr+set}" = set; then 26077if test "${ac_cv_have_control_in_msghdr+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6 26078 $as_echo_n "(cached) " >&6
24721else 26079else
24722 26080
24723 cat >conftest.$ac_ext <<_ACEOF 26081 cat >conftest.$ac_ext <<_ACEOF
@@ -24742,20 +26100,21 @@ case "(($ac_try" in
24742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24743 *) ac_try_echo=$ac_try;; 26101 *) ac_try_echo=$ac_try;;
24744esac 26102esac
24745eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26103eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26104$as_echo "$ac_try_echo") >&5
24746 (eval "$ac_compile") 2>conftest.er1 26105 (eval "$ac_compile") 2>conftest.er1
24747 ac_status=$? 26106 ac_status=$?
24748 grep -v '^ *+' conftest.er1 >conftest.err 26107 grep -v '^ *+' conftest.er1 >conftest.err
24749 rm -f conftest.er1 26108 rm -f conftest.er1
24750 cat conftest.err >&5 26109 cat conftest.err >&5
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); } && { 26111 (exit $ac_status); } && {
24753 test -z "$ac_c_werror_flag" || 26112 test -z "$ac_c_werror_flag" ||
24754 test ! -s conftest.err 26113 test ! -s conftest.err
24755 } && test -s conftest.$ac_objext; then 26114 } && test -s conftest.$ac_objext; then
24756 ac_cv_have_control_in_msghdr="yes" 26115 ac_cv_have_control_in_msghdr="yes"
24757else 26116else
24758 echo "$as_me: failed program was:" >&5 26117 $as_echo "$as_me: failed program was:" >&5
24759sed 's/^/| /' conftest.$ac_ext >&5 26118sed 's/^/| /' conftest.$ac_ext >&5
24760 26119
24761 ac_cv_have_control_in_msghdr="no" 26120 ac_cv_have_control_in_msghdr="no"
@@ -24765,8 +26124,8 @@ fi
24765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 26125
24767fi 26126fi
24768{ echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5 26127{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_control_in_msghdr" >&5
24769echo "${ECHO_T}$ac_cv_have_control_in_msghdr" >&6; } 26128$as_echo "$ac_cv_have_control_in_msghdr" >&6; }
24770if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then 26129if test "x$ac_cv_have_control_in_msghdr" = "xyes" ; then
24771 26130
24772cat >>confdefs.h <<\_ACEOF 26131cat >>confdefs.h <<\_ACEOF
@@ -24775,10 +26134,10 @@ _ACEOF
24775 26134
24776fi 26135fi
24777 26136
24778{ echo "$as_me:$LINENO: checking if libc defines __progname" >&5 26137{ $as_echo "$as_me:$LINENO: checking if libc defines __progname" >&5
24779echo $ECHO_N "checking if libc defines __progname... $ECHO_C" >&6; } 26138$as_echo_n "checking if libc defines __progname... " >&6; }
24780if test "${ac_cv_libc_defines___progname+set}" = set; then 26139if test "${ac_cv_libc_defines___progname+set}" = set; then
24781 echo $ECHO_N "(cached) $ECHO_C" >&6 26140 $as_echo_n "(cached) " >&6
24782else 26141else
24783 26142
24784 cat >conftest.$ac_ext <<_ACEOF 26143 cat >conftest.$ac_ext <<_ACEOF
@@ -24802,33 +26161,37 @@ case "(($ac_try" in
24802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24803 *) ac_try_echo=$ac_try;; 26162 *) ac_try_echo=$ac_try;;
24804esac 26163esac
24805eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26164eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26165$as_echo "$ac_try_echo") >&5
24806 (eval "$ac_link") 2>conftest.er1 26166 (eval "$ac_link") 2>conftest.er1
24807 ac_status=$? 26167 ac_status=$?
24808 grep -v '^ *+' conftest.er1 >conftest.err 26168 grep -v '^ *+' conftest.er1 >conftest.err
24809 rm -f conftest.er1 26169 rm -f conftest.er1
24810 cat conftest.err >&5 26170 cat conftest.err >&5
24811 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24812 (exit $ac_status); } && { 26172 (exit $ac_status); } && {
24813 test -z "$ac_c_werror_flag" || 26173 test -z "$ac_c_werror_flag" ||
24814 test ! -s conftest.err 26174 test ! -s conftest.err
24815 } && test -s conftest$ac_exeext && 26175 } && test -s conftest$ac_exeext && {
24816 $as_test_x conftest$ac_exeext; then 26176 test "$cross_compiling" = yes ||
26177 $as_test_x conftest$ac_exeext
26178 }; then
24817 ac_cv_libc_defines___progname="yes" 26179 ac_cv_libc_defines___progname="yes"
24818else 26180else
24819 echo "$as_me: failed program was:" >&5 26181 $as_echo "$as_me: failed program was:" >&5
24820sed 's/^/| /' conftest.$ac_ext >&5 26182sed 's/^/| /' conftest.$ac_ext >&5
24821 26183
24822 ac_cv_libc_defines___progname="no" 26184 ac_cv_libc_defines___progname="no"
24823 26185
24824fi 26186fi
24825 26187
26188rm -rf conftest.dSYM
24826rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26189rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24827 conftest$ac_exeext conftest.$ac_ext 26190 conftest$ac_exeext conftest.$ac_ext
24828 26191
24829fi 26192fi
24830{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5 26193{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines___progname" >&5
24831echo "${ECHO_T}$ac_cv_libc_defines___progname" >&6; } 26194$as_echo "$ac_cv_libc_defines___progname" >&6; }
24832if test "x$ac_cv_libc_defines___progname" = "xyes" ; then 26195if test "x$ac_cv_libc_defines___progname" = "xyes" ; then
24833 26196
24834cat >>confdefs.h <<\_ACEOF 26197cat >>confdefs.h <<\_ACEOF
@@ -24837,10 +26200,10 @@ _ACEOF
24837 26200
24838fi 26201fi
24839 26202
24840{ echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5 26203{ $as_echo "$as_me:$LINENO: checking whether $CC implements __FUNCTION__" >&5
24841echo $ECHO_N "checking whether $CC implements __FUNCTION__... $ECHO_C" >&6; } 26204$as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
24842if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then 26205if test "${ac_cv_cc_implements___FUNCTION__+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6 26206 $as_echo_n "(cached) " >&6
24844else 26207else
24845 26208
24846 cat >conftest.$ac_ext <<_ACEOF 26209 cat >conftest.$ac_ext <<_ACEOF
@@ -24866,33 +26229,37 @@ case "(($ac_try" in
24866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24867 *) ac_try_echo=$ac_try;; 26230 *) ac_try_echo=$ac_try;;
24868esac 26231esac
24869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26232eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26233$as_echo "$ac_try_echo") >&5
24870 (eval "$ac_link") 2>conftest.er1 26234 (eval "$ac_link") 2>conftest.er1
24871 ac_status=$? 26235 ac_status=$?
24872 grep -v '^ *+' conftest.er1 >conftest.err 26236 grep -v '^ *+' conftest.er1 >conftest.err
24873 rm -f conftest.er1 26237 rm -f conftest.er1
24874 cat conftest.err >&5 26238 cat conftest.err >&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } && { 26240 (exit $ac_status); } && {
24877 test -z "$ac_c_werror_flag" || 26241 test -z "$ac_c_werror_flag" ||
24878 test ! -s conftest.err 26242 test ! -s conftest.err
24879 } && test -s conftest$ac_exeext && 26243 } && test -s conftest$ac_exeext && {
24880 $as_test_x conftest$ac_exeext; then 26244 test "$cross_compiling" = yes ||
26245 $as_test_x conftest$ac_exeext
26246 }; then
24881 ac_cv_cc_implements___FUNCTION__="yes" 26247 ac_cv_cc_implements___FUNCTION__="yes"
24882else 26248else
24883 echo "$as_me: failed program was:" >&5 26249 $as_echo "$as_me: failed program was:" >&5
24884sed 's/^/| /' conftest.$ac_ext >&5 26250sed 's/^/| /' conftest.$ac_ext >&5
24885 26251
24886 ac_cv_cc_implements___FUNCTION__="no" 26252 ac_cv_cc_implements___FUNCTION__="no"
24887 26253
24888fi 26254fi
24889 26255
26256rm -rf conftest.dSYM
24890rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26257rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24891 conftest$ac_exeext conftest.$ac_ext 26258 conftest$ac_exeext conftest.$ac_ext
24892 26259
24893fi 26260fi
24894{ echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5 26261{ $as_echo "$as_me:$LINENO: result: $ac_cv_cc_implements___FUNCTION__" >&5
24895echo "${ECHO_T}$ac_cv_cc_implements___FUNCTION__" >&6; } 26262$as_echo "$ac_cv_cc_implements___FUNCTION__" >&6; }
24896if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then 26263if test "x$ac_cv_cc_implements___FUNCTION__" = "xyes" ; then
24897 26264
24898cat >>confdefs.h <<\_ACEOF 26265cat >>confdefs.h <<\_ACEOF
@@ -24901,10 +26268,10 @@ _ACEOF
24901 26268
24902fi 26269fi
24903 26270
24904{ echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5 26271{ $as_echo "$as_me:$LINENO: checking whether $CC implements __func__" >&5
24905echo $ECHO_N "checking whether $CC implements __func__... $ECHO_C" >&6; } 26272$as_echo_n "checking whether $CC implements __func__... " >&6; }
24906if test "${ac_cv_cc_implements___func__+set}" = set; then 26273if test "${ac_cv_cc_implements___func__+set}" = set; then
24907 echo $ECHO_N "(cached) $ECHO_C" >&6 26274 $as_echo_n "(cached) " >&6
24908else 26275else
24909 26276
24910 cat >conftest.$ac_ext <<_ACEOF 26277 cat >conftest.$ac_ext <<_ACEOF
@@ -24930,33 +26297,37 @@ case "(($ac_try" in
24930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24931 *) ac_try_echo=$ac_try;; 26298 *) ac_try_echo=$ac_try;;
24932esac 26299esac
24933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26300eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26301$as_echo "$ac_try_echo") >&5
24934 (eval "$ac_link") 2>conftest.er1 26302 (eval "$ac_link") 2>conftest.er1
24935 ac_status=$? 26303 ac_status=$?
24936 grep -v '^ *+' conftest.er1 >conftest.err 26304 grep -v '^ *+' conftest.er1 >conftest.err
24937 rm -f conftest.er1 26305 rm -f conftest.er1
24938 cat conftest.err >&5 26306 cat conftest.err >&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } && { 26308 (exit $ac_status); } && {
24941 test -z "$ac_c_werror_flag" || 26309 test -z "$ac_c_werror_flag" ||
24942 test ! -s conftest.err 26310 test ! -s conftest.err
24943 } && test -s conftest$ac_exeext && 26311 } && test -s conftest$ac_exeext && {
24944 $as_test_x conftest$ac_exeext; then 26312 test "$cross_compiling" = yes ||
26313 $as_test_x conftest$ac_exeext
26314 }; then
24945 ac_cv_cc_implements___func__="yes" 26315 ac_cv_cc_implements___func__="yes"
24946else 26316else
24947 echo "$as_me: failed program was:" >&5 26317 $as_echo "$as_me: failed program was:" >&5
24948sed 's/^/| /' conftest.$ac_ext >&5 26318sed 's/^/| /' conftest.$ac_ext >&5
24949 26319
24950 ac_cv_cc_implements___func__="no" 26320 ac_cv_cc_implements___func__="no"
24951 26321
24952fi 26322fi
24953 26323
26324rm -rf conftest.dSYM
24954rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24955 conftest$ac_exeext conftest.$ac_ext 26326 conftest$ac_exeext conftest.$ac_ext
24956 26327
24957fi 26328fi
24958{ echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5 26329{ $as_echo "$as_me:$LINENO: result: $ac_cv_cc_implements___func__" >&5
24959echo "${ECHO_T}$ac_cv_cc_implements___func__" >&6; } 26330$as_echo "$ac_cv_cc_implements___func__" >&6; }
24960if test "x$ac_cv_cc_implements___func__" = "xyes" ; then 26331if test "x$ac_cv_cc_implements___func__" = "xyes" ; then
24961 26332
24962cat >>confdefs.h <<\_ACEOF 26333cat >>confdefs.h <<\_ACEOF
@@ -24965,10 +26336,10 @@ _ACEOF
24965 26336
24966fi 26337fi
24967 26338
24968{ echo "$as_me:$LINENO: checking whether va_copy exists" >&5 26339{ $as_echo "$as_me:$LINENO: checking whether va_copy exists" >&5
24969echo $ECHO_N "checking whether va_copy exists... $ECHO_C" >&6; } 26340$as_echo_n "checking whether va_copy exists... " >&6; }
24970if test "${ac_cv_have_va_copy+set}" = set; then 26341if test "${ac_cv_have_va_copy+set}" = set; then
24971 echo $ECHO_N "(cached) $ECHO_C" >&6 26342 $as_echo_n "(cached) " >&6
24972else 26343else
24973 26344
24974 cat >conftest.$ac_ext <<_ACEOF 26345 cat >conftest.$ac_ext <<_ACEOF
@@ -24993,33 +26364,37 @@ case "(($ac_try" in
24993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24994 *) ac_try_echo=$ac_try;; 26365 *) ac_try_echo=$ac_try;;
24995esac 26366esac
24996eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26368$as_echo "$ac_try_echo") >&5
24997 (eval "$ac_link") 2>conftest.er1 26369 (eval "$ac_link") 2>conftest.er1
24998 ac_status=$? 26370 ac_status=$?
24999 grep -v '^ *+' conftest.er1 >conftest.err 26371 grep -v '^ *+' conftest.er1 >conftest.err
25000 rm -f conftest.er1 26372 rm -f conftest.er1
25001 cat conftest.err >&5 26373 cat conftest.err >&5
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); } && { 26375 (exit $ac_status); } && {
25004 test -z "$ac_c_werror_flag" || 26376 test -z "$ac_c_werror_flag" ||
25005 test ! -s conftest.err 26377 test ! -s conftest.err
25006 } && test -s conftest$ac_exeext && 26378 } && test -s conftest$ac_exeext && {
25007 $as_test_x conftest$ac_exeext; then 26379 test "$cross_compiling" = yes ||
26380 $as_test_x conftest$ac_exeext
26381 }; then
25008 ac_cv_have_va_copy="yes" 26382 ac_cv_have_va_copy="yes"
25009else 26383else
25010 echo "$as_me: failed program was:" >&5 26384 $as_echo "$as_me: failed program was:" >&5
25011sed 's/^/| /' conftest.$ac_ext >&5 26385sed 's/^/| /' conftest.$ac_ext >&5
25012 26386
25013 ac_cv_have_va_copy="no" 26387 ac_cv_have_va_copy="no"
25014 26388
25015fi 26389fi
25016 26390
26391rm -rf conftest.dSYM
25017rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26392rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25018 conftest$ac_exeext conftest.$ac_ext 26393 conftest$ac_exeext conftest.$ac_ext
25019 26394
25020fi 26395fi
25021{ echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5 26396{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_va_copy" >&5
25022echo "${ECHO_T}$ac_cv_have_va_copy" >&6; } 26397$as_echo "$ac_cv_have_va_copy" >&6; }
25023if test "x$ac_cv_have_va_copy" = "xyes" ; then 26398if test "x$ac_cv_have_va_copy" = "xyes" ; then
25024 26399
25025cat >>confdefs.h <<\_ACEOF 26400cat >>confdefs.h <<\_ACEOF
@@ -25028,10 +26403,10 @@ _ACEOF
25028 26403
25029fi 26404fi
25030 26405
25031{ echo "$as_me:$LINENO: checking whether __va_copy exists" >&5 26406{ $as_echo "$as_me:$LINENO: checking whether __va_copy exists" >&5
25032echo $ECHO_N "checking whether __va_copy exists... $ECHO_C" >&6; } 26407$as_echo_n "checking whether __va_copy exists... " >&6; }
25033if test "${ac_cv_have___va_copy+set}" = set; then 26408if test "${ac_cv_have___va_copy+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6 26409 $as_echo_n "(cached) " >&6
25035else 26410else
25036 26411
25037 cat >conftest.$ac_ext <<_ACEOF 26412 cat >conftest.$ac_ext <<_ACEOF
@@ -25056,33 +26431,37 @@ case "(($ac_try" in
25056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25057 *) ac_try_echo=$ac_try;; 26432 *) ac_try_echo=$ac_try;;
25058esac 26433esac
25059eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26434eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26435$as_echo "$ac_try_echo") >&5
25060 (eval "$ac_link") 2>conftest.er1 26436 (eval "$ac_link") 2>conftest.er1
25061 ac_status=$? 26437 ac_status=$?
25062 grep -v '^ *+' conftest.er1 >conftest.err 26438 grep -v '^ *+' conftest.er1 >conftest.err
25063 rm -f conftest.er1 26439 rm -f conftest.er1
25064 cat conftest.err >&5 26440 cat conftest.err >&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26441 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } && { 26442 (exit $ac_status); } && {
25067 test -z "$ac_c_werror_flag" || 26443 test -z "$ac_c_werror_flag" ||
25068 test ! -s conftest.err 26444 test ! -s conftest.err
25069 } && test -s conftest$ac_exeext && 26445 } && test -s conftest$ac_exeext && {
25070 $as_test_x conftest$ac_exeext; then 26446 test "$cross_compiling" = yes ||
26447 $as_test_x conftest$ac_exeext
26448 }; then
25071 ac_cv_have___va_copy="yes" 26449 ac_cv_have___va_copy="yes"
25072else 26450else
25073 echo "$as_me: failed program was:" >&5 26451 $as_echo "$as_me: failed program was:" >&5
25074sed 's/^/| /' conftest.$ac_ext >&5 26452sed 's/^/| /' conftest.$ac_ext >&5
25075 26453
25076 ac_cv_have___va_copy="no" 26454 ac_cv_have___va_copy="no"
25077 26455
25078fi 26456fi
25079 26457
26458rm -rf conftest.dSYM
25080rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26459rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25081 conftest$ac_exeext conftest.$ac_ext 26460 conftest$ac_exeext conftest.$ac_ext
25082 26461
25083fi 26462fi
25084{ echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5 26463{ $as_echo "$as_me:$LINENO: result: $ac_cv_have___va_copy" >&5
25085echo "${ECHO_T}$ac_cv_have___va_copy" >&6; } 26464$as_echo "$ac_cv_have___va_copy" >&6; }
25086if test "x$ac_cv_have___va_copy" = "xyes" ; then 26465if test "x$ac_cv_have___va_copy" = "xyes" ; then
25087 26466
25088cat >>confdefs.h <<\_ACEOF 26467cat >>confdefs.h <<\_ACEOF
@@ -25091,10 +26470,10 @@ _ACEOF
25091 26470
25092fi 26471fi
25093 26472
25094{ echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5 26473{ $as_echo "$as_me:$LINENO: checking whether getopt has optreset support" >&5
25095echo $ECHO_N "checking whether getopt has optreset support... $ECHO_C" >&6; } 26474$as_echo_n "checking whether getopt has optreset support... " >&6; }
25096if test "${ac_cv_have_getopt_optreset+set}" = set; then 26475if test "${ac_cv_have_getopt_optreset+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6 26476 $as_echo_n "(cached) " >&6
25098else 26477else
25099 26478
25100 cat >conftest.$ac_ext <<_ACEOF 26479 cat >conftest.$ac_ext <<_ACEOF
@@ -25120,33 +26499,37 @@ case "(($ac_try" in
25120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25121 *) ac_try_echo=$ac_try;; 26500 *) ac_try_echo=$ac_try;;
25122esac 26501esac
25123eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26503$as_echo "$ac_try_echo") >&5
25124 (eval "$ac_link") 2>conftest.er1 26504 (eval "$ac_link") 2>conftest.er1
25125 ac_status=$? 26505 ac_status=$?
25126 grep -v '^ *+' conftest.er1 >conftest.err 26506 grep -v '^ *+' conftest.er1 >conftest.err
25127 rm -f conftest.er1 26507 rm -f conftest.er1
25128 cat conftest.err >&5 26508 cat conftest.err >&5
25129 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26509 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130 (exit $ac_status); } && { 26510 (exit $ac_status); } && {
25131 test -z "$ac_c_werror_flag" || 26511 test -z "$ac_c_werror_flag" ||
25132 test ! -s conftest.err 26512 test ! -s conftest.err
25133 } && test -s conftest$ac_exeext && 26513 } && test -s conftest$ac_exeext && {
25134 $as_test_x conftest$ac_exeext; then 26514 test "$cross_compiling" = yes ||
26515 $as_test_x conftest$ac_exeext
26516 }; then
25135 ac_cv_have_getopt_optreset="yes" 26517 ac_cv_have_getopt_optreset="yes"
25136else 26518else
25137 echo "$as_me: failed program was:" >&5 26519 $as_echo "$as_me: failed program was:" >&5
25138sed 's/^/| /' conftest.$ac_ext >&5 26520sed 's/^/| /' conftest.$ac_ext >&5
25139 26521
25140 ac_cv_have_getopt_optreset="no" 26522 ac_cv_have_getopt_optreset="no"
25141 26523
25142fi 26524fi
25143 26525
26526rm -rf conftest.dSYM
25144rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26527rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25145 conftest$ac_exeext conftest.$ac_ext 26528 conftest$ac_exeext conftest.$ac_ext
25146 26529
25147fi 26530fi
25148{ echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5 26531{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_getopt_optreset" >&5
25149echo "${ECHO_T}$ac_cv_have_getopt_optreset" >&6; } 26532$as_echo "$ac_cv_have_getopt_optreset" >&6; }
25150if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then 26533if test "x$ac_cv_have_getopt_optreset" = "xyes" ; then
25151 26534
25152cat >>confdefs.h <<\_ACEOF 26535cat >>confdefs.h <<\_ACEOF
@@ -25155,10 +26538,10 @@ _ACEOF
25155 26538
25156fi 26539fi
25157 26540
25158{ echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5 26541{ $as_echo "$as_me:$LINENO: checking if libc defines sys_errlist" >&5
25159echo $ECHO_N "checking if libc defines sys_errlist... $ECHO_C" >&6; } 26542$as_echo_n "checking if libc defines sys_errlist... " >&6; }
25160if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then 26543if test "${ac_cv_libc_defines_sys_errlist+set}" = set; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6 26544 $as_echo_n "(cached) " >&6
25162else 26545else
25163 26546
25164 cat >conftest.$ac_ext <<_ACEOF 26547 cat >conftest.$ac_ext <<_ACEOF
@@ -25182,33 +26565,37 @@ case "(($ac_try" in
25182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25183 *) ac_try_echo=$ac_try;; 26566 *) ac_try_echo=$ac_try;;
25184esac 26567esac
25185eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26568eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26569$as_echo "$ac_try_echo") >&5
25186 (eval "$ac_link") 2>conftest.er1 26570 (eval "$ac_link") 2>conftest.er1
25187 ac_status=$? 26571 ac_status=$?
25188 grep -v '^ *+' conftest.er1 >conftest.err 26572 grep -v '^ *+' conftest.er1 >conftest.err
25189 rm -f conftest.er1 26573 rm -f conftest.er1
25190 cat conftest.err >&5 26574 cat conftest.err >&5
25191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25192 (exit $ac_status); } && { 26576 (exit $ac_status); } && {
25193 test -z "$ac_c_werror_flag" || 26577 test -z "$ac_c_werror_flag" ||
25194 test ! -s conftest.err 26578 test ! -s conftest.err
25195 } && test -s conftest$ac_exeext && 26579 } && test -s conftest$ac_exeext && {
25196 $as_test_x conftest$ac_exeext; then 26580 test "$cross_compiling" = yes ||
26581 $as_test_x conftest$ac_exeext
26582 }; then
25197 ac_cv_libc_defines_sys_errlist="yes" 26583 ac_cv_libc_defines_sys_errlist="yes"
25198else 26584else
25199 echo "$as_me: failed program was:" >&5 26585 $as_echo "$as_me: failed program was:" >&5
25200sed 's/^/| /' conftest.$ac_ext >&5 26586sed 's/^/| /' conftest.$ac_ext >&5
25201 26587
25202 ac_cv_libc_defines_sys_errlist="no" 26588 ac_cv_libc_defines_sys_errlist="no"
25203 26589
25204fi 26590fi
25205 26591
26592rm -rf conftest.dSYM
25206rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26593rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25207 conftest$ac_exeext conftest.$ac_ext 26594 conftest$ac_exeext conftest.$ac_ext
25208 26595
25209fi 26596fi
25210{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5 26597{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_errlist" >&5
25211echo "${ECHO_T}$ac_cv_libc_defines_sys_errlist" >&6; } 26598$as_echo "$ac_cv_libc_defines_sys_errlist" >&6; }
25212if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then 26599if test "x$ac_cv_libc_defines_sys_errlist" = "xyes" ; then
25213 26600
25214cat >>confdefs.h <<\_ACEOF 26601cat >>confdefs.h <<\_ACEOF
@@ -25218,10 +26605,10 @@ _ACEOF
25218fi 26605fi
25219 26606
25220 26607
25221{ echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5 26608{ $as_echo "$as_me:$LINENO: checking if libc defines sys_nerr" >&5
25222echo $ECHO_N "checking if libc defines sys_nerr... $ECHO_C" >&6; } 26609$as_echo_n "checking if libc defines sys_nerr... " >&6; }
25223if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then 26610if test "${ac_cv_libc_defines_sys_nerr+set}" = set; then
25224 echo $ECHO_N "(cached) $ECHO_C" >&6 26611 $as_echo_n "(cached) " >&6
25225else 26612else
25226 26613
25227 cat >conftest.$ac_ext <<_ACEOF 26614 cat >conftest.$ac_ext <<_ACEOF
@@ -25245,33 +26632,37 @@ case "(($ac_try" in
25245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25246 *) ac_try_echo=$ac_try;; 26633 *) ac_try_echo=$ac_try;;
25247esac 26634esac
25248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26635eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26636$as_echo "$ac_try_echo") >&5
25249 (eval "$ac_link") 2>conftest.er1 26637 (eval "$ac_link") 2>conftest.er1
25250 ac_status=$? 26638 ac_status=$?
25251 grep -v '^ *+' conftest.er1 >conftest.err 26639 grep -v '^ *+' conftest.er1 >conftest.err
25252 rm -f conftest.er1 26640 rm -f conftest.er1
25253 cat conftest.err >&5 26641 cat conftest.err >&5
25254 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26642 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25255 (exit $ac_status); } && { 26643 (exit $ac_status); } && {
25256 test -z "$ac_c_werror_flag" || 26644 test -z "$ac_c_werror_flag" ||
25257 test ! -s conftest.err 26645 test ! -s conftest.err
25258 } && test -s conftest$ac_exeext && 26646 } && test -s conftest$ac_exeext && {
25259 $as_test_x conftest$ac_exeext; then 26647 test "$cross_compiling" = yes ||
26648 $as_test_x conftest$ac_exeext
26649 }; then
25260 ac_cv_libc_defines_sys_nerr="yes" 26650 ac_cv_libc_defines_sys_nerr="yes"
25261else 26651else
25262 echo "$as_me: failed program was:" >&5 26652 $as_echo "$as_me: failed program was:" >&5
25263sed 's/^/| /' conftest.$ac_ext >&5 26653sed 's/^/| /' conftest.$ac_ext >&5
25264 26654
25265 ac_cv_libc_defines_sys_nerr="no" 26655 ac_cv_libc_defines_sys_nerr="no"
25266 26656
25267fi 26657fi
25268 26658
26659rm -rf conftest.dSYM
25269rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26660rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25270 conftest$ac_exeext conftest.$ac_ext 26661 conftest$ac_exeext conftest.$ac_ext
25271 26662
25272fi 26663fi
25273{ echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5 26664{ $as_echo "$as_me:$LINENO: result: $ac_cv_libc_defines_sys_nerr" >&5
25274echo "${ECHO_T}$ac_cv_libc_defines_sys_nerr" >&6; } 26665$as_echo "$ac_cv_libc_defines_sys_nerr" >&6; }
25275if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then 26666if test "x$ac_cv_libc_defines_sys_nerr" = "xyes" ; then
25276 26667
25277cat >>confdefs.h <<\_ACEOF 26668cat >>confdefs.h <<\_ACEOF
@@ -25300,20 +26691,21 @@ if test "${with_sectok+set}" = set; then
25300 26691
25301for ac_header in sectok.h 26692for ac_header in sectok.h
25302do 26693do
25303as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 26694as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25304if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26695if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25305 { echo "$as_me:$LINENO: checking for $ac_header" >&5 26696 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25306echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 26697$as_echo_n "checking for $ac_header... " >&6; }
25307if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26698if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25308 echo $ECHO_N "(cached) $ECHO_C" >&6 26699 $as_echo_n "(cached) " >&6
25309fi 26700fi
25310ac_res=`eval echo '${'$as_ac_Header'}'` 26701ac_res=`eval 'as_val=${'$as_ac_Header'}
25311 { echo "$as_me:$LINENO: result: $ac_res" >&5 26702 $as_echo "$as_val"'`
25312echo "${ECHO_T}$ac_res" >&6; } 26703 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26704$as_echo "$ac_res" >&6; }
25313else 26705else
25314 # Is the header compilable? 26706 # Is the header compilable?
25315{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 26707{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
25316echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 26708$as_echo_n "checking $ac_header usability... " >&6; }
25317cat >conftest.$ac_ext <<_ACEOF 26709cat >conftest.$ac_ext <<_ACEOF
25318/* confdefs.h. */ 26710/* confdefs.h. */
25319_ACEOF 26711_ACEOF
@@ -25329,32 +26721,33 @@ case "(($ac_try" in
25329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25330 *) ac_try_echo=$ac_try;; 26722 *) ac_try_echo=$ac_try;;
25331esac 26723esac
25332eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26724eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26725$as_echo "$ac_try_echo") >&5
25333 (eval "$ac_compile") 2>conftest.er1 26726 (eval "$ac_compile") 2>conftest.er1
25334 ac_status=$? 26727 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err 26728 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1 26729 rm -f conftest.er1
25337 cat conftest.err >&5 26730 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && { 26732 (exit $ac_status); } && {
25340 test -z "$ac_c_werror_flag" || 26733 test -z "$ac_c_werror_flag" ||
25341 test ! -s conftest.err 26734 test ! -s conftest.err
25342 } && test -s conftest.$ac_objext; then 26735 } && test -s conftest.$ac_objext; then
25343 ac_header_compiler=yes 26736 ac_header_compiler=yes
25344else 26737else
25345 echo "$as_me: failed program was:" >&5 26738 $as_echo "$as_me: failed program was:" >&5
25346sed 's/^/| /' conftest.$ac_ext >&5 26739sed 's/^/| /' conftest.$ac_ext >&5
25347 26740
25348 ac_header_compiler=no 26741 ac_header_compiler=no
25349fi 26742fi
25350 26743
25351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 26744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 26745{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25353echo "${ECHO_T}$ac_header_compiler" >&6; } 26746$as_echo "$ac_header_compiler" >&6; }
25354 26747
25355# Is the header present? 26748# Is the header present?
25356{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 26749{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
25357echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 26750$as_echo_n "checking $ac_header presence... " >&6; }
25358cat >conftest.$ac_ext <<_ACEOF 26751cat >conftest.$ac_ext <<_ACEOF
25359/* confdefs.h. */ 26752/* confdefs.h. */
25360_ACEOF 26753_ACEOF
@@ -25368,51 +26761,52 @@ case "(($ac_try" in
25368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25369 *) ac_try_echo=$ac_try;; 26762 *) ac_try_echo=$ac_try;;
25370esac 26763esac
25371eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26764eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26765$as_echo "$ac_try_echo") >&5
25372 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 26766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25373 ac_status=$? 26767 ac_status=$?
25374 grep -v '^ *+' conftest.er1 >conftest.err 26768 grep -v '^ *+' conftest.er1 >conftest.err
25375 rm -f conftest.er1 26769 rm -f conftest.er1
25376 cat conftest.err >&5 26770 cat conftest.err >&5
25377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25378 (exit $ac_status); } >/dev/null && { 26772 (exit $ac_status); } >/dev/null && {
25379 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 26773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25380 test ! -s conftest.err 26774 test ! -s conftest.err
25381 }; then 26775 }; then
25382 ac_header_preproc=yes 26776 ac_header_preproc=yes
25383else 26777else
25384 echo "$as_me: failed program was:" >&5 26778 $as_echo "$as_me: failed program was:" >&5
25385sed 's/^/| /' conftest.$ac_ext >&5 26779sed 's/^/| /' conftest.$ac_ext >&5
25386 26780
25387 ac_header_preproc=no 26781 ac_header_preproc=no
25388fi 26782fi
25389 26783
25390rm -f conftest.err conftest.$ac_ext 26784rm -f conftest.err conftest.$ac_ext
25391{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 26785{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25392echo "${ECHO_T}$ac_header_preproc" >&6; } 26786$as_echo "$ac_header_preproc" >&6; }
25393 26787
25394# So? What about this header? 26788# So? What about this header?
25395case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 26789case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25396 yes:no: ) 26790 yes:no: )
25397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 26791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25398echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 26792$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 26793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25400echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 26794$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25401 ac_header_preproc=yes 26795 ac_header_preproc=yes
25402 ;; 26796 ;;
25403 no:yes:* ) 26797 no:yes:* )
25404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 26798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25405echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 26799$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 26800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25407echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 26801$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 26802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25409echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 26803$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 26804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25411echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 26805$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 26806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25413echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 26807$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 26808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25415echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 26809$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25416 ( cat <<\_ASBOX 26810 ( cat <<\_ASBOX
25417## ------------------------------------------- ## 26811## ------------------------------------------- ##
25418## Report this to openssh-unix-dev@mindrot.org ## 26812## Report this to openssh-unix-dev@mindrot.org ##
@@ -25421,21 +26815,23 @@ _ASBOX
25421 ) | sed "s/^/$as_me: WARNING: /" >&2 26815 ) | sed "s/^/$as_me: WARNING: /" >&2
25422 ;; 26816 ;;
25423esac 26817esac
25424{ echo "$as_me:$LINENO: checking for $ac_header" >&5 26818{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
25425echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 26819$as_echo_n "checking for $ac_header... " >&6; }
25426if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 26820if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25427 echo $ECHO_N "(cached) $ECHO_C" >&6 26821 $as_echo_n "(cached) " >&6
25428else 26822else
25429 eval "$as_ac_Header=\$ac_header_preproc" 26823 eval "$as_ac_Header=\$ac_header_preproc"
25430fi 26824fi
25431ac_res=`eval echo '${'$as_ac_Header'}'` 26825ac_res=`eval 'as_val=${'$as_ac_Header'}
25432 { echo "$as_me:$LINENO: result: $ac_res" >&5 26826 $as_echo "$as_val"'`
25433echo "${ECHO_T}$ac_res" >&6; } 26827 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26828$as_echo "$ac_res" >&6; }
25434 26829
25435fi 26830fi
25436if test `eval echo '${'$as_ac_Header'}'` = yes; then 26831if test `eval 'as_val=${'$as_ac_Header'}
26832 $as_echo "$as_val"'` = yes; then
25437 cat >>confdefs.h <<_ACEOF 26833 cat >>confdefs.h <<_ACEOF
25438#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 26834#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25439_ACEOF 26835_ACEOF
25440 26836
25441fi 26837fi
@@ -25443,15 +26839,15 @@ fi
25443done 26839done
25444 26840
25445 if test "$ac_cv_header_sectok_h" != yes; then 26841 if test "$ac_cv_header_sectok_h" != yes; then
25446 { { echo "$as_me:$LINENO: error: Can't find sectok.h" >&5 26842 { { $as_echo "$as_me:$LINENO: error: Can't find sectok.h" >&5
25447echo "$as_me: error: Can't find sectok.h" >&2;} 26843$as_echo "$as_me: error: Can't find sectok.h" >&2;}
25448 { (exit 1); exit 1; }; } 26844 { (exit 1); exit 1; }; }
25449 fi 26845 fi
25450 26846
25451{ echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5 26847{ $as_echo "$as_me:$LINENO: checking for sectok_open in -lsectok" >&5
25452echo $ECHO_N "checking for sectok_open in -lsectok... $ECHO_C" >&6; } 26848$as_echo_n "checking for sectok_open in -lsectok... " >&6; }
25453if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then 26849if test "${ac_cv_lib_sectok_sectok_open+set}" = set; then
25454 echo $ECHO_N "(cached) $ECHO_C" >&6 26850 $as_echo_n "(cached) " >&6
25455else 26851else
25456 ac_check_lib_save_LIBS=$LIBS 26852 ac_check_lib_save_LIBS=$LIBS
25457LIBS="-lsectok $LIBS" 26853LIBS="-lsectok $LIBS"
@@ -25483,32 +26879,36 @@ case "(($ac_try" in
25483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 26879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25484 *) ac_try_echo=$ac_try;; 26880 *) ac_try_echo=$ac_try;;
25485esac 26881esac
25486eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 26882eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
26883$as_echo "$ac_try_echo") >&5
25487 (eval "$ac_link") 2>conftest.er1 26884 (eval "$ac_link") 2>conftest.er1
25488 ac_status=$? 26885 ac_status=$?
25489 grep -v '^ *+' conftest.er1 >conftest.err 26886 grep -v '^ *+' conftest.er1 >conftest.err
25490 rm -f conftest.er1 26887 rm -f conftest.er1
25491 cat conftest.err >&5 26888 cat conftest.err >&5
25492 echo "$as_me:$LINENO: \$? = $ac_status" >&5 26889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25493 (exit $ac_status); } && { 26890 (exit $ac_status); } && {
25494 test -z "$ac_c_werror_flag" || 26891 test -z "$ac_c_werror_flag" ||
25495 test ! -s conftest.err 26892 test ! -s conftest.err
25496 } && test -s conftest$ac_exeext && 26893 } && test -s conftest$ac_exeext && {
25497 $as_test_x conftest$ac_exeext; then 26894 test "$cross_compiling" = yes ||
26895 $as_test_x conftest$ac_exeext
26896 }; then
25498 ac_cv_lib_sectok_sectok_open=yes 26897 ac_cv_lib_sectok_sectok_open=yes
25499else 26898else
25500 echo "$as_me: failed program was:" >&5 26899 $as_echo "$as_me: failed program was:" >&5
25501sed 's/^/| /' conftest.$ac_ext >&5 26900sed 's/^/| /' conftest.$ac_ext >&5
25502 26901
25503 ac_cv_lib_sectok_sectok_open=no 26902 ac_cv_lib_sectok_sectok_open=no
25504fi 26903fi
25505 26904
26905rm -rf conftest.dSYM
25506rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 26906rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25507 conftest$ac_exeext conftest.$ac_ext 26907 conftest$ac_exeext conftest.$ac_ext
25508LIBS=$ac_check_lib_save_LIBS 26908LIBS=$ac_check_lib_save_LIBS
25509fi 26909fi
25510{ echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5 26910{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sectok_sectok_open" >&5
25511echo "${ECHO_T}$ac_cv_lib_sectok_sectok_open" >&6; } 26911$as_echo "$ac_cv_lib_sectok_sectok_open" >&6; }
25512if test $ac_cv_lib_sectok_sectok_open = yes; then 26912if test $ac_cv_lib_sectok_sectok_open = yes; then
25513 cat >>confdefs.h <<_ACEOF 26913 cat >>confdefs.h <<_ACEOF
25514#define HAVE_LIBSECTOK 1 26914#define HAVE_LIBSECTOK 1
@@ -25519,8 +26919,8 @@ _ACEOF
25519fi 26919fi
25520 26920
25521 if test "$ac_cv_lib_sectok_sectok_open" != yes; then 26921 if test "$ac_cv_lib_sectok_sectok_open" != yes; then
25522 { { echo "$as_me:$LINENO: error: Can't find libsectok" >&5 26922 { { $as_echo "$as_me:$LINENO: error: Can't find libsectok" >&5
25523echo "$as_me: error: Can't find libsectok" >&2;} 26923$as_echo "$as_me: error: Can't find libsectok" >&2;}
25524 { (exit 1); exit 1; }; } 26924 { (exit 1); exit 1; }; }
25525 fi 26925 fi
25526 26926
@@ -25552,10 +26952,10 @@ if test "${with_opensc+set}" = set; then
25552 else 26952 else
25553 # Extract the first word of "opensc-config", so it can be a program name with args. 26953 # Extract the first word of "opensc-config", so it can be a program name with args.
25554set dummy opensc-config; ac_word=$2 26954set dummy opensc-config; ac_word=$2
25555{ echo "$as_me:$LINENO: checking for $ac_word" >&5 26955{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
25556echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 26956$as_echo_n "checking for $ac_word... " >&6; }
25557if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then 26957if test "${ac_cv_path_OPENSC_CONFIG+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6 26958 $as_echo_n "(cached) " >&6
25559else 26959else
25560 case $OPENSC_CONFIG in 26960 case $OPENSC_CONFIG in
25561 [\\/]* | ?:[\\/]*) 26961 [\\/]* | ?:[\\/]*)
@@ -25570,7 +26970,7 @@ do
25570 for ac_exec_ext in '' $ac_executable_extensions; do 26970 for ac_exec_ext in '' $ac_executable_extensions; do
25571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 26971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25572 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext" 26972 ac_cv_path_OPENSC_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 26973 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25574 break 2 26974 break 2
25575 fi 26975 fi
25576done 26976done
@@ -25583,11 +26983,11 @@ esac
25583fi 26983fi
25584OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG 26984OPENSC_CONFIG=$ac_cv_path_OPENSC_CONFIG
25585if test -n "$OPENSC_CONFIG"; then 26985if test -n "$OPENSC_CONFIG"; then
25586 { echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5 26986 { $as_echo "$as_me:$LINENO: result: $OPENSC_CONFIG" >&5
25587echo "${ECHO_T}$OPENSC_CONFIG" >&6; } 26987$as_echo "$OPENSC_CONFIG" >&6; }
25588else 26988else
25589 { echo "$as_me:$LINENO: result: no" >&5 26989 { $as_echo "$as_me:$LINENO: result: no" >&5
25590echo "${ECHO_T}no" >&6; } 26990$as_echo "no" >&6; }
25591fi 26991fi
25592 26992
25593 26993
@@ -25615,10 +27015,10 @@ fi
25615 27015
25616 27016
25617# Check libraries needed by DNS fingerprint support 27017# Check libraries needed by DNS fingerprint support
25618{ echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5 27018{ $as_echo "$as_me:$LINENO: checking for library containing getrrsetbyname" >&5
25619echo $ECHO_N "checking for library containing getrrsetbyname... $ECHO_C" >&6; } 27019$as_echo_n "checking for library containing getrrsetbyname... " >&6; }
25620if test "${ac_cv_search_getrrsetbyname+set}" = set; then 27020if test "${ac_cv_search_getrrsetbyname+set}" = set; then
25621 echo $ECHO_N "(cached) $ECHO_C" >&6 27021 $as_echo_n "(cached) " >&6
25622else 27022else
25623 ac_func_search_save_LIBS=$LIBS 27023 ac_func_search_save_LIBS=$LIBS
25624cat >conftest.$ac_ext <<_ACEOF 27024cat >conftest.$ac_ext <<_ACEOF
@@ -25656,26 +27056,30 @@ case "(($ac_try" in
25656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25657 *) ac_try_echo=$ac_try;; 27057 *) ac_try_echo=$ac_try;;
25658esac 27058esac
25659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27060$as_echo "$ac_try_echo") >&5
25660 (eval "$ac_link") 2>conftest.er1 27061 (eval "$ac_link") 2>conftest.er1
25661 ac_status=$? 27062 ac_status=$?
25662 grep -v '^ *+' conftest.er1 >conftest.err 27063 grep -v '^ *+' conftest.er1 >conftest.err
25663 rm -f conftest.er1 27064 rm -f conftest.er1
25664 cat conftest.err >&5 27065 cat conftest.err >&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27066 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } && { 27067 (exit $ac_status); } && {
25667 test -z "$ac_c_werror_flag" || 27068 test -z "$ac_c_werror_flag" ||
25668 test ! -s conftest.err 27069 test ! -s conftest.err
25669 } && test -s conftest$ac_exeext && 27070 } && test -s conftest$ac_exeext && {
25670 $as_test_x conftest$ac_exeext; then 27071 test "$cross_compiling" = yes ||
27072 $as_test_x conftest$ac_exeext
27073 }; then
25671 ac_cv_search_getrrsetbyname=$ac_res 27074 ac_cv_search_getrrsetbyname=$ac_res
25672else 27075else
25673 echo "$as_me: failed program was:" >&5 27076 $as_echo "$as_me: failed program was:" >&5
25674sed 's/^/| /' conftest.$ac_ext >&5 27077sed 's/^/| /' conftest.$ac_ext >&5
25675 27078
25676 27079
25677fi 27080fi
25678 27081
27082rm -rf conftest.dSYM
25679rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27083rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25680 conftest$ac_exeext 27084 conftest$ac_exeext
25681 if test "${ac_cv_search_getrrsetbyname+set}" = set; then 27085 if test "${ac_cv_search_getrrsetbyname+set}" = set; then
@@ -25690,8 +27094,8 @@ fi
25690rm conftest.$ac_ext 27094rm conftest.$ac_ext
25691LIBS=$ac_func_search_save_LIBS 27095LIBS=$ac_func_search_save_LIBS
25692fi 27096fi
25693{ echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5 27097{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_getrrsetbyname" >&5
25694echo "${ECHO_T}$ac_cv_search_getrrsetbyname" >&6; } 27098$as_echo "$ac_cv_search_getrrsetbyname" >&6; }
25695ac_res=$ac_cv_search_getrrsetbyname 27099ac_res=$ac_cv_search_getrrsetbyname
25696if test "$ac_res" != no; then 27100if test "$ac_res" != no; then
25697 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27101 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -25703,10 +27107,10 @@ _ACEOF
25703else 27107else
25704 27108
25705 # Needed by our getrrsetbyname() 27109 # Needed by our getrrsetbyname()
25706 { echo "$as_me:$LINENO: checking for library containing res_query" >&5 27110 { $as_echo "$as_me:$LINENO: checking for library containing res_query" >&5
25707echo $ECHO_N "checking for library containing res_query... $ECHO_C" >&6; } 27111$as_echo_n "checking for library containing res_query... " >&6; }
25708if test "${ac_cv_search_res_query+set}" = set; then 27112if test "${ac_cv_search_res_query+set}" = set; then
25709 echo $ECHO_N "(cached) $ECHO_C" >&6 27113 $as_echo_n "(cached) " >&6
25710else 27114else
25711 ac_func_search_save_LIBS=$LIBS 27115 ac_func_search_save_LIBS=$LIBS
25712cat >conftest.$ac_ext <<_ACEOF 27116cat >conftest.$ac_ext <<_ACEOF
@@ -25744,26 +27148,30 @@ case "(($ac_try" in
25744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25745 *) ac_try_echo=$ac_try;; 27149 *) ac_try_echo=$ac_try;;
25746esac 27150esac
25747eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27151eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27152$as_echo "$ac_try_echo") >&5
25748 (eval "$ac_link") 2>conftest.er1 27153 (eval "$ac_link") 2>conftest.er1
25749 ac_status=$? 27154 ac_status=$?
25750 grep -v '^ *+' conftest.er1 >conftest.err 27155 grep -v '^ *+' conftest.er1 >conftest.err
25751 rm -f conftest.er1 27156 rm -f conftest.er1
25752 cat conftest.err >&5 27157 cat conftest.err >&5
25753 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27158 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25754 (exit $ac_status); } && { 27159 (exit $ac_status); } && {
25755 test -z "$ac_c_werror_flag" || 27160 test -z "$ac_c_werror_flag" ||
25756 test ! -s conftest.err 27161 test ! -s conftest.err
25757 } && test -s conftest$ac_exeext && 27162 } && test -s conftest$ac_exeext && {
25758 $as_test_x conftest$ac_exeext; then 27163 test "$cross_compiling" = yes ||
27164 $as_test_x conftest$ac_exeext
27165 }; then
25759 ac_cv_search_res_query=$ac_res 27166 ac_cv_search_res_query=$ac_res
25760else 27167else
25761 echo "$as_me: failed program was:" >&5 27168 $as_echo "$as_me: failed program was:" >&5
25762sed 's/^/| /' conftest.$ac_ext >&5 27169sed 's/^/| /' conftest.$ac_ext >&5
25763 27170
25764 27171
25765fi 27172fi
25766 27173
27174rm -rf conftest.dSYM
25767rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27175rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25768 conftest$ac_exeext 27176 conftest$ac_exeext
25769 if test "${ac_cv_search_res_query+set}" = set; then 27177 if test "${ac_cv_search_res_query+set}" = set; then
@@ -25778,18 +27186,18 @@ fi
25778rm conftest.$ac_ext 27186rm conftest.$ac_ext
25779LIBS=$ac_func_search_save_LIBS 27187LIBS=$ac_func_search_save_LIBS
25780fi 27188fi
25781{ echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5 27189{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_res_query" >&5
25782echo "${ECHO_T}$ac_cv_search_res_query" >&6; } 27190$as_echo "$ac_cv_search_res_query" >&6; }
25783ac_res=$ac_cv_search_res_query 27191ac_res=$ac_cv_search_res_query
25784if test "$ac_res" != no; then 27192if test "$ac_res" != no; then
25785 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27193 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
25786 27194
25787fi 27195fi
25788 27196
25789 { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 27197 { $as_echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
25790echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } 27198$as_echo_n "checking for library containing dn_expand... " >&6; }
25791if test "${ac_cv_search_dn_expand+set}" = set; then 27199if test "${ac_cv_search_dn_expand+set}" = set; then
25792 echo $ECHO_N "(cached) $ECHO_C" >&6 27200 $as_echo_n "(cached) " >&6
25793else 27201else
25794 ac_func_search_save_LIBS=$LIBS 27202 ac_func_search_save_LIBS=$LIBS
25795cat >conftest.$ac_ext <<_ACEOF 27203cat >conftest.$ac_ext <<_ACEOF
@@ -25827,26 +27235,30 @@ case "(($ac_try" in
25827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25828 *) ac_try_echo=$ac_try;; 27236 *) ac_try_echo=$ac_try;;
25829esac 27237esac
25830eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27238eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27239$as_echo "$ac_try_echo") >&5
25831 (eval "$ac_link") 2>conftest.er1 27240 (eval "$ac_link") 2>conftest.er1
25832 ac_status=$? 27241 ac_status=$?
25833 grep -v '^ *+' conftest.er1 >conftest.err 27242 grep -v '^ *+' conftest.er1 >conftest.err
25834 rm -f conftest.er1 27243 rm -f conftest.er1
25835 cat conftest.err >&5 27244 cat conftest.err >&5
25836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25837 (exit $ac_status); } && { 27246 (exit $ac_status); } && {
25838 test -z "$ac_c_werror_flag" || 27247 test -z "$ac_c_werror_flag" ||
25839 test ! -s conftest.err 27248 test ! -s conftest.err
25840 } && test -s conftest$ac_exeext && 27249 } && test -s conftest$ac_exeext && {
25841 $as_test_x conftest$ac_exeext; then 27250 test "$cross_compiling" = yes ||
27251 $as_test_x conftest$ac_exeext
27252 }; then
25842 ac_cv_search_dn_expand=$ac_res 27253 ac_cv_search_dn_expand=$ac_res
25843else 27254else
25844 echo "$as_me: failed program was:" >&5 27255 $as_echo "$as_me: failed program was:" >&5
25845sed 's/^/| /' conftest.$ac_ext >&5 27256sed 's/^/| /' conftest.$ac_ext >&5
25846 27257
25847 27258
25848fi 27259fi
25849 27260
27261rm -rf conftest.dSYM
25850rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27262rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25851 conftest$ac_exeext 27263 conftest$ac_exeext
25852 if test "${ac_cv_search_dn_expand+set}" = set; then 27264 if test "${ac_cv_search_dn_expand+set}" = set; then
@@ -25861,37 +27273,30 @@ fi
25861rm conftest.$ac_ext 27273rm conftest.$ac_ext
25862LIBS=$ac_func_search_save_LIBS 27274LIBS=$ac_func_search_save_LIBS
25863fi 27275fi
25864{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 27276{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
25865echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } 27277$as_echo "$ac_cv_search_dn_expand" >&6; }
25866ac_res=$ac_cv_search_dn_expand 27278ac_res=$ac_cv_search_dn_expand
25867if test "$ac_res" != no; then 27279if test "$ac_res" != no; then
25868 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 27280 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
25869 27281
25870fi 27282fi
25871 27283
25872 { echo "$as_me:$LINENO: checking if res_query will link" >&5 27284 { $as_echo "$as_me:$LINENO: checking if res_query will link" >&5
25873echo $ECHO_N "checking if res_query will link... $ECHO_C" >&6; } 27285$as_echo_n "checking if res_query will link... " >&6; }
25874 cat >conftest.$ac_ext <<_ACEOF 27286 cat >conftest.$ac_ext <<_ACEOF
25875/* confdefs.h. */
25876_ACEOF
25877cat confdefs.h >>conftest.$ac_ext
25878cat >>conftest.$ac_ext <<_ACEOF
25879/* end confdefs.h. */
25880 27287
25881/* Override any GCC internal prototype to avoid an error. 27288#include "confdefs.h"
25882 Use char because int might match the return type of a GCC 27289#include <sys/types.h>
25883 builtin and then its argument prototype would still apply. */ 27290#include <netinet/in.h>
25884#ifdef __cplusplus 27291#include <arpa/nameser.h>
25885extern "C" 27292#include <netdb.h>
25886#endif 27293#include <resolv.h>
25887char res_query (); 27294int main()
25888int
25889main ()
25890{ 27295{
25891return res_query (); 27296 res_query (0, 0, 0, 0, 0);
25892 ; 27297 return 0;
25893 return 0;
25894} 27298}
27299
25895_ACEOF 27300_ACEOF
25896rm -f conftest.$ac_objext conftest$ac_exeext 27301rm -f conftest.$ac_objext conftest$ac_exeext
25897if { (ac_try="$ac_link" 27302if { (ac_try="$ac_link"
@@ -25899,32 +27304,40 @@ case "(($ac_try" in
25899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25900 *) ac_try_echo=$ac_try;; 27305 *) ac_try_echo=$ac_try;;
25901esac 27306esac
25902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27307eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27308$as_echo "$ac_try_echo") >&5
25903 (eval "$ac_link") 2>conftest.er1 27309 (eval "$ac_link") 2>conftest.er1
25904 ac_status=$? 27310 ac_status=$?
25905 grep -v '^ *+' conftest.er1 >conftest.err 27311 grep -v '^ *+' conftest.er1 >conftest.err
25906 rm -f conftest.er1 27312 rm -f conftest.er1
25907 cat conftest.err >&5 27313 cat conftest.err >&5
25908 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25909 (exit $ac_status); } && { 27315 (exit $ac_status); } && {
25910 test -z "$ac_c_werror_flag" || 27316 test -z "$ac_c_werror_flag" ||
25911 test ! -s conftest.err 27317 test ! -s conftest.err
25912 } && test -s conftest$ac_exeext && 27318 } && test -s conftest$ac_exeext && {
25913 $as_test_x conftest$ac_exeext; then 27319 test "$cross_compiling" = yes ||
25914 { echo "$as_me:$LINENO: result: yes" >&5 27320 $as_test_x conftest$ac_exeext
25915echo "${ECHO_T}yes" >&6; } 27321 }; then
27322 { $as_echo "$as_me:$LINENO: result: yes" >&5
27323$as_echo "yes" >&6; }
25916else 27324else
25917 echo "$as_me: failed program was:" >&5 27325 $as_echo "$as_me: failed program was:" >&5
25918sed 's/^/| /' conftest.$ac_ext >&5 27326sed 's/^/| /' conftest.$ac_ext >&5
25919 27327
25920 { echo "$as_me:$LINENO: result: no" >&5 27328 { $as_echo "$as_me:$LINENO: result: no" >&5
25921echo "${ECHO_T}no" >&6; } 27329$as_echo "no" >&6; }
25922 saved_LIBS="$LIBS" 27330 saved_LIBS="$LIBS"
25923 LIBS="$LIBS -lresolv" 27331 LIBS="$LIBS -lresolv"
25924 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5 27332 { $as_echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
25925echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; } 27333$as_echo_n "checking for res_query in -lresolv... " >&6; }
25926 cat >conftest.$ac_ext <<_ACEOF 27334 cat >conftest.$ac_ext <<_ACEOF
25927 27335
27336#include "confdefs.h"
27337#include <sys/types.h>
27338#include <netinet/in.h>
27339#include <arpa/nameser.h>
27340#include <netdb.h>
25928#include <resolv.h> 27341#include <resolv.h>
25929int main() 27342int main()
25930{ 27343{
@@ -25939,46 +27352,50 @@ case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;; 27353 *) ac_try_echo=$ac_try;;
25941esac 27354esac
25942eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27355eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27356$as_echo "$ac_try_echo") >&5
25943 (eval "$ac_link") 2>conftest.er1 27357 (eval "$ac_link") 2>conftest.er1
25944 ac_status=$? 27358 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err 27359 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1 27360 rm -f conftest.er1
25947 cat conftest.err >&5 27361 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } && { 27363 (exit $ac_status); } && {
25950 test -z "$ac_c_werror_flag" || 27364 test -z "$ac_c_werror_flag" ||
25951 test ! -s conftest.err 27365 test ! -s conftest.err
25952 } && test -s conftest$ac_exeext && 27366 } && test -s conftest$ac_exeext && {
25953 $as_test_x conftest$ac_exeext; then 27367 test "$cross_compiling" = yes ||
25954 LIBS="$LIBS -lresolv" 27368 $as_test_x conftest$ac_exeext
25955 { echo "$as_me:$LINENO: result: yes" >&5 27369 }; then
25956echo "${ECHO_T}yes" >&6; } 27370 { $as_echo "$as_me:$LINENO: result: yes" >&5
27371$as_echo "yes" >&6; }
25957else 27372else
25958 echo "$as_me: failed program was:" >&5 27373 $as_echo "$as_me: failed program was:" >&5
25959sed 's/^/| /' conftest.$ac_ext >&5 27374sed 's/^/| /' conftest.$ac_ext >&5
25960 27375
25961 LIBS="$saved_LIBS" 27376 LIBS="$saved_LIBS"
25962 { echo "$as_me:$LINENO: result: no" >&5 27377 { $as_echo "$as_me:$LINENO: result: no" >&5
25963echo "${ECHO_T}no" >&6; } 27378$as_echo "no" >&6; }
25964fi 27379fi
25965 27380
27381rm -rf conftest.dSYM
25966rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27382rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25967 conftest$ac_exeext conftest.$ac_ext 27383 conftest$ac_exeext conftest.$ac_ext
25968 27384
25969fi 27385fi
25970 27386
27387rm -rf conftest.dSYM
25971rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27388rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25972 conftest$ac_exeext conftest.$ac_ext 27389 conftest$ac_exeext conftest.$ac_ext
25973 27390
25974 27391
25975for ac_func in _getshort _getlong 27392for ac_func in _getshort _getlong
25976do 27393do
25977as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 27394as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25978{ echo "$as_me:$LINENO: checking for $ac_func" >&5 27395{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
25979echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 27396$as_echo_n "checking for $ac_func... " >&6; }
25980if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 27397if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25981 echo $ECHO_N "(cached) $ECHO_C" >&6 27398 $as_echo_n "(cached) " >&6
25982else 27399else
25983 cat >conftest.$ac_ext <<_ACEOF 27400 cat >conftest.$ac_ext <<_ACEOF
25984/* confdefs.h. */ 27401/* confdefs.h. */
@@ -26031,44 +27448,50 @@ case "(($ac_try" in
26031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26032 *) ac_try_echo=$ac_try;; 27449 *) ac_try_echo=$ac_try;;
26033esac 27450esac
26034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27452$as_echo "$ac_try_echo") >&5
26035 (eval "$ac_link") 2>conftest.er1 27453 (eval "$ac_link") 2>conftest.er1
26036 ac_status=$? 27454 ac_status=$?
26037 grep -v '^ *+' conftest.er1 >conftest.err 27455 grep -v '^ *+' conftest.er1 >conftest.err
26038 rm -f conftest.er1 27456 rm -f conftest.er1
26039 cat conftest.err >&5 27457 cat conftest.err >&5
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); } && { 27459 (exit $ac_status); } && {
26042 test -z "$ac_c_werror_flag" || 27460 test -z "$ac_c_werror_flag" ||
26043 test ! -s conftest.err 27461 test ! -s conftest.err
26044 } && test -s conftest$ac_exeext && 27462 } && test -s conftest$ac_exeext && {
26045 $as_test_x conftest$ac_exeext; then 27463 test "$cross_compiling" = yes ||
27464 $as_test_x conftest$ac_exeext
27465 }; then
26046 eval "$as_ac_var=yes" 27466 eval "$as_ac_var=yes"
26047else 27467else
26048 echo "$as_me: failed program was:" >&5 27468 $as_echo "$as_me: failed program was:" >&5
26049sed 's/^/| /' conftest.$ac_ext >&5 27469sed 's/^/| /' conftest.$ac_ext >&5
26050 27470
26051 eval "$as_ac_var=no" 27471 eval "$as_ac_var=no"
26052fi 27472fi
26053 27473
27474rm -rf conftest.dSYM
26054rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27475rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26055 conftest$ac_exeext conftest.$ac_ext 27476 conftest$ac_exeext conftest.$ac_ext
26056fi 27477fi
26057ac_res=`eval echo '${'$as_ac_var'}'` 27478ac_res=`eval 'as_val=${'$as_ac_var'}
26058 { echo "$as_me:$LINENO: result: $ac_res" >&5 27479 $as_echo "$as_val"'`
26059echo "${ECHO_T}$ac_res" >&6; } 27480 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26060if test `eval echo '${'$as_ac_var'}'` = yes; then 27481$as_echo "$ac_res" >&6; }
27482if test `eval 'as_val=${'$as_ac_var'}
27483 $as_echo "$as_val"'` = yes; then
26061 cat >>confdefs.h <<_ACEOF 27484 cat >>confdefs.h <<_ACEOF
26062#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 27485#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26063_ACEOF 27486_ACEOF
26064 27487
26065fi 27488fi
26066done 27489done
26067 27490
26068 { echo "$as_me:$LINENO: checking whether _getshort is declared" >&5 27491 { $as_echo "$as_me:$LINENO: checking whether _getshort is declared" >&5
26069echo $ECHO_N "checking whether _getshort is declared... $ECHO_C" >&6; } 27492$as_echo_n "checking whether _getshort is declared... " >&6; }
26070if test "${ac_cv_have_decl__getshort+set}" = set; then 27493if test "${ac_cv_have_decl__getshort+set}" = set; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6 27494 $as_echo_n "(cached) " >&6
26072else 27495else
26073 cat >conftest.$ac_ext <<_ACEOF 27496 cat >conftest.$ac_ext <<_ACEOF
26074/* confdefs.h. */ 27497/* confdefs.h. */
@@ -26096,20 +27519,21 @@ case "(($ac_try" in
26096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26097 *) ac_try_echo=$ac_try;; 27520 *) ac_try_echo=$ac_try;;
26098esac 27521esac
26099eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27522eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27523$as_echo "$ac_try_echo") >&5
26100 (eval "$ac_compile") 2>conftest.er1 27524 (eval "$ac_compile") 2>conftest.er1
26101 ac_status=$? 27525 ac_status=$?
26102 grep -v '^ *+' conftest.er1 >conftest.err 27526 grep -v '^ *+' conftest.er1 >conftest.err
26103 rm -f conftest.er1 27527 rm -f conftest.er1
26104 cat conftest.err >&5 27528 cat conftest.err >&5
26105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106 (exit $ac_status); } && { 27530 (exit $ac_status); } && {
26107 test -z "$ac_c_werror_flag" || 27531 test -z "$ac_c_werror_flag" ||
26108 test ! -s conftest.err 27532 test ! -s conftest.err
26109 } && test -s conftest.$ac_objext; then 27533 } && test -s conftest.$ac_objext; then
26110 ac_cv_have_decl__getshort=yes 27534 ac_cv_have_decl__getshort=yes
26111else 27535else
26112 echo "$as_me: failed program was:" >&5 27536 $as_echo "$as_me: failed program was:" >&5
26113sed 's/^/| /' conftest.$ac_ext >&5 27537sed 's/^/| /' conftest.$ac_ext >&5
26114 27538
26115 ac_cv_have_decl__getshort=no 27539 ac_cv_have_decl__getshort=no
@@ -26117,8 +27541,8 @@ fi
26117 27541
26118rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27542rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119fi 27543fi
26120{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5 27544{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__getshort" >&5
26121echo "${ECHO_T}$ac_cv_have_decl__getshort" >&6; } 27545$as_echo "$ac_cv_have_decl__getshort" >&6; }
26122if test $ac_cv_have_decl__getshort = yes; then 27546if test $ac_cv_have_decl__getshort = yes; then
26123 27547
26124cat >>confdefs.h <<_ACEOF 27548cat >>confdefs.h <<_ACEOF
@@ -26133,10 +27557,10 @@ _ACEOF
26133 27557
26134 27558
26135fi 27559fi
26136{ echo "$as_me:$LINENO: checking whether _getlong is declared" >&5 27560{ $as_echo "$as_me:$LINENO: checking whether _getlong is declared" >&5
26137echo $ECHO_N "checking whether _getlong is declared... $ECHO_C" >&6; } 27561$as_echo_n "checking whether _getlong is declared... " >&6; }
26138if test "${ac_cv_have_decl__getlong+set}" = set; then 27562if test "${ac_cv_have_decl__getlong+set}" = set; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6 27563 $as_echo_n "(cached) " >&6
26140else 27564else
26141 cat >conftest.$ac_ext <<_ACEOF 27565 cat >conftest.$ac_ext <<_ACEOF
26142/* confdefs.h. */ 27566/* confdefs.h. */
@@ -26164,20 +27588,21 @@ case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;; 27589 *) ac_try_echo=$ac_try;;
26166esac 27590esac
26167eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27591eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27592$as_echo "$ac_try_echo") >&5
26168 (eval "$ac_compile") 2>conftest.er1 27593 (eval "$ac_compile") 2>conftest.er1
26169 ac_status=$? 27594 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err 27595 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1 27596 rm -f conftest.er1
26172 cat conftest.err >&5 27597 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && { 27599 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" || 27600 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err 27601 test ! -s conftest.err
26177 } && test -s conftest.$ac_objext; then 27602 } && test -s conftest.$ac_objext; then
26178 ac_cv_have_decl__getlong=yes 27603 ac_cv_have_decl__getlong=yes
26179else 27604else
26180 echo "$as_me: failed program was:" >&5 27605 $as_echo "$as_me: failed program was:" >&5
26181sed 's/^/| /' conftest.$ac_ext >&5 27606sed 's/^/| /' conftest.$ac_ext >&5
26182 27607
26183 ac_cv_have_decl__getlong=no 27608 ac_cv_have_decl__getlong=no
@@ -26185,8 +27610,8 @@ fi
26185 27610
26186rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27611rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26187fi 27612fi
26188{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5 27613{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl__getlong" >&5
26189echo "${ECHO_T}$ac_cv_have_decl__getlong" >&6; } 27614$as_echo "$ac_cv_have_decl__getlong" >&6; }
26190if test $ac_cv_have_decl__getlong = yes; then 27615if test $ac_cv_have_decl__getlong = yes; then
26191 27616
26192cat >>confdefs.h <<_ACEOF 27617cat >>confdefs.h <<_ACEOF
@@ -26203,10 +27628,10 @@ _ACEOF
26203fi 27628fi
26204 27629
26205 27630
26206 { echo "$as_me:$LINENO: checking for HEADER.ad" >&5 27631 { $as_echo "$as_me:$LINENO: checking for HEADER.ad" >&5
26207echo $ECHO_N "checking for HEADER.ad... $ECHO_C" >&6; } 27632$as_echo_n "checking for HEADER.ad... " >&6; }
26208if test "${ac_cv_member_HEADER_ad+set}" = set; then 27633if test "${ac_cv_member_HEADER_ad+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6 27634 $as_echo_n "(cached) " >&6
26210else 27635else
26211 cat >conftest.$ac_ext <<_ACEOF 27636 cat >conftest.$ac_ext <<_ACEOF
26212/* confdefs.h. */ 27637/* confdefs.h. */
@@ -26232,20 +27657,21 @@ case "(($ac_try" in
26232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26233 *) ac_try_echo=$ac_try;; 27658 *) ac_try_echo=$ac_try;;
26234esac 27659esac
26235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27661$as_echo "$ac_try_echo") >&5
26236 (eval "$ac_compile") 2>conftest.er1 27662 (eval "$ac_compile") 2>conftest.er1
26237 ac_status=$? 27663 ac_status=$?
26238 grep -v '^ *+' conftest.er1 >conftest.err 27664 grep -v '^ *+' conftest.er1 >conftest.err
26239 rm -f conftest.er1 27665 rm -f conftest.er1
26240 cat conftest.err >&5 27666 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } && { 27668 (exit $ac_status); } && {
26243 test -z "$ac_c_werror_flag" || 27669 test -z "$ac_c_werror_flag" ||
26244 test ! -s conftest.err 27670 test ! -s conftest.err
26245 } && test -s conftest.$ac_objext; then 27671 } && test -s conftest.$ac_objext; then
26246 ac_cv_member_HEADER_ad=yes 27672 ac_cv_member_HEADER_ad=yes
26247else 27673else
26248 echo "$as_me: failed program was:" >&5 27674 $as_echo "$as_me: failed program was:" >&5
26249sed 's/^/| /' conftest.$ac_ext >&5 27675sed 's/^/| /' conftest.$ac_ext >&5
26250 27676
26251 cat >conftest.$ac_ext <<_ACEOF 27677 cat >conftest.$ac_ext <<_ACEOF
@@ -26272,20 +27698,21 @@ case "(($ac_try" in
26272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26273 *) ac_try_echo=$ac_try;; 27699 *) ac_try_echo=$ac_try;;
26274esac 27700esac
26275eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27701eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27702$as_echo "$ac_try_echo") >&5
26276 (eval "$ac_compile") 2>conftest.er1 27703 (eval "$ac_compile") 2>conftest.er1
26277 ac_status=$? 27704 ac_status=$?
26278 grep -v '^ *+' conftest.er1 >conftest.err 27705 grep -v '^ *+' conftest.er1 >conftest.err
26279 rm -f conftest.er1 27706 rm -f conftest.er1
26280 cat conftest.err >&5 27707 cat conftest.err >&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } && { 27709 (exit $ac_status); } && {
26283 test -z "$ac_c_werror_flag" || 27710 test -z "$ac_c_werror_flag" ||
26284 test ! -s conftest.err 27711 test ! -s conftest.err
26285 } && test -s conftest.$ac_objext; then 27712 } && test -s conftest.$ac_objext; then
26286 ac_cv_member_HEADER_ad=yes 27713 ac_cv_member_HEADER_ad=yes
26287else 27714else
26288 echo "$as_me: failed program was:" >&5 27715 $as_echo "$as_me: failed program was:" >&5
26289sed 's/^/| /' conftest.$ac_ext >&5 27716sed 's/^/| /' conftest.$ac_ext >&5
26290 27717
26291 ac_cv_member_HEADER_ad=no 27718 ac_cv_member_HEADER_ad=no
@@ -26296,8 +27723,8 @@ fi
26296 27723
26297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26298fi 27725fi
26299{ echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5 27726{ $as_echo "$as_me:$LINENO: result: $ac_cv_member_HEADER_ad" >&5
26300echo "${ECHO_T}$ac_cv_member_HEADER_ad" >&6; } 27727$as_echo "$ac_cv_member_HEADER_ad" >&6; }
26301if test $ac_cv_member_HEADER_ad = yes; then 27728if test $ac_cv_member_HEADER_ad = yes; then
26302 27729
26303cat >>confdefs.h <<\_ACEOF 27730cat >>confdefs.h <<\_ACEOF
@@ -26310,8 +27737,8 @@ fi
26310fi 27737fi
26311 27738
26312 27739
26313{ echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5 27740{ $as_echo "$as_me:$LINENO: checking if struct __res_state _res is an extern" >&5
26314echo $ECHO_N "checking if struct __res_state _res is an extern... $ECHO_C" >&6; } 27741$as_echo_n "checking if struct __res_state _res is an extern... " >&6; }
26315cat >conftest.$ac_ext <<_ACEOF 27742cat >conftest.$ac_ext <<_ACEOF
26316 27743
26317#include <stdio.h> 27744#include <stdio.h>
@@ -26331,20 +27758,23 @@ case "(($ac_try" in
26331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26332 *) ac_try_echo=$ac_try;; 27759 *) ac_try_echo=$ac_try;;
26333esac 27760esac
26334eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27761eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27762$as_echo "$ac_try_echo") >&5
26335 (eval "$ac_link") 2>conftest.er1 27763 (eval "$ac_link") 2>conftest.er1
26336 ac_status=$? 27764 ac_status=$?
26337 grep -v '^ *+' conftest.er1 >conftest.err 27765 grep -v '^ *+' conftest.er1 >conftest.err
26338 rm -f conftest.er1 27766 rm -f conftest.er1
26339 cat conftest.err >&5 27767 cat conftest.err >&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); } && { 27769 (exit $ac_status); } && {
26342 test -z "$ac_c_werror_flag" || 27770 test -z "$ac_c_werror_flag" ||
26343 test ! -s conftest.err 27771 test ! -s conftest.err
26344 } && test -s conftest$ac_exeext && 27772 } && test -s conftest$ac_exeext && {
26345 $as_test_x conftest$ac_exeext; then 27773 test "$cross_compiling" = yes ||
26346 { echo "$as_me:$LINENO: result: yes" >&5 27774 $as_test_x conftest$ac_exeext
26347echo "${ECHO_T}yes" >&6; } 27775 }; then
27776 { $as_echo "$as_me:$LINENO: result: yes" >&5
27777$as_echo "yes" >&6; }
26348 27778
26349cat >>confdefs.h <<\_ACEOF 27779cat >>confdefs.h <<\_ACEOF
26350#define HAVE__RES_EXTERN 1 27780#define HAVE__RES_EXTERN 1
@@ -26352,14 +27782,15 @@ _ACEOF
26352 27782
26353 27783
26354else 27784else
26355 echo "$as_me: failed program was:" >&5 27785 $as_echo "$as_me: failed program was:" >&5
26356sed 's/^/| /' conftest.$ac_ext >&5 27786sed 's/^/| /' conftest.$ac_ext >&5
26357 27787
26358 { echo "$as_me:$LINENO: result: no" >&5 27788 { $as_echo "$as_me:$LINENO: result: no" >&5
26359echo "${ECHO_T}no" >&6; } 27789$as_echo "no" >&6; }
26360 27790
26361fi 27791fi
26362 27792
27793rm -rf conftest.dSYM
26363rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 27794rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26364 conftest$ac_exeext conftest.$ac_ext 27795 conftest$ac_exeext conftest.$ac_ext
26365 27796
@@ -26378,17 +27809,17 @@ _ACEOF
26378 27809
26379 SELINUX_MSG="yes" 27810 SELINUX_MSG="yes"
26380 if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27811 if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26381 { echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 27812 { $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5
26382echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } 27813$as_echo_n "checking for selinux/selinux.h... " >&6; }
26383if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27814if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6 27815 $as_echo_n "(cached) " >&6
26385fi 27816fi
26386{ echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 27817{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5
26387echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } 27818$as_echo "$ac_cv_header_selinux_selinux_h" >&6; }
26388else 27819else
26389 # Is the header compilable? 27820 # Is the header compilable?
26390{ echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5 27821{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h usability" >&5
26391echo $ECHO_N "checking selinux/selinux.h usability... $ECHO_C" >&6; } 27822$as_echo_n "checking selinux/selinux.h usability... " >&6; }
26392cat >conftest.$ac_ext <<_ACEOF 27823cat >conftest.$ac_ext <<_ACEOF
26393/* confdefs.h. */ 27824/* confdefs.h. */
26394_ACEOF 27825_ACEOF
@@ -26404,32 +27835,33 @@ case "(($ac_try" in
26404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26405 *) ac_try_echo=$ac_try;; 27836 *) ac_try_echo=$ac_try;;
26406esac 27837esac
26407eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27838eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27839$as_echo "$ac_try_echo") >&5
26408 (eval "$ac_compile") 2>conftest.er1 27840 (eval "$ac_compile") 2>conftest.er1
26409 ac_status=$? 27841 ac_status=$?
26410 grep -v '^ *+' conftest.er1 >conftest.err 27842 grep -v '^ *+' conftest.er1 >conftest.err
26411 rm -f conftest.er1 27843 rm -f conftest.er1
26412 cat conftest.err >&5 27844 cat conftest.err >&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } && { 27846 (exit $ac_status); } && {
26415 test -z "$ac_c_werror_flag" || 27847 test -z "$ac_c_werror_flag" ||
26416 test ! -s conftest.err 27848 test ! -s conftest.err
26417 } && test -s conftest.$ac_objext; then 27849 } && test -s conftest.$ac_objext; then
26418 ac_header_compiler=yes 27850 ac_header_compiler=yes
26419else 27851else
26420 echo "$as_me: failed program was:" >&5 27852 $as_echo "$as_me: failed program was:" >&5
26421sed 's/^/| /' conftest.$ac_ext >&5 27853sed 's/^/| /' conftest.$ac_ext >&5
26422 27854
26423 ac_header_compiler=no 27855 ac_header_compiler=no
26424fi 27856fi
26425 27857
26426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26427{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 27859{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26428echo "${ECHO_T}$ac_header_compiler" >&6; } 27860$as_echo "$ac_header_compiler" >&6; }
26429 27861
26430# Is the header present? 27862# Is the header present?
26431{ echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5 27863{ $as_echo "$as_me:$LINENO: checking selinux/selinux.h presence" >&5
26432echo $ECHO_N "checking selinux/selinux.h presence... $ECHO_C" >&6; } 27864$as_echo_n "checking selinux/selinux.h presence... " >&6; }
26433cat >conftest.$ac_ext <<_ACEOF 27865cat >conftest.$ac_ext <<_ACEOF
26434/* confdefs.h. */ 27866/* confdefs.h. */
26435_ACEOF 27867_ACEOF
@@ -26443,51 +27875,52 @@ case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26444 *) ac_try_echo=$ac_try;; 27876 *) ac_try_echo=$ac_try;;
26445esac 27877esac
26446eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27878eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27879$as_echo "$ac_try_echo") >&5
26447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 27880 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26448 ac_status=$? 27881 ac_status=$?
26449 grep -v '^ *+' conftest.er1 >conftest.err 27882 grep -v '^ *+' conftest.er1 >conftest.err
26450 rm -f conftest.er1 27883 rm -f conftest.er1
26451 cat conftest.err >&5 27884 cat conftest.err >&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27885 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } >/dev/null && { 27886 (exit $ac_status); } >/dev/null && {
26454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 27887 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
26455 test ! -s conftest.err 27888 test ! -s conftest.err
26456 }; then 27889 }; then
26457 ac_header_preproc=yes 27890 ac_header_preproc=yes
26458else 27891else
26459 echo "$as_me: failed program was:" >&5 27892 $as_echo "$as_me: failed program was:" >&5
26460sed 's/^/| /' conftest.$ac_ext >&5 27893sed 's/^/| /' conftest.$ac_ext >&5
26461 27894
26462 ac_header_preproc=no 27895 ac_header_preproc=no
26463fi 27896fi
26464 27897
26465rm -f conftest.err conftest.$ac_ext 27898rm -f conftest.err conftest.$ac_ext
26466{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 27899{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26467echo "${ECHO_T}$ac_header_preproc" >&6; } 27900$as_echo "$ac_header_preproc" >&6; }
26468 27901
26469# So? What about this header? 27902# So? What about this header?
26470case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 27903case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26471 yes:no: ) 27904 yes:no: )
26472 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5 27905 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&5
26473echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 27906$as_echo "$as_me: WARNING: selinux/selinux.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26474 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5 27907 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&5
26475echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;} 27908$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the compiler's result" >&2;}
26476 ac_header_preproc=yes 27909 ac_header_preproc=yes
26477 ;; 27910 ;;
26478 no:yes:* ) 27911 no:yes:* )
26479 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5 27912 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: present but cannot be compiled" >&5
26480echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;} 27913$as_echo "$as_me: WARNING: selinux/selinux.h: present but cannot be compiled" >&2;}
26481 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5 27914 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&5
26482echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;} 27915$as_echo "$as_me: WARNING: selinux/selinux.h: check for missing prerequisite headers?" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5 27916 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: see the Autoconf documentation" >&5
26484echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;} 27917$as_echo "$as_me: WARNING: selinux/selinux.h: see the Autoconf documentation" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5 27918 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&5
26486echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;} 27919$as_echo "$as_me: WARNING: selinux/selinux.h: section \"Present But Cannot Be Compiled\"" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5 27920 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&5
26488echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;} 27921$as_echo "$as_me: WARNING: selinux/selinux.h: proceeding with the preprocessor's result" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5 27922 { $as_echo "$as_me:$LINENO: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&5
26490echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;} 27923$as_echo "$as_me: WARNING: selinux/selinux.h: in the future, the compiler will take precedence" >&2;}
26491 ( cat <<\_ASBOX 27924 ( cat <<\_ASBOX
26492## ------------------------------------------- ## 27925## ------------------------------------------- ##
26493## Report this to openssh-unix-dev@mindrot.org ## 27926## Report this to openssh-unix-dev@mindrot.org ##
@@ -26496,30 +27929,30 @@ _ASBOX
26496 ) | sed "s/^/$as_me: WARNING: /" >&2 27929 ) | sed "s/^/$as_me: WARNING: /" >&2
26497 ;; 27930 ;;
26498esac 27931esac
26499{ echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5 27932{ $as_echo "$as_me:$LINENO: checking for selinux/selinux.h" >&5
26500echo $ECHO_N "checking for selinux/selinux.h... $ECHO_C" >&6; } 27933$as_echo_n "checking for selinux/selinux.h... " >&6; }
26501if test "${ac_cv_header_selinux_selinux_h+set}" = set; then 27934if test "${ac_cv_header_selinux_selinux_h+set}" = set; then
26502 echo $ECHO_N "(cached) $ECHO_C" >&6 27935 $as_echo_n "(cached) " >&6
26503else 27936else
26504 ac_cv_header_selinux_selinux_h=$ac_header_preproc 27937 ac_cv_header_selinux_selinux_h=$ac_header_preproc
26505fi 27938fi
26506{ echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5 27939{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_selinux_selinux_h" >&5
26507echo "${ECHO_T}$ac_cv_header_selinux_selinux_h" >&6; } 27940$as_echo "$ac_cv_header_selinux_selinux_h" >&6; }
26508 27941
26509fi 27942fi
26510if test $ac_cv_header_selinux_selinux_h = yes; then 27943if test $ac_cv_header_selinux_selinux_h = yes; then
26511 : 27944 :
26512else 27945else
26513 { { echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5 27946 { { $as_echo "$as_me:$LINENO: error: SELinux support requires selinux.h header" >&5
26514echo "$as_me: error: SELinux support requires selinux.h header" >&2;} 27947$as_echo "$as_me: error: SELinux support requires selinux.h header" >&2;}
26515 { (exit 1); exit 1; }; } 27948 { (exit 1); exit 1; }; }
26516fi 27949fi
26517 27950
26518 27951
26519 { echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5 27952 { $as_echo "$as_me:$LINENO: checking for setexeccon in -lselinux" >&5
26520echo $ECHO_N "checking for setexeccon in -lselinux... $ECHO_C" >&6; } 27953$as_echo_n "checking for setexeccon in -lselinux... " >&6; }
26521if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then 27954if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then
26522 echo $ECHO_N "(cached) $ECHO_C" >&6 27955 $as_echo_n "(cached) " >&6
26523else 27956else
26524 ac_check_lib_save_LIBS=$LIBS 27957 ac_check_lib_save_LIBS=$LIBS
26525LIBS="-lselinux $LIBS" 27958LIBS="-lselinux $LIBS"
@@ -26551,39 +27984,43 @@ case "(($ac_try" in
26551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 27984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26552 *) ac_try_echo=$ac_try;; 27985 *) ac_try_echo=$ac_try;;
26553esac 27986esac
26554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 27987eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
27988$as_echo "$ac_try_echo") >&5
26555 (eval "$ac_link") 2>conftest.er1 27989 (eval "$ac_link") 2>conftest.er1
26556 ac_status=$? 27990 ac_status=$?
26557 grep -v '^ *+' conftest.er1 >conftest.err 27991 grep -v '^ *+' conftest.er1 >conftest.err
26558 rm -f conftest.er1 27992 rm -f conftest.er1
26559 cat conftest.err >&5 27993 cat conftest.err >&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5 27994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); } && { 27995 (exit $ac_status); } && {
26562 test -z "$ac_c_werror_flag" || 27996 test -z "$ac_c_werror_flag" ||
26563 test ! -s conftest.err 27997 test ! -s conftest.err
26564 } && test -s conftest$ac_exeext && 27998 } && test -s conftest$ac_exeext && {
26565 $as_test_x conftest$ac_exeext; then 27999 test "$cross_compiling" = yes ||
28000 $as_test_x conftest$ac_exeext
28001 }; then
26566 ac_cv_lib_selinux_setexeccon=yes 28002 ac_cv_lib_selinux_setexeccon=yes
26567else 28003else
26568 echo "$as_me: failed program was:" >&5 28004 $as_echo "$as_me: failed program was:" >&5
26569sed 's/^/| /' conftest.$ac_ext >&5 28005sed 's/^/| /' conftest.$ac_ext >&5
26570 28006
26571 ac_cv_lib_selinux_setexeccon=no 28007 ac_cv_lib_selinux_setexeccon=no
26572fi 28008fi
26573 28009
28010rm -rf conftest.dSYM
26574rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28011rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26575 conftest$ac_exeext conftest.$ac_ext 28012 conftest$ac_exeext conftest.$ac_ext
26576LIBS=$ac_check_lib_save_LIBS 28013LIBS=$ac_check_lib_save_LIBS
26577fi 28014fi
26578{ echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5 28015{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_setexeccon" >&5
26579echo "${ECHO_T}$ac_cv_lib_selinux_setexeccon" >&6; } 28016$as_echo "$ac_cv_lib_selinux_setexeccon" >&6; }
26580if test $ac_cv_lib_selinux_setexeccon = yes; then 28017if test $ac_cv_lib_selinux_setexeccon = yes; then
26581 LIBSELINUX="-lselinux" 28018 LIBSELINUX="-lselinux"
26582 LIBS="$LIBS -lselinux" 28019 LIBS="$LIBS -lselinux"
26583 28020
26584else 28021else
26585 { { echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5 28022 { { $as_echo "$as_me:$LINENO: error: SELinux support requires libselinux library" >&5
26586echo "$as_me: error: SELinux support requires libselinux library" >&2;} 28023$as_echo "$as_me: error: SELinux support requires libselinux library" >&2;}
26587 { (exit 1); exit 1; }; } 28024 { (exit 1); exit 1; }; }
26588fi 28025fi
26589 28026
@@ -26592,11 +28029,11 @@ fi
26592 28029
26593for ac_func in getseuserbyname get_default_context_with_level 28030for ac_func in getseuserbyname get_default_context_with_level
26594do 28031do
26595as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 28032as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26596{ echo "$as_me:$LINENO: checking for $ac_func" >&5 28033{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
26597echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 28034$as_echo_n "checking for $ac_func... " >&6; }
26598if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 28035if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26599 echo $ECHO_N "(cached) $ECHO_C" >&6 28036 $as_echo_n "(cached) " >&6
26600else 28037else
26601 cat >conftest.$ac_ext <<_ACEOF 28038 cat >conftest.$ac_ext <<_ACEOF
26602/* confdefs.h. */ 28039/* confdefs.h. */
@@ -26649,35 +28086,41 @@ case "(($ac_try" in
26649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26650 *) ac_try_echo=$ac_try;; 28087 *) ac_try_echo=$ac_try;;
26651esac 28088esac
26652eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28089eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28090$as_echo "$ac_try_echo") >&5
26653 (eval "$ac_link") 2>conftest.er1 28091 (eval "$ac_link") 2>conftest.er1
26654 ac_status=$? 28092 ac_status=$?
26655 grep -v '^ *+' conftest.er1 >conftest.err 28093 grep -v '^ *+' conftest.er1 >conftest.err
26656 rm -f conftest.er1 28094 rm -f conftest.er1
26657 cat conftest.err >&5 28095 cat conftest.err >&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); } && { 28097 (exit $ac_status); } && {
26660 test -z "$ac_c_werror_flag" || 28098 test -z "$ac_c_werror_flag" ||
26661 test ! -s conftest.err 28099 test ! -s conftest.err
26662 } && test -s conftest$ac_exeext && 28100 } && test -s conftest$ac_exeext && {
26663 $as_test_x conftest$ac_exeext; then 28101 test "$cross_compiling" = yes ||
28102 $as_test_x conftest$ac_exeext
28103 }; then
26664 eval "$as_ac_var=yes" 28104 eval "$as_ac_var=yes"
26665else 28105else
26666 echo "$as_me: failed program was:" >&5 28106 $as_echo "$as_me: failed program was:" >&5
26667sed 's/^/| /' conftest.$ac_ext >&5 28107sed 's/^/| /' conftest.$ac_ext >&5
26668 28108
26669 eval "$as_ac_var=no" 28109 eval "$as_ac_var=no"
26670fi 28110fi
26671 28111
28112rm -rf conftest.dSYM
26672rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28113rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26673 conftest$ac_exeext conftest.$ac_ext 28114 conftest$ac_exeext conftest.$ac_ext
26674fi 28115fi
26675ac_res=`eval echo '${'$as_ac_var'}'` 28116ac_res=`eval 'as_val=${'$as_ac_var'}
26676 { echo "$as_me:$LINENO: result: $ac_res" >&5 28117 $as_echo "$as_val"'`
26677echo "${ECHO_T}$ac_res" >&6; } 28118 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
26678if test `eval echo '${'$as_ac_var'}'` = yes; then 28119$as_echo "$ac_res" >&6; }
28120if test `eval 'as_val=${'$as_ac_var'}
28121 $as_echo "$as_val"'` = yes; then
26679 cat >>confdefs.h <<_ACEOF 28122 cat >>confdefs.h <<_ACEOF
26680#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 28123#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26681_ACEOF 28124_ACEOF
26682 28125
26683fi 28126fi
@@ -26708,18 +28151,55 @@ _ACEOF
26708 28151
26709 KRB5_MSG="yes" 28152 KRB5_MSG="yes"
26710 28153
26711 { echo "$as_me:$LINENO: checking for krb5-config" >&5 28154 # Extract the first word of "krb5-config", so it can be a program name with args.
26712echo $ECHO_N "checking for krb5-config... $ECHO_C" >&6; } 28155set dummy krb5-config; ac_word=$2
26713 if test -x $KRB5ROOT/bin/krb5-config ; then 28156{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
26714 KRB5CONF=$KRB5ROOT/bin/krb5-config 28157$as_echo_n "checking for $ac_word... " >&6; }
26715 { echo "$as_me:$LINENO: result: $KRB5CONF" >&5 28158if test "${ac_cv_path_KRB5CONF+set}" = set; then
26716echo "${ECHO_T}$KRB5CONF" >&6; } 28159 $as_echo_n "(cached) " >&6
28160else
28161 case $KRB5CONF in
28162 [\\/]* | ?:[\\/]*)
28163 ac_cv_path_KRB5CONF="$KRB5CONF" # Let the user override the test with a path.
28164 ;;
28165 *)
28166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28167as_dummy="$KRB5ROOT/bin:$PATH"
28168for as_dir in $as_dummy
28169do
28170 IFS=$as_save_IFS
28171 test -z "$as_dir" && as_dir=.
28172 for ac_exec_ext in '' $ac_executable_extensions; do
28173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28174 ac_cv_path_KRB5CONF="$as_dir/$ac_word$ac_exec_ext"
28175 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28176 break 2
28177 fi
28178done
28179done
28180IFS=$as_save_IFS
28181
28182 test -z "$ac_cv_path_KRB5CONF" && ac_cv_path_KRB5CONF="$KRB5ROOT/bin/krb5-config"
28183 ;;
28184esac
28185fi
28186KRB5CONF=$ac_cv_path_KRB5CONF
28187if test -n "$KRB5CONF"; then
28188 { $as_echo "$as_me:$LINENO: result: $KRB5CONF" >&5
28189$as_echo "$KRB5CONF" >&6; }
28190else
28191 { $as_echo "$as_me:$LINENO: result: no" >&5
28192$as_echo "no" >&6; }
28193fi
26717 28194
26718 { echo "$as_me:$LINENO: checking for gssapi support" >&5 28195
26719echo $ECHO_N "checking for gssapi support... $ECHO_C" >&6; } 28196 if test -x $KRB5CONF ; then
28197
28198 { $as_echo "$as_me:$LINENO: checking for gssapi support" >&5
28199$as_echo_n "checking for gssapi support... " >&6; }
26720 if $KRB5CONF | grep gssapi >/dev/null ; then 28200 if $KRB5CONF | grep gssapi >/dev/null ; then
26721 { echo "$as_me:$LINENO: result: yes" >&5 28201 { $as_echo "$as_me:$LINENO: result: yes" >&5
26722echo "${ECHO_T}yes" >&6; } 28202$as_echo "yes" >&6; }
26723 28203
26724cat >>confdefs.h <<\_ACEOF 28204cat >>confdefs.h <<\_ACEOF
26725#define GSSAPI 1 28205#define GSSAPI 1
@@ -26727,15 +28207,15 @@ _ACEOF
26727 28207
26728 k5confopts=gssapi 28208 k5confopts=gssapi
26729 else 28209 else
26730 { echo "$as_me:$LINENO: result: no" >&5 28210 { $as_echo "$as_me:$LINENO: result: no" >&5
26731echo "${ECHO_T}no" >&6; } 28211$as_echo "no" >&6; }
26732 k5confopts="" 28212 k5confopts=""
26733 fi 28213 fi
26734 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`" 28214 K5CFLAGS="`$KRB5CONF --cflags $k5confopts`"
26735 K5LIBS="`$KRB5CONF --libs $k5confopts`" 28215 K5LIBS="`$KRB5CONF --libs $k5confopts`"
26736 CPPFLAGS="$CPPFLAGS $K5CFLAGS" 28216 CPPFLAGS="$CPPFLAGS $K5CFLAGS"
26737 { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 28217 { $as_echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
26738echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } 28218$as_echo_n "checking whether we are using Heimdal... " >&6; }
26739 cat >conftest.$ac_ext <<_ACEOF 28219 cat >conftest.$ac_ext <<_ACEOF
26740/* confdefs.h. */ 28220/* confdefs.h. */
26741_ACEOF 28221_ACEOF
@@ -26757,41 +28237,40 @@ case "(($ac_try" in
26757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26758 *) ac_try_echo=$ac_try;; 28238 *) ac_try_echo=$ac_try;;
26759esac 28239esac
26760eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28241$as_echo "$ac_try_echo") >&5
26761 (eval "$ac_compile") 2>conftest.er1 28242 (eval "$ac_compile") 2>conftest.er1
26762 ac_status=$? 28243 ac_status=$?
26763 grep -v '^ *+' conftest.er1 >conftest.err 28244 grep -v '^ *+' conftest.er1 >conftest.err
26764 rm -f conftest.er1 28245 rm -f conftest.er1
26765 cat conftest.err >&5 28246 cat conftest.err >&5
26766 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26767 (exit $ac_status); } && { 28248 (exit $ac_status); } && {
26768 test -z "$ac_c_werror_flag" || 28249 test -z "$ac_c_werror_flag" ||
26769 test ! -s conftest.err 28250 test ! -s conftest.err
26770 } && test -s conftest.$ac_objext; then 28251 } && test -s conftest.$ac_objext; then
26771 { echo "$as_me:$LINENO: result: yes" >&5 28252 { $as_echo "$as_me:$LINENO: result: yes" >&5
26772echo "${ECHO_T}yes" >&6; } 28253$as_echo "yes" >&6; }
26773 28254
26774cat >>confdefs.h <<\_ACEOF 28255cat >>confdefs.h <<\_ACEOF
26775#define HEIMDAL 1 28256#define HEIMDAL 1
26776_ACEOF 28257_ACEOF
26777 28258
26778else 28259else
26779 echo "$as_me: failed program was:" >&5 28260 $as_echo "$as_me: failed program was:" >&5
26780sed 's/^/| /' conftest.$ac_ext >&5 28261sed 's/^/| /' conftest.$ac_ext >&5
26781 28262
26782 { echo "$as_me:$LINENO: result: no" >&5 28263 { $as_echo "$as_me:$LINENO: result: no" >&5
26783echo "${ECHO_T}no" >&6; } 28264$as_echo "no" >&6; }
26784 28265
26785fi 28266fi
26786 28267
26787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26788 else 28269 else
26789 { echo "$as_me:$LINENO: result: no" >&5
26790echo "${ECHO_T}no" >&6; }
26791 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" 28270 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
26792 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" 28271 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
26793 { echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5 28272 { $as_echo "$as_me:$LINENO: checking whether we are using Heimdal" >&5
26794echo $ECHO_N "checking whether we are using Heimdal... $ECHO_C" >&6; } 28273$as_echo_n "checking whether we are using Heimdal... " >&6; }
26795 cat >conftest.$ac_ext <<_ACEOF 28274 cat >conftest.$ac_ext <<_ACEOF
26796/* confdefs.h. */ 28275/* confdefs.h. */
26797_ACEOF 28276_ACEOF
@@ -26813,29 +28292,30 @@ case "(($ac_try" in
26813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26814 *) ac_try_echo=$ac_try;; 28293 *) ac_try_echo=$ac_try;;
26815esac 28294esac
26816eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28296$as_echo "$ac_try_echo") >&5
26817 (eval "$ac_compile") 2>conftest.er1 28297 (eval "$ac_compile") 2>conftest.er1
26818 ac_status=$? 28298 ac_status=$?
26819 grep -v '^ *+' conftest.er1 >conftest.err 28299 grep -v '^ *+' conftest.er1 >conftest.err
26820 rm -f conftest.er1 28300 rm -f conftest.er1
26821 cat conftest.err >&5 28301 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } && { 28303 (exit $ac_status); } && {
26824 test -z "$ac_c_werror_flag" || 28304 test -z "$ac_c_werror_flag" ||
26825 test ! -s conftest.err 28305 test ! -s conftest.err
26826 } && test -s conftest.$ac_objext; then 28306 } && test -s conftest.$ac_objext; then
26827 { echo "$as_me:$LINENO: result: yes" >&5 28307 { $as_echo "$as_me:$LINENO: result: yes" >&5
26828echo "${ECHO_T}yes" >&6; } 28308$as_echo "yes" >&6; }
26829 cat >>confdefs.h <<\_ACEOF 28309 cat >>confdefs.h <<\_ACEOF
26830#define HEIMDAL 1 28310#define HEIMDAL 1
26831_ACEOF 28311_ACEOF
26832 28312
26833 K5LIBS="-lkrb5 -ldes" 28313 K5LIBS="-lkrb5 -ldes"
26834 K5LIBS="$K5LIBS -lcom_err -lasn1" 28314 K5LIBS="$K5LIBS -lcom_err -lasn1"
26835 { echo "$as_me:$LINENO: checking for net_write in -lroken" >&5 28315 { $as_echo "$as_me:$LINENO: checking for net_write in -lroken" >&5
26836echo $ECHO_N "checking for net_write in -lroken... $ECHO_C" >&6; } 28316$as_echo_n "checking for net_write in -lroken... " >&6; }
26837if test "${ac_cv_lib_roken_net_write+set}" = set; then 28317if test "${ac_cv_lib_roken_net_write+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6 28318 $as_echo_n "(cached) " >&6
26839else 28319else
26840 ac_check_lib_save_LIBS=$LIBS 28320 ac_check_lib_save_LIBS=$LIBS
26841LIBS="-lroken $LIBS" 28321LIBS="-lroken $LIBS"
@@ -26867,53 +28347,57 @@ case "(($ac_try" in
26867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26868 *) ac_try_echo=$ac_try;; 28348 *) ac_try_echo=$ac_try;;
26869esac 28349esac
26870eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28350eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28351$as_echo "$ac_try_echo") >&5
26871 (eval "$ac_link") 2>conftest.er1 28352 (eval "$ac_link") 2>conftest.er1
26872 ac_status=$? 28353 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err 28354 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1 28355 rm -f conftest.er1
26875 cat conftest.err >&5 28356 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } && { 28358 (exit $ac_status); } && {
26878 test -z "$ac_c_werror_flag" || 28359 test -z "$ac_c_werror_flag" ||
26879 test ! -s conftest.err 28360 test ! -s conftest.err
26880 } && test -s conftest$ac_exeext && 28361 } && test -s conftest$ac_exeext && {
26881 $as_test_x conftest$ac_exeext; then 28362 test "$cross_compiling" = yes ||
28363 $as_test_x conftest$ac_exeext
28364 }; then
26882 ac_cv_lib_roken_net_write=yes 28365 ac_cv_lib_roken_net_write=yes
26883else 28366else
26884 echo "$as_me: failed program was:" >&5 28367 $as_echo "$as_me: failed program was:" >&5
26885sed 's/^/| /' conftest.$ac_ext >&5 28368sed 's/^/| /' conftest.$ac_ext >&5
26886 28369
26887 ac_cv_lib_roken_net_write=no 28370 ac_cv_lib_roken_net_write=no
26888fi 28371fi
26889 28372
28373rm -rf conftest.dSYM
26890rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28374rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26891 conftest$ac_exeext conftest.$ac_ext 28375 conftest$ac_exeext conftest.$ac_ext
26892LIBS=$ac_check_lib_save_LIBS 28376LIBS=$ac_check_lib_save_LIBS
26893fi 28377fi
26894{ echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5 28378{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_roken_net_write" >&5
26895echo "${ECHO_T}$ac_cv_lib_roken_net_write" >&6; } 28379$as_echo "$ac_cv_lib_roken_net_write" >&6; }
26896if test $ac_cv_lib_roken_net_write = yes; then 28380if test $ac_cv_lib_roken_net_write = yes; then
26897 K5LIBS="$K5LIBS -lroken" 28381 K5LIBS="$K5LIBS -lroken"
26898fi 28382fi
26899 28383
26900 28384
26901else 28385else
26902 echo "$as_me: failed program was:" >&5 28386 $as_echo "$as_me: failed program was:" >&5
26903sed 's/^/| /' conftest.$ac_ext >&5 28387sed 's/^/| /' conftest.$ac_ext >&5
26904 28388
26905 { echo "$as_me:$LINENO: result: no" >&5 28389 { $as_echo "$as_me:$LINENO: result: no" >&5
26906echo "${ECHO_T}no" >&6; } 28390$as_echo "no" >&6; }
26907 K5LIBS="-lkrb5 -lk5crypto -lcom_err" 28391 K5LIBS="-lkrb5 -lk5crypto -lcom_err"
26908 28392
26909 28393
26910fi 28394fi
26911 28395
26912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 { echo "$as_me:$LINENO: checking for library containing dn_expand" >&5 28397 { $as_echo "$as_me:$LINENO: checking for library containing dn_expand" >&5
26914echo $ECHO_N "checking for library containing dn_expand... $ECHO_C" >&6; } 28398$as_echo_n "checking for library containing dn_expand... " >&6; }
26915if test "${ac_cv_search_dn_expand+set}" = set; then 28399if test "${ac_cv_search_dn_expand+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6 28400 $as_echo_n "(cached) " >&6
26917else 28401else
26918 ac_func_search_save_LIBS=$LIBS 28402 ac_func_search_save_LIBS=$LIBS
26919cat >conftest.$ac_ext <<_ACEOF 28403cat >conftest.$ac_ext <<_ACEOF
@@ -26951,26 +28435,30 @@ case "(($ac_try" in
26951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26952 *) ac_try_echo=$ac_try;; 28436 *) ac_try_echo=$ac_try;;
26953esac 28437esac
26954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28439$as_echo "$ac_try_echo") >&5
26955 (eval "$ac_link") 2>conftest.er1 28440 (eval "$ac_link") 2>conftest.er1
26956 ac_status=$? 28441 ac_status=$?
26957 grep -v '^ *+' conftest.er1 >conftest.err 28442 grep -v '^ *+' conftest.er1 >conftest.err
26958 rm -f conftest.er1 28443 rm -f conftest.er1
26959 cat conftest.err >&5 28444 cat conftest.err >&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); } && { 28446 (exit $ac_status); } && {
26962 test -z "$ac_c_werror_flag" || 28447 test -z "$ac_c_werror_flag" ||
26963 test ! -s conftest.err 28448 test ! -s conftest.err
26964 } && test -s conftest$ac_exeext && 28449 } && test -s conftest$ac_exeext && {
26965 $as_test_x conftest$ac_exeext; then 28450 test "$cross_compiling" = yes ||
28451 $as_test_x conftest$ac_exeext
28452 }; then
26966 ac_cv_search_dn_expand=$ac_res 28453 ac_cv_search_dn_expand=$ac_res
26967else 28454else
26968 echo "$as_me: failed program was:" >&5 28455 $as_echo "$as_me: failed program was:" >&5
26969sed 's/^/| /' conftest.$ac_ext >&5 28456sed 's/^/| /' conftest.$ac_ext >&5
26970 28457
26971 28458
26972fi 28459fi
26973 28460
28461rm -rf conftest.dSYM
26974rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26975 conftest$ac_exeext 28463 conftest$ac_exeext
26976 if test "${ac_cv_search_dn_expand+set}" = set; then 28464 if test "${ac_cv_search_dn_expand+set}" = set; then
@@ -26985,8 +28473,8 @@ fi
26985rm conftest.$ac_ext 28473rm conftest.$ac_ext
26986LIBS=$ac_func_search_save_LIBS 28474LIBS=$ac_func_search_save_LIBS
26987fi 28475fi
26988{ echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5 28476{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dn_expand" >&5
26989echo "${ECHO_T}$ac_cv_search_dn_expand" >&6; } 28477$as_echo "$ac_cv_search_dn_expand" >&6; }
26990ac_res=$ac_cv_search_dn_expand 28478ac_res=$ac_cv_search_dn_expand
26991if test "$ac_res" != no; then 28479if test "$ac_res" != no; then
26992 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 28480 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -26994,10 +28482,10 @@ if test "$ac_res" != no; then
26994fi 28482fi
26995 28483
26996 28484
26997 { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5 28485 { $as_echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi_krb5" >&5
26998echo $ECHO_N "checking for gss_init_sec_context in -lgssapi_krb5... $ECHO_C" >&6; } 28486$as_echo_n "checking for gss_init_sec_context in -lgssapi_krb5... " >&6; }
26999if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then 28487if test "${ac_cv_lib_gssapi_krb5_gss_init_sec_context+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6 28488 $as_echo_n "(cached) " >&6
27001else 28489else
27002 ac_check_lib_save_LIBS=$LIBS 28490 ac_check_lib_save_LIBS=$LIBS
27003LIBS="-lgssapi_krb5 $K5LIBS $LIBS" 28491LIBS="-lgssapi_krb5 $K5LIBS $LIBS"
@@ -27029,32 +28517,36 @@ case "(($ac_try" in
27029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27030 *) ac_try_echo=$ac_try;; 28518 *) ac_try_echo=$ac_try;;
27031esac 28519esac
27032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28521$as_echo "$ac_try_echo") >&5
27033 (eval "$ac_link") 2>conftest.er1 28522 (eval "$ac_link") 2>conftest.er1
27034 ac_status=$? 28523 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err 28524 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1 28525 rm -f conftest.er1
27037 cat conftest.err >&5 28526 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } && { 28528 (exit $ac_status); } && {
27040 test -z "$ac_c_werror_flag" || 28529 test -z "$ac_c_werror_flag" ||
27041 test ! -s conftest.err 28530 test ! -s conftest.err
27042 } && test -s conftest$ac_exeext && 28531 } && test -s conftest$ac_exeext && {
27043 $as_test_x conftest$ac_exeext; then 28532 test "$cross_compiling" = yes ||
28533 $as_test_x conftest$ac_exeext
28534 }; then
27044 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes 28535 ac_cv_lib_gssapi_krb5_gss_init_sec_context=yes
27045else 28536else
27046 echo "$as_me: failed program was:" >&5 28537 $as_echo "$as_me: failed program was:" >&5
27047sed 's/^/| /' conftest.$ac_ext >&5 28538sed 's/^/| /' conftest.$ac_ext >&5
27048 28539
27049 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no 28540 ac_cv_lib_gssapi_krb5_gss_init_sec_context=no
27050fi 28541fi
27051 28542
28543rm -rf conftest.dSYM
27052rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28544rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27053 conftest$ac_exeext conftest.$ac_ext 28545 conftest$ac_exeext conftest.$ac_ext
27054LIBS=$ac_check_lib_save_LIBS 28546LIBS=$ac_check_lib_save_LIBS
27055fi 28547fi
27056{ echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5 28548{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&5
27057echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; } 28549$as_echo "$ac_cv_lib_gssapi_krb5_gss_init_sec_context" >&6; }
27058if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then 28550if test $ac_cv_lib_gssapi_krb5_gss_init_sec_context = yes; then
27059 cat >>confdefs.h <<\_ACEOF 28551 cat >>confdefs.h <<\_ACEOF
27060#define GSSAPI 1 28552#define GSSAPI 1
@@ -27062,10 +28554,10 @@ _ACEOF
27062 28554
27063 K5LIBS="-lgssapi_krb5 $K5LIBS" 28555 K5LIBS="-lgssapi_krb5 $K5LIBS"
27064else 28556else
27065 { echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5 28557 { $as_echo "$as_me:$LINENO: checking for gss_init_sec_context in -lgssapi" >&5
27066echo $ECHO_N "checking for gss_init_sec_context in -lgssapi... $ECHO_C" >&6; } 28558$as_echo_n "checking for gss_init_sec_context in -lgssapi... " >&6; }
27067if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then 28559if test "${ac_cv_lib_gssapi_gss_init_sec_context+set}" = set; then
27068 echo $ECHO_N "(cached) $ECHO_C" >&6 28560 $as_echo_n "(cached) " >&6
27069else 28561else
27070 ac_check_lib_save_LIBS=$LIBS 28562 ac_check_lib_save_LIBS=$LIBS
27071LIBS="-lgssapi $K5LIBS $LIBS" 28563LIBS="-lgssapi $K5LIBS $LIBS"
@@ -27097,32 +28589,36 @@ case "(($ac_try" in
27097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27098 *) ac_try_echo=$ac_try;; 28590 *) ac_try_echo=$ac_try;;
27099esac 28591esac
27100eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28592eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28593$as_echo "$ac_try_echo") >&5
27101 (eval "$ac_link") 2>conftest.er1 28594 (eval "$ac_link") 2>conftest.er1
27102 ac_status=$? 28595 ac_status=$?
27103 grep -v '^ *+' conftest.er1 >conftest.err 28596 grep -v '^ *+' conftest.er1 >conftest.err
27104 rm -f conftest.er1 28597 rm -f conftest.er1
27105 cat conftest.err >&5 28598 cat conftest.err >&5
27106 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 (exit $ac_status); } && { 28600 (exit $ac_status); } && {
27108 test -z "$ac_c_werror_flag" || 28601 test -z "$ac_c_werror_flag" ||
27109 test ! -s conftest.err 28602 test ! -s conftest.err
27110 } && test -s conftest$ac_exeext && 28603 } && test -s conftest$ac_exeext && {
27111 $as_test_x conftest$ac_exeext; then 28604 test "$cross_compiling" = yes ||
28605 $as_test_x conftest$ac_exeext
28606 }; then
27112 ac_cv_lib_gssapi_gss_init_sec_context=yes 28607 ac_cv_lib_gssapi_gss_init_sec_context=yes
27113else 28608else
27114 echo "$as_me: failed program was:" >&5 28609 $as_echo "$as_me: failed program was:" >&5
27115sed 's/^/| /' conftest.$ac_ext >&5 28610sed 's/^/| /' conftest.$ac_ext >&5
27116 28611
27117 ac_cv_lib_gssapi_gss_init_sec_context=no 28612 ac_cv_lib_gssapi_gss_init_sec_context=no
27118fi 28613fi
27119 28614
28615rm -rf conftest.dSYM
27120rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 28616rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27121 conftest$ac_exeext conftest.$ac_ext 28617 conftest$ac_exeext conftest.$ac_ext
27122LIBS=$ac_check_lib_save_LIBS 28618LIBS=$ac_check_lib_save_LIBS
27123fi 28619fi
27124{ echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5 28620{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_init_sec_context" >&5
27125echo "${ECHO_T}$ac_cv_lib_gssapi_gss_init_sec_context" >&6; } 28621$as_echo "$ac_cv_lib_gssapi_gss_init_sec_context" >&6; }
27126if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then 28622if test $ac_cv_lib_gssapi_gss_init_sec_context = yes; then
27127 cat >>confdefs.h <<\_ACEOF 28623 cat >>confdefs.h <<\_ACEOF
27128#define GSSAPI 1 28624#define GSSAPI 1
@@ -27130,8 +28626,8 @@ _ACEOF
27130 28626
27131 K5LIBS="-lgssapi $K5LIBS" 28627 K5LIBS="-lgssapi $K5LIBS"
27132else 28628else
27133 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5 28629 { $as_echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api library - build may fail" >&5
27134echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;} 28630$as_echo "$as_me: WARNING: Cannot find any suitable gss-api library - build may fail" >&2;}
27135fi 28631fi
27136 28632
27137 28633
@@ -27139,17 +28635,17 @@ fi
27139 28635
27140 28636
27141 if test "${ac_cv_header_gssapi_h+set}" = set; then 28637 if test "${ac_cv_header_gssapi_h+set}" = set; then
27142 { echo "$as_me:$LINENO: checking for gssapi.h" >&5 28638 { $as_echo "$as_me:$LINENO: checking for gssapi.h" >&5
27143echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } 28639$as_echo_n "checking for gssapi.h... " >&6; }
27144if test "${ac_cv_header_gssapi_h+set}" = set; then 28640if test "${ac_cv_header_gssapi_h+set}" = set; then
27145 echo $ECHO_N "(cached) $ECHO_C" >&6 28641 $as_echo_n "(cached) " >&6
27146fi 28642fi
27147{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 28643{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
27148echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } 28644$as_echo "$ac_cv_header_gssapi_h" >&6; }
27149else 28645else
27150 # Is the header compilable? 28646 # Is the header compilable?
27151{ echo "$as_me:$LINENO: checking gssapi.h usability" >&5 28647{ $as_echo "$as_me:$LINENO: checking gssapi.h usability" >&5
27152echo $ECHO_N "checking gssapi.h usability... $ECHO_C" >&6; } 28648$as_echo_n "checking gssapi.h usability... " >&6; }
27153cat >conftest.$ac_ext <<_ACEOF 28649cat >conftest.$ac_ext <<_ACEOF
27154/* confdefs.h. */ 28650/* confdefs.h. */
27155_ACEOF 28651_ACEOF
@@ -27165,32 +28661,33 @@ case "(($ac_try" in
27165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27166 *) ac_try_echo=$ac_try;; 28662 *) ac_try_echo=$ac_try;;
27167esac 28663esac
27168eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28664eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28665$as_echo "$ac_try_echo") >&5
27169 (eval "$ac_compile") 2>conftest.er1 28666 (eval "$ac_compile") 2>conftest.er1
27170 ac_status=$? 28667 ac_status=$?
27171 grep -v '^ *+' conftest.er1 >conftest.err 28668 grep -v '^ *+' conftest.er1 >conftest.err
27172 rm -f conftest.er1 28669 rm -f conftest.er1
27173 cat conftest.err >&5 28670 cat conftest.err >&5
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28671 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); } && { 28672 (exit $ac_status); } && {
27176 test -z "$ac_c_werror_flag" || 28673 test -z "$ac_c_werror_flag" ||
27177 test ! -s conftest.err 28674 test ! -s conftest.err
27178 } && test -s conftest.$ac_objext; then 28675 } && test -s conftest.$ac_objext; then
27179 ac_header_compiler=yes 28676 ac_header_compiler=yes
27180else 28677else
27181 echo "$as_me: failed program was:" >&5 28678 $as_echo "$as_me: failed program was:" >&5
27182sed 's/^/| /' conftest.$ac_ext >&5 28679sed 's/^/| /' conftest.$ac_ext >&5
27183 28680
27184 ac_header_compiler=no 28681 ac_header_compiler=no
27185fi 28682fi
27186 28683
27187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28684rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27188{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28685{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27189echo "${ECHO_T}$ac_header_compiler" >&6; } 28686$as_echo "$ac_header_compiler" >&6; }
27190 28687
27191# Is the header present? 28688# Is the header present?
27192{ echo "$as_me:$LINENO: checking gssapi.h presence" >&5 28689{ $as_echo "$as_me:$LINENO: checking gssapi.h presence" >&5
27193echo $ECHO_N "checking gssapi.h presence... $ECHO_C" >&6; } 28690$as_echo_n "checking gssapi.h presence... " >&6; }
27194cat >conftest.$ac_ext <<_ACEOF 28691cat >conftest.$ac_ext <<_ACEOF
27195/* confdefs.h. */ 28692/* confdefs.h. */
27196_ACEOF 28693_ACEOF
@@ -27204,51 +28701,52 @@ case "(($ac_try" in
27204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27205 *) ac_try_echo=$ac_try;; 28702 *) ac_try_echo=$ac_try;;
27206esac 28703esac
27207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28704eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28705$as_echo "$ac_try_echo") >&5
27208 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28706 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27209 ac_status=$? 28707 ac_status=$?
27210 grep -v '^ *+' conftest.er1 >conftest.err 28708 grep -v '^ *+' conftest.er1 >conftest.err
27211 rm -f conftest.er1 28709 rm -f conftest.er1
27212 cat conftest.err >&5 28710 cat conftest.err >&5
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); } >/dev/null && { 28712 (exit $ac_status); } >/dev/null && {
27215 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28713 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27216 test ! -s conftest.err 28714 test ! -s conftest.err
27217 }; then 28715 }; then
27218 ac_header_preproc=yes 28716 ac_header_preproc=yes
27219else 28717else
27220 echo "$as_me: failed program was:" >&5 28718 $as_echo "$as_me: failed program was:" >&5
27221sed 's/^/| /' conftest.$ac_ext >&5 28719sed 's/^/| /' conftest.$ac_ext >&5
27222 28720
27223 ac_header_preproc=no 28721 ac_header_preproc=no
27224fi 28722fi
27225 28723
27226rm -f conftest.err conftest.$ac_ext 28724rm -f conftest.err conftest.$ac_ext
27227{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28725{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27228echo "${ECHO_T}$ac_header_preproc" >&6; } 28726$as_echo "$ac_header_preproc" >&6; }
27229 28727
27230# So? What about this header? 28728# So? What about this header?
27231case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28729case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27232 yes:no: ) 28730 yes:no: )
27233 { echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5 28731 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&5
27234echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 28732$as_echo "$as_me: WARNING: gssapi.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27235 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5 28733 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the compiler's result" >&5
27236echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;} 28734$as_echo "$as_me: WARNING: gssapi.h: proceeding with the compiler's result" >&2;}
27237 ac_header_preproc=yes 28735 ac_header_preproc=yes
27238 ;; 28736 ;;
27239 no:yes:* ) 28737 no:yes:* )
27240 { echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5 28738 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: present but cannot be compiled" >&5
27241echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;} 28739$as_echo "$as_me: WARNING: gssapi.h: present but cannot be compiled" >&2;}
27242 { echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5 28740 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: check for missing prerequisite headers?" >&5
27243echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;} 28741$as_echo "$as_me: WARNING: gssapi.h: check for missing prerequisite headers?" >&2;}
27244 { echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5 28742 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: see the Autoconf documentation" >&5
27245echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;} 28743$as_echo "$as_me: WARNING: gssapi.h: see the Autoconf documentation" >&2;}
27246 { echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5 28744 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&5
27247echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;} 28745$as_echo "$as_me: WARNING: gssapi.h: section \"Present But Cannot Be Compiled\"" >&2;}
27248 { echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5 28746 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: proceeding with the preprocessor's result" >&5
27249echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;} 28747$as_echo "$as_me: WARNING: gssapi.h: proceeding with the preprocessor's result" >&2;}
27250 { echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5 28748 { $as_echo "$as_me:$LINENO: WARNING: gssapi.h: in the future, the compiler will take precedence" >&5
27251echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;} 28749$as_echo "$as_me: WARNING: gssapi.h: in the future, the compiler will take precedence" >&2;}
27252 ( cat <<\_ASBOX 28750 ( cat <<\_ASBOX
27253## ------------------------------------------- ## 28751## ------------------------------------------- ##
27254## Report this to openssh-unix-dev@mindrot.org ## 28752## Report this to openssh-unix-dev@mindrot.org ##
@@ -27257,15 +28755,15 @@ _ASBOX
27257 ) | sed "s/^/$as_me: WARNING: /" >&2 28755 ) | sed "s/^/$as_me: WARNING: /" >&2
27258 ;; 28756 ;;
27259esac 28757esac
27260{ echo "$as_me:$LINENO: checking for gssapi.h" >&5 28758{ $as_echo "$as_me:$LINENO: checking for gssapi.h" >&5
27261echo $ECHO_N "checking for gssapi.h... $ECHO_C" >&6; } 28759$as_echo_n "checking for gssapi.h... " >&6; }
27262if test "${ac_cv_header_gssapi_h+set}" = set; then 28760if test "${ac_cv_header_gssapi_h+set}" = set; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6 28761 $as_echo_n "(cached) " >&6
27264else 28762else
27265 ac_cv_header_gssapi_h=$ac_header_preproc 28763 ac_cv_header_gssapi_h=$ac_header_preproc
27266fi 28764fi
27267{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5 28765{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_h" >&5
27268echo "${ECHO_T}$ac_cv_header_gssapi_h" >&6; } 28766$as_echo "$ac_cv_header_gssapi_h" >&6; }
27269 28767
27270fi 28768fi
27271if test $ac_cv_header_gssapi_h = yes; then 28769if test $ac_cv_header_gssapi_h = yes; then
@@ -27276,20 +28774,21 @@ else
27276 28774
27277for ac_header in gssapi.h 28775for ac_header in gssapi.h
27278do 28776do
27279as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 28777as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27280if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28778if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27281 { echo "$as_me:$LINENO: checking for $ac_header" >&5 28779 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27282echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 28780$as_echo_n "checking for $ac_header... " >&6; }
27283if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28781if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27284 echo $ECHO_N "(cached) $ECHO_C" >&6 28782 $as_echo_n "(cached) " >&6
27285fi 28783fi
27286ac_res=`eval echo '${'$as_ac_Header'}'` 28784ac_res=`eval 'as_val=${'$as_ac_Header'}
27287 { echo "$as_me:$LINENO: result: $ac_res" >&5 28785 $as_echo "$as_val"'`
27288echo "${ECHO_T}$ac_res" >&6; } 28786 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28787$as_echo "$ac_res" >&6; }
27289else 28788else
27290 # Is the header compilable? 28789 # Is the header compilable?
27291{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 28790{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27292echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 28791$as_echo_n "checking $ac_header usability... " >&6; }
27293cat >conftest.$ac_ext <<_ACEOF 28792cat >conftest.$ac_ext <<_ACEOF
27294/* confdefs.h. */ 28793/* confdefs.h. */
27295_ACEOF 28794_ACEOF
@@ -27305,32 +28804,33 @@ case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;; 28805 *) ac_try_echo=$ac_try;;
27307esac 28806esac
27308eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28807eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28808$as_echo "$ac_try_echo") >&5
27309 (eval "$ac_compile") 2>conftest.er1 28809 (eval "$ac_compile") 2>conftest.er1
27310 ac_status=$? 28810 ac_status=$?
27311 grep -v '^ *+' conftest.er1 >conftest.err 28811 grep -v '^ *+' conftest.er1 >conftest.err
27312 rm -f conftest.er1 28812 rm -f conftest.er1
27313 cat conftest.err >&5 28813 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28814 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && { 28815 (exit $ac_status); } && {
27316 test -z "$ac_c_werror_flag" || 28816 test -z "$ac_c_werror_flag" ||
27317 test ! -s conftest.err 28817 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then 28818 } && test -s conftest.$ac_objext; then
27319 ac_header_compiler=yes 28819 ac_header_compiler=yes
27320else 28820else
27321 echo "$as_me: failed program was:" >&5 28821 $as_echo "$as_me: failed program was:" >&5
27322sed 's/^/| /' conftest.$ac_ext >&5 28822sed 's/^/| /' conftest.$ac_ext >&5
27323 28823
27324 ac_header_compiler=no 28824 ac_header_compiler=no
27325fi 28825fi
27326 28826
27327rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28828{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27329echo "${ECHO_T}$ac_header_compiler" >&6; } 28829$as_echo "$ac_header_compiler" >&6; }
27330 28830
27331# Is the header present? 28831# Is the header present?
27332{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 28832{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27333echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 28833$as_echo_n "checking $ac_header presence... " >&6; }
27334cat >conftest.$ac_ext <<_ACEOF 28834cat >conftest.$ac_ext <<_ACEOF
27335/* confdefs.h. */ 28835/* confdefs.h. */
27336_ACEOF 28836_ACEOF
@@ -27344,51 +28844,52 @@ case "(($ac_try" in
27344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27345 *) ac_try_echo=$ac_try;; 28845 *) ac_try_echo=$ac_try;;
27346esac 28846esac
27347eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28847eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28848$as_echo "$ac_try_echo") >&5
27348 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 28849 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27349 ac_status=$? 28850 ac_status=$?
27350 grep -v '^ *+' conftest.er1 >conftest.err 28851 grep -v '^ *+' conftest.er1 >conftest.err
27351 rm -f conftest.er1 28852 rm -f conftest.er1
27352 cat conftest.err >&5 28853 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } >/dev/null && { 28855 (exit $ac_status); } >/dev/null && {
27355 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 28856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27356 test ! -s conftest.err 28857 test ! -s conftest.err
27357 }; then 28858 }; then
27358 ac_header_preproc=yes 28859 ac_header_preproc=yes
27359else 28860else
27360 echo "$as_me: failed program was:" >&5 28861 $as_echo "$as_me: failed program was:" >&5
27361sed 's/^/| /' conftest.$ac_ext >&5 28862sed 's/^/| /' conftest.$ac_ext >&5
27362 28863
27363 ac_header_preproc=no 28864 ac_header_preproc=no
27364fi 28865fi
27365 28866
27366rm -f conftest.err conftest.$ac_ext 28867rm -f conftest.err conftest.$ac_ext
27367{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 28868{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27368echo "${ECHO_T}$ac_header_preproc" >&6; } 28869$as_echo "$ac_header_preproc" >&6; }
27369 28870
27370# So? What about this header? 28871# So? What about this header?
27371case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 28872case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27372 yes:no: ) 28873 yes:no: )
27373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 28874 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27374echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 28875$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 28876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27376echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 28877$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27377 ac_header_preproc=yes 28878 ac_header_preproc=yes
27378 ;; 28879 ;;
27379 no:yes:* ) 28880 no:yes:* )
27380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 28881 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27381echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 28882$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 28883 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27383echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 28884$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 28885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27385echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 28886$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 28887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27387echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 28888$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 28889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27389echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 28890$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 28891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27391echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 28892$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27392 ( cat <<\_ASBOX 28893 ( cat <<\_ASBOX
27393## ------------------------------------------- ## 28894## ------------------------------------------- ##
27394## Report this to openssh-unix-dev@mindrot.org ## 28895## Report this to openssh-unix-dev@mindrot.org ##
@@ -27397,26 +28898,28 @@ _ASBOX
27397 ) | sed "s/^/$as_me: WARNING: /" >&2 28898 ) | sed "s/^/$as_me: WARNING: /" >&2
27398 ;; 28899 ;;
27399esac 28900esac
27400{ echo "$as_me:$LINENO: checking for $ac_header" >&5 28901{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27401echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 28902$as_echo_n "checking for $ac_header... " >&6; }
27402if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 28903if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27403 echo $ECHO_N "(cached) $ECHO_C" >&6 28904 $as_echo_n "(cached) " >&6
27404else 28905else
27405 eval "$as_ac_Header=\$ac_header_preproc" 28906 eval "$as_ac_Header=\$ac_header_preproc"
27406fi 28907fi
27407ac_res=`eval echo '${'$as_ac_Header'}'` 28908ac_res=`eval 'as_val=${'$as_ac_Header'}
27408 { echo "$as_me:$LINENO: result: $ac_res" >&5 28909 $as_echo "$as_val"'`
27409echo "${ECHO_T}$ac_res" >&6; } 28910 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
28911$as_echo "$ac_res" >&6; }
27410 28912
27411fi 28913fi
27412if test `eval echo '${'$as_ac_Header'}'` = yes; then 28914if test `eval 'as_val=${'$as_ac_Header'}
28915 $as_echo "$as_val"'` = yes; then
27413 cat >>confdefs.h <<_ACEOF 28916 cat >>confdefs.h <<_ACEOF
27414#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 28917#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27415_ACEOF 28918_ACEOF
27416 28919
27417else 28920else
27418 { echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5 28921 { $as_echo "$as_me:$LINENO: WARNING: Cannot find any suitable gss-api header - build may fail" >&5
27419echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;} 28922$as_echo "$as_me: WARNING: Cannot find any suitable gss-api header - build may fail" >&2;}
27420 28923
27421fi 28924fi
27422 28925
@@ -27431,17 +28934,17 @@ fi
27431 oldCPP="$CPPFLAGS" 28934 oldCPP="$CPPFLAGS"
27432 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi" 28935 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include/gssapi"
27433 if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 28936 if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27434 { echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 28937 { $as_echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
27435echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } 28938$as_echo_n "checking for gssapi_krb5.h... " >&6; }
27436if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 28939if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27437 echo $ECHO_N "(cached) $ECHO_C" >&6 28940 $as_echo_n "(cached) " >&6
27438fi 28941fi
27439{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 28942{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
27440echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } 28943$as_echo "$ac_cv_header_gssapi_krb5_h" >&6; }
27441else 28944else
27442 # Is the header compilable? 28945 # Is the header compilable?
27443{ echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5 28946{ $as_echo "$as_me:$LINENO: checking gssapi_krb5.h usability" >&5
27444echo $ECHO_N "checking gssapi_krb5.h usability... $ECHO_C" >&6; } 28947$as_echo_n "checking gssapi_krb5.h usability... " >&6; }
27445cat >conftest.$ac_ext <<_ACEOF 28948cat >conftest.$ac_ext <<_ACEOF
27446/* confdefs.h. */ 28949/* confdefs.h. */
27447_ACEOF 28950_ACEOF
@@ -27457,32 +28960,33 @@ case "(($ac_try" in
27457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 28960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27458 *) ac_try_echo=$ac_try;; 28961 *) ac_try_echo=$ac_try;;
27459esac 28962esac
27460eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 28963eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
28964$as_echo "$ac_try_echo") >&5
27461 (eval "$ac_compile") 2>conftest.er1 28965 (eval "$ac_compile") 2>conftest.er1
27462 ac_status=$? 28966 ac_status=$?
27463 grep -v '^ *+' conftest.er1 >conftest.err 28967 grep -v '^ *+' conftest.er1 >conftest.err
27464 rm -f conftest.er1 28968 rm -f conftest.er1
27465 cat conftest.err >&5 28969 cat conftest.err >&5
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5 28970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); } && { 28971 (exit $ac_status); } && {
27468 test -z "$ac_c_werror_flag" || 28972 test -z "$ac_c_werror_flag" ||
27469 test ! -s conftest.err 28973 test ! -s conftest.err
27470 } && test -s conftest.$ac_objext; then 28974 } && test -s conftest.$ac_objext; then
27471 ac_header_compiler=yes 28975 ac_header_compiler=yes
27472else 28976else
27473 echo "$as_me: failed program was:" >&5 28977 $as_echo "$as_me: failed program was:" >&5
27474sed 's/^/| /' conftest.$ac_ext >&5 28978sed 's/^/| /' conftest.$ac_ext >&5
27475 28979
27476 ac_header_compiler=no 28980 ac_header_compiler=no
27477fi 28981fi
27478 28982
27479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27480{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 28984{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27481echo "${ECHO_T}$ac_header_compiler" >&6; } 28985$as_echo "$ac_header_compiler" >&6; }
27482 28986
27483# Is the header present? 28987# Is the header present?
27484{ echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5 28988{ $as_echo "$as_me:$LINENO: checking gssapi_krb5.h presence" >&5
27485echo $ECHO_N "checking gssapi_krb5.h presence... $ECHO_C" >&6; } 28989$as_echo_n "checking gssapi_krb5.h presence... " >&6; }
27486cat >conftest.$ac_ext <<_ACEOF 28990cat >conftest.$ac_ext <<_ACEOF
27487/* confdefs.h. */ 28991/* confdefs.h. */
27488_ACEOF 28992_ACEOF
@@ -27496,51 +29000,52 @@ case "(($ac_try" in
27496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27497 *) ac_try_echo=$ac_try;; 29001 *) ac_try_echo=$ac_try;;
27498esac 29002esac
27499eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29004$as_echo "$ac_try_echo") >&5
27500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27501 ac_status=$? 29006 ac_status=$?
27502 grep -v '^ *+' conftest.er1 >conftest.err 29007 grep -v '^ *+' conftest.er1 >conftest.err
27503 rm -f conftest.er1 29008 rm -f conftest.er1
27504 cat conftest.err >&5 29009 cat conftest.err >&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); } >/dev/null && { 29011 (exit $ac_status); } >/dev/null && {
27507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27508 test ! -s conftest.err 29013 test ! -s conftest.err
27509 }; then 29014 }; then
27510 ac_header_preproc=yes 29015 ac_header_preproc=yes
27511else 29016else
27512 echo "$as_me: failed program was:" >&5 29017 $as_echo "$as_me: failed program was:" >&5
27513sed 's/^/| /' conftest.$ac_ext >&5 29018sed 's/^/| /' conftest.$ac_ext >&5
27514 29019
27515 ac_header_preproc=no 29020 ac_header_preproc=no
27516fi 29021fi
27517 29022
27518rm -f conftest.err conftest.$ac_ext 29023rm -f conftest.err conftest.$ac_ext
27519{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29024{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27520echo "${ECHO_T}$ac_header_preproc" >&6; } 29025$as_echo "$ac_header_preproc" >&6; }
27521 29026
27522# So? What about this header? 29027# So? What about this header?
27523case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29028case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27524 yes:no: ) 29029 yes:no: )
27525 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5 29030 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&5
27526echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 29031$as_echo "$as_me: WARNING: gssapi_krb5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27527 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5 29032 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&5
27528echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;} 29033$as_echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the compiler's result" >&2;}
27529 ac_header_preproc=yes 29034 ac_header_preproc=yes
27530 ;; 29035 ;;
27531 no:yes:* ) 29036 no:yes:* )
27532 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5 29037 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: present but cannot be compiled" >&5
27533echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;} 29038$as_echo "$as_me: WARNING: gssapi_krb5.h: present but cannot be compiled" >&2;}
27534 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5 29039 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&5
27535echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;} 29040$as_echo "$as_me: WARNING: gssapi_krb5.h: check for missing prerequisite headers?" >&2;}
27536 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5 29041 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&5
27537echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;} 29042$as_echo "$as_me: WARNING: gssapi_krb5.h: see the Autoconf documentation" >&2;}
27538 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5 29043 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&5
27539echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;} 29044$as_echo "$as_me: WARNING: gssapi_krb5.h: section \"Present But Cannot Be Compiled\"" >&2;}
27540 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5 29045 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&5
27541echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;} 29046$as_echo "$as_me: WARNING: gssapi_krb5.h: proceeding with the preprocessor's result" >&2;}
27542 { echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5 29047 { $as_echo "$as_me:$LINENO: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&5
27543echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;} 29048$as_echo "$as_me: WARNING: gssapi_krb5.h: in the future, the compiler will take precedence" >&2;}
27544 ( cat <<\_ASBOX 29049 ( cat <<\_ASBOX
27545## ------------------------------------------- ## 29050## ------------------------------------------- ##
27546## Report this to openssh-unix-dev@mindrot.org ## 29051## Report this to openssh-unix-dev@mindrot.org ##
@@ -27549,15 +29054,15 @@ _ASBOX
27549 ) | sed "s/^/$as_me: WARNING: /" >&2 29054 ) | sed "s/^/$as_me: WARNING: /" >&2
27550 ;; 29055 ;;
27551esac 29056esac
27552{ echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5 29057{ $as_echo "$as_me:$LINENO: checking for gssapi_krb5.h" >&5
27553echo $ECHO_N "checking for gssapi_krb5.h... $ECHO_C" >&6; } 29058$as_echo_n "checking for gssapi_krb5.h... " >&6; }
27554if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then 29059if test "${ac_cv_header_gssapi_krb5_h+set}" = set; then
27555 echo $ECHO_N "(cached) $ECHO_C" >&6 29060 $as_echo_n "(cached) " >&6
27556else 29061else
27557 ac_cv_header_gssapi_krb5_h=$ac_header_preproc 29062 ac_cv_header_gssapi_krb5_h=$ac_header_preproc
27558fi 29063fi
27559{ echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5 29064{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gssapi_krb5_h" >&5
27560echo "${ECHO_T}$ac_cv_header_gssapi_krb5_h" >&6; } 29065$as_echo "$ac_cv_header_gssapi_krb5_h" >&6; }
27561 29066
27562fi 29067fi
27563if test $ac_cv_header_gssapi_krb5_h = yes; then 29068if test $ac_cv_header_gssapi_krb5_h = yes; then
@@ -27580,20 +29085,21 @@ fi
27580 29085
27581for ac_header in gssapi.h gssapi/gssapi.h 29086for ac_header in gssapi.h gssapi/gssapi.h
27582do 29087do
27583as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29088as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27584if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29089if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27585 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29090 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27586echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29091$as_echo_n "checking for $ac_header... " >&6; }
27587if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29092if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6 29093 $as_echo_n "(cached) " >&6
27589fi 29094fi
27590ac_res=`eval echo '${'$as_ac_Header'}'` 29095ac_res=`eval 'as_val=${'$as_ac_Header'}
27591 { echo "$as_me:$LINENO: result: $ac_res" >&5 29096 $as_echo "$as_val"'`
27592echo "${ECHO_T}$ac_res" >&6; } 29097 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29098$as_echo "$ac_res" >&6; }
27593else 29099else
27594 # Is the header compilable? 29100 # Is the header compilable?
27595{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29101{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27596echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29102$as_echo_n "checking $ac_header usability... " >&6; }
27597cat >conftest.$ac_ext <<_ACEOF 29103cat >conftest.$ac_ext <<_ACEOF
27598/* confdefs.h. */ 29104/* confdefs.h. */
27599_ACEOF 29105_ACEOF
@@ -27609,32 +29115,33 @@ case "(($ac_try" in
27609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27610 *) ac_try_echo=$ac_try;; 29116 *) ac_try_echo=$ac_try;;
27611esac 29117esac
27612eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29118eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29119$as_echo "$ac_try_echo") >&5
27613 (eval "$ac_compile") 2>conftest.er1 29120 (eval "$ac_compile") 2>conftest.er1
27614 ac_status=$? 29121 ac_status=$?
27615 grep -v '^ *+' conftest.er1 >conftest.err 29122 grep -v '^ *+' conftest.er1 >conftest.err
27616 rm -f conftest.er1 29123 rm -f conftest.er1
27617 cat conftest.err >&5 29124 cat conftest.err >&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); } && { 29126 (exit $ac_status); } && {
27620 test -z "$ac_c_werror_flag" || 29127 test -z "$ac_c_werror_flag" ||
27621 test ! -s conftest.err 29128 test ! -s conftest.err
27622 } && test -s conftest.$ac_objext; then 29129 } && test -s conftest.$ac_objext; then
27623 ac_header_compiler=yes 29130 ac_header_compiler=yes
27624else 29131else
27625 echo "$as_me: failed program was:" >&5 29132 $as_echo "$as_me: failed program was:" >&5
27626sed 's/^/| /' conftest.$ac_ext >&5 29133sed 's/^/| /' conftest.$ac_ext >&5
27627 29134
27628 ac_header_compiler=no 29135 ac_header_compiler=no
27629fi 29136fi
27630 29137
27631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27632{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29139{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27633echo "${ECHO_T}$ac_header_compiler" >&6; } 29140$as_echo "$ac_header_compiler" >&6; }
27634 29141
27635# Is the header present? 29142# Is the header present?
27636{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29143{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27637echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29144$as_echo_n "checking $ac_header presence... " >&6; }
27638cat >conftest.$ac_ext <<_ACEOF 29145cat >conftest.$ac_ext <<_ACEOF
27639/* confdefs.h. */ 29146/* confdefs.h. */
27640_ACEOF 29147_ACEOF
@@ -27648,51 +29155,52 @@ case "(($ac_try" in
27648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27649 *) ac_try_echo=$ac_try;; 29156 *) ac_try_echo=$ac_try;;
27650esac 29157esac
27651eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29158eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29159$as_echo "$ac_try_echo") >&5
27652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29160 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27653 ac_status=$? 29161 ac_status=$?
27654 grep -v '^ *+' conftest.er1 >conftest.err 29162 grep -v '^ *+' conftest.er1 >conftest.err
27655 rm -f conftest.er1 29163 rm -f conftest.er1
27656 cat conftest.err >&5 29164 cat conftest.err >&5
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29165 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } >/dev/null && { 29166 (exit $ac_status); } >/dev/null && {
27659 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29167 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27660 test ! -s conftest.err 29168 test ! -s conftest.err
27661 }; then 29169 }; then
27662 ac_header_preproc=yes 29170 ac_header_preproc=yes
27663else 29171else
27664 echo "$as_me: failed program was:" >&5 29172 $as_echo "$as_me: failed program was:" >&5
27665sed 's/^/| /' conftest.$ac_ext >&5 29173sed 's/^/| /' conftest.$ac_ext >&5
27666 29174
27667 ac_header_preproc=no 29175 ac_header_preproc=no
27668fi 29176fi
27669 29177
27670rm -f conftest.err conftest.$ac_ext 29178rm -f conftest.err conftest.$ac_ext
27671{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29179{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27672echo "${ECHO_T}$ac_header_preproc" >&6; } 29180$as_echo "$ac_header_preproc" >&6; }
27673 29181
27674# So? What about this header? 29182# So? What about this header?
27675case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29183case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27676 yes:no: ) 29184 yes:no: )
27677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27678echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29186$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27680echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29188$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27681 ac_header_preproc=yes 29189 ac_header_preproc=yes
27682 ;; 29190 ;;
27683 no:yes:* ) 29191 no:yes:* )
27684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27685echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29193$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27687echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29195$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29196 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27689echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29197$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27691echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29199$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27693echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29201$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27695echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29203$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27696 ( cat <<\_ASBOX 29204 ( cat <<\_ASBOX
27697## ------------------------------------------- ## 29205## ------------------------------------------- ##
27698## Report this to openssh-unix-dev@mindrot.org ## 29206## Report this to openssh-unix-dev@mindrot.org ##
@@ -27701,21 +29209,23 @@ _ASBOX
27701 ) | sed "s/^/$as_me: WARNING: /" >&2 29209 ) | sed "s/^/$as_me: WARNING: /" >&2
27702 ;; 29210 ;;
27703esac 29211esac
27704{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29212{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27705echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29213$as_echo_n "checking for $ac_header... " >&6; }
27706if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29214if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27707 echo $ECHO_N "(cached) $ECHO_C" >&6 29215 $as_echo_n "(cached) " >&6
27708else 29216else
27709 eval "$as_ac_Header=\$ac_header_preproc" 29217 eval "$as_ac_Header=\$ac_header_preproc"
27710fi 29218fi
27711ac_res=`eval echo '${'$as_ac_Header'}'` 29219ac_res=`eval 'as_val=${'$as_ac_Header'}
27712 { echo "$as_me:$LINENO: result: $ac_res" >&5 29220 $as_echo "$as_val"'`
27713echo "${ECHO_T}$ac_res" >&6; } 29221 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29222$as_echo "$ac_res" >&6; }
27714 29223
27715fi 29224fi
27716if test `eval echo '${'$as_ac_Header'}'` = yes; then 29225if test `eval 'as_val=${'$as_ac_Header'}
29226 $as_echo "$as_val"'` = yes; then
27717 cat >>confdefs.h <<_ACEOF 29227 cat >>confdefs.h <<_ACEOF
27718#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29228#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27719_ACEOF 29229_ACEOF
27720 29230
27721fi 29231fi
@@ -27726,20 +29236,21 @@ done
27726 29236
27727for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h 29237for ac_header in gssapi_krb5.h gssapi/gssapi_krb5.h
27728do 29238do
27729as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29239as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27730if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29240if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27731 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29241 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27732echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29242$as_echo_n "checking for $ac_header... " >&6; }
27733if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29243if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27734 echo $ECHO_N "(cached) $ECHO_C" >&6 29244 $as_echo_n "(cached) " >&6
27735fi 29245fi
27736ac_res=`eval echo '${'$as_ac_Header'}'` 29246ac_res=`eval 'as_val=${'$as_ac_Header'}
27737 { echo "$as_me:$LINENO: result: $ac_res" >&5 29247 $as_echo "$as_val"'`
27738echo "${ECHO_T}$ac_res" >&6; } 29248 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29249$as_echo "$ac_res" >&6; }
27739else 29250else
27740 # Is the header compilable? 29251 # Is the header compilable?
27741{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29252{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27742echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29253$as_echo_n "checking $ac_header usability... " >&6; }
27743cat >conftest.$ac_ext <<_ACEOF 29254cat >conftest.$ac_ext <<_ACEOF
27744/* confdefs.h. */ 29255/* confdefs.h. */
27745_ACEOF 29256_ACEOF
@@ -27755,32 +29266,33 @@ case "(($ac_try" in
27755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27756 *) ac_try_echo=$ac_try;; 29267 *) ac_try_echo=$ac_try;;
27757esac 29268esac
27758eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29269eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29270$as_echo "$ac_try_echo") >&5
27759 (eval "$ac_compile") 2>conftest.er1 29271 (eval "$ac_compile") 2>conftest.er1
27760 ac_status=$? 29272 ac_status=$?
27761 grep -v '^ *+' conftest.er1 >conftest.err 29273 grep -v '^ *+' conftest.er1 >conftest.err
27762 rm -f conftest.er1 29274 rm -f conftest.er1
27763 cat conftest.err >&5 29275 cat conftest.err >&5
27764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27765 (exit $ac_status); } && { 29277 (exit $ac_status); } && {
27766 test -z "$ac_c_werror_flag" || 29278 test -z "$ac_c_werror_flag" ||
27767 test ! -s conftest.err 29279 test ! -s conftest.err
27768 } && test -s conftest.$ac_objext; then 29280 } && test -s conftest.$ac_objext; then
27769 ac_header_compiler=yes 29281 ac_header_compiler=yes
27770else 29282else
27771 echo "$as_me: failed program was:" >&5 29283 $as_echo "$as_me: failed program was:" >&5
27772sed 's/^/| /' conftest.$ac_ext >&5 29284sed 's/^/| /' conftest.$ac_ext >&5
27773 29285
27774 ac_header_compiler=no 29286 ac_header_compiler=no
27775fi 29287fi
27776 29288
27777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27778{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29290{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27779echo "${ECHO_T}$ac_header_compiler" >&6; } 29291$as_echo "$ac_header_compiler" >&6; }
27780 29292
27781# Is the header present? 29293# Is the header present?
27782{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29294{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27783echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29295$as_echo_n "checking $ac_header presence... " >&6; }
27784cat >conftest.$ac_ext <<_ACEOF 29296cat >conftest.$ac_ext <<_ACEOF
27785/* confdefs.h. */ 29297/* confdefs.h. */
27786_ACEOF 29298_ACEOF
@@ -27794,51 +29306,52 @@ case "(($ac_try" in
27794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27795 *) ac_try_echo=$ac_try;; 29307 *) ac_try_echo=$ac_try;;
27796esac 29308esac
27797eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29309eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29310$as_echo "$ac_try_echo") >&5
27798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29311 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27799 ac_status=$? 29312 ac_status=$?
27800 grep -v '^ *+' conftest.er1 >conftest.err 29313 grep -v '^ *+' conftest.er1 >conftest.err
27801 rm -f conftest.er1 29314 rm -f conftest.er1
27802 cat conftest.err >&5 29315 cat conftest.err >&5
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); } >/dev/null && { 29317 (exit $ac_status); } >/dev/null && {
27805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29318 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27806 test ! -s conftest.err 29319 test ! -s conftest.err
27807 }; then 29320 }; then
27808 ac_header_preproc=yes 29321 ac_header_preproc=yes
27809else 29322else
27810 echo "$as_me: failed program was:" >&5 29323 $as_echo "$as_me: failed program was:" >&5
27811sed 's/^/| /' conftest.$ac_ext >&5 29324sed 's/^/| /' conftest.$ac_ext >&5
27812 29325
27813 ac_header_preproc=no 29326 ac_header_preproc=no
27814fi 29327fi
27815 29328
27816rm -f conftest.err conftest.$ac_ext 29329rm -f conftest.err conftest.$ac_ext
27817{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29330{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27818echo "${ECHO_T}$ac_header_preproc" >&6; } 29331$as_echo "$ac_header_preproc" >&6; }
27819 29332
27820# So? What about this header? 29333# So? What about this header?
27821case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29334case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27822 yes:no: ) 29335 yes:no: )
27823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29336 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27824echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29337$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29338 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27826echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29339$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27827 ac_header_preproc=yes 29340 ac_header_preproc=yes
27828 ;; 29341 ;;
27829 no:yes:* ) 29342 no:yes:* )
27830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27831echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29344$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27833echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29346$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27835echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29348$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27837echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29350$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27839echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29352$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27841echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29354$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27842 ( cat <<\_ASBOX 29355 ( cat <<\_ASBOX
27843## ------------------------------------------- ## 29356## ------------------------------------------- ##
27844## Report this to openssh-unix-dev@mindrot.org ## 29357## Report this to openssh-unix-dev@mindrot.org ##
@@ -27847,21 +29360,23 @@ _ASBOX
27847 ) | sed "s/^/$as_me: WARNING: /" >&2 29360 ) | sed "s/^/$as_me: WARNING: /" >&2
27848 ;; 29361 ;;
27849esac 29362esac
27850{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29363{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27851echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29364$as_echo_n "checking for $ac_header... " >&6; }
27852if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29365if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27853 echo $ECHO_N "(cached) $ECHO_C" >&6 29366 $as_echo_n "(cached) " >&6
27854else 29367else
27855 eval "$as_ac_Header=\$ac_header_preproc" 29368 eval "$as_ac_Header=\$ac_header_preproc"
27856fi 29369fi
27857ac_res=`eval echo '${'$as_ac_Header'}'` 29370ac_res=`eval 'as_val=${'$as_ac_Header'}
27858 { echo "$as_me:$LINENO: result: $ac_res" >&5 29371 $as_echo "$as_val"'`
27859echo "${ECHO_T}$ac_res" >&6; } 29372 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29373$as_echo "$ac_res" >&6; }
27860 29374
27861fi 29375fi
27862if test `eval echo '${'$as_ac_Header'}'` = yes; then 29376if test `eval 'as_val=${'$as_ac_Header'}
29377 $as_echo "$as_val"'` = yes; then
27863 cat >>confdefs.h <<_ACEOF 29378 cat >>confdefs.h <<_ACEOF
27864#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29379#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27865_ACEOF 29380_ACEOF
27866 29381
27867fi 29382fi
@@ -27872,20 +29387,21 @@ done
27872 29387
27873for ac_header in gssapi_generic.h gssapi/gssapi_generic.h 29388for ac_header in gssapi_generic.h gssapi/gssapi_generic.h
27874do 29389do
27875as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 29390as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27876if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29391if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27877 { echo "$as_me:$LINENO: checking for $ac_header" >&5 29392 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27878echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29393$as_echo_n "checking for $ac_header... " >&6; }
27879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29394if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6 29395 $as_echo_n "(cached) " >&6
27881fi 29396fi
27882ac_res=`eval echo '${'$as_ac_Header'}'` 29397ac_res=`eval 'as_val=${'$as_ac_Header'}
27883 { echo "$as_me:$LINENO: result: $ac_res" >&5 29398 $as_echo "$as_val"'`
27884echo "${ECHO_T}$ac_res" >&6; } 29399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29400$as_echo "$ac_res" >&6; }
27885else 29401else
27886 # Is the header compilable? 29402 # Is the header compilable?
27887{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 29403{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
27888echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 29404$as_echo_n "checking $ac_header usability... " >&6; }
27889cat >conftest.$ac_ext <<_ACEOF 29405cat >conftest.$ac_ext <<_ACEOF
27890/* confdefs.h. */ 29406/* confdefs.h. */
27891_ACEOF 29407_ACEOF
@@ -27901,32 +29417,33 @@ case "(($ac_try" in
27901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27902 *) ac_try_echo=$ac_try;; 29418 *) ac_try_echo=$ac_try;;
27903esac 29419esac
27904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29420eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29421$as_echo "$ac_try_echo") >&5
27905 (eval "$ac_compile") 2>conftest.er1 29422 (eval "$ac_compile") 2>conftest.er1
27906 ac_status=$? 29423 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err 29424 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1 29425 rm -f conftest.er1
27909 cat conftest.err >&5 29426 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && { 29428 (exit $ac_status); } && {
27912 test -z "$ac_c_werror_flag" || 29429 test -z "$ac_c_werror_flag" ||
27913 test ! -s conftest.err 29430 test ! -s conftest.err
27914 } && test -s conftest.$ac_objext; then 29431 } && test -s conftest.$ac_objext; then
27915 ac_header_compiler=yes 29432 ac_header_compiler=yes
27916else 29433else
27917 echo "$as_me: failed program was:" >&5 29434 $as_echo "$as_me: failed program was:" >&5
27918sed 's/^/| /' conftest.$ac_ext >&5 29435sed 's/^/| /' conftest.$ac_ext >&5
27919 29436
27920 ac_header_compiler=no 29437 ac_header_compiler=no
27921fi 29438fi
27922 29439
27923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29440rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27924{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 29441{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27925echo "${ECHO_T}$ac_header_compiler" >&6; } 29442$as_echo "$ac_header_compiler" >&6; }
27926 29443
27927# Is the header present? 29444# Is the header present?
27928{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 29445{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
27929echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 29446$as_echo_n "checking $ac_header presence... " >&6; }
27930cat >conftest.$ac_ext <<_ACEOF 29447cat >conftest.$ac_ext <<_ACEOF
27931/* confdefs.h. */ 29448/* confdefs.h. */
27932_ACEOF 29449_ACEOF
@@ -27940,51 +29457,52 @@ case "(($ac_try" in
27940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27941 *) ac_try_echo=$ac_try;; 29458 *) ac_try_echo=$ac_try;;
27942esac 29459esac
27943eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29460eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29461$as_echo "$ac_try_echo") >&5
27944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 29462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27945 ac_status=$? 29463 ac_status=$?
27946 grep -v '^ *+' conftest.er1 >conftest.err 29464 grep -v '^ *+' conftest.er1 >conftest.err
27947 rm -f conftest.er1 29465 rm -f conftest.er1
27948 cat conftest.err >&5 29466 cat conftest.err >&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } >/dev/null && { 29468 (exit $ac_status); } >/dev/null && {
27951 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 29469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27952 test ! -s conftest.err 29470 test ! -s conftest.err
27953 }; then 29471 }; then
27954 ac_header_preproc=yes 29472 ac_header_preproc=yes
27955else 29473else
27956 echo "$as_me: failed program was:" >&5 29474 $as_echo "$as_me: failed program was:" >&5
27957sed 's/^/| /' conftest.$ac_ext >&5 29475sed 's/^/| /' conftest.$ac_ext >&5
27958 29476
27959 ac_header_preproc=no 29477 ac_header_preproc=no
27960fi 29478fi
27961 29479
27962rm -f conftest.err conftest.$ac_ext 29480rm -f conftest.err conftest.$ac_ext
27963{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 29481{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27964echo "${ECHO_T}$ac_header_preproc" >&6; } 29482$as_echo "$ac_header_preproc" >&6; }
27965 29483
27966# So? What about this header? 29484# So? What about this header?
27967case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 29485case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27968 yes:no: ) 29486 yes:no: )
27969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 29487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27970echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 29488$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 29489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27972echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 29490$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27973 ac_header_preproc=yes 29491 ac_header_preproc=yes
27974 ;; 29492 ;;
27975 no:yes:* ) 29493 no:yes:* )
27976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 29494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27977echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 29495$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 29496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27979echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 29497$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 29498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27981echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 29499$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 29500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27983echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 29501$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 29502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27985echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 29503$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 29504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27987echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 29505$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27988 ( cat <<\_ASBOX 29506 ( cat <<\_ASBOX
27989## ------------------------------------------- ## 29507## ------------------------------------------- ##
27990## Report this to openssh-unix-dev@mindrot.org ## 29508## Report this to openssh-unix-dev@mindrot.org ##
@@ -27993,21 +29511,23 @@ _ASBOX
27993 ) | sed "s/^/$as_me: WARNING: /" >&2 29511 ) | sed "s/^/$as_me: WARNING: /" >&2
27994 ;; 29512 ;;
27995esac 29513esac
27996{ echo "$as_me:$LINENO: checking for $ac_header" >&5 29514{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
27997echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 29515$as_echo_n "checking for $ac_header... " >&6; }
27998if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 29516if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27999 echo $ECHO_N "(cached) $ECHO_C" >&6 29517 $as_echo_n "(cached) " >&6
28000else 29518else
28001 eval "$as_ac_Header=\$ac_header_preproc" 29519 eval "$as_ac_Header=\$ac_header_preproc"
28002fi 29520fi
28003ac_res=`eval echo '${'$as_ac_Header'}'` 29521ac_res=`eval 'as_val=${'$as_ac_Header'}
28004 { echo "$as_me:$LINENO: result: $ac_res" >&5 29522 $as_echo "$as_val"'`
28005echo "${ECHO_T}$ac_res" >&6; } 29523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
29524$as_echo "$ac_res" >&6; }
28006 29525
28007fi 29526fi
28008if test `eval echo '${'$as_ac_Header'}'` = yes; then 29527if test `eval 'as_val=${'$as_ac_Header'}
29528 $as_echo "$as_val"'` = yes; then
28009 cat >>confdefs.h <<_ACEOF 29529 cat >>confdefs.h <<_ACEOF
28010#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 29530#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28011_ACEOF 29531_ACEOF
28012 29532
28013fi 29533fi
@@ -28016,10 +29536,10 @@ done
28016 29536
28017 29537
28018 LIBS="$LIBS $K5LIBS" 29538 LIBS="$LIBS $K5LIBS"
28019 { echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5 29539 { $as_echo "$as_me:$LINENO: checking for library containing k_hasafs" >&5
28020echo $ECHO_N "checking for library containing k_hasafs... $ECHO_C" >&6; } 29540$as_echo_n "checking for library containing k_hasafs... " >&6; }
28021if test "${ac_cv_search_k_hasafs+set}" = set; then 29541if test "${ac_cv_search_k_hasafs+set}" = set; then
28022 echo $ECHO_N "(cached) $ECHO_C" >&6 29542 $as_echo_n "(cached) " >&6
28023else 29543else
28024 ac_func_search_save_LIBS=$LIBS 29544 ac_func_search_save_LIBS=$LIBS
28025cat >conftest.$ac_ext <<_ACEOF 29545cat >conftest.$ac_ext <<_ACEOF
@@ -28057,26 +29577,30 @@ case "(($ac_try" in
28057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28058 *) ac_try_echo=$ac_try;; 29578 *) ac_try_echo=$ac_try;;
28059esac 29579esac
28060eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29580eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29581$as_echo "$ac_try_echo") >&5
28061 (eval "$ac_link") 2>conftest.er1 29582 (eval "$ac_link") 2>conftest.er1
28062 ac_status=$? 29583 ac_status=$?
28063 grep -v '^ *+' conftest.er1 >conftest.err 29584 grep -v '^ *+' conftest.er1 >conftest.err
28064 rm -f conftest.er1 29585 rm -f conftest.er1
28065 cat conftest.err >&5 29586 cat conftest.err >&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); } && { 29588 (exit $ac_status); } && {
28068 test -z "$ac_c_werror_flag" || 29589 test -z "$ac_c_werror_flag" ||
28069 test ! -s conftest.err 29590 test ! -s conftest.err
28070 } && test -s conftest$ac_exeext && 29591 } && test -s conftest$ac_exeext && {
28071 $as_test_x conftest$ac_exeext; then 29592 test "$cross_compiling" = yes ||
29593 $as_test_x conftest$ac_exeext
29594 }; then
28072 ac_cv_search_k_hasafs=$ac_res 29595 ac_cv_search_k_hasafs=$ac_res
28073else 29596else
28074 echo "$as_me: failed program was:" >&5 29597 $as_echo "$as_me: failed program was:" >&5
28075sed 's/^/| /' conftest.$ac_ext >&5 29598sed 's/^/| /' conftest.$ac_ext >&5
28076 29599
28077 29600
28078fi 29601fi
28079 29602
29603rm -rf conftest.dSYM
28080rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 29604rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28081 conftest$ac_exeext 29605 conftest$ac_exeext
28082 if test "${ac_cv_search_k_hasafs+set}" = set; then 29606 if test "${ac_cv_search_k_hasafs+set}" = set; then
@@ -28091,8 +29615,8 @@ fi
28091rm conftest.$ac_ext 29615rm conftest.$ac_ext
28092LIBS=$ac_func_search_save_LIBS 29616LIBS=$ac_func_search_save_LIBS
28093fi 29617fi
28094{ echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5 29618{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_k_hasafs" >&5
28095echo "${ECHO_T}$ac_cv_search_k_hasafs" >&6; } 29619$as_echo "$ac_cv_search_k_hasafs" >&6; }
28096ac_res=$ac_cv_search_k_hasafs 29620ac_res=$ac_cv_search_k_hasafs
28097if test "$ac_res" != no; then 29621if test "$ac_res" != no; then
28098 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 29622 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
@@ -28144,10 +29668,10 @@ else
28144 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin" 29668 TestPath="${TestPath}${PATH_SEPARATOR}/usr/openwin/bin"
28145 # Extract the first word of "xauth", so it can be a program name with args. 29669 # Extract the first word of "xauth", so it can be a program name with args.
28146set dummy xauth; ac_word=$2 29670set dummy xauth; ac_word=$2
28147{ echo "$as_me:$LINENO: checking for $ac_word" >&5 29671{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28148echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 29672$as_echo_n "checking for $ac_word... " >&6; }
28149if test "${ac_cv_path_xauth_path+set}" = set; then 29673if test "${ac_cv_path_xauth_path+set}" = set; then
28150 echo $ECHO_N "(cached) $ECHO_C" >&6 29674 $as_echo_n "(cached) " >&6
28151else 29675else
28152 case $xauth_path in 29676 case $xauth_path in
28153 [\\/]* | ?:[\\/]*) 29677 [\\/]* | ?:[\\/]*)
@@ -28162,7 +29686,7 @@ do
28162 for ac_exec_ext in '' $ac_executable_extensions; do 29686 for ac_exec_ext in '' $ac_executable_extensions; do
28163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 29687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28164 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext" 29688 ac_cv_path_xauth_path="$as_dir/$ac_word$ac_exec_ext"
28165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28166 break 2 29690 break 2
28167 fi 29691 fi
28168done 29692done
@@ -28174,11 +29698,11 @@ esac
28174fi 29698fi
28175xauth_path=$ac_cv_path_xauth_path 29699xauth_path=$ac_cv_path_xauth_path
28176if test -n "$xauth_path"; then 29700if test -n "$xauth_path"; then
28177 { echo "$as_me:$LINENO: result: $xauth_path" >&5 29701 { $as_echo "$as_me:$LINENO: result: $xauth_path" >&5
28178echo "${ECHO_T}$xauth_path" >&6; } 29702$as_echo "$xauth_path" >&6; }
28179else 29703else
28180 { echo "$as_me:$LINENO: result: no" >&5 29704 { $as_echo "$as_me:$LINENO: result: no" >&5
28181echo "${ECHO_T}no" >&6; } 29705$as_echo "no" >&6; }
28182fi 29706fi
28183 29707
28184 29708
@@ -28227,20 +29751,20 @@ _ACEOF
28227fi 29751fi
28228 29752
28229if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then 29753if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; then
28230 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5 29754 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptmx test" >&5
28231echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;} 29755$as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptmx test" >&2;}
28232 disable_ptmx_check=yes 29756 disable_ptmx_check=yes
28233fi 29757fi
28234if test -z "$no_dev_ptmx" ; then 29758if test -z "$no_dev_ptmx" ; then
28235 if test "x$disable_ptmx_check" != "xyes" ; then 29759 if test "x$disable_ptmx_check" != "xyes" ; then
28236 { echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5 29760 { $as_echo "$as_me:$LINENO: checking for \"/dev/ptmx\"" >&5
28237echo $ECHO_N "checking for \"/dev/ptmx\"... $ECHO_C" >&6; } 29761$as_echo_n "checking for \"/dev/ptmx\"... " >&6; }
28238if test "${ac_cv_file___dev_ptmx_+set}" = set; then 29762if test "${ac_cv_file___dev_ptmx_+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6 29763 $as_echo_n "(cached) " >&6
28240else 29764else
28241 test "$cross_compiling" = yes && 29765 test "$cross_compiling" = yes &&
28242 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 29766 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28243echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 29767$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28244 { (exit 1); exit 1; }; } 29768 { (exit 1); exit 1; }; }
28245if test -r ""/dev/ptmx""; then 29769if test -r ""/dev/ptmx""; then
28246 ac_cv_file___dev_ptmx_=yes 29770 ac_cv_file___dev_ptmx_=yes
@@ -28248,8 +29772,8 @@ else
28248 ac_cv_file___dev_ptmx_=no 29772 ac_cv_file___dev_ptmx_=no
28249fi 29773fi
28250fi 29774fi
28251{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5 29775{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptmx_" >&5
28252echo "${ECHO_T}$ac_cv_file___dev_ptmx_" >&6; } 29776$as_echo "$ac_cv_file___dev_ptmx_" >&6; }
28253if test $ac_cv_file___dev_ptmx_ = yes; then 29777if test $ac_cv_file___dev_ptmx_ = yes; then
28254 29778
28255 29779
@@ -28266,14 +29790,14 @@ fi
28266fi 29790fi
28267 29791
28268if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then 29792if test ! -z "$cross_compiling" && test "x$cross_compiling" != "xyes"; then
28269 { echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5 29793 { $as_echo "$as_me:$LINENO: checking for \"/dev/ptc\"" >&5
28270echo $ECHO_N "checking for \"/dev/ptc\"... $ECHO_C" >&6; } 29794$as_echo_n "checking for \"/dev/ptc\"... " >&6; }
28271if test "${ac_cv_file___dev_ptc_+set}" = set; then 29795if test "${ac_cv_file___dev_ptc_+set}" = set; then
28272 echo $ECHO_N "(cached) $ECHO_C" >&6 29796 $as_echo_n "(cached) " >&6
28273else 29797else
28274 test "$cross_compiling" = yes && 29798 test "$cross_compiling" = yes &&
28275 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 29799 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28276echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 29800$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28277 { (exit 1); exit 1; }; } 29801 { (exit 1); exit 1; }; }
28278if test -r ""/dev/ptc""; then 29802if test -r ""/dev/ptc""; then
28279 ac_cv_file___dev_ptc_=yes 29803 ac_cv_file___dev_ptc_=yes
@@ -28281,8 +29805,8 @@ else
28281 ac_cv_file___dev_ptc_=no 29805 ac_cv_file___dev_ptc_=no
28282fi 29806fi
28283fi 29807fi
28284{ echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5 29808{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___dev_ptc_" >&5
28285echo "${ECHO_T}$ac_cv_file___dev_ptc_" >&6; } 29809$as_echo "$ac_cv_file___dev_ptc_" >&6; }
28286if test $ac_cv_file___dev_ptc_ = yes; then 29810if test $ac_cv_file___dev_ptc_ = yes; then
28287 29811
28288 29812
@@ -28296,8 +29820,8 @@ _ACEOF
28296fi 29820fi
28297 29821
28298else 29822else
28299 { echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5 29823 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: Disabling /dev/ptc test" >&5
28300echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;} 29824$as_echo "$as_me: WARNING: cross compiling: Disabling /dev/ptc test" >&2;}
28301fi 29825fi
28302 29826
28303# Options from here on. Some of these are preset by platform above 29827# Options from here on. Some of these are preset by platform above
@@ -28310,8 +29834,8 @@ if test "${with_mantype+set}" = set; then
28310 MANTYPE=$withval 29834 MANTYPE=$withval
28311 ;; 29835 ;;
28312 *) 29836 *)
28313 { { echo "$as_me:$LINENO: error: invalid man type: $withval" >&5 29837 { { $as_echo "$as_me:$LINENO: error: invalid man type: $withval" >&5
28314echo "$as_me: error: invalid man type: $withval" >&2;} 29838$as_echo "$as_me: error: invalid man type: $withval" >&2;}
28315 { (exit 1); exit 1; }; } 29839 { (exit 1); exit 1; }; }
28316 ;; 29840 ;;
28317 esac 29841 esac
@@ -28325,10 +29849,10 @@ if test -z "$MANTYPE"; then
28325do 29849do
28326 # Extract the first word of "$ac_prog", so it can be a program name with args. 29850 # Extract the first word of "$ac_prog", so it can be a program name with args.
28327set dummy $ac_prog; ac_word=$2 29851set dummy $ac_prog; ac_word=$2
28328{ echo "$as_me:$LINENO: checking for $ac_word" >&5 29852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
28329echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 29853$as_echo_n "checking for $ac_word... " >&6; }
28330if test "${ac_cv_path_NROFF+set}" = set; then 29854if test "${ac_cv_path_NROFF+set}" = set; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6 29855 $as_echo_n "(cached) " >&6
28332else 29856else
28333 case $NROFF in 29857 case $NROFF in
28334 [\\/]* | ?:[\\/]*) 29858 [\\/]* | ?:[\\/]*)
@@ -28343,7 +29867,7 @@ do
28343 for ac_exec_ext in '' $ac_executable_extensions; do 29867 for ac_exec_ext in '' $ac_executable_extensions; do
28344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 29868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28345 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext" 29869 ac_cv_path_NROFF="$as_dir/$ac_word$ac_exec_ext"
28346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 29870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28347 break 2 29871 break 2
28348 fi 29872 fi
28349done 29873done
@@ -28355,11 +29879,11 @@ esac
28355fi 29879fi
28356NROFF=$ac_cv_path_NROFF 29880NROFF=$ac_cv_path_NROFF
28357if test -n "$NROFF"; then 29881if test -n "$NROFF"; then
28358 { echo "$as_me:$LINENO: result: $NROFF" >&5 29882 { $as_echo "$as_me:$LINENO: result: $NROFF" >&5
28359echo "${ECHO_T}$NROFF" >&6; } 29883$as_echo "$NROFF" >&6; }
28360else 29884else
28361 { echo "$as_me:$LINENO: result: no" >&5 29885 { $as_echo "$as_me:$LINENO: result: no" >&5
28362echo "${ECHO_T}no" >&6; } 29886$as_echo "no" >&6; }
28363fi 29887fi
28364 29888
28365 29889
@@ -28420,8 +29944,8 @@ fi
28420 29944
28421 29945
28422if test -z "$disable_shadow" ; then 29946if test -z "$disable_shadow" ; then
28423 { echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5 29947 { $as_echo "$as_me:$LINENO: checking if the systems has expire shadow information" >&5
28424echo $ECHO_N "checking if the systems has expire shadow information... $ECHO_C" >&6; } 29948$as_echo_n "checking if the systems has expire shadow information... " >&6; }
28425 cat >conftest.$ac_ext <<_ACEOF 29949 cat >conftest.$ac_ext <<_ACEOF
28426/* confdefs.h. */ 29950/* confdefs.h. */
28427_ACEOF 29951_ACEOF
@@ -28447,20 +29971,21 @@ case "(($ac_try" in
28447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 29971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28448 *) ac_try_echo=$ac_try;; 29972 *) ac_try_echo=$ac_try;;
28449esac 29973esac
28450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 29974eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
29975$as_echo "$ac_try_echo") >&5
28451 (eval "$ac_compile") 2>conftest.er1 29976 (eval "$ac_compile") 2>conftest.er1
28452 ac_status=$? 29977 ac_status=$?
28453 grep -v '^ *+' conftest.er1 >conftest.err 29978 grep -v '^ *+' conftest.er1 >conftest.err
28454 rm -f conftest.er1 29979 rm -f conftest.er1
28455 cat conftest.err >&5 29980 cat conftest.err >&5
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 29981 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && { 29982 (exit $ac_status); } && {
28458 test -z "$ac_c_werror_flag" || 29983 test -z "$ac_c_werror_flag" ||
28459 test ! -s conftest.err 29984 test ! -s conftest.err
28460 } && test -s conftest.$ac_objext; then 29985 } && test -s conftest.$ac_objext; then
28461 sp_expire_available=yes 29986 sp_expire_available=yes
28462else 29987else
28463 echo "$as_me: failed program was:" >&5 29988 $as_echo "$as_me: failed program was:" >&5
28464sed 's/^/| /' conftest.$ac_ext >&5 29989sed 's/^/| /' conftest.$ac_ext >&5
28465 29990
28466 29991
@@ -28470,16 +29995,16 @@ fi
28470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28471 29996
28472 if test "x$sp_expire_available" = "xyes" ; then 29997 if test "x$sp_expire_available" = "xyes" ; then
28473 { echo "$as_me:$LINENO: result: yes" >&5 29998 { $as_echo "$as_me:$LINENO: result: yes" >&5
28474echo "${ECHO_T}yes" >&6; } 29999$as_echo "yes" >&6; }
28475 30000
28476cat >>confdefs.h <<\_ACEOF 30001cat >>confdefs.h <<\_ACEOF
28477#define HAS_SHADOW_EXPIRE 1 30002#define HAS_SHADOW_EXPIRE 1
28478_ACEOF 30003_ACEOF
28479 30004
28480 else 30005 else
28481 { echo "$as_me:$LINENO: result: no" >&5 30006 { $as_echo "$as_me:$LINENO: result: no" >&5
28482echo "${ECHO_T}no" >&6; } 30007$as_echo "no" >&6; }
28483 fi 30008 fi
28484fi 30009fi
28485 30010
@@ -28514,8 +30039,8 @@ fi
28514# Check whether --enable-etc-default-login was given. 30039# Check whether --enable-etc-default-login was given.
28515if test "${enable_etc_default_login+set}" = set; then 30040if test "${enable_etc_default_login+set}" = set; then
28516 enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then 30041 enableval=$enable_etc_default_login; if test "x$enableval" = "xno"; then
28517 { echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5 30042 { $as_echo "$as_me:$LINENO: /etc/default/login handling disabled" >&5
28518echo "$as_me: /etc/default/login handling disabled" >&6;} 30043$as_echo "$as_me: /etc/default/login handling disabled" >&6;}
28519 etc_default_login=no 30044 etc_default_login=no
28520 else 30045 else
28521 etc_default_login=yes 30046 etc_default_login=yes
@@ -28523,8 +30048,8 @@ echo "$as_me: /etc/default/login handling disabled" >&6;}
28523else 30048else
28524 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes"; 30049 if test ! -z "$cross_compiling" && test "x$cross_compiling" = "xyes";
28525 then 30050 then
28526 { echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5 30051 { $as_echo "$as_me:$LINENO: WARNING: cross compiling: not checking /etc/default/login" >&5
28527echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;} 30052$as_echo "$as_me: WARNING: cross compiling: not checking /etc/default/login" >&2;}
28528 etc_default_login=no 30053 etc_default_login=no
28529 else 30054 else
28530 etc_default_login=yes 30055 etc_default_login=yes
@@ -28534,14 +30059,14 @@ fi
28534 30059
28535 30060
28536if test "x$etc_default_login" != "xno"; then 30061if test "x$etc_default_login" != "xno"; then
28537 { echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5 30062 { $as_echo "$as_me:$LINENO: checking for \"/etc/default/login\"" >&5
28538echo $ECHO_N "checking for \"/etc/default/login\"... $ECHO_C" >&6; } 30063$as_echo_n "checking for \"/etc/default/login\"... " >&6; }
28539if test "${ac_cv_file___etc_default_login_+set}" = set; then 30064if test "${ac_cv_file___etc_default_login_+set}" = set; then
28540 echo $ECHO_N "(cached) $ECHO_C" >&6 30065 $as_echo_n "(cached) " >&6
28541else 30066else
28542 test "$cross_compiling" = yes && 30067 test "$cross_compiling" = yes &&
28543 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5 30068 { { $as_echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
28544echo "$as_me: error: cannot check for file existence when cross compiling" >&2;} 30069$as_echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
28545 { (exit 1); exit 1; }; } 30070 { (exit 1); exit 1; }; }
28546if test -r ""/etc/default/login""; then 30071if test -r ""/etc/default/login""; then
28547 ac_cv_file___etc_default_login_=yes 30072 ac_cv_file___etc_default_login_=yes
@@ -28549,8 +30074,8 @@ else
28549 ac_cv_file___etc_default_login_=no 30074 ac_cv_file___etc_default_login_=no
28550fi 30075fi
28551fi 30076fi
28552{ echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5 30077{ $as_echo "$as_me:$LINENO: result: $ac_cv_file___etc_default_login_" >&5
28553echo "${ECHO_T}$ac_cv_file___etc_default_login_" >&6; } 30078$as_echo "$ac_cv_file___etc_default_login_" >&6; }
28554if test $ac_cv_file___etc_default_login_ = yes; then 30079if test $ac_cv_file___etc_default_login_ = yes; then
28555 external_path_file=/etc/default/login 30080 external_path_file=/etc/default/login
28556fi 30081fi
@@ -28576,18 +30101,18 @@ SERVER_PATH_MSG="(default)"
28576if test "${with_default_path+set}" = set; then 30101if test "${with_default_path+set}" = set; then
28577 withval=$with_default_path; 30102 withval=$with_default_path;
28578 if test "x$external_path_file" = "x/etc/login.conf" ; then 30103 if test "x$external_path_file" = "x/etc/login.conf" ; then
28579 { echo "$as_me:$LINENO: WARNING: 30104 { $as_echo "$as_me:$LINENO: WARNING:
28580--with-default-path=PATH has no effect on this system. 30105--with-default-path=PATH has no effect on this system.
28581Edit /etc/login.conf instead." >&5 30106Edit /etc/login.conf instead." >&5
28582echo "$as_me: WARNING: 30107$as_echo "$as_me: WARNING:
28583--with-default-path=PATH has no effect on this system. 30108--with-default-path=PATH has no effect on this system.
28584Edit /etc/login.conf instead." >&2;} 30109Edit /etc/login.conf instead." >&2;}
28585 elif test "x$withval" != "xno" ; then 30110 elif test "x$withval" != "xno" ; then
28586 if test ! -z "$external_path_file" ; then 30111 if test ! -z "$external_path_file" ; then
28587 { echo "$as_me:$LINENO: WARNING: 30112 { $as_echo "$as_me:$LINENO: WARNING:
28588--with-default-path=PATH will only be used if PATH is not defined in 30113--with-default-path=PATH will only be used if PATH is not defined in
28589$external_path_file ." >&5 30114$external_path_file ." >&5
28590echo "$as_me: WARNING: 30115$as_echo "$as_me: WARNING:
28591--with-default-path=PATH will only be used if PATH is not defined in 30116--with-default-path=PATH will only be used if PATH is not defined in
28592$external_path_file ." >&2;} 30117$external_path_file ." >&2;}
28593 fi 30118 fi
@@ -28597,14 +30122,14 @@ $external_path_file ." >&2;}
28597 30122
28598else 30123else
28599 if test "x$external_path_file" = "x/etc/login.conf" ; then 30124 if test "x$external_path_file" = "x/etc/login.conf" ; then
28600 { echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5 30125 { $as_echo "$as_me:$LINENO: WARNING: Make sure the path to scp is in /etc/login.conf" >&5
28601echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;} 30126$as_echo "$as_me: WARNING: Make sure the path to scp is in /etc/login.conf" >&2;}
28602 else 30127 else
28603 if test ! -z "$external_path_file" ; then 30128 if test ! -z "$external_path_file" ; then
28604 { echo "$as_me:$LINENO: WARNING: 30129 { $as_echo "$as_me:$LINENO: WARNING:
28605If PATH is defined in $external_path_file, ensure the path to scp is included, 30130If PATH is defined in $external_path_file, ensure the path to scp is included,
28606otherwise scp will not work." >&5 30131otherwise scp will not work." >&5
28607echo "$as_me: WARNING: 30132$as_echo "$as_me: WARNING:
28608If PATH is defined in $external_path_file, ensure the path to scp is included, 30133If PATH is defined in $external_path_file, ensure the path to scp is included,
28609otherwise scp will not work." >&2;} 30134otherwise scp will not work." >&2;}
28610 fi 30135 fi
@@ -28658,29 +30183,32 @@ case "(($ac_try" in
28658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28659 *) ac_try_echo=$ac_try;; 30184 *) ac_try_echo=$ac_try;;
28660esac 30185esac
28661eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30187$as_echo "$ac_try_echo") >&5
28662 (eval "$ac_link") 2>&5 30188 (eval "$ac_link") 2>&5
28663 ac_status=$? 30189 ac_status=$?
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30190 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 30191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28666 { (case "(($ac_try" in 30192 { (case "(($ac_try" in
28667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28668 *) ac_try_echo=$ac_try;; 30194 *) ac_try_echo=$ac_try;;
28669esac 30195esac
28670eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30196eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30197$as_echo "$ac_try_echo") >&5
28671 (eval "$ac_try") 2>&5 30198 (eval "$ac_try") 2>&5
28672 ac_status=$? 30199 ac_status=$?
28673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28674 (exit $ac_status); }; }; then 30201 (exit $ac_status); }; }; then
28675 user_path=`cat conftest.stdpath` 30202 user_path=`cat conftest.stdpath`
28676else 30203else
28677 echo "$as_me: program exited with status $ac_status" >&5 30204 $as_echo "$as_me: program exited with status $ac_status" >&5
28678echo "$as_me: failed program was:" >&5 30205$as_echo "$as_me: failed program was:" >&5
28679sed 's/^/| /' conftest.$ac_ext >&5 30206sed 's/^/| /' conftest.$ac_ext >&5
28680 30207
28681( exit $ac_status ) 30208( exit $ac_status )
28682 user_path="/usr/bin:/bin:/usr/sbin:/sbin" 30209 user_path="/usr/bin:/bin:/usr/sbin:/sbin"
28683fi 30210fi
30211rm -rf conftest.dSYM
28684rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 30212rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28685fi 30213fi
28686 30214
@@ -28698,8 +30226,8 @@ fi
28698 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1 30226 echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
28699 if test $? -ne 0 ; then 30227 if test $? -ne 0 ; then
28700 user_path=$user_path:$t_bindir 30228 user_path=$user_path:$t_bindir
28701 { echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5 30229 { $as_echo "$as_me:$LINENO: result: Adding $t_bindir to USER_PATH so scp will work" >&5
28702echo "${ECHO_T}Adding $t_bindir to USER_PATH so scp will work" >&6; } 30230$as_echo "Adding $t_bindir to USER_PATH so scp will work" >&6; }
28703 fi 30231 fi
28704 fi 30232 fi
28705 fi 30233 fi
@@ -28735,16 +30263,16 @@ fi
28735 30263
28736 30264
28737 30265
28738{ echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5 30266{ $as_echo "$as_me:$LINENO: checking if we need to convert IPv4 in IPv6-mapped addresses" >&5
28739echo $ECHO_N "checking if we need to convert IPv4 in IPv6-mapped addresses... $ECHO_C" >&6; } 30267$as_echo_n "checking if we need to convert IPv4 in IPv6-mapped addresses... " >&6; }
28740IPV4_IN6_HACK_MSG="no" 30268IPV4_IN6_HACK_MSG="no"
28741 30269
28742# Check whether --with-4in6 was given. 30270# Check whether --with-4in6 was given.
28743if test "${with_4in6+set}" = set; then 30271if test "${with_4in6+set}" = set; then
28744 withval=$with_4in6; 30272 withval=$with_4in6;
28745 if test "x$withval" != "xno" ; then 30273 if test "x$withval" != "xno" ; then
28746 { echo "$as_me:$LINENO: result: yes" >&5 30274 { $as_echo "$as_me:$LINENO: result: yes" >&5
28747echo "${ECHO_T}yes" >&6; } 30275$as_echo "yes" >&6; }
28748 30276
28749cat >>confdefs.h <<\_ACEOF 30277cat >>confdefs.h <<\_ACEOF
28750#define IPV4_IN_IPV6 1 30278#define IPV4_IN_IPV6 1
@@ -28752,23 +30280,23 @@ _ACEOF
28752 30280
28753 IPV4_IN6_HACK_MSG="yes" 30281 IPV4_IN6_HACK_MSG="yes"
28754 else 30282 else
28755 { echo "$as_me:$LINENO: result: no" >&5 30283 { $as_echo "$as_me:$LINENO: result: no" >&5
28756echo "${ECHO_T}no" >&6; } 30284$as_echo "no" >&6; }
28757 fi 30285 fi
28758 30286
28759else 30287else
28760 30288
28761 if test "x$inet6_default_4in6" = "xyes"; then 30289 if test "x$inet6_default_4in6" = "xyes"; then
28762 { echo "$as_me:$LINENO: result: yes (default)" >&5 30290 { $as_echo "$as_me:$LINENO: result: yes (default)" >&5
28763echo "${ECHO_T}yes (default)" >&6; } 30291$as_echo "yes (default)" >&6; }
28764 cat >>confdefs.h <<\_ACEOF 30292 cat >>confdefs.h <<\_ACEOF
28765#define IPV4_IN_IPV6 1 30293#define IPV4_IN_IPV6 1
28766_ACEOF 30294_ACEOF
28767 30295
28768 IPV4_IN6_HACK_MSG="yes" 30296 IPV4_IN6_HACK_MSG="yes"
28769 else 30297 else
28770 { echo "$as_me:$LINENO: result: no (default)" >&5 30298 { $as_echo "$as_me:$LINENO: result: no (default)" >&5
28771echo "${ECHO_T}no (default)" >&6; } 30299$as_echo "no (default)" >&6; }
28772 fi 30300 fi
28773 30301
28774 30302
@@ -28812,8 +30340,8 @@ if test "${with_pid_dir+set}" = set; then
28812 test "x${withval}" != "xyes"; then 30340 test "x${withval}" != "xyes"; then
28813 piddir=$withval 30341 piddir=$withval
28814 if test ! -d $piddir ; then 30342 if test ! -d $piddir ; then
28815 { echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5 30343 { $as_echo "$as_me:$LINENO: WARNING: ** no $piddir directory on this system **" >&5
28816echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;} 30344$as_echo "$as_me: WARNING: ** no $piddir directory on this system **" >&2;}
28817 fi 30345 fi
28818 fi 30346 fi
28819 30347
@@ -28954,8 +30482,8 @@ fi
28954 30482
28955 30483
28956 30484
28957{ echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5 30485{ $as_echo "$as_me:$LINENO: checking if your system defines LASTLOG_FILE" >&5
28958echo $ECHO_N "checking if your system defines LASTLOG_FILE... $ECHO_C" >&6; } 30486$as_echo_n "checking if your system defines LASTLOG_FILE... " >&6; }
28959cat >conftest.$ac_ext <<_ACEOF 30487cat >conftest.$ac_ext <<_ACEOF
28960/* confdefs.h. */ 30488/* confdefs.h. */
28961_ACEOF 30489_ACEOF
@@ -28989,28 +30517,29 @@ case "(($ac_try" in
28989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28990 *) ac_try_echo=$ac_try;; 30518 *) ac_try_echo=$ac_try;;
28991esac 30519esac
28992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30520eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30521$as_echo "$ac_try_echo") >&5
28993 (eval "$ac_compile") 2>conftest.er1 30522 (eval "$ac_compile") 2>conftest.er1
28994 ac_status=$? 30523 ac_status=$?
28995 grep -v '^ *+' conftest.er1 >conftest.err 30524 grep -v '^ *+' conftest.er1 >conftest.err
28996 rm -f conftest.er1 30525 rm -f conftest.er1
28997 cat conftest.err >&5 30526 cat conftest.err >&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); } && { 30528 (exit $ac_status); } && {
29000 test -z "$ac_c_werror_flag" || 30529 test -z "$ac_c_werror_flag" ||
29001 test ! -s conftest.err 30530 test ! -s conftest.err
29002 } && test -s conftest.$ac_objext; then 30531 } && test -s conftest.$ac_objext; then
29003 { echo "$as_me:$LINENO: result: yes" >&5 30532 { $as_echo "$as_me:$LINENO: result: yes" >&5
29004echo "${ECHO_T}yes" >&6; } 30533$as_echo "yes" >&6; }
29005else 30534else
29006 echo "$as_me: failed program was:" >&5 30535 $as_echo "$as_me: failed program was:" >&5
29007sed 's/^/| /' conftest.$ac_ext >&5 30536sed 's/^/| /' conftest.$ac_ext >&5
29008 30537
29009 30538
29010 { echo "$as_me:$LINENO: result: no" >&5 30539 { $as_echo "$as_me:$LINENO: result: no" >&5
29011echo "${ECHO_T}no" >&6; } 30540$as_echo "no" >&6; }
29012 { echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5 30541 { $as_echo "$as_me:$LINENO: checking if your system defines _PATH_LASTLOG" >&5
29013echo $ECHO_N "checking if your system defines _PATH_LASTLOG... $ECHO_C" >&6; } 30542$as_echo_n "checking if your system defines _PATH_LASTLOG... " >&6; }
29014 cat >conftest.$ac_ext <<_ACEOF 30543 cat >conftest.$ac_ext <<_ACEOF
29015/* confdefs.h. */ 30544/* confdefs.h. */
29016_ACEOF 30545_ACEOF
@@ -29041,26 +30570,27 @@ case "(($ac_try" in
29041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29042 *) ac_try_echo=$ac_try;; 30571 *) ac_try_echo=$ac_try;;
29043esac 30572esac
29044eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30574$as_echo "$ac_try_echo") >&5
29045 (eval "$ac_compile") 2>conftest.er1 30575 (eval "$ac_compile") 2>conftest.er1
29046 ac_status=$? 30576 ac_status=$?
29047 grep -v '^ *+' conftest.er1 >conftest.err 30577 grep -v '^ *+' conftest.er1 >conftest.err
29048 rm -f conftest.er1 30578 rm -f conftest.er1
29049 cat conftest.err >&5 30579 cat conftest.err >&5
29050 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29051 (exit $ac_status); } && { 30581 (exit $ac_status); } && {
29052 test -z "$ac_c_werror_flag" || 30582 test -z "$ac_c_werror_flag" ||
29053 test ! -s conftest.err 30583 test ! -s conftest.err
29054 } && test -s conftest.$ac_objext; then 30584 } && test -s conftest.$ac_objext; then
29055 { echo "$as_me:$LINENO: result: yes" >&5 30585 { $as_echo "$as_me:$LINENO: result: yes" >&5
29056echo "${ECHO_T}yes" >&6; } 30586$as_echo "yes" >&6; }
29057else 30587else
29058 echo "$as_me: failed program was:" >&5 30588 $as_echo "$as_me: failed program was:" >&5
29059sed 's/^/| /' conftest.$ac_ext >&5 30589sed 's/^/| /' conftest.$ac_ext >&5
29060 30590
29061 30591
29062 { echo "$as_me:$LINENO: result: no" >&5 30592 { $as_echo "$as_me:$LINENO: result: no" >&5
29063echo "${ECHO_T}no" >&6; } 30593$as_echo "no" >&6; }
29064 system_lastlog_path=no 30594 system_lastlog_path=no
29065 30595
29066fi 30596fi
@@ -29080,8 +30610,8 @@ if test -z "$conf_lastlog_location"; then
29080 fi 30610 fi
29081 done 30611 done
29082 if test -z "$conf_lastlog_location"; then 30612 if test -z "$conf_lastlog_location"; then
29083 { echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5 30613 { $as_echo "$as_me:$LINENO: WARNING: ** Cannot find lastlog **" >&5
29084echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;} 30614$as_echo "$as_me: WARNING: ** Cannot find lastlog **" >&2;}
29085 fi 30615 fi
29086 fi 30616 fi
29087fi 30617fi
@@ -29094,8 +30624,8 @@ _ACEOF
29094 30624
29095fi 30625fi
29096 30626
29097{ echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5 30627{ $as_echo "$as_me:$LINENO: checking if your system defines UTMP_FILE" >&5
29098echo $ECHO_N "checking if your system defines UTMP_FILE... $ECHO_C" >&6; } 30628$as_echo_n "checking if your system defines UTMP_FILE... " >&6; }
29099cat >conftest.$ac_ext <<_ACEOF 30629cat >conftest.$ac_ext <<_ACEOF
29100/* confdefs.h. */ 30630/* confdefs.h. */
29101_ACEOF 30631_ACEOF
@@ -29123,25 +30653,26 @@ case "(($ac_try" in
29123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29124 *) ac_try_echo=$ac_try;; 30654 *) ac_try_echo=$ac_try;;
29125esac 30655esac
29126eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30657$as_echo "$ac_try_echo") >&5
29127 (eval "$ac_compile") 2>conftest.er1 30658 (eval "$ac_compile") 2>conftest.er1
29128 ac_status=$? 30659 ac_status=$?
29129 grep -v '^ *+' conftest.er1 >conftest.err 30660 grep -v '^ *+' conftest.er1 >conftest.err
29130 rm -f conftest.er1 30661 rm -f conftest.er1
29131 cat conftest.err >&5 30662 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } && { 30664 (exit $ac_status); } && {
29134 test -z "$ac_c_werror_flag" || 30665 test -z "$ac_c_werror_flag" ||
29135 test ! -s conftest.err 30666 test ! -s conftest.err
29136 } && test -s conftest.$ac_objext; then 30667 } && test -s conftest.$ac_objext; then
29137 { echo "$as_me:$LINENO: result: yes" >&5 30668 { $as_echo "$as_me:$LINENO: result: yes" >&5
29138echo "${ECHO_T}yes" >&6; } 30669$as_echo "yes" >&6; }
29139else 30670else
29140 echo "$as_me: failed program was:" >&5 30671 $as_echo "$as_me: failed program was:" >&5
29141sed 's/^/| /' conftest.$ac_ext >&5 30672sed 's/^/| /' conftest.$ac_ext >&5
29142 30673
29143 { echo "$as_me:$LINENO: result: no" >&5 30674 { $as_echo "$as_me:$LINENO: result: no" >&5
29144echo "${ECHO_T}no" >&6; } 30675$as_echo "no" >&6; }
29145 system_utmp_path=no 30676 system_utmp_path=no
29146 30677
29147fi 30678fi
@@ -29170,8 +30701,8 @@ _ACEOF
29170 30701
29171fi 30702fi
29172 30703
29173{ echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5 30704{ $as_echo "$as_me:$LINENO: checking if your system defines WTMP_FILE" >&5
29174echo $ECHO_N "checking if your system defines WTMP_FILE... $ECHO_C" >&6; } 30705$as_echo_n "checking if your system defines WTMP_FILE... " >&6; }
29175cat >conftest.$ac_ext <<_ACEOF 30706cat >conftest.$ac_ext <<_ACEOF
29176/* confdefs.h. */ 30707/* confdefs.h. */
29177_ACEOF 30708_ACEOF
@@ -29199,25 +30730,26 @@ case "(($ac_try" in
29199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29200 *) ac_try_echo=$ac_try;; 30731 *) ac_try_echo=$ac_try;;
29201esac 30732esac
29202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30733eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30734$as_echo "$ac_try_echo") >&5
29203 (eval "$ac_compile") 2>conftest.er1 30735 (eval "$ac_compile") 2>conftest.er1
29204 ac_status=$? 30736 ac_status=$?
29205 grep -v '^ *+' conftest.er1 >conftest.err 30737 grep -v '^ *+' conftest.er1 >conftest.err
29206 rm -f conftest.er1 30738 rm -f conftest.er1
29207 cat conftest.err >&5 30739 cat conftest.err >&5
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); } && { 30741 (exit $ac_status); } && {
29210 test -z "$ac_c_werror_flag" || 30742 test -z "$ac_c_werror_flag" ||
29211 test ! -s conftest.err 30743 test ! -s conftest.err
29212 } && test -s conftest.$ac_objext; then 30744 } && test -s conftest.$ac_objext; then
29213 { echo "$as_me:$LINENO: result: yes" >&5 30745 { $as_echo "$as_me:$LINENO: result: yes" >&5
29214echo "${ECHO_T}yes" >&6; } 30746$as_echo "yes" >&6; }
29215else 30747else
29216 echo "$as_me: failed program was:" >&5 30748 $as_echo "$as_me: failed program was:" >&5
29217sed 's/^/| /' conftest.$ac_ext >&5 30749sed 's/^/| /' conftest.$ac_ext >&5
29218 30750
29219 { echo "$as_me:$LINENO: result: no" >&5 30751 { $as_echo "$as_me:$LINENO: result: no" >&5
29220echo "${ECHO_T}no" >&6; } 30752$as_echo "no" >&6; }
29221 system_wtmp_path=no 30753 system_wtmp_path=no
29222 30754
29223fi 30755fi
@@ -29247,8 +30779,8 @@ _ACEOF
29247fi 30779fi
29248 30780
29249 30781
29250{ echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5 30782{ $as_echo "$as_me:$LINENO: checking if your system defines UTMPX_FILE" >&5
29251echo $ECHO_N "checking if your system defines UTMPX_FILE... $ECHO_C" >&6; } 30783$as_echo_n "checking if your system defines UTMPX_FILE... " >&6; }
29252cat >conftest.$ac_ext <<_ACEOF 30784cat >conftest.$ac_ext <<_ACEOF
29253/* confdefs.h. */ 30785/* confdefs.h. */
29254_ACEOF 30786_ACEOF
@@ -29279,25 +30811,26 @@ case "(($ac_try" in
29279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29280 *) ac_try_echo=$ac_try;; 30812 *) ac_try_echo=$ac_try;;
29281esac 30813esac
29282eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30814eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30815$as_echo "$ac_try_echo") >&5
29283 (eval "$ac_compile") 2>conftest.er1 30816 (eval "$ac_compile") 2>conftest.er1
29284 ac_status=$? 30817 ac_status=$?
29285 grep -v '^ *+' conftest.er1 >conftest.err 30818 grep -v '^ *+' conftest.er1 >conftest.err
29286 rm -f conftest.er1 30819 rm -f conftest.er1
29287 cat conftest.err >&5 30820 cat conftest.err >&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30821 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); } && { 30822 (exit $ac_status); } && {
29290 test -z "$ac_c_werror_flag" || 30823 test -z "$ac_c_werror_flag" ||
29291 test ! -s conftest.err 30824 test ! -s conftest.err
29292 } && test -s conftest.$ac_objext; then 30825 } && test -s conftest.$ac_objext; then
29293 { echo "$as_me:$LINENO: result: yes" >&5 30826 { $as_echo "$as_me:$LINENO: result: yes" >&5
29294echo "${ECHO_T}yes" >&6; } 30827$as_echo "yes" >&6; }
29295else 30828else
29296 echo "$as_me: failed program was:" >&5 30829 $as_echo "$as_me: failed program was:" >&5
29297sed 's/^/| /' conftest.$ac_ext >&5 30830sed 's/^/| /' conftest.$ac_ext >&5
29298 30831
29299 { echo "$as_me:$LINENO: result: no" >&5 30832 { $as_echo "$as_me:$LINENO: result: no" >&5
29300echo "${ECHO_T}no" >&6; } 30833$as_echo "no" >&6; }
29301 system_utmpx_path=no 30834 system_utmpx_path=no
29302 30835
29303fi 30836fi
@@ -29318,8 +30851,8 @@ _ACEOF
29318 30851
29319fi 30852fi
29320 30853
29321{ echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5 30854{ $as_echo "$as_me:$LINENO: checking if your system defines WTMPX_FILE" >&5
29322echo $ECHO_N "checking if your system defines WTMPX_FILE... $ECHO_C" >&6; } 30855$as_echo_n "checking if your system defines WTMPX_FILE... " >&6; }
29323cat >conftest.$ac_ext <<_ACEOF 30856cat >conftest.$ac_ext <<_ACEOF
29324/* confdefs.h. */ 30857/* confdefs.h. */
29325_ACEOF 30858_ACEOF
@@ -29350,25 +30883,26 @@ case "(($ac_try" in
29350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 30883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29351 *) ac_try_echo=$ac_try;; 30884 *) ac_try_echo=$ac_try;;
29352esac 30885esac
29353eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 30886eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
30887$as_echo "$ac_try_echo") >&5
29354 (eval "$ac_compile") 2>conftest.er1 30888 (eval "$ac_compile") 2>conftest.er1
29355 ac_status=$? 30889 ac_status=$?
29356 grep -v '^ *+' conftest.er1 >conftest.err 30890 grep -v '^ *+' conftest.er1 >conftest.err
29357 rm -f conftest.er1 30891 rm -f conftest.er1
29358 cat conftest.err >&5 30892 cat conftest.err >&5
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5 30893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); } && { 30894 (exit $ac_status); } && {
29361 test -z "$ac_c_werror_flag" || 30895 test -z "$ac_c_werror_flag" ||
29362 test ! -s conftest.err 30896 test ! -s conftest.err
29363 } && test -s conftest.$ac_objext; then 30897 } && test -s conftest.$ac_objext; then
29364 { echo "$as_me:$LINENO: result: yes" >&5 30898 { $as_echo "$as_me:$LINENO: result: yes" >&5
29365echo "${ECHO_T}yes" >&6; } 30899$as_echo "yes" >&6; }
29366else 30900else
29367 echo "$as_me: failed program was:" >&5 30901 $as_echo "$as_me: failed program was:" >&5
29368sed 's/^/| /' conftest.$ac_ext >&5 30902sed 's/^/| /' conftest.$ac_ext >&5
29369 30903
29370 { echo "$as_me:$LINENO: result: no" >&5 30904 { $as_echo "$as_me:$LINENO: result: no" >&5
29371echo "${ECHO_T}no" >&6; } 30905$as_echo "no" >&6; }
29372 system_wtmpx_path=no 30906 system_wtmpx_path=no
29373 30907
29374fi 30908fi
@@ -29392,8 +30926,8 @@ fi
29392 30926
29393if test ! -z "$blibpath" ; then 30927if test ! -z "$blibpath" ; then
29394 LDFLAGS="$LDFLAGS $blibflags$blibpath" 30928 LDFLAGS="$LDFLAGS $blibflags$blibpath"
29395 { echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5 30929 { $as_echo "$as_me:$LINENO: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&5
29396echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;} 30930$as_echo "$as_me: WARNING: Please check and edit blibpath in LDFLAGS in Makefile" >&2;}
29397fi 30931fi
29398 30932
29399CFLAGS="$CFLAGS $werror_flags" 30933CFLAGS="$CFLAGS $werror_flags"
@@ -29437,11 +30971,12 @@ _ACEOF
29437 case $ac_val in #( 30971 case $ac_val in #(
29438 *${as_nl}*) 30972 *${as_nl}*)
29439 case $ac_var in #( 30973 case $ac_var in #(
29440 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 30974 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
29441echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 30975$as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29442 esac 30976 esac
29443 case $ac_var in #( 30977 case $ac_var in #(
29444 _ | IFS | as_nl) ;; #( 30978 _ | IFS | as_nl) ;; #(
30979 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
29445 *) $as_unset $ac_var ;; 30980 *) $as_unset $ac_var ;;
29446 esac ;; 30981 esac ;;
29447 esac 30982 esac
@@ -29474,12 +31009,12 @@ echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
29474if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 31009if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
29475 if test -w "$cache_file"; then 31010 if test -w "$cache_file"; then
29476 test "x$cache_file" != "x/dev/null" && 31011 test "x$cache_file" != "x/dev/null" &&
29477 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 31012 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29478echo "$as_me: updating cache $cache_file" >&6;} 31013$as_echo "$as_me: updating cache $cache_file" >&6;}
29479 cat confcache >$cache_file 31014 cat confcache >$cache_file
29480 else 31015 else
29481 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 31016 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29482echo "$as_me: not updating unwritable cache $cache_file" >&6;} 31017$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29483 fi 31018 fi
29484fi 31019fi
29485rm -f confcache 31020rm -f confcache
@@ -29495,7 +31030,7 @@ ac_ltlibobjs=
29495for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 31030for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
29496 # 1. Remove the extension, and $U if already installed. 31031 # 1. Remove the extension, and $U if already installed.
29497 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 31032 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
29498 ac_i=`echo "$ac_i" | sed "$ac_script"` 31033 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
29499 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 31034 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29500 # will be set to the directory where LIBOBJS objects are built. 31035 # will be set to the directory where LIBOBJS objects are built.
29501 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 31036 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
@@ -29507,12 +31042,14 @@ LTLIBOBJS=$ac_ltlibobjs
29507 31042
29508 31043
29509 31044
31045
29510: ${CONFIG_STATUS=./config.status} 31046: ${CONFIG_STATUS=./config.status}
31047ac_write_fail=0
29511ac_clean_files_save=$ac_clean_files 31048ac_clean_files_save=$ac_clean_files
29512ac_clean_files="$ac_clean_files $CONFIG_STATUS" 31049ac_clean_files="$ac_clean_files $CONFIG_STATUS"
29513{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 31050{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29514echo "$as_me: creating $CONFIG_STATUS" >&6;} 31051$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29515cat >$CONFIG_STATUS <<_ACEOF 31052cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29516#! $SHELL 31053#! $SHELL
29517# Generated by $as_me. 31054# Generated by $as_me.
29518# Run this file to recreate the current configuration. 31055# Run this file to recreate the current configuration.
@@ -29525,7 +31062,7 @@ ac_cs_silent=false
29525SHELL=\${CONFIG_SHELL-$SHELL} 31062SHELL=\${CONFIG_SHELL-$SHELL}
29526_ACEOF 31063_ACEOF
29527 31064
29528cat >>$CONFIG_STATUS <<\_ACEOF 31065cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29529## --------------------- ## 31066## --------------------- ##
29530## M4sh Initialization. ## 31067## M4sh Initialization. ##
29531## --------------------- ## 31068## --------------------- ##
@@ -29535,7 +31072,7 @@ DUALCASE=1; export DUALCASE # for MKS sh
29535if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 31072if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
29536 emulate sh 31073 emulate sh
29537 NULLCMD=: 31074 NULLCMD=:
29538 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 31075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29539 # is contrary to our usage. Disable this feature. 31076 # is contrary to our usage. Disable this feature.
29540 alias -g '${1+"$@"}'='"$@"' 31077 alias -g '${1+"$@"}'='"$@"'
29541 setopt NO_GLOB_SUBST 31078 setopt NO_GLOB_SUBST
@@ -29557,17 +31094,45 @@ as_cr_Letters=$as_cr_letters$as_cr_LETTERS
29557as_cr_digits='0123456789' 31094as_cr_digits='0123456789'
29558as_cr_alnum=$as_cr_Letters$as_cr_digits 31095as_cr_alnum=$as_cr_Letters$as_cr_digits
29559 31096
29560# The user is always right. 31097as_nl='
29561if test "${PATH_SEPARATOR+set}" != set; then 31098'
29562 echo "#! /bin/sh" >conf$$.sh 31099export as_nl
29563 echo "exit 0" >>conf$$.sh 31100# Printing a long string crashes Solaris 7 /usr/bin/printf.
29564 chmod +x conf$$.sh 31101as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29565 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 31102as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29566 PATH_SEPARATOR=';' 31103as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31104if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31105 as_echo='printf %s\n'
31106 as_echo_n='printf %s'
31107else
31108 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31109 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31110 as_echo_n='/usr/ucb/echo -n'
29567 else 31111 else
29568 PATH_SEPARATOR=: 31112 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31113 as_echo_n_body='eval
31114 arg=$1;
31115 case $arg in
31116 *"$as_nl"*)
31117 expr "X$arg" : "X\\(.*\\)$as_nl";
31118 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31119 esac;
31120 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31121 '
31122 export as_echo_n_body
31123 as_echo_n='sh -c $as_echo_n_body as_echo'
29569 fi 31124 fi
29570 rm -f conf$$.sh 31125 export as_echo_body
31126 as_echo='sh -c $as_echo_body as_echo'
31127fi
31128
31129# The user is always right.
31130if test "${PATH_SEPARATOR+set}" != set; then
31131 PATH_SEPARATOR=:
31132 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31133 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31134 PATH_SEPARATOR=';'
31135 }
29571fi 31136fi
29572 31137
29573# Support unset when possible. 31138# Support unset when possible.
@@ -29583,8 +31148,6 @@ fi
29583# there to prevent editors from complaining about space-tab. 31148# there to prevent editors from complaining about space-tab.
29584# (If _AS_PATH_WALK were called with IFS unset, it would disable word 31149# (If _AS_PATH_WALK were called with IFS unset, it would disable word
29585# splitting by setting IFS to empty value.) 31150# splitting by setting IFS to empty value.)
29586as_nl='
29587'
29588IFS=" "" $as_nl" 31151IFS=" "" $as_nl"
29589 31152
29590# Find who we are. Look in the path if we contain no directory separator. 31153# Find who we are. Look in the path if we contain no directory separator.
@@ -29607,7 +31170,7 @@ if test "x$as_myself" = x; then
29607 as_myself=$0 31170 as_myself=$0
29608fi 31171fi
29609if test ! -f "$as_myself"; then 31172if test ! -f "$as_myself"; then
29610 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 31173 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29611 { (exit 1); exit 1; } 31174 { (exit 1); exit 1; }
29612fi 31175fi
29613 31176
@@ -29620,17 +31183,10 @@ PS2='> '
29620PS4='+ ' 31183PS4='+ '
29621 31184
29622# NLS nuisances. 31185# NLS nuisances.
29623for as_var in \ 31186LC_ALL=C
29624 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 31187export LC_ALL
29625 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 31188LANGUAGE=C
29626 LC_TELEPHONE LC_TIME 31189export LANGUAGE
29627do
29628 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
29629 eval $as_var=C; export $as_var
29630 else
29631 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
29632 fi
29633done
29634 31190
29635# Required to use basename. 31191# Required to use basename.
29636if expr a : '\(a\)' >/dev/null 2>&1 && 31192if expr a : '\(a\)' >/dev/null 2>&1 &&
@@ -29652,7 +31208,7 @@ as_me=`$as_basename -- "$0" ||
29652$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 31208$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29653 X"$0" : 'X\(//\)$' \| \ 31209 X"$0" : 'X\(//\)$' \| \
29654 X"$0" : 'X\(/\)' \| . 2>/dev/null || 31210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29655echo X/"$0" | 31211$as_echo X/"$0" |
29656 sed '/^.*\/\([^/][^/]*\)\/*$/{ 31212 sed '/^.*\/\([^/][^/]*\)\/*$/{
29657 s//\1/ 31213 s//\1/
29658 q 31214 q
@@ -29703,7 +31259,7 @@ $as_unset CDPATH
29703 s/-\n.*// 31259 s/-\n.*//
29704 ' >$as_me.lineno && 31260 ' >$as_me.lineno &&
29705 chmod +x "$as_me.lineno" || 31261 chmod +x "$as_me.lineno" ||
29706 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 31262 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29707 { (exit 1); exit 1; }; } 31263 { (exit 1); exit 1; }; }
29708 31264
29709 # Don't try to exec as it changes $[0], causing all sort of problems 31265 # Don't try to exec as it changes $[0], causing all sort of problems
@@ -29731,7 +31287,6 @@ case `echo -n x` in
29731*) 31287*)
29732 ECHO_N='-n';; 31288 ECHO_N='-n';;
29733esac 31289esac
29734
29735if expr a : '\(a\)' >/dev/null 2>&1 && 31290if expr a : '\(a\)' >/dev/null 2>&1 &&
29736 test "X`expr 00001 : '.*\(...\)'`" = X001; then 31291 test "X`expr 00001 : '.*\(...\)'`" = X001; then
29737 as_expr=expr 31292 as_expr=expr
@@ -29744,19 +31299,22 @@ if test -d conf$$.dir; then
29744 rm -f conf$$.dir/conf$$.file 31299 rm -f conf$$.dir/conf$$.file
29745else 31300else
29746 rm -f conf$$.dir 31301 rm -f conf$$.dir
29747 mkdir conf$$.dir 31302 mkdir conf$$.dir 2>/dev/null
29748fi 31303fi
29749echo >conf$$.file 31304if (echo >conf$$.file) 2>/dev/null; then
29750if ln -s conf$$.file conf$$ 2>/dev/null; then 31305 if ln -s conf$$.file conf$$ 2>/dev/null; then
29751 as_ln_s='ln -s' 31306 as_ln_s='ln -s'
29752 # ... but there are two gotchas: 31307 # ... but there are two gotchas:
29753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 31308 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 31309 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29755 # In both cases, we have to default to `cp -p'. 31310 # In both cases, we have to default to `cp -p'.
29756 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 31311 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31312 as_ln_s='cp -p'
31313 elif ln conf$$.file conf$$ 2>/dev/null; then
31314 as_ln_s=ln
31315 else
29757 as_ln_s='cp -p' 31316 as_ln_s='cp -p'
29758elif ln conf$$.file conf$$ 2>/dev/null; then 31317 fi
29759 as_ln_s=ln
29760else 31318else
29761 as_ln_s='cp -p' 31319 as_ln_s='cp -p'
29762fi 31320fi
@@ -29781,10 +31339,10 @@ else
29781 as_test_x=' 31339 as_test_x='
29782 eval sh -c '\'' 31340 eval sh -c '\''
29783 if test -d "$1"; then 31341 if test -d "$1"; then
29784 test -d "$1/."; 31342 test -d "$1/.";
29785 else 31343 else
29786 case $1 in 31344 case $1 in
29787 -*)set "./$1";; 31345 -*)set "./$1";;
29788 esac; 31346 esac;
29789 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 31347 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29790 ???[sx]*):;;*)false;;esac;fi 31348 ???[sx]*):;;*)false;;esac;fi
@@ -29807,7 +31365,7 @@ exec 6>&1
29807# values after options handling. 31365# values after options handling.
29808ac_log=" 31366ac_log="
29809This file was extended by OpenSSH $as_me Portable, which was 31367This file was extended by OpenSSH $as_me Portable, which was
29810generated by GNU Autoconf 2.61. Invocation command line was 31368generated by GNU Autoconf 2.62. Invocation command line was
29811 31369
29812 CONFIG_FILES = $CONFIG_FILES 31370 CONFIG_FILES = $CONFIG_FILES
29813 CONFIG_HEADERS = $CONFIG_HEADERS 31371 CONFIG_HEADERS = $CONFIG_HEADERS
@@ -29820,14 +31378,14 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
29820 31378
29821_ACEOF 31379_ACEOF
29822 31380
29823cat >>$CONFIG_STATUS <<_ACEOF 31381cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29824# Files that config.status was made for. 31382# Files that config.status was made for.
29825config_files="$ac_config_files" 31383config_files="$ac_config_files"
29826config_headers="$ac_config_headers" 31384config_headers="$ac_config_headers"
29827 31385
29828_ACEOF 31386_ACEOF
29829 31387
29830cat >>$CONFIG_STATUS <<\_ACEOF 31388cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29831ac_cs_usage="\ 31389ac_cs_usage="\
29832\`$as_me' instantiates files from templates according to the 31390\`$as_me' instantiates files from templates according to the
29833current configuration. 31391current configuration.
@@ -29840,9 +31398,9 @@ Usage: $0 [OPTIONS] [FILE]...
29840 -d, --debug don't remove temporary files 31398 -d, --debug don't remove temporary files
29841 --recheck update $as_me by reconfiguring in the same conditions 31399 --recheck update $as_me by reconfiguring in the same conditions
29842 --file=FILE[:TEMPLATE] 31400 --file=FILE[:TEMPLATE]
29843 instantiate the configuration file FILE 31401 instantiate the configuration file FILE
29844 --header=FILE[:TEMPLATE] 31402 --header=FILE[:TEMPLATE]
29845 instantiate the configuration header FILE 31403 instantiate the configuration header FILE
29846 31404
29847Configuration files: 31405Configuration files:
29848$config_files 31406$config_files
@@ -29853,24 +31411,25 @@ $config_headers
29853Report bugs to <bug-autoconf@gnu.org>." 31411Report bugs to <bug-autoconf@gnu.org>."
29854 31412
29855_ACEOF 31413_ACEOF
29856cat >>$CONFIG_STATUS <<_ACEOF 31414cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29857ac_cs_version="\\ 31415ac_cs_version="\\
29858OpenSSH config.status Portable 31416OpenSSH config.status Portable
29859configured by $0, generated by GNU Autoconf 2.61, 31417configured by $0, generated by GNU Autoconf 2.62,
29860 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 31418 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29861 31419
29862Copyright (C) 2006 Free Software Foundation, Inc. 31420Copyright (C) 2008 Free Software Foundation, Inc.
29863This config.status script is free software; the Free Software Foundation 31421This config.status script is free software; the Free Software Foundation
29864gives unlimited permission to copy, distribute and modify it." 31422gives unlimited permission to copy, distribute and modify it."
29865 31423
29866ac_pwd='$ac_pwd' 31424ac_pwd='$ac_pwd'
29867srcdir='$srcdir' 31425srcdir='$srcdir'
29868INSTALL='$INSTALL' 31426INSTALL='$INSTALL'
31427AWK='$AWK'
31428test -n "\$AWK" || AWK=awk
29869_ACEOF 31429_ACEOF
29870 31430
29871cat >>$CONFIG_STATUS <<\_ACEOF 31431cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29872# If no file are specified by the user, then we need to provide default 31432# The default lists apply if the user does not specify any file.
29873# value. By we need to know if files were specified by the user.
29874ac_need_defaults=: 31433ac_need_defaults=:
29875while test $# != 0 31434while test $# != 0
29876do 31435do
@@ -29892,30 +31451,36 @@ do
29892 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 31451 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
29893 ac_cs_recheck=: ;; 31452 ac_cs_recheck=: ;;
29894 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 31453 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
29895 echo "$ac_cs_version"; exit ;; 31454 $as_echo "$ac_cs_version"; exit ;;
29896 --debug | --debu | --deb | --de | --d | -d ) 31455 --debug | --debu | --deb | --de | --d | -d )
29897 debug=: ;; 31456 debug=: ;;
29898 --file | --fil | --fi | --f ) 31457 --file | --fil | --fi | --f )
29899 $ac_shift 31458 $ac_shift
29900 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 31459 case $ac_optarg in
31460 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31461 esac
31462 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
29901 ac_need_defaults=false;; 31463 ac_need_defaults=false;;
29902 --header | --heade | --head | --hea ) 31464 --header | --heade | --head | --hea )
29903 $ac_shift 31465 $ac_shift
29904 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" 31466 case $ac_optarg in
31467 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31468 esac
31469 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
29905 ac_need_defaults=false;; 31470 ac_need_defaults=false;;
29906 --he | --h) 31471 --he | --h)
29907 # Conflict between --help and --header 31472 # Conflict between --help and --header
29908 { echo "$as_me: error: ambiguous option: $1 31473 { $as_echo "$as_me: error: ambiguous option: $1
29909Try \`$0 --help' for more information." >&2 31474Try \`$0 --help' for more information." >&2
29910 { (exit 1); exit 1; }; };; 31475 { (exit 1); exit 1; }; };;
29911 --help | --hel | -h ) 31476 --help | --hel | -h )
29912 echo "$ac_cs_usage"; exit ;; 31477 $as_echo "$ac_cs_usage"; exit ;;
29913 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 31478 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
29914 | -silent | --silent | --silen | --sile | --sil | --si | --s) 31479 | -silent | --silent | --silen | --sile | --sil | --si | --s)
29915 ac_cs_silent=: ;; 31480 ac_cs_silent=: ;;
29916 31481
29917 # This is an error. 31482 # This is an error.
29918 -*) { echo "$as_me: error: unrecognized option: $1 31483 -*) { $as_echo "$as_me: error: unrecognized option: $1
29919Try \`$0 --help' for more information." >&2 31484Try \`$0 --help' for more information." >&2
29920 { (exit 1); exit 1; }; } ;; 31485 { (exit 1); exit 1; }; } ;;
29921 31486
@@ -29934,30 +31499,32 @@ if $ac_cs_silent; then
29934fi 31499fi
29935 31500
29936_ACEOF 31501_ACEOF
29937cat >>$CONFIG_STATUS <<_ACEOF 31502cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29938if \$ac_cs_recheck; then 31503if \$ac_cs_recheck; then
29939 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 31504 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29940 CONFIG_SHELL=$SHELL 31505 shift
31506 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
31507 CONFIG_SHELL='$SHELL'
29941 export CONFIG_SHELL 31508 export CONFIG_SHELL
29942 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 31509 exec "\$@"
29943fi 31510fi
29944 31511
29945_ACEOF 31512_ACEOF
29946cat >>$CONFIG_STATUS <<\_ACEOF 31513cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29947exec 5>>config.log 31514exec 5>>config.log
29948{ 31515{
29949 echo 31516 echo
29950 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 31517 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29951## Running $as_me. ## 31518## Running $as_me. ##
29952_ASBOX 31519_ASBOX
29953 echo "$ac_log" 31520 $as_echo "$ac_log"
29954} >&5 31521} >&5
29955 31522
29956_ACEOF 31523_ACEOF
29957cat >>$CONFIG_STATUS <<_ACEOF 31524cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29958_ACEOF 31525_ACEOF
29959 31526
29960cat >>$CONFIG_STATUS <<\_ACEOF 31527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29961 31528
29962# Handling of arguments. 31529# Handling of arguments.
29963for ac_config_target in $ac_config_targets 31530for ac_config_target in $ac_config_targets
@@ -29974,8 +31541,8 @@ do
29974 "ssh_prng_cmds") CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;; 31541 "ssh_prng_cmds") CONFIG_FILES="$CONFIG_FILES ssh_prng_cmds" ;;
29975 "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;; 31542 "survey.sh") CONFIG_FILES="$CONFIG_FILES survey.sh" ;;
29976 31543
29977 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 31544 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29978echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 31545$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29979 { (exit 1); exit 1; }; };; 31546 { (exit 1); exit 1; }; };;
29980 esac 31547 esac
29981done 31548done
@@ -30015,216 +31582,143 @@ $debug ||
30015 (umask 077 && mkdir "$tmp") 31582 (umask 077 && mkdir "$tmp")
30016} || 31583} ||
30017{ 31584{
30018 echo "$me: cannot create a temporary directory in ." >&2 31585 $as_echo "$as_me: cannot create a temporary directory in ." >&2
30019 { (exit 1); exit 1; } 31586 { (exit 1); exit 1; }
30020} 31587}
30021 31588
30022# 31589# Set up the scripts for CONFIG_FILES section.
30023# Set up the sed scripts for CONFIG_FILES section. 31590# No need to generate them if there are no CONFIG_FILES.
30024# 31591# This happens for instance with `./config.status config.h'.
30025
30026# No need to generate the scripts if there are no CONFIG_FILES.
30027# This happens for instance when ./config.status config.h
30028if test -n "$CONFIG_FILES"; then 31592if test -n "$CONFIG_FILES"; then
30029 31593
30030_ACEOF
30031
30032
30033
30034ac_delim='%!_!# '
30035for ac_last_try in false false false false false :; do
30036 cat >conf$$subs.sed <<_ACEOF
30037SHELL!$SHELL$ac_delim
30038PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
30039PACKAGE_NAME!$PACKAGE_NAME$ac_delim
30040PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
30041PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
30042PACKAGE_STRING!$PACKAGE_STRING$ac_delim
30043PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
30044exec_prefix!$exec_prefix$ac_delim
30045prefix!$prefix$ac_delim
30046program_transform_name!$program_transform_name$ac_delim
30047bindir!$bindir$ac_delim
30048sbindir!$sbindir$ac_delim
30049libexecdir!$libexecdir$ac_delim
30050datarootdir!$datarootdir$ac_delim
30051datadir!$datadir$ac_delim
30052sysconfdir!$sysconfdir$ac_delim
30053sharedstatedir!$sharedstatedir$ac_delim
30054localstatedir!$localstatedir$ac_delim
30055includedir!$includedir$ac_delim
30056oldincludedir!$oldincludedir$ac_delim
30057docdir!$docdir$ac_delim
30058infodir!$infodir$ac_delim
30059htmldir!$htmldir$ac_delim
30060dvidir!$dvidir$ac_delim
30061pdfdir!$pdfdir$ac_delim
30062psdir!$psdir$ac_delim
30063libdir!$libdir$ac_delim
30064localedir!$localedir$ac_delim
30065mandir!$mandir$ac_delim
30066DEFS!$DEFS$ac_delim
30067ECHO_C!$ECHO_C$ac_delim
30068ECHO_N!$ECHO_N$ac_delim
30069ECHO_T!$ECHO_T$ac_delim
30070LIBS!$LIBS$ac_delim
30071build_alias!$build_alias$ac_delim
30072host_alias!$host_alias$ac_delim
30073target_alias!$target_alias$ac_delim
30074CC!$CC$ac_delim
30075CFLAGS!$CFLAGS$ac_delim
30076LDFLAGS!$LDFLAGS$ac_delim
30077CPPFLAGS!$CPPFLAGS$ac_delim
30078ac_ct_CC!$ac_ct_CC$ac_delim
30079EXEEXT!$EXEEXT$ac_delim
30080OBJEXT!$OBJEXT$ac_delim
30081build!$build$ac_delim
30082build_cpu!$build_cpu$ac_delim
30083build_vendor!$build_vendor$ac_delim
30084build_os!$build_os$ac_delim
30085host!$host$ac_delim
30086host_cpu!$host_cpu$ac_delim
30087host_vendor!$host_vendor$ac_delim
30088host_os!$host_os$ac_delim
30089CPP!$CPP$ac_delim
30090GREP!$GREP$ac_delim
30091EGREP!$EGREP$ac_delim
30092AWK!$AWK$ac_delim
30093RANLIB!$RANLIB$ac_delim
30094INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
30095INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
30096INSTALL_DATA!$INSTALL_DATA$ac_delim
30097AR!$AR$ac_delim
30098CAT!$CAT$ac_delim
30099KILL!$KILL$ac_delim
30100PERL!$PERL$ac_delim
30101SED!$SED$ac_delim
30102ENT!$ENT$ac_delim
30103TEST_MINUS_S_SH!$TEST_MINUS_S_SH$ac_delim
30104SH!$SH$ac_delim
30105TEST_SHELL!$TEST_SHELL$ac_delim
30106PATH_GROUPADD_PROG!$PATH_GROUPADD_PROG$ac_delim
30107PATH_USERADD_PROG!$PATH_USERADD_PROG$ac_delim
30108MAKE_PACKAGE_SUPPORTED!$MAKE_PACKAGE_SUPPORTED$ac_delim
30109STARTUP_SCRIPT_SHELL!$STARTUP_SCRIPT_SHELL$ac_delim
30110LOGIN_PROGRAM_FALLBACK!$LOGIN_PROGRAM_FALLBACK$ac_delim
30111PATH_PASSWD_PROG!$PATH_PASSWD_PROG$ac_delim
30112LD!$LD$ac_delim
30113SSHDLIBS!$SSHDLIBS$ac_delim
30114LIBEDIT!$LIBEDIT$ac_delim
30115INSTALL_SSH_RAND_HELPER!$INSTALL_SSH_RAND_HELPER$ac_delim
30116SSH_PRIVSEP_USER!$SSH_PRIVSEP_USER$ac_delim
30117PROG_LS!$PROG_LS$ac_delim
30118PROG_NETSTAT!$PROG_NETSTAT$ac_delim
30119PROG_ARP!$PROG_ARP$ac_delim
30120PROG_IFCONFIG!$PROG_IFCONFIG$ac_delim
30121PROG_JSTAT!$PROG_JSTAT$ac_delim
30122PROG_PS!$PROG_PS$ac_delim
30123PROG_SAR!$PROG_SAR$ac_delim
30124PROG_W!$PROG_W$ac_delim
30125PROG_WHO!$PROG_WHO$ac_delim
30126PROG_LAST!$PROG_LAST$ac_delim
30127PROG_LASTLOG!$PROG_LASTLOG$ac_delim
30128PROG_DF!$PROG_DF$ac_delim
30129PROG_VMSTAT!$PROG_VMSTAT$ac_delim
30130PROG_UPTIME!$PROG_UPTIME$ac_delim
30131PROG_IPCS!$PROG_IPCS$ac_delim
30132PROG_TAIL!$PROG_TAIL$ac_delim
30133INSTALL_SSH_PRNG_CMDS!$INSTALL_SSH_PRNG_CMDS$ac_delim
30134_ACEOF
30135
30136 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30137 break
30138 elif $ac_last_try; then
30139 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30140echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30141 { (exit 1); exit 1; }; }
30142 else
30143 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30144 fi
30145done
30146 31594
30147ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 31595ac_cr=' '
30148if test -n "$ac_eof"; then 31596ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
30149 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 31597if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
30150 ac_eof=`expr $ac_eof + 1` 31598 ac_cs_awk_cr='\\r'
31599else
31600 ac_cs_awk_cr=$ac_cr
30151fi 31601fi
30152 31602
30153cat >>$CONFIG_STATUS <<_ACEOF 31603echo 'BEGIN {' >"$tmp/subs1.awk" &&
30154cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
30155/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30156_ACEOF
30157sed '
30158s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30159s/^/s,@/; s/!/@,|#_!!_#|/
30160:n
30161t n
30162s/'"$ac_delim"'$/,g/; t
30163s/$/\\/; p
30164N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30165' >>$CONFIG_STATUS <conf$$subs.sed
30166rm -f conf$$subs.sed
30167cat >>$CONFIG_STATUS <<_ACEOF
30168CEOF$ac_eof
30169_ACEOF 31604_ACEOF
30170 31605
30171 31606
31607{
31608 echo "cat >conf$$subs.awk <<_ACEOF" &&
31609 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
31610 echo "_ACEOF"
31611} >conf$$subs.sh ||
31612 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31613$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31614 { (exit 1); exit 1; }; }
31615ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
30172ac_delim='%!_!# ' 31616ac_delim='%!_!# '
30173for ac_last_try in false false false false false :; do 31617for ac_last_try in false false false false false :; do
30174 cat >conf$$subs.sed <<_ACEOF 31618 . ./conf$$subs.sh ||
30175OPENSC_CONFIG!$OPENSC_CONFIG$ac_delim 31619 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30176PRIVSEP_PATH!$PRIVSEP_PATH$ac_delim 31620$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30177xauth_path!$xauth_path$ac_delim 31621 { (exit 1); exit 1; }; }
30178STRIP_OPT!$STRIP_OPT$ac_delim 31622
30179XAUTH_PATH!$XAUTH_PATH$ac_delim 31623 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
30180NROFF!$NROFF$ac_delim
30181MANTYPE!$MANTYPE$ac_delim
30182mansubdir!$mansubdir$ac_delim
30183user_path!$user_path$ac_delim
30184piddir!$piddir$ac_delim
30185TEST_SSH_IPV6!$TEST_SSH_IPV6$ac_delim
30186LIBOBJS!$LIBOBJS$ac_delim
30187LTLIBOBJS!$LTLIBOBJS$ac_delim
30188_ACEOF
30189
30190 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
30191 break 31624 break
30192 elif $ac_last_try; then 31625 elif $ac_last_try; then
30193 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 31626 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30194echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 31627$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30195 { (exit 1); exit 1; }; } 31628 { (exit 1); exit 1; }; }
30196 else 31629 else
30197 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 31630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30198 fi 31631 fi
30199done 31632done
31633rm -f conf$$subs.sh
31634
31635cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31636cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
31637_ACEOF
31638sed -n '
31639h
31640s/^/S["/; s/!.*/"]=/
31641p
31642g
31643s/^[^!]*!//
31644:repl
31645t repl
31646s/'"$ac_delim"'$//
31647t delim
31648:nl
31649h
31650s/\(.\{148\}\).*/\1/
31651t more1
31652s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
31653p
31654n
31655b repl
31656:more1
31657s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31658p
31659g
31660s/.\{148\}//
31661t nl
31662:delim
31663h
31664s/\(.\{148\}\).*/\1/
31665t more2
31666s/["\\]/\\&/g; s/^/"/; s/$/"/
31667p
31668b
31669:more2
31670s/["\\]/\\&/g; s/^/"/; s/$/"\\/
31671p
31672g
31673s/.\{148\}//
31674t delim
31675' <conf$$subs.awk | sed '
31676/^[^""]/{
31677 N
31678 s/\n//
31679}
31680' >>$CONFIG_STATUS || ac_write_fail=1
31681rm -f conf$$subs.awk
31682cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31683_ACAWK
31684cat >>"\$tmp/subs1.awk" <<_ACAWK &&
31685 for (key in S) S_is_set[key] = 1
31686 FS = ""
30200 31687
30201ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 31688}
30202if test -n "$ac_eof"; then 31689{
30203 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 31690 line = $ 0
30204 ac_eof=`expr $ac_eof + 1` 31691 nfields = split(line, field, "@")
30205fi 31692 substed = 0
30206 31693 len = length(field[1])
30207cat >>$CONFIG_STATUS <<_ACEOF 31694 for (i = 2; i < nfields; i++) {
30208cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof 31695 key = field[i]
30209/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 31696 keylen = length(key)
30210_ACEOF 31697 if (S_is_set[key]) {
30211sed ' 31698 value = S[key]
30212s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 31699 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
30213s/^/s,@/; s/!/@,|#_!!_#|/ 31700 len += length(value) + length(field[++i])
30214:n 31701 substed = 1
30215t n 31702 } else
30216s/'"$ac_delim"'$/,g/; t 31703 len += 1 + keylen
30217s/$/\\/; p 31704 }
30218N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 31705
30219' >>$CONFIG_STATUS <conf$$subs.sed 31706 print line
30220rm -f conf$$subs.sed 31707}
30221cat >>$CONFIG_STATUS <<_ACEOF 31708
30222:end 31709_ACAWK
30223s/|#_!!_#|//g 31710_ACEOF
30224CEOF$ac_eof 31711cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31712if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
31713 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
31714else
31715 cat
31716fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
31717 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
31718$as_echo "$as_me: error: could not setup config files machinery" >&2;}
31719 { (exit 1); exit 1; }; }
30225_ACEOF 31720_ACEOF
30226 31721
30227
30228# VPATH may cause trouble with some makes, so we remove $(srcdir), 31722# VPATH may cause trouble with some makes, so we remove $(srcdir),
30229# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 31723# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
30230# trailing colons and then remove the whole line if VPATH becomes empty 31724# trailing colons and then remove the whole line if VPATH becomes empty
@@ -30240,19 +31734,133 @@ s/^[^=]*=[ ]*$//
30240}' 31734}'
30241fi 31735fi
30242 31736
30243cat >>$CONFIG_STATUS <<\_ACEOF 31737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30244fi # test -n "$CONFIG_FILES" 31738fi # test -n "$CONFIG_FILES"
30245 31739
31740# Set up the scripts for CONFIG_HEADERS section.
31741# No need to generate them if there are no CONFIG_HEADERS.
31742# This happens for instance with `./config.status Makefile'.
31743if test -n "$CONFIG_HEADERS"; then
31744cat >"$tmp/defines.awk" <<\_ACAWK ||
31745BEGIN {
31746_ACEOF
31747
31748# Transform confdefs.h into an awk script `defines.awk', embedded as
31749# here-document in config.status, that substitutes the proper values into
31750# config.h.in to produce config.h.
31751
31752# Create a delimiter string that does not exist in confdefs.h, to ease
31753# handling of long lines.
31754ac_delim='%!_!# '
31755for ac_last_try in false false :; do
31756 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
31757 if test -z "$ac_t"; then
31758 break
31759 elif $ac_last_try; then
31760 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
31761$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
31762 { (exit 1); exit 1; }; }
31763 else
31764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
31765 fi
31766done
31767
31768# For the awk script, D is an array of macro values keyed by name,
31769# likewise P contains macro parameters if any. Preserve backslash
31770# newline sequences.
31771
31772ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
31773sed -n '
31774s/.\{148\}/&'"$ac_delim"'/g
31775t rset
31776:rset
31777s/^[ ]*#[ ]*define[ ][ ]*/ /
31778t def
31779d
31780:def
31781s/\\$//
31782t bsnl
31783s/["\\]/\\&/g
31784s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31785D["\1"]=" \3"/p
31786s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
31787d
31788:bsnl
31789s/["\\]/\\&/g
31790s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
31791D["\1"]=" \3\\\\\\n"\\/p
31792t cont
31793s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
31794t cont
31795d
31796:cont
31797n
31798s/.\{148\}/&'"$ac_delim"'/g
31799t clear
31800:clear
31801s/\\$//
31802t bsnlc
31803s/["\\]/\\&/g; s/^/"/; s/$/"/p
31804d
31805:bsnlc
31806s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
31807b cont
31808' <confdefs.h | sed '
31809s/'"$ac_delim"'/"\\\
31810"/g' >>$CONFIG_STATUS || ac_write_fail=1
31811
31812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31813 for (key in D) D_is_set[key] = 1
31814 FS = ""
31815}
31816/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
31817 line = \$ 0
31818 split(line, arg, " ")
31819 if (arg[1] == "#") {
31820 defundef = arg[2]
31821 mac1 = arg[3]
31822 } else {
31823 defundef = substr(arg[1], 2)
31824 mac1 = arg[2]
31825 }
31826 split(mac1, mac2, "(") #)
31827 macro = mac2[1]
31828 if (D_is_set[macro]) {
31829 # Preserve the white space surrounding the "#".
31830 prefix = substr(line, 1, index(line, defundef) - 1)
31831 print prefix "define", macro P[macro] D[macro]
31832 next
31833 } else {
31834 # Replace #undef with comments. This is necessary, for example,
31835 # in the case of _POSIX_SOURCE, which is predefined and required
31836 # on some systems where configure will not decide to define it.
31837 if (defundef == "undef") {
31838 print "/*", line, "*/"
31839 next
31840 }
31841 }
31842}
31843{ print }
31844_ACAWK
31845_ACEOF
31846cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31847 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
31848$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
31849 { (exit 1); exit 1; }; }
31850fi # test -n "$CONFIG_HEADERS"
31851
30246 31852
30247for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS 31853eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
31854shift
31855for ac_tag
30248do 31856do
30249 case $ac_tag in 31857 case $ac_tag in
30250 :[FHLC]) ac_mode=$ac_tag; continue;; 31858 :[FHLC]) ac_mode=$ac_tag; continue;;
30251 esac 31859 esac
30252 case $ac_mode$ac_tag in 31860 case $ac_mode$ac_tag in
30253 :[FHL]*:*);; 31861 :[FHL]*:*);;
30254 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 31862 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
30255echo "$as_me: error: Invalid tag $ac_tag." >&2;} 31863$as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30256 { (exit 1); exit 1; }; };; 31864 { (exit 1); exit 1; }; };;
30257 :[FH]-) ac_tag=-:-;; 31865 :[FH]-) ac_tag=-:-;;
30258 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 31866 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
@@ -30281,26 +31889,38 @@ echo "$as_me: error: Invalid tag $ac_tag." >&2;}
30281 [\\/$]*) false;; 31889 [\\/$]*) false;;
30282 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 31890 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
30283 esac || 31891 esac ||
30284 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 31892 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
30285echo "$as_me: error: cannot find input file: $ac_f" >&2;} 31893$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
30286 { (exit 1); exit 1; }; };; 31894 { (exit 1); exit 1; }; };;
30287 esac 31895 esac
30288 ac_file_inputs="$ac_file_inputs $ac_f" 31896 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
31897 ac_file_inputs="$ac_file_inputs '$ac_f'"
30289 done 31898 done
30290 31899
30291 # Let's still pretend it is `configure' which instantiates (i.e., don't 31900 # Let's still pretend it is `configure' which instantiates (i.e., don't
30292 # use $as_me), people would be surprised to read: 31901 # use $as_me), people would be surprised to read:
30293 # /* config.h. Generated by config.status. */ 31902 # /* config.h. Generated by config.status. */
30294 configure_input="Generated from "`IFS=: 31903 configure_input='Generated from '`
30295 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 31904 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
31905 `' by configure.'
30296 if test x"$ac_file" != x-; then 31906 if test x"$ac_file" != x-; then
30297 configure_input="$ac_file. $configure_input" 31907 configure_input="$ac_file. $configure_input"
30298 { echo "$as_me:$LINENO: creating $ac_file" >&5 31908 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
30299echo "$as_me: creating $ac_file" >&6;} 31909$as_echo "$as_me: creating $ac_file" >&6;}
30300 fi 31910 fi
31911 # Neutralize special characters interpreted by sed in replacement strings.
31912 case $configure_input in #(
31913 *\&* | *\|* | *\\* )
31914 ac_sed_conf_input=`$as_echo "$configure_input" |
31915 sed 's/[\\\\&|]/\\\\&/g'`;; #(
31916 *) ac_sed_conf_input=$configure_input;;
31917 esac
30301 31918
30302 case $ac_tag in 31919 case $ac_tag in
30303 *:-:* | *:-) cat >"$tmp/stdin";; 31920 *:-:* | *:-) cat >"$tmp/stdin" \
31921 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
31922$as_echo "$as_me: error: could not create $ac_file" >&2;}
31923 { (exit 1); exit 1; }; } ;;
30304 esac 31924 esac
30305 ;; 31925 ;;
30306 esac 31926 esac
@@ -30310,7 +31930,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30310 X"$ac_file" : 'X\(//\)[^/]' \| \ 31930 X"$ac_file" : 'X\(//\)[^/]' \| \
30311 X"$ac_file" : 'X\(//\)$' \| \ 31931 X"$ac_file" : 'X\(//\)$' \| \
30312 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 31932 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
30313echo X"$ac_file" | 31933$as_echo X"$ac_file" |
30314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30315 s//\1/ 31935 s//\1/
30316 q 31936 q
@@ -30336,7 +31956,7 @@ echo X"$ac_file" |
30336 as_dirs= 31956 as_dirs=
30337 while :; do 31957 while :; do
30338 case $as_dir in #( 31958 case $as_dir in #(
30339 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 31959 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30340 *) as_qdir=$as_dir;; 31960 *) as_qdir=$as_dir;;
30341 esac 31961 esac
30342 as_dirs="'$as_qdir' $as_dirs" 31962 as_dirs="'$as_qdir' $as_dirs"
@@ -30345,7 +31965,7 @@ $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30345 X"$as_dir" : 'X\(//\)[^/]' \| \ 31965 X"$as_dir" : 'X\(//\)[^/]' \| \
30346 X"$as_dir" : 'X\(//\)$' \| \ 31966 X"$as_dir" : 'X\(//\)$' \| \
30347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 31967 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30348echo X"$as_dir" | 31968$as_echo X"$as_dir" |
30349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 31969 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30350 s//\1/ 31970 s//\1/
30351 q 31971 q
@@ -30366,17 +31986,17 @@ echo X"$as_dir" |
30366 test -d "$as_dir" && break 31986 test -d "$as_dir" && break
30367 done 31987 done
30368 test -z "$as_dirs" || eval "mkdir $as_dirs" 31988 test -z "$as_dirs" || eval "mkdir $as_dirs"
30369 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 31989 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30370echo "$as_me: error: cannot create directory $as_dir" >&2;} 31990$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
30371 { (exit 1); exit 1; }; }; } 31991 { (exit 1); exit 1; }; }; }
30372 ac_builddir=. 31992 ac_builddir=.
30373 31993
30374case "$ac_dir" in 31994case "$ac_dir" in
30375.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 31995.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
30376*) 31996*)
30377 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 31997 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
30378 # A ".." for each directory in $ac_dir_suffix. 31998 # A ".." for each directory in $ac_dir_suffix.
30379 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 31999 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30380 case $ac_top_builddir_sub in 32000 case $ac_top_builddir_sub in
30381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 32001 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
30382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 32002 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -30416,12 +32036,13 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
30416 esac 32036 esac
30417_ACEOF 32037_ACEOF
30418 32038
30419cat >>$CONFIG_STATUS <<\_ACEOF 32039cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30420# If the template does not know about datarootdir, expand it. 32040# If the template does not know about datarootdir, expand it.
30421# FIXME: This hack should be removed a few years after 2.60. 32041# FIXME: This hack should be removed a few years after 2.60.
30422ac_datarootdir_hack=; ac_datarootdir_seen= 32042ac_datarootdir_hack=; ac_datarootdir_seen=
30423 32043
30424case `sed -n '/datarootdir/ { 32044ac_sed_dataroot='
32045/datarootdir/ {
30425 p 32046 p
30426 q 32047 q
30427} 32048}
@@ -30430,13 +32051,14 @@ case `sed -n '/datarootdir/ {
30430/@infodir@/p 32051/@infodir@/p
30431/@localedir@/p 32052/@localedir@/p
30432/@mandir@/p 32053/@mandir@/p
30433' $ac_file_inputs` in 32054'
32055case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30434*datarootdir*) ac_datarootdir_seen=yes;; 32056*datarootdir*) ac_datarootdir_seen=yes;;
30435*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 32057*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
30436 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 32058 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30437echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 32059$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30438_ACEOF 32060_ACEOF
30439cat >>$CONFIG_STATUS <<_ACEOF 32061cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30440 ac_datarootdir_hack=' 32062 ac_datarootdir_hack='
30441 s&@datadir@&$datadir&g 32063 s&@datadir@&$datadir&g
30442 s&@docdir@&$docdir&g 32064 s&@docdir@&$docdir&g
@@ -30450,15 +32072,16 @@ _ACEOF
30450# Neutralize VPATH when `$srcdir' = `.'. 32072# Neutralize VPATH when `$srcdir' = `.'.
30451# Shell code in configure.ac might set extrasub. 32073# Shell code in configure.ac might set extrasub.
30452# FIXME: do we really want to maintain this feature? 32074# FIXME: do we really want to maintain this feature?
30453cat >>$CONFIG_STATUS <<_ACEOF 32075cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30454 sed "$ac_vpsub 32076ac_sed_extra="$ac_vpsub
30455$extrasub 32077$extrasub
30456_ACEOF 32078_ACEOF
30457cat >>$CONFIG_STATUS <<\_ACEOF 32079cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
30458:t 32080:t
30459/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 32081/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30460s&@configure_input@&$configure_input&;t t 32082s|@configure_input@|$ac_sed_conf_input|;t t
30461s&@top_builddir@&$ac_top_builddir_sub&;t t 32083s&@top_builddir@&$ac_top_builddir_sub&;t t
32084s&@top_build_prefix@&$ac_top_build_prefix&;t t
30462s&@srcdir@&$ac_srcdir&;t t 32085s&@srcdir@&$ac_srcdir&;t t
30463s&@abs_srcdir@&$ac_abs_srcdir&;t t 32086s&@abs_srcdir@&$ac_abs_srcdir&;t t
30464s&@top_srcdir@&$ac_top_srcdir&;t t 32087s&@top_srcdir@&$ac_top_srcdir&;t t
@@ -30468,119 +32091,58 @@ s&@abs_builddir@&$ac_abs_builddir&;t t
30468s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 32091s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
30469s&@INSTALL@&$ac_INSTALL&;t t 32092s&@INSTALL@&$ac_INSTALL&;t t
30470$ac_datarootdir_hack 32093$ac_datarootdir_hack
30471" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out 32094"
32095eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32096 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32097$as_echo "$as_me: error: could not create $ac_file" >&2;}
32098 { (exit 1); exit 1; }; }
30472 32099
30473test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 32100test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30474 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 32101 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
30475 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 32102 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
30476 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 32103 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30477which seems to be undefined. Please make sure it is defined." >&5 32104which seems to be undefined. Please make sure it is defined." >&5
30478echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 32105$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
30479which seems to be undefined. Please make sure it is defined." >&2;} 32106which seems to be undefined. Please make sure it is defined." >&2;}
30480 32107
30481 rm -f "$tmp/stdin" 32108 rm -f "$tmp/stdin"
30482 case $ac_file in 32109 case $ac_file in
30483 -) cat "$tmp/out"; rm -f "$tmp/out";; 32110 -) cat "$tmp/out" && rm -f "$tmp/out";;
30484 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 32111 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
30485 esac 32112 esac \
32113 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32114$as_echo "$as_me: error: could not create $ac_file" >&2;}
32115 { (exit 1); exit 1; }; }
30486 ;; 32116 ;;
30487 :H) 32117 :H)
30488 # 32118 #
30489 # CONFIG_HEADER 32119 # CONFIG_HEADER
30490 # 32120 #
30491_ACEOF
30492
30493# Transform confdefs.h into a sed script `conftest.defines', that
30494# substitutes the proper values into config.h.in to produce config.h.
30495rm -f conftest.defines conftest.tail
30496# First, append a space to every undef/define line, to ease matching.
30497echo 's/$/ /' >conftest.defines
30498# Then, protect against being on the right side of a sed subst, or in
30499# an unquoted here document, in config.status. If some macros were
30500# called several times there might be several #defines for the same
30501# symbol, which is useless. But do not sort them, since the last
30502# AC_DEFINE must be honored.
30503ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
30504# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
30505# NAME is the cpp macro being defined, VALUE is the value it is being given.
30506# PARAMS is the parameter list in the macro definition--in most cases, it's
30507# just an empty string.
30508ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
30509ac_dB='\\)[ (].*,\\1define\\2'
30510ac_dC=' '
30511ac_dD=' ,'
30512
30513uniq confdefs.h |
30514 sed -n '
30515 t rset
30516 :rset
30517 s/^[ ]*#[ ]*define[ ][ ]*//
30518 t ok
30519 d
30520 :ok
30521 s/[\\&,]/\\&/g
30522 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
30523 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
30524 ' >>conftest.defines
30525
30526# Remove the space that was appended to ease matching.
30527# Then replace #undef with comments. This is necessary, for
30528# example, in the case of _POSIX_SOURCE, which is predefined and required
30529# on some systems where configure will not decide to define it.
30530# (The regexp can be short, since the line contains either #define or #undef.)
30531echo 's/ $//
30532s,^[ #]*u.*,/* & */,' >>conftest.defines
30533
30534# Break up conftest.defines:
30535ac_max_sed_lines=50
30536
30537# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
30538# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
30539# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
30540# et cetera.
30541ac_in='$ac_file_inputs'
30542ac_out='"$tmp/out1"'
30543ac_nxt='"$tmp/out2"'
30544
30545while :
30546do
30547 # Write a here document:
30548 cat >>$CONFIG_STATUS <<_ACEOF
30549 # First, check the format of the line:
30550 cat >"\$tmp/defines.sed" <<\\CEOF
30551/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
30552/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
30553b
30554:def
30555_ACEOF
30556 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
30557 echo 'CEOF
30558 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
30559 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
30560 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
30561 grep . conftest.tail >/dev/null || break
30562 rm -f conftest.defines
30563 mv conftest.tail conftest.defines
30564done
30565rm -f conftest.defines conftest.tail
30566
30567echo "ac_result=$ac_in" >>$CONFIG_STATUS
30568cat >>$CONFIG_STATUS <<\_ACEOF
30569 if test x"$ac_file" != x-; then 32121 if test x"$ac_file" != x-; then
30570 echo "/* $configure_input */" >"$tmp/config.h" 32122 {
30571 cat "$ac_result" >>"$tmp/config.h" 32123 $as_echo "/* $configure_input */" \
30572 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 32124 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
30573 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 32125 } >"$tmp/config.h" \
30574echo "$as_me: $ac_file is unchanged" >&6;} 32126 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32127$as_echo "$as_me: error: could not create $ac_file" >&2;}
32128 { (exit 1); exit 1; }; }
32129 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32130 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
32131$as_echo "$as_me: $ac_file is unchanged" >&6;}
30575 else 32132 else
30576 rm -f $ac_file 32133 rm -f "$ac_file"
30577 mv "$tmp/config.h" $ac_file 32134 mv "$tmp/config.h" "$ac_file" \
32135 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
32136$as_echo "$as_me: error: could not create $ac_file" >&2;}
32137 { (exit 1); exit 1; }; }
30578 fi 32138 fi
30579 else 32139 else
30580 echo "/* $configure_input */" 32140 $as_echo "/* $configure_input */" \
30581 cat "$ac_result" 32141 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32142 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
32143$as_echo "$as_me: error: could not create -" >&2;}
32144 { (exit 1); exit 1; }; }
30582 fi 32145 fi
30583 rm -f "$tmp/out12"
30584 ;; 32146 ;;
30585 32147
30586 32148
@@ -30594,6 +32156,11 @@ _ACEOF
30594chmod +x $CONFIG_STATUS 32156chmod +x $CONFIG_STATUS
30595ac_clean_files=$ac_clean_files_save 32157ac_clean_files=$ac_clean_files_save
30596 32158
32159test $ac_write_fail = 0 ||
32160 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
32161$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
32162 { (exit 1); exit 1; }; }
32163
30597 32164
30598# configure is writing to config.log, and then calls config.status. 32165# configure is writing to config.log, and then calls config.status.
30599# config.status does its own redirection, appending to config.log. 32166# config.status does its own redirection, appending to config.log.
@@ -30615,6 +32182,10 @@ if test "$no_create" != yes; then
30615 # would make configure fail if this is the last instruction. 32182 # would make configure fail if this is the last instruction.
30616 $ac_cs_success || { (exit 1); exit 1; } 32183 $ac_cs_success || { (exit 1); exit 1; }
30617fi 32184fi
32185if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
32186 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
32187$as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
32188fi
30618 32189
30619 32190
30620# Print summary of options 32191# Print summary of options
diff --git a/configure.ac b/configure.ac
index 396fc974a..a3ff2b545 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.415 2009/02/16 04:37:03 djm Exp $ 1# $Id: configure.ac,v 1.427 2009/09/11 04:56:08 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.415 $) 18AC_REVISION($Revision: 1.427 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -279,7 +279,6 @@ AC_CHECK_HEADERS( \
279 sys/cdefs.h \ 279 sys/cdefs.h \
280 sys/dir.h \ 280 sys/dir.h \
281 sys/mman.h \ 281 sys/mman.h \
282 sys/mount.h \
283 sys/ndir.h \ 282 sys/ndir.h \
284 sys/poll.h \ 283 sys/poll.h \
285 sys/prctl.h \ 284 sys/prctl.h \
@@ -326,6 +325,11 @@ AC_CHECK_HEADERS(login_cap.h, [], [], [
326#include <sys/types.h> 325#include <sys/types.h>
327]) 326])
328 327
328# older BSDs need sys/param.h before sys/mount.h
329AC_CHECK_HEADERS(sys/mount.h, [], [], [
330#include <sys/param.h>
331])
332
329# Messages for features tested for in target-specific section 333# Messages for features tested for in target-specific section
330SIA_MSG="no" 334SIA_MSG="no"
331SPC_MSG="no" 335SPC_MSG="no"
@@ -434,8 +438,6 @@ int main(void) { exit(0); }
434 AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()]) 438 AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()])
435 AC_DEFINE(DISABLE_SHADOW, 1, 439 AC_DEFINE(DISABLE_SHADOW, 1,
436 [Define if you want to disable shadow passwords]) 440 [Define if you want to disable shadow passwords])
437 AC_DEFINE(IP_TOS_IS_BROKEN, 1,
438 [Define if your system choked on IP TOS setting])
439 AC_DEFINE(NO_X11_UNIX_SOCKETS, 1, 441 AC_DEFINE(NO_X11_UNIX_SOCKETS, 1,
440 [Define if X11 doesn't support AF_UNIX sockets on that system]) 442 [Define if X11 doesn't support AF_UNIX sockets on that system])
441 AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT, 1, 443 AC_DEFINE(NO_IPPORT_RESERVED_CONCEPT, 1,
@@ -444,9 +446,11 @@ int main(void) { exit(0); }
444 AC_DEFINE(DISABLE_FD_PASSING, 1, 446 AC_DEFINE(DISABLE_FD_PASSING, 1,
445 [Define if your platform needs to skip post auth 447 [Define if your platform needs to skip post auth
446 file descriptor passing]) 448 file descriptor passing])
449 AC_DEFINE(SSH_IOBUFSZ, 65536, [Windows is sensitive to read buffer size])
447 ;; 450 ;;
448*-*-dgux*) 451*-*-dgux*)
449 AC_DEFINE(IP_TOS_IS_BROKEN) 452 AC_DEFINE(IP_TOS_IS_BROKEN, 1,
453 [Define if your system choked on IP TOS setting])
450 AC_DEFINE(SETEUID_BREAKS_SETUID) 454 AC_DEFINE(SETEUID_BREAKS_SETUID)
451 AC_DEFINE(BROKEN_SETREUID) 455 AC_DEFINE(BROKEN_SETREUID)
452 AC_DEFINE(BROKEN_SETREGID) 456 AC_DEFINE(BROKEN_SETREGID)
@@ -693,6 +697,7 @@ mips-sony-bsd|mips-sony-newsos4)
693 after setsid()]) 697 after setsid()])
694 AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd 698 AC_DEFINE(PASSWD_NEEDS_USERNAME, 1, [must supply username to passwd
695 in case the name is longer than 8 chars]) 699 in case the name is longer than 8 chars])
700 AC_DEFINE(BROKEN_TCGETATTR_ICANON, 1, [tcgetattr with ICANON may hang])
696 external_path_file=/etc/default/login 701 external_path_file=/etc/default/login
697 # hardwire lastlog location (can't detect it on some versions) 702 # hardwire lastlog location (can't detect it on some versions)
698 conf_lastlog_location="/var/adm/lastlog" 703 conf_lastlog_location="/var/adm/lastlog"
@@ -1004,6 +1009,7 @@ AC_ARG_WITH(zlib,
1004 fi ] 1009 fi ]
1005) 1010)
1006 1011
1012AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***]))
1007AC_CHECK_LIB(z, deflate, , 1013AC_CHECK_LIB(z, deflate, ,
1008 [ 1014 [
1009 saved_CPPFLAGS="$CPPFLAGS" 1015 saved_CPPFLAGS="$CPPFLAGS"
@@ -1024,7 +1030,6 @@ AC_CHECK_LIB(z, deflate, ,
1024 ) 1030 )
1025 ] 1031 ]
1026) 1032)
1027AC_CHECK_HEADER([zlib.h], ,AC_MSG_ERROR([*** zlib.h missing - please install first or check config.log ***]))
1028 1033
1029AC_ARG_WITH(zlib-version-check, 1034AC_ARG_WITH(zlib-version-check,
1030 [ --without-zlib-version-check Disable zlib version check], 1035 [ --without-zlib-version-check Disable zlib version check],
@@ -1917,6 +1922,8 @@ AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL, 1,
1917 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}" 1922 LDFLAGS="-L/usr/local/ssl/lib ${saved_LDFLAGS}"
1918 fi 1923 fi
1919 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}" 1924 CPPFLAGS="-I/usr/local/ssl/include ${saved_CPPFLAGS}"
1925 AC_CHECK_HEADER([openssl/opensslv.h], ,
1926 AC_MSG_ERROR([*** OpenSSL headers missing - please install first or check config.log ***]))
1920 AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL), 1927 AC_TRY_LINK_FUNC(RAND_add, AC_DEFINE(HAVE_OPENSSL),
1921 [ 1928 [
1922 AC_MSG_ERROR([*** Can't find recent OpenSSL libcrypto (see config.log for details) ***]) 1929 AC_MSG_ERROR([*** Can't find recent OpenSSL libcrypto (see config.log for details) ***])
@@ -2101,6 +2108,23 @@ int main(void) { exit(EVP_aes_192_cbc() == NULL || EVP_aes_256_cbc() == NULL);}
2101 ] 2108 ]
2102) 2109)
2103 2110
2111AC_MSG_CHECKING([if EVP_DigestUpdate returns an int])
2112AC_LINK_IFELSE(
2113 [AC_LANG_SOURCE([[
2114#include <string.h>
2115#include <openssl/evp.h>
2116int main(void) { if(EVP_DigestUpdate(NULL, NULL,0)) exit(0); }
2117 ]])],
2118 [
2119 AC_MSG_RESULT(yes)
2120 ],
2121 [
2122 AC_MSG_RESULT(no)
2123 AC_DEFINE(OPENSSL_EVP_DIGESTUPDATE_VOID, 1,
2124 [Define if EVP_DigestUpdate returns void])
2125 ]
2126)
2127
2104# Some systems want crypt() from libcrypt, *not* the version in OpenSSL, 2128# Some systems want crypt() from libcrypt, *not* the version in OpenSSL,
2105# because the system crypt() is more featureful. 2129# because the system crypt() is more featureful.
2106if test "x$check_for_libcrypt_before" = "x1"; then 2130if test "x$check_for_libcrypt_before" = "x1"; then
@@ -2719,7 +2743,7 @@ AC_CHECK_TYPES([fsblkcnt_t, fsfilcnt_t],,,[
2719#endif 2743#endif
2720]) 2744])
2721 2745
2722AC_CHECK_TYPES(in_addr_t,,, 2746AC_CHECK_TYPES([in_addr_t, in_port_t],,,
2723[#include <sys/types.h> 2747[#include <sys/types.h>
2724#include <netinet/in.h>]) 2748#include <netinet/in.h>])
2725 2749
@@ -3089,15 +3113,41 @@ if test "x$ac_cv_have_accrights_in_msghdr" = "xyes" ; then
3089 file descriptor passing]) 3113 file descriptor passing])
3090fi 3114fi
3091 3115
3092AC_MSG_CHECKING(if f_fsid has val members) 3116AC_MSG_CHECKING(if struct statvfs.f_fsid is integral type)
3093AC_TRY_COMPILE([ 3117AC_TRY_COMPILE([
3094#include <sys/types.h> 3118#include <sys/types.h>
3119#include <sys/stat.h>
3120#ifdef HAVE_SYS_TIME_H
3121# include <sys/time.h>
3122#endif
3123#ifdef HAVE_SYS_MOUNT_H
3124#include <sys/mount.h>
3125#endif
3126#ifdef HAVE_SYS_STATVFS_H
3127#include <sys/statvfs.h>
3128#endif
3129], [struct statvfs s; s.f_fsid = 0;],
3130[ AC_MSG_RESULT(yes) ],
3131[ AC_MSG_RESULT(no)
3132
3133 AC_MSG_CHECKING(if fsid_t has member val)
3134 AC_TRY_COMPILE([
3135#include <sys/types.h>
3095#include <sys/statvfs.h>], 3136#include <sys/statvfs.h>],
3096[struct fsid_t t; t.val[0] = 0;], 3137 [fsid_t t; t.val[0] = 0;],
3097 [ AC_MSG_RESULT(yes) 3138 [ AC_MSG_RESULT(yes)
3098 AC_DEFINE(FSID_HAS_VAL, 1, f_fsid has members) ], 3139 AC_DEFINE(FSID_HAS_VAL, 1, fsid_t has member val) ],
3099 [ AC_MSG_RESULT(no) ] 3140 [ AC_MSG_RESULT(no) ])
3100) 3141
3142 AC_MSG_CHECKING(if f_fsid has member __val)
3143 AC_TRY_COMPILE([
3144#include <sys/types.h>
3145#include <sys/statvfs.h>],
3146 [fsid_t t; t.__val[0] = 0;],
3147 [ AC_MSG_RESULT(yes)
3148 AC_DEFINE(FSID_HAS___VAL, 1, fsid_t has member __val) ],
3149 [ AC_MSG_RESULT(no) ])
3150])
3101 3151
3102AC_CACHE_CHECK([for msg_control field in struct msghdr], 3152AC_CACHE_CHECK([for msg_control field in struct msghdr],
3103 ac_cv_have_control_in_msghdr, [ 3153 ac_cv_have_control_in_msghdr, [
@@ -3299,12 +3349,30 @@ AC_SEARCH_LIBS(getrrsetbyname, resolv,
3299 AC_SEARCH_LIBS(res_query, resolv) 3349 AC_SEARCH_LIBS(res_query, resolv)
3300 AC_SEARCH_LIBS(dn_expand, resolv) 3350 AC_SEARCH_LIBS(dn_expand, resolv)
3301 AC_MSG_CHECKING(if res_query will link) 3351 AC_MSG_CHECKING(if res_query will link)
3302 AC_TRY_LINK_FUNC(res_query, AC_MSG_RESULT(yes), 3352 AC_LINK_IFELSE([
3353#include "confdefs.h"
3354#include <sys/types.h>
3355#include <netinet/in.h>
3356#include <arpa/nameser.h>
3357#include <netdb.h>
3358#include <resolv.h>
3359int main()
3360{
3361 res_query (0, 0, 0, 0, 0);
3362 return 0;
3363}
3364 ],
3365 AC_MSG_RESULT(yes),
3303 [AC_MSG_RESULT(no) 3366 [AC_MSG_RESULT(no)
3304 saved_LIBS="$LIBS" 3367 saved_LIBS="$LIBS"
3305 LIBS="$LIBS -lresolv" 3368 LIBS="$LIBS -lresolv"
3306 AC_MSG_CHECKING(for res_query in -lresolv) 3369 AC_MSG_CHECKING(for res_query in -lresolv)
3307 AC_LINK_IFELSE([ 3370 AC_LINK_IFELSE([
3371#include "confdefs.h"
3372#include <sys/types.h>
3373#include <netinet/in.h>
3374#include <arpa/nameser.h>
3375#include <netdb.h>
3308#include <resolv.h> 3376#include <resolv.h>
3309int main() 3377int main()
3310{ 3378{
@@ -3312,8 +3380,7 @@ int main()
3312 return 0; 3380 return 0;
3313} 3381}
3314 ], 3382 ],
3315 [LIBS="$LIBS -lresolv" 3383 [AC_MSG_RESULT(yes)],
3316 AC_MSG_RESULT(yes)],
3317 [LIBS="$saved_LIBS" 3384 [LIBS="$saved_LIBS"
3318 AC_MSG_RESULT(no)]) 3385 AC_MSG_RESULT(no)])
3319 ]) 3386 ])
@@ -3382,10 +3449,10 @@ AC_ARG_WITH(kerberos5,
3382 AC_DEFINE(KRB5, 1, [Define if you want Kerberos 5 support]) 3449 AC_DEFINE(KRB5, 1, [Define if you want Kerberos 5 support])
3383 KRB5_MSG="yes" 3450 KRB5_MSG="yes"
3384 3451
3385 AC_MSG_CHECKING(for krb5-config) 3452 AC_PATH_PROG([KRB5CONF],[krb5-config],
3386 if test -x $KRB5ROOT/bin/krb5-config ; then 3453 [$KRB5ROOT/bin/krb5-config],
3387 KRB5CONF=$KRB5ROOT/bin/krb5-config 3454 [$KRB5ROOT/bin:$PATH])
3388 AC_MSG_RESULT($KRB5CONF) 3455 if test -x $KRB5CONF ; then
3389 3456
3390 AC_MSG_CHECKING(for gssapi support) 3457 AC_MSG_CHECKING(for gssapi support)
3391 if $KRB5CONF | grep gssapi >/dev/null ; then 3458 if $KRB5CONF | grep gssapi >/dev/null ; then
@@ -3411,7 +3478,6 @@ AC_ARG_WITH(kerberos5,
3411 AC_MSG_RESULT(no) 3478 AC_MSG_RESULT(no)
3412 ) 3479 )
3413 else 3480 else
3414 AC_MSG_RESULT(no)
3415 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include" 3481 CPPFLAGS="$CPPFLAGS -I${KRB5ROOT}/include"
3416 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib" 3482 LDFLAGS="$LDFLAGS -L${KRB5ROOT}/lib"
3417 AC_MSG_CHECKING(whether we are using Heimdal) 3483 AC_MSG_CHECKING(whether we are using Heimdal)
diff --git a/contrib/aix/buildbff.sh b/contrib/aix/buildbff.sh
index 97a7cbbba..6648e8e65 100755
--- a/contrib/aix/buildbff.sh
+++ b/contrib/aix/buildbff.sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# buildbff.sh: Create AIX SMIT-installable OpenSSH packages 3# buildbff.sh: Create AIX SMIT-installable OpenSSH packages
4# $Id: buildbff.sh,v 1.10 2006/09/10 03:24:19 dtucker Exp $ 4# $Id: buildbff.sh,v 1.11 2009/03/06 23:22:10 dtucker Exp $
5# 5#
6# Author: Darren Tucker (dtucker at zip dot com dot au) 6# Author: Darren Tucker (dtucker at zip dot com dot au)
7# This file is placed in the public domain and comes with absolutely 7# This file is placed in the public domain and comes with absolutely
@@ -151,11 +151,18 @@ fi
151 151
152 152
153# Rename config files; postinstall script will copy them if necessary 153# Rename config files; postinstall script will copy them if necessary
154for cfgfile in ssh_config sshd_config ssh_prng_cmds 154for cfgfile in ssh_config sshd_config
155do 155do
156 mv $FAKE_ROOT/$sysconfdir/$cfgfile $FAKE_ROOT/$sysconfdir/$cfgfile.default 156 mv $FAKE_ROOT/$sysconfdir/$cfgfile $FAKE_ROOT/$sysconfdir/$cfgfile.default
157done 157done
158 158
159# AIX 5.3 and newer have /dev/random and don't create ssh_prng_cmds
160if [ -f $FAKE_ROOT/$sysconfdir/ssh_prng_cmds ]
161then
162 mv FAKE_ROOT/$sysconfdir/ssh_prng_cmds \
163 $FAKE_ROOT/$sysconfdir/ssh_prng_cmds.default
164fi
165
159# 166#
160# Generate lpp control files. 167# Generate lpp control files.
161# working dir is $FAKE_ROOT but files are generated in dir above 168# working dir is $FAKE_ROOT but files are generated in dir above
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index 42dbcfeeb..37e1b9411 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -17,11 +17,11 @@
17#old cvs stuff. please update before use. may be deprecated. 17#old cvs stuff. please update before use. may be deprecated.
18%define use_stable 1 18%define use_stable 1
19%if %{use_stable} 19%if %{use_stable}
20 %define version 5.2p1 20 %define version 5.3p1
21 %define cvs %{nil} 21 %define cvs %{nil}
22 %define release 1 22 %define release 1
23%else 23%else
24 %define version 5.2p1 24 %define version 5.3p1
25 %define cvs cvs20050315 25 %define cvs cvs20050315
26 %define release 0r1 26 %define release 0r1
27%endif 27%endif
@@ -358,4 +358,4 @@ fi
358* Mon Jan 01 1998 ... 358* Mon Jan 01 1998 ...
359Template Version: 1.31 359Template Version: 1.31
360 360
361$Id: openssh.spec,v 1.66 2009/02/21 07:03:05 djm Exp $ 361$Id: openssh.spec,v 1.66.4.1 2009/09/26 04:09:35 djm Exp $
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index 57e728fbc..b6f9511e2 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -1,8 +1,20 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# ssh-host-config, Copyright 2000, 2001, 2002, 2003 Red Hat Inc. 3# ssh-host-config, Copyright 2000-2009 Red Hat Inc.
4# 4#
5# This file is part of the Cygwin port of OpenSSH. 5# This file is part of the Cygwin port of OpenSSH.
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above
9# copyright notice and this permission notice appear in all copies.
10#
11# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
12# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
13# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
14# IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
17# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 18
7# ====================================================================== 19# ======================================================================
8# Initialization 20# Initialization
@@ -26,7 +38,9 @@ port_number=22
26privsep_configured=no 38privsep_configured=no
27privsep_used=yes 39privsep_used=yes
28cygwin_value="" 40cygwin_value=""
41user_account=
29password_value= 42password_value=
43opt_force=no
30 44
31# ====================================================================== 45# ======================================================================
32# Routine: create_host_keys 46# Routine: create_host_keys
@@ -287,6 +301,11 @@ install_service() {
287 csih_inform "sshd requires. You need to have or to create a privileged" 301 csih_inform "sshd requires. You need to have or to create a privileged"
288 csih_inform "account. This script will help you do so." 302 csih_inform "account. This script will help you do so."
289 echo 303 echo
304
305 [ "${opt_force}" = "yes" ] && opt_f=-f
306 [ -n "${user_account}" ] && opt_u="-u ""${user_account}"""
307 csih_select_privileged_username ${opt_f} ${opt_u} sshd
308
290 if ! csih_create_privileged_user "${password_value}" 309 if ! csih_create_privileged_user "${password_value}"
291 then 310 then
292 csih_error_recoverable "There was a serious problem creating a privileged user." 311 csih_error_recoverable "There was a serious problem creating a privileged user."
@@ -316,12 +335,12 @@ install_service() {
316 335
317 if [ -n "${csih_cygenv}" ] 336 if [ -n "${csih_cygenv}" ]
318 then 337 then
319 cygwin_env="-e CYGWIN=\"${csih_cygenv}\"" 338 cygwin_env=( -e "CYGWIN=${csih_cygenv}" )
320 fi 339 fi
321 if [ -z "${password}" ] 340 if [ -z "${password}" ]
322 then 341 then
323 if eval cygrunsrv -I sshd -d \"CYGWIN sshd\" -p /usr/sbin/sshd \ 342 if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd \
324 -a "-D" -y tcpip ${cygwin_env} 343 -a "-D" -y tcpip "${cygwin_env[@]}"
325 then 344 then
326 echo 345 echo
327 csih_inform "The sshd service has been installed under the LocalSystem" 346 csih_inform "The sshd service has been installed under the LocalSystem"
@@ -330,8 +349,8 @@ install_service() {
330 csih_inform "will start automatically after the next reboot." 349 csih_inform "will start automatically after the next reboot."
331 fi 350 fi
332 else 351 else
333 if eval cygrunsrv -I sshd -d \"CYGWIN sshd\" -p /usr/sbin/sshd \ 352 if cygrunsrv -I sshd -d "CYGWIN sshd" -p /usr/sbin/sshd \
334 -a "-D" -y tcpip ${cygwin_env} \ 353 -a "-D" -y tcpip "${cygwin_env[@]}" \
335 -u "${run_service_as}" -w "${password}" 354 -u "${run_service_as}" -w "${password}"
336 then 355 then
337 echo 356 echo
@@ -378,11 +397,13 @@ if [ "$PROGDIR" = "/etc/postinstall" ]
378then 397then
379 csih_auto_answer="no" 398 csih_auto_answer="no"
380 csih_disable_color 399 csih_disable_color
400 opt_force=yes
381fi 401fi
382if [ -n "${SSH_HOST_CONFIG_AUTO_ANSWER_NO}" ] 402if [ -n "${SSH_HOST_CONFIG_AUTO_ANSWER_NO}" ]
383then 403then
384 csih_auto_answer="no" 404 csih_auto_answer="no"
385 csih_disable_color 405 csih_disable_color
406 opt_force=yes
386fi 407fi
387 408
388# ====================================================================== 409# ======================================================================
@@ -407,10 +428,12 @@ do
407 428
408 -y | --yes ) 429 -y | --yes )
409 csih_auto_answer=yes 430 csih_auto_answer=yes
431 opt_force=yes
410 ;; 432 ;;
411 433
412 -n | --no ) 434 -n | --no )
413 csih_auto_answer=no 435 csih_auto_answer=no
436 opt_force=yes
414 ;; 437 ;;
415 438
416 -c | --cygwin ) 439 -c | --cygwin )
@@ -423,6 +446,11 @@ do
423 shift 446 shift
424 ;; 447 ;;
425 448
449 -u | --user )
450 user_account="$1"
451 shift
452 ;;
453
426 -w | --pwd ) 454 -w | --pwd )
427 password_value="$1" 455 password_value="$1"
428 shift 456 shift
@@ -443,6 +471,7 @@ do
443 echo " --no -n Answer all questions with \"no\" automatically." 471 echo " --no -n Answer all questions with \"no\" automatically."
444 echo " --cygwin -c <options> Use \"options\" as value for CYGWIN environment var." 472 echo " --cygwin -c <options> Use \"options\" as value for CYGWIN environment var."
445 echo " --port -p <n> sshd listens on port n." 473 echo " --port -p <n> sshd listens on port n."
474 echo " --user -u <account> privileged user for service."
446 echo " --pwd -w <passwd> Use \"pwd\" as password for privileged user." 475 echo " --pwd -w <passwd> Use \"pwd\" as password for privileged user."
447 echo " --privileged On Windows NT/2k/XP, require privileged user" 476 echo " --privileged On Windows NT/2k/XP, require privileged user"
448 echo " instead of LocalSystem for sshd service." 477 echo " instead of LocalSystem for sshd service."
@@ -489,7 +518,7 @@ then
489fi 518fi
490 519
491# Create /var/empty file used as chroot jail for privilege separation 520# Create /var/empty file used as chroot jail for privilege separation
492csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create log directory." 521csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot create ${LOCALSTATEDIR}/empty directory."
493chmod 755 "${LOCALSTATEDIR}/empty" 522chmod 755 "${LOCALSTATEDIR}/empty"
494setfacl -m u:system:rwx "${LOCALSTATEDIR}/empty" 523setfacl -m u:system:rwx "${LOCALSTATEDIR}/empty"
495 524
diff --git a/contrib/cygwin/ssh-user-config b/contrib/cygwin/ssh-user-config
index f210bd556..f1a001a93 100644
--- a/contrib/cygwin/ssh-user-config
+++ b/contrib/cygwin/ssh-user-config
@@ -1,8 +1,20 @@
1#!/bin/bash 1#!/bin/bash
2# 2#
3# ssh-user-config, Copyright 2000, 2001, 2002, 2003, Red Hat Inc. 3# ssh-user-config, Copyright 2000-2008 Red Hat Inc.
4# 4#
5# This file is part of the Cygwin port of OpenSSH. 5# This file is part of the Cygwin port of OpenSSH.
6#
7# Permission to use, copy, modify, and distribute this software for any
8# purpose with or without fee is hereby granted, provided that the above
9# copyright notice and this permission notice appear in all copies.
10#
11# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
12# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
13# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
14# IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
15# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
16# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
17# THE USE OR OTHER DEALINGS IN THE SOFTWARE.
6 18
7# ====================================================================== 19# ======================================================================
8# Initialization 20# Initialization
@@ -118,14 +130,14 @@ check_user_homedir() {
118 pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd) 130 pwdhome=$(awk -F: '{ if ( $3 == '${uid}' ) print $6; }' < ${SYSCONFDIR}/passwd)
119 if [ "X${pwdhome}" = "X" ] 131 if [ "X${pwdhome}" = "X" ]
120 then 132 then
121 csih_error_multiline \ 133 csih_error_multi \
122 "There is no home directory set for you in ${SYSCONFDIR}/passwd." \ 134 "There is no home directory set for you in ${SYSCONFDIR}/passwd." \
123 'Setting $HOME is not sufficient!' 135 'Setting $HOME is not sufficient!'
124 fi 136 fi
125 137
126 if [ ! -d "${pwdhome}" ] 138 if [ ! -d "${pwdhome}" ]
127 then 139 then
128 csih_error_multiline \ 140 csih_error_multi \
129 "${pwdhome} is set in ${SYSCONFDIR}/passwd as your home directory" \ 141 "${pwdhome} is set in ${SYSCONFDIR}/passwd as your home directory" \
130 'but it is not a valid directory. Cannot create user identity files.' 142 'but it is not a valid directory. Cannot create user identity files.'
131 fi 143 fi
@@ -291,7 +303,7 @@ done
291# Check passwd file 303# Check passwd file
292if [ ! -f ${SYSCONFDIR}/passwd ] 304if [ ! -f ${SYSCONFDIR}/passwd ]
293then 305then
294 csih_error_multiline \ 306 csih_error_multi \
295 "${SYSCONFDIR}/passwd is nonexistant. Please generate an ${SYSCONFDIR}/passwd file" \ 307 "${SYSCONFDIR}/passwd is nonexistant. Please generate an ${SYSCONFDIR}/passwd file" \
296 'first using mkpasswd. Check if it contains an entry for you and' \ 308 'first using mkpasswd. Check if it contains an entry for you and' \
297 'please care for the home directory in your entry as well.' 309 'please care for the home directory in your entry as well.'
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 10bdc1989..680906cf3 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,4 +1,4 @@
1%define ver 5.2p1 1%define ver 5.3p1
2%define rel 1 2%define rel 1
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 62f43e137..12661eeae 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -13,7 +13,7 @@
13 13
14Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation 14Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation
15Name: openssh 15Name: openssh
16Version: 5.2p1 16Version: 5.3p1
17URL: http://www.openssh.com/ 17URL: http://www.openssh.com/
18Release: 1 18Release: 1
19Source0: openssh-%{version}.tar.gz 19Source0: openssh-%{version}.tar.gz
diff --git a/debian/changelog b/debian/changelog
index 3b22072d0..8ff7c54ac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1openssh (1:5.3p1-1) UNRELEASED; urgency=low
2
3 * New upstream release.
4 * Update to GSSAPI patch from
5 http://www.sxw.org.uk/computing/patches/openssh-5.3p1-gsskex-all-20100124.patch.
6
7 -- Colin Watson <cjwatson@debian.org> Sun, 24 Jan 2010 22:32:25 +0000
8
1openssh (1:5.2p1-2) unstable; urgency=low 9openssh (1:5.2p1-2) unstable; urgency=low
2 10
3 [ Colin Watson ] 11 [ Colin Watson ]
diff --git a/defines.h b/defines.h
index 536ec4978..2ddfd96d0 100644
--- a/defines.h
+++ b/defines.h
@@ -25,7 +25,7 @@
25#ifndef _DEFINES_H 25#ifndef _DEFINES_H
26#define _DEFINES_H 26#define _DEFINES_H
27 27
28/* $Id: defines.h,v 1.153 2009/02/01 11:19:54 dtucker Exp $ */ 28/* $Id: defines.h,v 1.156 2009/08/28 01:21:07 dtucker Exp $ */
29 29
30 30
31/* Constants */ 31/* Constants */
@@ -300,6 +300,9 @@ struct sockaddr_un {
300#ifndef HAVE_IN_ADDR_T 300#ifndef HAVE_IN_ADDR_T
301typedef u_int32_t in_addr_t; 301typedef u_int32_t in_addr_t;
302#endif 302#endif
303#ifndef HAVE_IN_PORT_T
304typedef u_int16_t in_port_t;
305#endif
303 306
304#if defined(BROKEN_SYS_TERMIO_H) && !defined(_STRUCT_WINSIZE) 307#if defined(BROKEN_SYS_TERMIO_H) && !defined(_STRUCT_WINSIZE)
305#define _STRUCT_WINSIZE 308#define _STRUCT_WINSIZE
@@ -591,6 +594,10 @@ struct winsize {
591#define FSID_TO_ULONG(f) \ 594#define FSID_TO_ULONG(f) \
592 ((((u_int64_t)(f).val[0] & 0xffffffffUL) << 32) | \ 595 ((((u_int64_t)(f).val[0] & 0xffffffffUL) << 32) | \
593 ((f).val[1] & 0xffffffffUL)) 596 ((f).val[1] & 0xffffffffUL))
597#elif defined(FSID_HAS___VAL)
598#define FSID_TO_ULONG(f) \
599 ((((u_int64_t)(f).__val[0] & 0xffffffffUL) << 32) | \
600 ((f).__val[1] & 0xffffffffUL))
594#else 601#else
595# define FSID_TO_ULONG(f) ((f)) 602# define FSID_TO_ULONG(f) ((f))
596#endif 603#endif
@@ -742,4 +749,8 @@ struct winsize {
742#define INET6_ADDRSTRLEN 46 749#define INET6_ADDRSTRLEN 46
743#endif 750#endif
744 751
752#ifndef SSH_IOBUFSZ
753# define SSH_IOBUFSZ 8192
754#endif
755
745#endif /* _DEFINES_H */ 756#endif /* _DEFINES_H */
diff --git a/gss-genr.c b/gss-genr.c
index c51fa727d..f9b39cfd5 100644
--- a/gss-genr.c
+++ b/gss-genr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: gss-genr.c,v 1.19 2007/06/12 11:56:15 dtucker Exp $ */ 1/* $OpenBSD: gss-genr.c,v 1.20 2009/06/22 05:39:28 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2001-2009 Simon Wilkinson. All rights reserved. 4 * Copyright (c) 2001-2009 Simon Wilkinson. All rights reserved.
diff --git a/includes.h b/includes.h
index f1b47f666..6bb987807 100644
--- a/includes.h
+++ b/includes.h
@@ -31,7 +31,8 @@
31#endif 31#endif
32#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \ 32#if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
33 defined(GLOB_HAS_GL_MATCHC) && \ 33 defined(GLOB_HAS_GL_MATCHC) && \
34 defined(HAVE_DECL_GLOB_NOMATCH) && HAVE_DECL_GLOB_NOMATCH != 0 34 defined(HAVE_DECL_GLOB_NOMATCH) && HAVE_DECL_GLOB_NOMATCH != 0 && \
35 !defined(BROKEN_GLOB)
35# include <glob.h> 36# include <glob.h>
36#endif 37#endif
37#ifdef HAVE_ENDIAN_H 38#ifdef HAVE_ENDIAN_H
diff --git a/jpake.c b/jpake.c
index 565f2e255..130661069 100644
--- a/jpake.c
+++ b/jpake.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: jpake.c,v 1.1 2008/11/04 08:22:12 djm Exp $ */ 1/* $OpenBSD: jpake.c,v 1.2 2009/03/05 07:18:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Damien Miller. All rights reserved. 3 * Copyright (c) 2008 Damien Miller. All rights reserved.
4 * 4 *
@@ -47,6 +47,7 @@
47#include "log.h" 47#include "log.h"
48 48
49#include "jpake.h" 49#include "jpake.h"
50#include "schnorr.h"
50 51
51#ifdef JPAKE 52#ifdef JPAKE
52 53
@@ -60,165 +61,10 @@
60 "98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB" \ 61 "98DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB" \
61 "9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF" 62 "9ED529077096966D670C354E4ABC9804F1746C08CA237327FFFFFFFFFFFFFFFF"
62 63
63struct jpake_group * 64struct modp_group *
64jpake_default_group(void) 65jpake_default_group(void)
65{ 66{
66 struct jpake_group *ret; 67 return modp_group_from_g_and_safe_p(JPAKE_GROUP_G, JPAKE_GROUP_P);
67
68 ret = xmalloc(sizeof(*ret));
69 ret->p = ret->q = ret->g = NULL;
70 if (BN_hex2bn(&ret->p, JPAKE_GROUP_P) == 0 ||
71 BN_hex2bn(&ret->g, JPAKE_GROUP_G) == 0)
72 fatal("%s: BN_hex2bn", __func__);
73 /* Subgroup order is p/2 (p is a safe prime) */
74 if ((ret->q = BN_new()) == NULL)
75 fatal("%s: BN_new", __func__);
76 if (BN_rshift1(ret->q, ret->p) != 1)
77 fatal("%s: BN_rshift1", __func__);
78
79 return ret;
80}
81
82/*
83 * Generate uniformly distributed random number in range (1, high).
84 * Return number on success, NULL on failure.
85 */
86BIGNUM *
87bn_rand_range_gt_one(const BIGNUM *high)
88{
89 BIGNUM *r, *tmp;
90 int success = -1;
91
92 if ((tmp = BN_new()) == NULL) {
93 error("%s: BN_new", __func__);
94 return NULL;
95 }
96 if ((r = BN_new()) == NULL) {
97 error("%s: BN_new failed", __func__);
98 goto out;
99 }
100 if (BN_set_word(tmp, 2) != 1) {
101 error("%s: BN_set_word(tmp, 2)", __func__);
102 goto out;
103 }
104 if (BN_sub(tmp, high, tmp) == -1) {
105 error("%s: BN_sub failed (tmp = high - 2)", __func__);
106 goto out;
107 }
108 if (BN_rand_range(r, tmp) == -1) {
109 error("%s: BN_rand_range failed", __func__);
110 goto out;
111 }
112 if (BN_set_word(tmp, 2) != 1) {
113 error("%s: BN_set_word(tmp, 2)", __func__);
114 goto out;
115 }
116 if (BN_add(r, r, tmp) == -1) {
117 error("%s: BN_add failed (r = r + 2)", __func__);
118 goto out;
119 }
120 success = 0;
121 out:
122 BN_clear_free(tmp);
123 if (success == 0)
124 return r;
125 BN_clear_free(r);
126 return NULL;
127}
128
129/*
130 * Hash contents of buffer 'b' with hash 'md'. Returns 0 on success,
131 * with digest via 'digestp' (caller to free) and length via 'lenp'.
132 * Returns -1 on failure.
133 */
134int
135hash_buffer(const u_char *buf, u_int len, const EVP_MD *md,
136 u_char **digestp, u_int *lenp)
137{
138 u_char digest[EVP_MAX_MD_SIZE];
139 u_int digest_len;
140 EVP_MD_CTX evp_md_ctx;
141 int success = -1;
142
143 EVP_MD_CTX_init(&evp_md_ctx);
144
145 if (EVP_DigestInit_ex(&evp_md_ctx, md, NULL) != 1) {
146 error("%s: EVP_DigestInit_ex", __func__);
147 goto out;
148 }
149 if (EVP_DigestUpdate(&evp_md_ctx, buf, len) != 1) {
150 error("%s: EVP_DigestUpdate", __func__);
151 goto out;
152 }
153 if (EVP_DigestFinal_ex(&evp_md_ctx, digest, &digest_len) != 1) {
154 error("%s: EVP_DigestFinal_ex", __func__);
155 goto out;
156 }
157 *digestp = xmalloc(digest_len);
158 *lenp = digest_len;
159 memcpy(*digestp, digest, *lenp);
160 success = 0;
161 out:
162 EVP_MD_CTX_cleanup(&evp_md_ctx);
163 bzero(digest, sizeof(digest));
164 digest_len = 0;
165 return success;
166}
167
168/* print formatted string followed by bignum */
169void
170jpake_debug3_bn(const BIGNUM *n, const char *fmt, ...)
171{
172 char *out, *h;
173 va_list args;
174
175 out = NULL;
176 va_start(args, fmt);
177 vasprintf(&out, fmt, args);
178 va_end(args);
179 if (out == NULL)
180 fatal("%s: vasprintf failed", __func__);
181
182 if (n == NULL)
183 debug3("%s(null)", out);
184 else {
185 h = BN_bn2hex(n);
186 debug3("%s0x%s", out, h);
187 free(h);
188 }
189 free(out);
190}
191
192/* print formatted string followed by buffer contents in hex */
193void
194jpake_debug3_buf(const u_char *buf, u_int len, const char *fmt, ...)
195{
196 char *out, h[65];
197 u_int i, j;
198 va_list args;
199
200 out = NULL;
201 va_start(args, fmt);
202 vasprintf(&out, fmt, args);
203 va_end(args);
204 if (out == NULL)
205 fatal("%s: vasprintf failed", __func__);
206
207 debug3("%s length %u%s", out, len, buf == NULL ? " (null)" : "");
208 free(out);
209 if (buf == NULL)
210 return;
211
212 *h = '\0';
213 for (i = j = 0; i < len; i++) {
214 snprintf(h + j, sizeof(h) - j, "%02x", buf[i]);
215 j += 2;
216 if (j >= sizeof(h) - 1 || i == len - 1) {
217 debug3(" %s", h);
218 *h = '\0';
219 j = 0;
220 }
221 }
222} 68}
223 69
224struct jpake_ctx * 70struct jpake_ctx *
@@ -243,7 +89,6 @@ jpake_new(void)
243 return ret; 89 return ret;
244} 90}
245 91
246
247void 92void
248jpake_free(struct jpake_ctx *pctx) 93jpake_free(struct jpake_ctx *pctx)
249{ 94{
@@ -344,7 +189,7 @@ jpake_dump(struct jpake_ctx *pctx, const char *fmt, ...)
344 189
345/* Shared parts of step 1 exchange calculation */ 190/* Shared parts of step 1 exchange calculation */
346void 191void
347jpake_step1(struct jpake_group *grp, 192jpake_step1(struct modp_group *grp,
348 u_char **id, u_int *id_len, 193 u_char **id, u_int *id_len,
349 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2, 194 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2,
350 u_char **priv1_proof, u_int *priv1_proof_len, 195 u_char **priv1_proof, u_int *priv1_proof_len,
@@ -383,11 +228,11 @@ jpake_step1(struct jpake_group *grp,
383 fatal("%s: BN_mod_exp", __func__); 228 fatal("%s: BN_mod_exp", __func__);
384 229
385 /* Generate proofs for holding x1/x3 and x2/x4 */ 230 /* Generate proofs for holding x1/x3 and x2/x4 */
386 if (schnorr_sign(grp->p, grp->q, grp->g, 231 if (schnorr_sign_buf(grp->p, grp->q, grp->g,
387 *priv1, *g_priv1, *id, *id_len, 232 *priv1, *g_priv1, *id, *id_len,
388 priv1_proof, priv1_proof_len) != 0) 233 priv1_proof, priv1_proof_len) != 0)
389 fatal("%s: schnorr_sign", __func__); 234 fatal("%s: schnorr_sign", __func__);
390 if (schnorr_sign(grp->p, grp->q, grp->g, 235 if (schnorr_sign_buf(grp->p, grp->q, grp->g,
391 *priv2, *g_priv2, *id, *id_len, 236 *priv2, *g_priv2, *id, *id_len,
392 priv2_proof, priv2_proof_len) != 0) 237 priv2_proof, priv2_proof_len) != 0)
393 fatal("%s: schnorr_sign", __func__); 238 fatal("%s: schnorr_sign", __func__);
@@ -397,7 +242,7 @@ jpake_step1(struct jpake_group *grp,
397 242
398/* Shared parts of step 2 exchange calculation */ 243/* Shared parts of step 2 exchange calculation */
399void 244void
400jpake_step2(struct jpake_group *grp, BIGNUM *s, 245jpake_step2(struct modp_group *grp, BIGNUM *s,
401 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, 246 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2,
402 const u_char *theirid, u_int theirid_len, 247 const u_char *theirid, u_int theirid_len,
403 const u_char *myid, u_int myid_len, 248 const u_char *myid, u_int myid_len,
@@ -415,10 +260,10 @@ jpake_step2(struct jpake_group *grp, BIGNUM *s,
415 if (BN_cmp(theirpub2, BN_value_one()) <= 0) 260 if (BN_cmp(theirpub2, BN_value_one()) <= 0)
416 fatal("%s: theirpub2 <= 1", __func__); 261 fatal("%s: theirpub2 <= 1", __func__);
417 262
418 if (schnorr_verify(grp->p, grp->q, grp->g, theirpub1, 263 if (schnorr_verify_buf(grp->p, grp->q, grp->g, theirpub1,
419 theirid, theirid_len, theirpub1_proof, theirpub1_proof_len) != 1) 264 theirid, theirid_len, theirpub1_proof, theirpub1_proof_len) != 1)
420 fatal("%s: schnorr_verify theirpub1 failed", __func__); 265 fatal("%s: schnorr_verify theirpub1 failed", __func__);
421 if (schnorr_verify(grp->p, grp->q, grp->g, theirpub2, 266 if (schnorr_verify_buf(grp->p, grp->q, grp->g, theirpub2,
422 theirid, theirid_len, theirpub2_proof, theirpub2_proof_len) != 1) 267 theirid, theirid_len, theirpub2_proof, theirpub2_proof_len) != 1)
423 fatal("%s: schnorr_verify theirpub2 failed", __func__); 268 fatal("%s: schnorr_verify theirpub2 failed", __func__);
424 269
@@ -459,7 +304,7 @@ jpake_step2(struct jpake_group *grp, BIGNUM *s,
459 JPAKE_DEBUG_BN((exponent, "%s: exponent = ", __func__)); 304 JPAKE_DEBUG_BN((exponent, "%s: exponent = ", __func__));
460 305
461 /* Note the generator here is 'tmp', not g */ 306 /* Note the generator here is 'tmp', not g */
462 if (schnorr_sign(grp->p, grp->q, tmp, exponent, *newpub, 307 if (schnorr_sign_buf(grp->p, grp->q, tmp, exponent, *newpub,
463 myid, myid_len, 308 myid, myid_len,
464 newpub_exponent_proof, newpub_exponent_proof_len) != 0) 309 newpub_exponent_proof, newpub_exponent_proof_len) != 0)
465 fatal("%s: schnorr_sign newpub", __func__); 310 fatal("%s: schnorr_sign newpub", __func__);
@@ -496,7 +341,7 @@ jpake_confirm_hash(const BIGNUM *k,
496 341
497/* Shared parts of key derivation and confirmation calculation */ 342/* Shared parts of key derivation and confirmation calculation */
498void 343void
499jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, 344jpake_key_confirm(struct modp_group *grp, BIGNUM *s, BIGNUM *step2_val,
500 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, 345 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2,
501 BIGNUM *theirpub1, BIGNUM *theirpub2, 346 BIGNUM *theirpub1, BIGNUM *theirpub2,
502 const u_char *my_id, u_int my_id_len, 347 const u_char *my_id, u_int my_id_len,
@@ -531,7 +376,7 @@ jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val,
531 376
532 JPAKE_DEBUG_BN((tmp, "%s: tmp = ", __func__)); 377 JPAKE_DEBUG_BN((tmp, "%s: tmp = ", __func__));
533 378
534 if (schnorr_verify(grp->p, grp->q, tmp, step2_val, 379 if (schnorr_verify_buf(grp->p, grp->q, tmp, step2_val,
535 their_id, their_id_len, 380 their_id, their_id_len,
536 theirpriv2_s_proof, theirpriv2_s_proof_len) != 1) 381 theirpriv2_s_proof, theirpriv2_s_proof_len) != 1)
537 fatal("%s: schnorr_verify theirpriv2_s_proof failed", __func__); 382 fatal("%s: schnorr_verify theirpriv2_s_proof failed", __func__);
diff --git a/jpake.h b/jpake.h
index a3d800cd3..a3f2cf025 100644
--- a/jpake.h
+++ b/jpake.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: jpake.h,v 1.1 2008/11/04 08:22:13 djm Exp $ */ 1/* $OpenBSD: jpake.h,v 1.2 2009/03/05 07:18:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Damien Miller. All rights reserved. 3 * Copyright (c) 2008 Damien Miller. All rights reserved.
4 * 4 *
@@ -28,20 +28,16 @@
28# define JPAKE_DEBUG_BUF(a) 28# define JPAKE_DEBUG_BUF(a)
29# define JPAKE_DEBUG_CTX(a) 29# define JPAKE_DEBUG_CTX(a)
30#else 30#else
31# define JPAKE_DEBUG_BN(a) jpake_debug3_bn a 31# define JPAKE_DEBUG_BN(a) debug3_bn a
32# define JPAKE_DEBUG_BUF(a) jpake_debug3_buf a 32# define JPAKE_DEBUG_BUF(a) debug3_buf a
33# define JPAKE_DEBUG_CTX(a) jpake_dump a 33# define JPAKE_DEBUG_CTX(a) jpake_dump a
34#endif /* SCHNORR_DEBUG */ 34#endif /* JPAKE_DEBUG */
35
36struct jpake_group {
37 BIGNUM *p, *q, *g;
38};
39 35
40#define KZP_ID_LEN 16 /* Length of client and server IDs */ 36#define KZP_ID_LEN 16 /* Length of client and server IDs */
41 37
42struct jpake_ctx { 38struct jpake_ctx {
43 /* Parameters */ 39 /* Parameters */
44 struct jpake_group *grp; 40 struct modp_group *grp;
45 41
46 /* Private values shared by client and server */ 42 /* Private values shared by client and server */
47 BIGNUM *s; /* Secret (salted, crypted password) */ 43 BIGNUM *s; /* Secret (salted, crypted password) */
@@ -83,26 +79,18 @@ struct jpake_ctx {
83}; 79};
84 80
85/* jpake.c */ 81/* jpake.c */
86struct jpake_group *jpake_default_group(void); 82struct modp_group *jpake_default_group(void);
87BIGNUM *bn_rand_range_gt_one(const BIGNUM *high);
88int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *);
89void jpake_debug3_bn(const BIGNUM *, const char *, ...)
90 __attribute__((__nonnull__ (2)))
91 __attribute__((format(printf, 2, 3)));
92void jpake_debug3_buf(const u_char *, u_int, const char *, ...)
93 __attribute__((__nonnull__ (3)))
94 __attribute__((format(printf, 3, 4)));
95void jpake_dump(struct jpake_ctx *, const char *, ...) 83void jpake_dump(struct jpake_ctx *, const char *, ...)
96 __attribute__((__nonnull__ (2))) 84 __attribute__((__nonnull__ (2)))
97 __attribute__((format(printf, 2, 3))); 85 __attribute__((format(printf, 2, 3)));
98struct jpake_ctx *jpake_new(void); 86struct jpake_ctx *jpake_new(void);
99void jpake_free(struct jpake_ctx *); 87void jpake_free(struct jpake_ctx *);
100 88
101void jpake_step1(struct jpake_group *, u_char **, u_int *, 89void jpake_step1(struct modp_group *, u_char **, u_int *,
102 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **, 90 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **,
103 u_char **, u_int *, u_char **, u_int *); 91 u_char **, u_int *, u_char **, u_int *);
104 92
105void jpake_step2(struct jpake_group *, BIGNUM *, 93void jpake_step2(struct modp_group *, BIGNUM *,
106 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 94 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
107 const u_char *, u_int, const u_char *, u_int, 95 const u_char *, u_int, const u_char *, u_int,
108 const u_char *, u_int, const u_char *, u_int, 96 const u_char *, u_int, const u_char *, u_int,
@@ -113,7 +101,7 @@ void jpake_confirm_hash(const BIGNUM *,
113 const u_char *, u_int, 101 const u_char *, u_int,
114 u_char **, u_int *); 102 u_char **, u_int *);
115 103
116void jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *, 104void jpake_key_confirm(struct modp_group *, BIGNUM *, BIGNUM *,
117 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 105 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
118 const u_char *, u_int, const u_char *, u_int, 106 const u_char *, u_int, const u_char *, u_int,
119 const u_char *, u_int, const u_char *, u_int, 107 const u_char *, u_int, const u_char *, u_int,
@@ -122,13 +110,5 @@ void jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *,
122int jpake_check_confirm(const BIGNUM *, const u_char *, u_int, 110int jpake_check_confirm(const BIGNUM *, const u_char *, u_int,
123 const u_char *, u_int, const u_char *, u_int); 111 const u_char *, u_int, const u_char *, u_int);
124 112
125/* schnorr.c */
126int schnorr_sign(const BIGNUM *, const BIGNUM *, const BIGNUM *,
127 const BIGNUM *, const BIGNUM *, const u_char *, u_int ,
128 u_char **, u_int *);
129int schnorr_verify(const BIGNUM *, const BIGNUM *, const BIGNUM *,
130 const BIGNUM *, const u_char *, u_int,
131 const u_char *, u_int);
132
133#endif /* JPAKE_H */ 113#endif /* JPAKE_H */
134 114
diff --git a/kex.c b/kex.c
index 9696850aa..4c19be9a0 100644
--- a/kex.c
+++ b/kex.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.c,v 1.80 2008/09/06 12:24:13 djm Exp $ */ 1/* $OpenBSD: kex.c,v 1.81 2009/05/27 06:34:36 andreas Exp $ */
2/* 2/*
3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -53,8 +53,6 @@
53#include "ssh-gss.h" 53#include "ssh-gss.h"
54#endif 54#endif
55 55
56#define KEX_COOKIE_LEN 16
57
58#if OPENSSL_VERSION_NUMBER >= 0x00907000L 56#if OPENSSL_VERSION_NUMBER >= 0x00907000L
59# if defined(HAVE_EVP_SHA256) 57# if defined(HAVE_EVP_SHA256)
60# define evp_ssh_sha256 EVP_sha256 58# define evp_ssh_sha256 EVP_sha256
diff --git a/kex.h b/kex.h
index e8af7a4fd..c3856f0bc 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.46 2007/06/07 19:37:34 pvalchev Exp $ */ 1/* $OpenBSD: kex.h,v 1.47 2009/05/27 06:34:36 andreas Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -30,6 +30,8 @@
30#include <openssl/evp.h> 30#include <openssl/evp.h>
31#include <openssl/hmac.h> 31#include <openssl/hmac.h>
32 32
33#define KEX_COOKIE_LEN 16
34
33#define KEX_DH1 "diffie-hellman-group1-sha1" 35#define KEX_DH1 "diffie-hellman-group1-sha1"
34#define KEX_DH14 "diffie-hellman-group14-sha1" 36#define KEX_DH14 "diffie-hellman-group14-sha1"
35#define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1" 37#define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1"
diff --git a/kexdhs.c b/kexdhs.c
index 861708818..a6719f672 100644
--- a/kexdhs.c
+++ b/kexdhs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexdhs.c,v 1.9 2006/11/06 21:25:28 markus Exp $ */ 1/* $OpenBSD: kexdhs.c,v 1.10 2009/06/21 07:37:15 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2001 Markus Friedl. All rights reserved. 3 * Copyright (c) 2001 Markus Friedl. All rights reserved.
4 * 4 *
@@ -137,7 +137,9 @@ kexdh_server(Kex *kex)
137 } 137 }
138 138
139 /* sign H */ 139 /* sign H */
140 PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, hashlen)); 140 if (PRIVSEP(key_sign(server_host_key, &signature, &slen, hash,
141 hashlen)) < 0)
142 fatal("kexdh_server: key_sign failed");
141 143
142 /* destroy_sensitive_data(); */ 144 /* destroy_sensitive_data(); */
143 145
diff --git a/kexgexs.c b/kexgexs.c
index 76a0f8ca7..8515568b3 100644
--- a/kexgexs.c
+++ b/kexgexs.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: kexgexs.c,v 1.11 2009/01/01 21:17:36 djm Exp $ */ 1/* $OpenBSD: kexgexs.c,v 1.12 2009/06/21 07:37:15 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Niels Provos. All rights reserved. 3 * Copyright (c) 2000 Niels Provos. All rights reserved.
4 * Copyright (c) 2001 Markus Friedl. All rights reserved. 4 * Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -179,7 +179,9 @@ kexgex_server(Kex *kex)
179 } 179 }
180 180
181 /* sign H */ 181 /* sign H */
182 PRIVSEP(key_sign(server_host_key, &signature, &slen, hash, hashlen)); 182 if (PRIVSEP(key_sign(server_host_key, &signature, &slen, hash,
183 hashlen)) < 0)
184 fatal("kexgex_server: key_sign failed");
183 185
184 /* destroy_sensitive_data(); */ 186 /* destroy_sensitive_data(); */
185 187
diff --git a/moduli.0 b/moduli.0
index d4c0d4e67..63e6f9eb1 100644
--- a/moduli.0
+++ b/moduli.0
@@ -69,4 +69,4 @@ SEE ALSO
69 Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer 69 Diffie-Hellman Group Exchange for the Secure Shell (SSH) Transport Layer
70 Protocol, RFC 4419, 2006. 70 Protocol, RFC 4419, 2006.
71 71
72OpenBSD 4.5 June 26, 2008 2 72OpenBSD 4.6 June 26, 2008 2
diff --git a/monitor.c b/monitor.c
index 74f7e05b0..cd2ca4057 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor.c,v 1.101 2009/02/12 03:26:22 djm Exp $ */ 1/* $OpenBSD: monitor.c,v 1.104 2009/06/12 20:43:22 andreas Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -88,6 +88,7 @@
88#include "compat.h" 88#include "compat.h"
89#include "ssh2.h" 89#include "ssh2.h"
90#include "jpake.h" 90#include "jpake.h"
91#include "roaming.h"
91 92
92#ifdef GSSAPI 93#ifdef GSSAPI
93static Gssctxt *gsscontext = NULL; 94static Gssctxt *gsscontext = NULL;
@@ -100,7 +101,6 @@ extern Newkeys *current_keys[];
100extern z_stream incoming_stream; 101extern z_stream incoming_stream;
101extern z_stream outgoing_stream; 102extern z_stream outgoing_stream;
102extern u_char session_id[]; 103extern u_char session_id[];
103extern Buffer input, output;
104extern Buffer auth_debug; 104extern Buffer auth_debug;
105extern int auth_debug_init; 105extern int auth_debug_init;
106extern Buffer loginmsg; 106extern Buffer loginmsg;
@@ -126,6 +126,8 @@ struct {
126 u_int ilen; 126 u_int ilen;
127 u_char *output; 127 u_char *output;
128 u_int olen; 128 u_int olen;
129 u_int64_t sent_bytes;
130 u_int64_t recv_bytes;
129} child_state; 131} child_state;
130 132
131/* Functions on the monitor that answer unprivileged requests */ 133/* Functions on the monitor that answer unprivileged requests */
@@ -1713,15 +1715,20 @@ monitor_apply_keystate(struct monitor *pmonitor)
1713 1715
1714 /* Network I/O buffers */ 1716 /* Network I/O buffers */
1715 /* XXX inefficient for large buffers, need: buffer_init_from_string */ 1717 /* XXX inefficient for large buffers, need: buffer_init_from_string */
1716 buffer_clear(&input); 1718 buffer_clear(packet_get_input());
1717 buffer_append(&input, child_state.input, child_state.ilen); 1719 buffer_append(packet_get_input(), child_state.input, child_state.ilen);
1718 memset(child_state.input, 0, child_state.ilen); 1720 memset(child_state.input, 0, child_state.ilen);
1719 xfree(child_state.input); 1721 xfree(child_state.input);
1720 1722
1721 buffer_clear(&output); 1723 buffer_clear(packet_get_output());
1722 buffer_append(&output, child_state.output, child_state.olen); 1724 buffer_append(packet_get_output(), child_state.output,
1725 child_state.olen);
1723 memset(child_state.output, 0, child_state.olen); 1726 memset(child_state.output, 0, child_state.olen);
1724 xfree(child_state.output); 1727 xfree(child_state.output);
1728
1729 /* Roaming */
1730 if (compat20)
1731 roam_set_bytes(child_state.sent_bytes, child_state.recv_bytes);
1725} 1732}
1726 1733
1727static Kex * 1734static Kex *
@@ -1844,6 +1851,12 @@ mm_get_keystate(struct monitor *pmonitor)
1844 child_state.input = buffer_get_string(&m, &child_state.ilen); 1851 child_state.input = buffer_get_string(&m, &child_state.ilen);
1845 child_state.output = buffer_get_string(&m, &child_state.olen); 1852 child_state.output = buffer_get_string(&m, &child_state.olen);
1846 1853
1854 /* Roaming */
1855 if (compat20) {
1856 child_state.sent_bytes = buffer_get_int64(&m);
1857 child_state.recv_bytes = buffer_get_int64(&m);
1858 }
1859
1847 buffer_free(&m); 1860 buffer_free(&m);
1848} 1861}
1849 1862
diff --git a/monitor_mm.c b/monitor_mm.c
index dab747532..faf9f3dcb 100644
--- a/monitor_mm.c
+++ b/monitor_mm.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_mm.c,v 1.15 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: monitor_mm.c,v 1.16 2009/06/22 05:39:28 dtucker Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * All rights reserved. 4 * All rights reserved.
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 92e04901d..743e34079 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.c,v 1.64 2008/11/04 08:22:13 djm Exp $ */ 1/* $OpenBSD: monitor_wrap.c,v 1.68 2009/06/22 05:39:28 dtucker Exp $ */
2/* 2/*
3 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 3 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
4 * Copyright 2002 Markus Friedl <markus@openbsd.org> 4 * Copyright 2002 Markus Friedl <markus@openbsd.org>
@@ -71,19 +71,19 @@
71#include "atomicio.h" 71#include "atomicio.h"
72#include "monitor_fdpass.h" 72#include "monitor_fdpass.h"
73#include "misc.h" 73#include "misc.h"
74#include "schnorr.h"
74#include "jpake.h" 75#include "jpake.h"
75 76
76#include "channels.h" 77#include "channels.h"
77#include "session.h" 78#include "session.h"
78#include "servconf.h" 79#include "servconf.h"
80#include "roaming.h"
79 81
80/* Imports */ 82/* Imports */
81extern int compat20; 83extern int compat20;
82extern Newkeys *newkeys[];
83extern z_stream incoming_stream; 84extern z_stream incoming_stream;
84extern z_stream outgoing_stream; 85extern z_stream outgoing_stream;
85extern struct monitor *pmonitor; 86extern struct monitor *pmonitor;
86extern Buffer input, output;
87extern Buffer loginmsg; 87extern Buffer loginmsg;
88extern ServerOptions options; 88extern ServerOptions options;
89 89
@@ -526,7 +526,7 @@ mm_newkeys_to_blob(int mode, u_char **blobp, u_int *lenp)
526 Enc *enc; 526 Enc *enc;
527 Mac *mac; 527 Mac *mac;
528 Comp *comp; 528 Comp *comp;
529 Newkeys *newkey = newkeys[mode]; 529 Newkeys *newkey = (Newkeys *)packet_get_newkeys(mode);
530 530
531 debug3("%s: converting %p", __func__, newkey); 531 debug3("%s: converting %p", __func__, newkey);
532 532
@@ -588,7 +588,7 @@ mm_send_kex(Buffer *m, Kex *kex)
588void 588void
589mm_send_keystate(struct monitor *monitor) 589mm_send_keystate(struct monitor *monitor)
590{ 590{
591 Buffer m; 591 Buffer m, *input, *output;
592 u_char *blob, *p; 592 u_char *blob, *p;
593 u_int bloblen, plen; 593 u_int bloblen, plen;
594 u_int32_t seqnr, packets; 594 u_int32_t seqnr, packets;
@@ -626,7 +626,8 @@ mm_send_keystate(struct monitor *monitor)
626 } 626 }
627 627
628 debug3("%s: Sending new keys: %p %p", 628 debug3("%s: Sending new keys: %p %p",
629 __func__, newkeys[MODE_OUT], newkeys[MODE_IN]); 629 __func__, packet_get_newkeys(MODE_OUT),
630 packet_get_newkeys(MODE_IN));
630 631
631 /* Keys from Kex */ 632 /* Keys from Kex */
632 if (!mm_newkeys_to_blob(MODE_OUT, &blob, &bloblen)) 633 if (!mm_newkeys_to_blob(MODE_OUT, &blob, &bloblen))
@@ -673,8 +674,16 @@ mm_send_keystate(struct monitor *monitor)
673 buffer_put_string(&m, &incoming_stream, sizeof(incoming_stream)); 674 buffer_put_string(&m, &incoming_stream, sizeof(incoming_stream));
674 675
675 /* Network I/O buffers */ 676 /* Network I/O buffers */
676 buffer_put_string(&m, buffer_ptr(&input), buffer_len(&input)); 677 input = (Buffer *)packet_get_input();
677 buffer_put_string(&m, buffer_ptr(&output), buffer_len(&output)); 678 output = (Buffer *)packet_get_output();
679 buffer_put_string(&m, buffer_ptr(input), buffer_len(input));
680 buffer_put_string(&m, buffer_ptr(output), buffer_len(output));
681
682 /* Roaming */
683 if (compat20) {
684 buffer_put_int64(&m, get_sent_bytes());
685 buffer_put_int64(&m, get_recv_bytes());
686 }
678 687
679 mm_request_send(monitor->m_recvfd, MONITOR_REQ_KEYEXPORT, &m); 688 mm_request_send(monitor->m_recvfd, MONITOR_REQ_KEYEXPORT, &m);
680 debug3("%s: Finished sending state", __func__); 689 debug3("%s: Finished sending state", __func__);
@@ -1345,7 +1354,7 @@ mm_auth2_jpake_get_pwdata(Authctxt *authctxt, BIGNUM **s,
1345} 1354}
1346 1355
1347void 1356void
1348mm_jpake_step1(struct jpake_group *grp, 1357mm_jpake_step1(struct modp_group *grp,
1349 u_char **id, u_int *id_len, 1358 u_char **id, u_int *id_len,
1350 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2, 1359 BIGNUM **priv1, BIGNUM **priv2, BIGNUM **g_priv1, BIGNUM **g_priv2,
1351 u_char **priv1_proof, u_int *priv1_proof_len, 1360 u_char **priv1_proof, u_int *priv1_proof_len,
@@ -1380,7 +1389,7 @@ mm_jpake_step1(struct jpake_group *grp,
1380} 1389}
1381 1390
1382void 1391void
1383mm_jpake_step2(struct jpake_group *grp, BIGNUM *s, 1392mm_jpake_step2(struct modp_group *grp, BIGNUM *s,
1384 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2, 1393 BIGNUM *mypub1, BIGNUM *theirpub1, BIGNUM *theirpub2, BIGNUM *mypriv2,
1385 const u_char *theirid, u_int theirid_len, 1394 const u_char *theirid, u_int theirid_len,
1386 const u_char *myid, u_int myid_len, 1395 const u_char *myid, u_int myid_len,
@@ -1420,7 +1429,7 @@ mm_jpake_step2(struct jpake_group *grp, BIGNUM *s,
1420} 1429}
1421 1430
1422void 1431void
1423mm_jpake_key_confirm(struct jpake_group *grp, BIGNUM *s, BIGNUM *step2_val, 1432mm_jpake_key_confirm(struct modp_group *grp, BIGNUM *s, BIGNUM *step2_val,
1424 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2, 1433 BIGNUM *mypriv2, BIGNUM *mypub1, BIGNUM *mypub2,
1425 BIGNUM *theirpub1, BIGNUM *theirpub2, 1434 BIGNUM *theirpub1, BIGNUM *theirpub2,
1426 const u_char *my_id, u_int my_id_len, 1435 const u_char *my_id, u_int my_id_len,
diff --git a/monitor_wrap.h b/monitor_wrap.h
index 0b85bea6f..d2dad84aa 100644
--- a/monitor_wrap.h
+++ b/monitor_wrap.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: monitor_wrap.h,v 1.21 2008/11/04 08:22:13 djm Exp $ */ 1/* $OpenBSD: monitor_wrap.h,v 1.22 2009/03/05 07:18:19 djm Exp $ */
2 2
3/* 3/*
4 * Copyright 2002 Niels Provos <provos@citi.umich.edu> 4 * Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -105,17 +105,17 @@ int mm_skey_query(void *, char **, char **, u_int *, char ***, u_int **);
105int mm_skey_respond(void *, u_int, char **); 105int mm_skey_respond(void *, u_int, char **);
106 106
107/* jpake */ 107/* jpake */
108struct jpake_group; 108struct modp_group;
109void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **); 109void mm_auth2_jpake_get_pwdata(struct Authctxt *, BIGNUM **, char **, char **);
110void mm_jpake_step1(struct jpake_group *, u_char **, u_int *, 110void mm_jpake_step1(struct modp_group *, u_char **, u_int *,
111 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **, 111 BIGNUM **, BIGNUM **, BIGNUM **, BIGNUM **,
112 u_char **, u_int *, u_char **, u_int *); 112 u_char **, u_int *, u_char **, u_int *);
113void mm_jpake_step2(struct jpake_group *, BIGNUM *, 113void mm_jpake_step2(struct modp_group *, BIGNUM *,
114 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 114 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
115 const u_char *, u_int, const u_char *, u_int, 115 const u_char *, u_int, const u_char *, u_int,
116 const u_char *, u_int, const u_char *, u_int, 116 const u_char *, u_int, const u_char *, u_int,
117 BIGNUM **, u_char **, u_int *); 117 BIGNUM **, u_char **, u_int *);
118void mm_jpake_key_confirm(struct jpake_group *, BIGNUM *, BIGNUM *, 118void mm_jpake_key_confirm(struct modp_group *, BIGNUM *, BIGNUM *,
119 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, 119 BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *,
120 const u_char *, u_int, const u_char *, u_int, 120 const u_char *, u_int, const u_char *, u_int,
121 const u_char *, u_int, const u_char *, u_int, 121 const u_char *, u_int, const u_char *, u_int,
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c
index 38be7e350..e90c1597f 100644
--- a/openbsd-compat/bsd-cygwin_util.c
+++ b/openbsd-compat/bsd-cygwin_util.c
@@ -39,9 +39,6 @@
39#endif 39#endif
40 40
41#include <sys/types.h> 41#include <sys/types.h>
42#include <sys/stat.h>
43#include <sys/utsname.h>
44#include <sys/vfs.h>
45 42
46#include <fcntl.h> 43#include <fcntl.h>
47#include <stdlib.h> 44#include <stdlib.h>
@@ -49,11 +46,6 @@
49#include <windows.h> 46#include <windows.h>
50 47
51#include "xmalloc.h" 48#include "xmalloc.h"
52#define is_winnt (GetVersion() < 0x80000000)
53
54#define ntsec_on(c) ((c) && strstr((c),"ntsec") && !strstr((c),"nontsec"))
55#define ntsec_off(c) ((c) && strstr((c),"nontsec"))
56#define ntea_on(c) ((c) && strstr((c),"ntea") && !strstr((c),"nontea"))
57 49
58int 50int
59binary_open(const char *filename, int flags, ...) 51binary_open(const char *filename, int flags, ...)
@@ -79,128 +71,12 @@ binary_pipe(int fd[2])
79 return (ret); 71 return (ret);
80} 72}
81 73
82#define HAS_CREATE_TOKEN 1
83#define HAS_NTSEC_BY_DEFAULT 2
84#define HAS_CREATE_TOKEN_WO_NTSEC 3
85
86static int
87has_capability(int what)
88{
89 static int inited;
90 static int has_create_token;
91 static int has_ntsec_by_default;
92 static int has_create_token_wo_ntsec;
93
94 /*
95 * has_capability() basically calls uname() and checks if
96 * specific capabilities of Cygwin can be evaluated from that.
97 * This simplifies the calling functions which only have to ask
98 * for a capability using has_capability() instead of having
99 * to figure that out by themselves.
100 */
101 if (!inited) {
102 struct utsname uts;
103
104 if (!uname(&uts)) {
105 int major_high = 0, major_low = 0, minor = 0;
106 int api_major_version = 0, api_minor_version = 0;
107 char *c;
108
109 sscanf(uts.release, "%d.%d.%d", &major_high,
110 &major_low, &minor);
111 if ((c = strchr(uts.release, '(')) != NULL) {
112 sscanf(c + 1, "%d.%d", &api_major_version,
113 &api_minor_version);
114 }
115 if (major_high > 1 ||
116 (major_high == 1 && (major_low > 3 ||
117 (major_low == 3 && minor >= 2))))
118 has_create_token = 1;
119 if (api_major_version > 0 || api_minor_version >= 56)
120 has_ntsec_by_default = 1;
121 if (major_high > 1 ||
122 (major_high == 1 && major_low >= 5))
123 has_create_token_wo_ntsec = 1;
124 inited = 1;
125 }
126 }
127 switch (what) {
128 case HAS_CREATE_TOKEN:
129 return (has_create_token);
130 case HAS_NTSEC_BY_DEFAULT:
131 return (has_ntsec_by_default);
132 case HAS_CREATE_TOKEN_WO_NTSEC:
133 return (has_create_token_wo_ntsec);
134 }
135 return (0);
136}
137
138int
139check_nt_auth(int pwd_authenticated, struct passwd *pw)
140{
141 /*
142 * The only authentication which is able to change the user
143 * context on NT systems is the password authentication. So
144 * we deny all requsts for changing the user context if another
145 * authentication method is used.
146 *
147 * This doesn't apply to Cygwin versions >= 1.3.2 anymore which
148 * uses the undocumented NtCreateToken() call to create a user
149 * token if the process has the appropriate privileges and if
150 * CYGWIN ntsec setting is on.
151 */
152 static int has_create_token = -1;
153
154 if (pw == NULL)
155 return 0;
156 if (is_winnt) {
157 if (has_create_token < 0) {
158 char *cygwin = getenv("CYGWIN");
159
160 has_create_token = 0;
161 if (has_capability(HAS_CREATE_TOKEN) &&
162 (ntsec_on(cygwin) ||
163 (has_capability(HAS_NTSEC_BY_DEFAULT) &&
164 !ntsec_off(cygwin)) ||
165 has_capability(HAS_CREATE_TOKEN_WO_NTSEC)))
166 has_create_token = 1;
167 }
168 if (has_create_token < 1 &&
169 !pwd_authenticated && geteuid() != pw->pw_uid)
170 return (0);
171 }
172 return (1);
173}
174
175int 74int
176check_ntsec(const char *filename) 75check_ntsec(const char *filename)
177{ 76{
178 return (pathconf(filename, _PC_POSIX_PERMISSIONS)); 77 return (pathconf(filename, _PC_POSIX_PERMISSIONS));
179} 78}
180 79
181void
182register_9x_service(void)
183{
184 HINSTANCE kerneldll;
185 DWORD (*RegisterServiceProcess)(DWORD, DWORD);
186
187 /* The service register mechanism in 9x/Me is pretty different from
188 * NT/2K/XP. In NT/2K/XP we're using a special service starter
189 * application to register and control sshd as service. This method
190 * doesn't play nicely with 9x/Me. For that reason we register here
191 * as service when running under 9x/Me. This function is only called
192 * by the child sshd when it's going to daemonize.
193 */
194 if (is_winnt)
195 return;
196 if (!(kerneldll = LoadLibrary("KERNEL32.DLL")))
197 return;
198 if (!(RegisterServiceProcess = (DWORD (*)(DWORD, DWORD))
199 GetProcAddress(kerneldll, "RegisterServiceProcess")))
200 return;
201 RegisterServiceProcess(0, 1);
202}
203
204#define NL(x) x, (sizeof (x) - 1) 80#define NL(x) x, (sizeof (x) - 1)
205#define WENV_SIZ (sizeof (wenv_arr) / sizeof (wenv_arr[0])) 81#define WENV_SIZ (sizeof (wenv_arr) / sizeof (wenv_arr[0]))
206 82
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h
index 6719b8a49..39b8eb788 100644
--- a/openbsd-compat/bsd-cygwin_util.h
+++ b/openbsd-compat/bsd-cygwin_util.h
@@ -1,4 +1,4 @@
1/* $Id: bsd-cygwin_util.h,v 1.11 2004/08/30 10:42:08 dtucker Exp $ */ 1/* $Id: bsd-cygwin_util.h,v 1.12 2009/03/08 00:40:28 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> 4 * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com>
@@ -35,7 +35,6 @@
35#ifdef HAVE_CYGWIN 35#ifdef HAVE_CYGWIN
36 36
37#undef ERROR 37#undef ERROR
38#define is_winnt (GetVersion() < 0x80000000)
39 38
40#include <windows.h> 39#include <windows.h>
41#include <sys/cygwin.h> 40#include <sys/cygwin.h>
@@ -43,9 +42,7 @@
43 42
44int binary_open(const char *, int , ...); 43int binary_open(const char *, int , ...);
45int binary_pipe(int fd[2]); 44int binary_pipe(int fd[2]);
46int check_nt_auth(int, struct passwd *);
47int check_ntsec(const char *); 45int check_ntsec(const char *);
48void register_9x_service(void);
49char **fetch_windows_environment(void); 46char **fetch_windows_environment(void);
50void free_windows_environment(char **); 47void free_windows_environment(char **);
51 48
diff --git a/openbsd-compat/daemon.c b/openbsd-compat/daemon.c
index e3a6886bd..3efe14c68 100644
--- a/openbsd-compat/daemon.c
+++ b/openbsd-compat/daemon.c
@@ -57,18 +57,8 @@ daemon(int nochdir, int noclose)
57 case -1: 57 case -1:
58 return (-1); 58 return (-1);
59 case 0: 59 case 0:
60#ifdef HAVE_CYGWIN
61 register_9x_service();
62#endif
63 break; 60 break;
64 default: 61 default:
65#ifdef HAVE_CYGWIN
66 /*
67 * This sleep avoids a race condition which kills the
68 * child process if parent is started by a NT/W2K service.
69 */
70 sleep(1);
71#endif
72 _exit(0); 62 _exit(0);
73 } 63 }
74 64
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 785b22569..98876673d 100644
--- a/openbsd-compat/getrrsetbyname.c
+++ b/openbsd-compat/getrrsetbyname.c
@@ -143,7 +143,7 @@ u_int32_t _getlong(register const u_char *);
143 143
144/* ************** */ 144/* ************** */
145 145
146#define ANSWER_BUFFER_SIZE 1024*64 146#define ANSWER_BUFFER_SIZE 0xffff
147 147
148struct dns_query { 148struct dns_query {
149 char *name; 149 char *name;
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c
index 49238ba80..dd326c00f 100644
--- a/openbsd-compat/openssl-compat.c
+++ b/openbsd-compat/openssl-compat.c
@@ -1,4 +1,4 @@
1/* $Id: openssl-compat.c,v 1.6 2008/02/28 08:13:52 dtucker Exp $ */ 1/* $Id: openssl-compat.c,v 1.8 2009/03/07 11:22:35 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> 4 * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au>
@@ -49,6 +49,15 @@ ssh_EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *evp)
49} 49}
50#endif 50#endif
51 51
52#ifdef OPENSSL_EVP_DIGESTUPDATE_VOID
53int
54ssh_EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, unsigned int cnt)
55{
56 EVP_DigestUpdate(ctx, d, cnt);
57 return 1;
58}
59#endif
60
52#ifdef USE_OPENSSL_ENGINE 61#ifdef USE_OPENSSL_ENGINE
53void 62void
54ssh_SSLeay_add_all_algorithms(void) 63ssh_SSLeay_add_all_algorithms(void)
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h
index 6a1bed5b2..fcc762867 100644
--- a/openbsd-compat/openssl-compat.h
+++ b/openbsd-compat/openssl-compat.h
@@ -1,4 +1,4 @@
1/* $Id: openssl-compat.h,v 1.12 2008/02/28 08:22:04 dtucker Exp $ */ 1/* $Id: openssl-compat.h,v 1.14 2009/03/07 11:22:35 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> 4 * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au>
@@ -80,6 +80,10 @@ extern const EVP_CIPHER *evp_acss(void);
80# define EVP_CIPHER_CTX_cleanup(a) ssh_EVP_CIPHER_CTX_cleanup((a)) 80# define EVP_CIPHER_CTX_cleanup(a) ssh_EVP_CIPHER_CTX_cleanup((a))
81# endif /* SSH_OLD_EVP */ 81# endif /* SSH_OLD_EVP */
82 82
83# ifdef OPENSSL_EVP_DIGESTUPDATE_VOID
84# define EVP_DigestUpdate(a,b,c) ssh_EVP_DigestUpdate((a),(b),(c))
85# endif
86
83# ifdef USE_OPENSSL_ENGINE 87# ifdef USE_OPENSSL_ENGINE
84# ifdef SSLeay_add_all_algorithms 88# ifdef SSLeay_add_all_algorithms
85# undef SSLeay_add_all_algorithms 89# undef SSLeay_add_all_algorithms
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c
index 5b1cb7387..d9c0876f3 100644
--- a/openbsd-compat/port-aix.c
+++ b/openbsd-compat/port-aix.c
@@ -57,6 +57,8 @@
57 57
58#include "port-aix.h" 58#include "port-aix.h"
59 59
60static char *lastlogin_msg = NULL;
61
60# ifdef HAVE_SETAUTHDB 62# ifdef HAVE_SETAUTHDB
61static char old_registry[REGISTRY_SIZE] = ""; 63static char old_registry[REGISTRY_SIZE] = "";
62# endif 64# endif
@@ -276,23 +278,30 @@ sys_auth_record_login(const char *user, const char *host, const char *ttynm,
276 Buffer *loginmsg) 278 Buffer *loginmsg)
277{ 279{
278 char *msg = NULL; 280 char *msg = NULL;
279 static int msg_done = 0;
280 int success = 0; 281 int success = 0;
281 282
282 aix_setauthdb(user); 283 aix_setauthdb(user);
283 if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) { 284 if (loginsuccess((char *)user, (char *)host, (char *)ttynm, &msg) == 0) {
284 success = 1; 285 success = 1;
285 if (msg != NULL && loginmsg != NULL && !msg_done) { 286 if (msg != NULL) {
286 debug("AIX/loginsuccess: msg %s", msg); 287 debug("AIX/loginsuccess: msg %s", msg);
287 buffer_append(loginmsg, msg, strlen(msg)); 288 if (lastlogin_msg == NULL)
288 xfree(msg); 289 lastlogin_msg = msg;
289 msg_done = 1;
290 } 290 }
291 } 291 }
292 aix_restoreauthdb(); 292 aix_restoreauthdb();
293 return (success); 293 return (success);
294} 294}
295 295
296char *
297sys_auth_get_lastlogin_msg(const char *user, uid_t uid)
298{
299 char *msg = lastlogin_msg;
300
301 lastlogin_msg = NULL;
302 return msg;
303}
304
296# ifdef CUSTOM_FAILED_LOGIN 305# ifdef CUSTOM_FAILED_LOGIN
297/* 306/*
298 * record_failed_login: generic "login failed" interface function 307 * record_failed_login: generic "login failed" interface function
diff --git a/openbsd-compat/port-aix.h b/openbsd-compat/port-aix.h
index ecb9feae8..3ac76ae15 100644
--- a/openbsd-compat/port-aix.h
+++ b/openbsd-compat/port-aix.h
@@ -1,4 +1,4 @@
1/* $Id: port-aix.h,v 1.29 2008/03/09 05:36:55 dtucker Exp $ */ 1/* $Id: port-aix.h,v 1.31 2009/08/20 06:20:50 dtucker Exp $ */
2 2
3/* 3/*
4 * 4 *
@@ -71,6 +71,11 @@ int passwdexpired(char *, char **);
71# include <sys/timers.h> 71# include <sys/timers.h>
72#endif 72#endif
73 73
74/* for setpcred and friends */
75#ifdef HAVE_USERSEC_H
76# include <usersec.h>
77#endif
78
74/* 79/*
75 * According to the setauthdb man page, AIX password registries must be 15 80 * According to the setauthdb man page, AIX password registries must be 15
76 * chars or less plus terminating NUL. 81 * chars or less plus terminating NUL.
@@ -87,6 +92,8 @@ void aix_usrinfo(struct passwd *);
87int sys_auth_allowed_user(struct passwd *, Buffer *); 92int sys_auth_allowed_user(struct passwd *, Buffer *);
88# define CUSTOM_SYS_AUTH_RECORD_LOGIN 1 93# define CUSTOM_SYS_AUTH_RECORD_LOGIN 1
89int sys_auth_record_login(const char *, const char *, const char *, Buffer *); 94int sys_auth_record_login(const char *, const char *, const char *, Buffer *);
95# define CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG
96char *sys_auth_get_lastlogin_msg(const char *, uid_t);
90# define CUSTOM_FAILED_LOGIN 1 97# define CUSTOM_FAILED_LOGIN 1
91#endif 98#endif
92 99
diff --git a/packet.c b/packet.c
index 5afc84ce0..994e35b6d 100644
--- a/packet.c
+++ b/packet.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.c,v 1.160 2009/02/13 11:50:21 markus Exp $ */ 1/* $OpenBSD: packet.c,v 1.166 2009/06/27 09:29:06 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -77,6 +77,7 @@
77#include "canohost.h" 77#include "canohost.h"
78#include "misc.h" 78#include "misc.h"
79#include "ssh.h" 79#include "ssh.h"
80#include "roaming.h"
80 81
81#ifdef PACKET_DEBUG 82#ifdef PACKET_DEBUG
82#define DBG(x) x 83#define DBG(x) x
@@ -86,92 +87,126 @@
86 87
87#define PACKET_MAX_SIZE (256 * 1024) 88#define PACKET_MAX_SIZE (256 * 1024)
88 89
89/* 90struct packet_state {
90 * This variable contains the file descriptors used for communicating with 91 u_int32_t seqnr;
91 * the other side. connection_in is used for reading; connection_out for 92 u_int32_t packets;
92 * writing. These can be the same descriptor, in which case it is assumed to 93 u_int64_t blocks;
93 * be a socket. 94 u_int64_t bytes;
94 */ 95};
95static int connection_in = -1;
96static int connection_out = -1;
97 96
98/* Protocol flags for the remote side. */ 97struct packet {
99static u_int remote_protocol_flags = 0; 98 TAILQ_ENTRY(packet) next;
99 u_char type;
100 Buffer payload;
101};
100 102
101/* Encryption context for receiving data. This is only used for decryption. */ 103struct session_state {
102static CipherContext receive_context; 104 /*
105 * This variable contains the file descriptors used for
106 * communicating with the other side. connection_in is used for
107 * reading; connection_out for writing. These can be the same
108 * descriptor, in which case it is assumed to be a socket.
109 */
110 int connection_in;
111 int connection_out;
103 112
104/* Encryption context for sending data. This is only used for encryption. */ 113 /* Protocol flags for the remote side. */
105static CipherContext send_context; 114 u_int remote_protocol_flags;
106 115
107/* Buffer for raw input data from the socket. */ 116 /* Encryption context for receiving data. Only used for decryption. */
108Buffer input; 117 CipherContext receive_context;
109 118
110/* Buffer for raw output data going to the socket. */ 119 /* Encryption context for sending data. Only used for encryption. */
111Buffer output; 120 CipherContext send_context;
112 121
113/* Buffer for the partial outgoing packet being constructed. */ 122 /* Buffer for raw input data from the socket. */
114static Buffer outgoing_packet; 123 Buffer input;
115 124
116/* Buffer for the incoming packet currently being processed. */ 125 /* Buffer for raw output data going to the socket. */
117static Buffer incoming_packet; 126 Buffer output;
118 127
119/* Scratch buffer for packet compression/decompression. */ 128 /* Buffer for the partial outgoing packet being constructed. */
120static Buffer compression_buffer; 129 Buffer outgoing_packet;
121static int compression_buffer_ready = 0;
122 130
123/* Flag indicating whether packet compression/decompression is enabled. */ 131 /* Buffer for the incoming packet currently being processed. */
124static int packet_compression = 0; 132 Buffer incoming_packet;
125 133
126/* default maximum packet size */ 134 /* Scratch buffer for packet compression/decompression. */
127u_int max_packet_size = 32768; 135 Buffer compression_buffer;
136 int compression_buffer_ready;
128 137
129/* Flag indicating whether this module has been initialized. */ 138 /*
130static int initialized = 0; 139 * Flag indicating whether packet compression/decompression is
140 * enabled.
141 */
142 int packet_compression;
131 143
132/* Set to true if the connection is interactive. */ 144 /* default maximum packet size */
133static int interactive_mode = 0; 145 u_int max_packet_size;
134 146
135/* Set to true if we are the server side. */ 147 /* Flag indicating whether this module has been initialized. */
136static int server_side = 0; 148 int initialized;
137 149
138/* Set to true if we are authenticated. */ 150 /* Set to true if the connection is interactive. */
139static int after_authentication = 0; 151 int interactive_mode;
140 152
141int keep_alive_timeouts = 0; 153 /* Set to true if we are the server side. */
154 int server_side;
142 155
143/* Set to the maximum time that we will wait to send or receive a packet */ 156 /* Set to true if we are authenticated. */
144static int packet_timeout_ms = -1; 157 int after_authentication;
145 158
146/* Session key information for Encryption and MAC */ 159 int keep_alive_timeouts;
147Newkeys *newkeys[MODE_MAX];
148static struct packet_state {
149 u_int32_t seqnr;
150 u_int32_t packets;
151 u_int64_t blocks;
152 u_int64_t bytes;
153} p_read, p_send;
154 160
155static u_int64_t max_blocks_in, max_blocks_out; 161 /* The maximum time that we will wait to send or receive a packet */
156static u_int32_t rekey_limit; 162 int packet_timeout_ms;
157 163
158/* Session key for protocol v1 */ 164 /* Session key information for Encryption and MAC */
159static u_char ssh1_key[SSH_SESSION_KEY_LENGTH]; 165 Newkeys *newkeys[MODE_MAX];
160static u_int ssh1_keylen; 166 struct packet_state p_read, p_send;
161 167
162/* roundup current message to extra_pad bytes */ 168 u_int64_t max_blocks_in, max_blocks_out;
163static u_char extra_pad = 0; 169 u_int32_t rekey_limit;
164 170
165/* XXX discard incoming data after MAC error */ 171 /* Session key for protocol v1 */
166static u_int packet_discard = 0; 172 u_char ssh1_key[SSH_SESSION_KEY_LENGTH];
167static Mac *packet_discard_mac = NULL; 173 u_int ssh1_keylen;
168 174
169struct packet { 175 /* roundup current message to extra_pad bytes */
170 TAILQ_ENTRY(packet) next; 176 u_char extra_pad;
171 u_char type; 177
172 Buffer payload; 178 /* XXX discard incoming data after MAC error */
179 u_int packet_discard;
180 Mac *packet_discard_mac;
181
182 /* Used in packet_read_poll2() */
183 u_int packlen;
184
185 /* Used in packet_send2 */
186 int rekeying;
187
188 /* Used in packet_set_interactive */
189 int set_interactive_called;
190
191 /* Used in packet_set_maxsize */
192 int set_maxsize_called;
193
194 TAILQ_HEAD(, packet) outgoing;
173}; 195};
174TAILQ_HEAD(, packet) outgoing; 196
197static struct session_state *active_state, *backup_state;
198
199static struct session_state *
200alloc_session_state(void)
201{
202 struct session_state *s = xcalloc(1, sizeof(*s));
203
204 s->connection_in = -1;
205 s->connection_out = -1;
206 s->max_packet_size = 32768;
207 s->packet_timeout_ms = -1;
208 return s;
209}
175 210
176/* 211/*
177 * Sets the descriptors used for communication. Disables encryption until 212 * Sets the descriptors used for communication. Disables encryption until
@@ -184,21 +219,23 @@ packet_set_connection(int fd_in, int fd_out)
184 219
185 if (none == NULL) 220 if (none == NULL)
186 fatal("packet_set_connection: cannot load cipher 'none'"); 221 fatal("packet_set_connection: cannot load cipher 'none'");
187 connection_in = fd_in; 222 if (active_state == NULL)
188 connection_out = fd_out; 223 active_state = alloc_session_state();
189 cipher_init(&send_context, none, (const u_char *)"", 224 active_state->connection_in = fd_in;
225 active_state->connection_out = fd_out;
226 cipher_init(&active_state->send_context, none, (const u_char *)"",
190 0, NULL, 0, CIPHER_ENCRYPT); 227 0, NULL, 0, CIPHER_ENCRYPT);
191 cipher_init(&receive_context, none, (const u_char *)"", 228 cipher_init(&active_state->receive_context, none, (const u_char *)"",
192 0, NULL, 0, CIPHER_DECRYPT); 229 0, NULL, 0, CIPHER_DECRYPT);
193 newkeys[MODE_IN] = newkeys[MODE_OUT] = NULL; 230 active_state->newkeys[MODE_IN] = active_state->newkeys[MODE_OUT] = NULL;
194 if (!initialized) { 231 if (!active_state->initialized) {
195 initialized = 1; 232 active_state->initialized = 1;
196 buffer_init(&input); 233 buffer_init(&active_state->input);
197 buffer_init(&output); 234 buffer_init(&active_state->output);
198 buffer_init(&outgoing_packet); 235 buffer_init(&active_state->outgoing_packet);
199 buffer_init(&incoming_packet); 236 buffer_init(&active_state->incoming_packet);
200 TAILQ_INIT(&outgoing); 237 TAILQ_INIT(&active_state->outgoing);
201 p_send.packets = p_read.packets = 0; 238 active_state->p_send.packets = active_state->p_read.packets = 0;
202 } 239 }
203} 240}
204 241
@@ -206,27 +243,29 @@ void
206packet_set_timeout(int timeout, int count) 243packet_set_timeout(int timeout, int count)
207{ 244{
208 if (timeout == 0 || count == 0) { 245 if (timeout == 0 || count == 0) {
209 packet_timeout_ms = -1; 246 active_state->packet_timeout_ms = -1;
210 return; 247 return;
211 } 248 }
212 if ((INT_MAX / 1000) / count < timeout) 249 if ((INT_MAX / 1000) / count < timeout)
213 packet_timeout_ms = INT_MAX; 250 active_state->packet_timeout_ms = INT_MAX;
214 else 251 else
215 packet_timeout_ms = timeout * count * 1000; 252 active_state->packet_timeout_ms = timeout * count * 1000;
216} 253}
217 254
218static void 255static void
219packet_stop_discard(void) 256packet_stop_discard(void)
220{ 257{
221 if (packet_discard_mac) { 258 if (active_state->packet_discard_mac) {
222 char buf[1024]; 259 char buf[1024];
223 260
224 memset(buf, 'a', sizeof(buf)); 261 memset(buf, 'a', sizeof(buf));
225 while (buffer_len(&incoming_packet) < PACKET_MAX_SIZE) 262 while (buffer_len(&active_state->incoming_packet) <
226 buffer_append(&incoming_packet, buf, sizeof(buf)); 263 PACKET_MAX_SIZE)
227 (void) mac_compute(packet_discard_mac, 264 buffer_append(&active_state->incoming_packet, buf,
228 p_read.seqnr, 265 sizeof(buf));
229 buffer_ptr(&incoming_packet), 266 (void) mac_compute(active_state->packet_discard_mac,
267 active_state->p_read.seqnr,
268 buffer_ptr(&active_state->incoming_packet),
230 PACKET_MAX_SIZE); 269 PACKET_MAX_SIZE);
231 } 270 }
232 logit("Finished discarding for %.200s", get_remote_ipaddr()); 271 logit("Finished discarding for %.200s", get_remote_ipaddr());
@@ -239,10 +278,11 @@ packet_start_discard(Enc *enc, Mac *mac, u_int packet_length, u_int discard)
239 if (enc == NULL || !cipher_is_cbc(enc->cipher)) 278 if (enc == NULL || !cipher_is_cbc(enc->cipher))
240 packet_disconnect("Packet corrupt"); 279 packet_disconnect("Packet corrupt");
241 if (packet_length != PACKET_MAX_SIZE && mac && mac->enabled) 280 if (packet_length != PACKET_MAX_SIZE && mac && mac->enabled)
242 packet_discard_mac = mac; 281 active_state->packet_discard_mac = mac;
243 if (buffer_len(&input) >= discard) 282 if (buffer_len(&active_state->input) >= discard)
244 packet_stop_discard(); 283 packet_stop_discard();
245 packet_discard = discard - buffer_len(&input); 284 active_state->packet_discard = discard -
285 buffer_len(&active_state->input);
246} 286}
247 287
248/* Returns 1 if remote host is connected via socket, 0 if not. */ 288/* Returns 1 if remote host is connected via socket, 0 if not. */
@@ -254,15 +294,17 @@ packet_connection_is_on_socket(void)
254 socklen_t fromlen, tolen; 294 socklen_t fromlen, tolen;
255 295
256 /* filedescriptors in and out are the same, so it's a socket */ 296 /* filedescriptors in and out are the same, so it's a socket */
257 if (connection_in == connection_out) 297 if (active_state->connection_in == active_state->connection_out)
258 return 1; 298 return 1;
259 fromlen = sizeof(from); 299 fromlen = sizeof(from);
260 memset(&from, 0, sizeof(from)); 300 memset(&from, 0, sizeof(from));
261 if (getpeername(connection_in, (struct sockaddr *)&from, &fromlen) < 0) 301 if (getpeername(active_state->connection_in, (struct sockaddr *)&from,
302 &fromlen) < 0)
262 return 0; 303 return 0;
263 tolen = sizeof(to); 304 tolen = sizeof(to);
264 memset(&to, 0, sizeof(to)); 305 memset(&to, 0, sizeof(to));
265 if (getpeername(connection_out, (struct sockaddr *)&to, &tolen) < 0) 306 if (getpeername(active_state->connection_out, (struct sockaddr *)&to,
307 &tolen) < 0)
266 return 0; 308 return 0;
267 if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0) 309 if (fromlen != tolen || memcmp(&from, &to, fromlen) != 0)
268 return 0; 310 return 0;
@@ -283,9 +325,9 @@ packet_get_keyiv(int mode, u_char *iv, u_int len)
283 CipherContext *cc; 325 CipherContext *cc;
284 326
285 if (mode == MODE_OUT) 327 if (mode == MODE_OUT)
286 cc = &send_context; 328 cc = &active_state->send_context;
287 else 329 else
288 cc = &receive_context; 330 cc = &active_state->receive_context;
289 331
290 cipher_get_keyiv(cc, iv, len); 332 cipher_get_keyiv(cc, iv, len);
291} 333}
@@ -296,9 +338,9 @@ packet_get_keycontext(int mode, u_char *dat)
296 CipherContext *cc; 338 CipherContext *cc;
297 339
298 if (mode == MODE_OUT) 340 if (mode == MODE_OUT)
299 cc = &send_context; 341 cc = &active_state->send_context;
300 else 342 else
301 cc = &receive_context; 343 cc = &active_state->receive_context;
302 344
303 return (cipher_get_keycontext(cc, dat)); 345 return (cipher_get_keycontext(cc, dat));
304} 346}
@@ -309,9 +351,9 @@ packet_set_keycontext(int mode, u_char *dat)
309 CipherContext *cc; 351 CipherContext *cc;
310 352
311 if (mode == MODE_OUT) 353 if (mode == MODE_OUT)
312 cc = &send_context; 354 cc = &active_state->send_context;
313 else 355 else
314 cc = &receive_context; 356 cc = &active_state->receive_context;
315 357
316 cipher_set_keycontext(cc, dat); 358 cipher_set_keycontext(cc, dat);
317} 359}
@@ -322,9 +364,9 @@ packet_get_keyiv_len(int mode)
322 CipherContext *cc; 364 CipherContext *cc;
323 365
324 if (mode == MODE_OUT) 366 if (mode == MODE_OUT)
325 cc = &send_context; 367 cc = &active_state->send_context;
326 else 368 else
327 cc = &receive_context; 369 cc = &active_state->receive_context;
328 370
329 return (cipher_get_keyiv_len(cc)); 371 return (cipher_get_keyiv_len(cc));
330} 372}
@@ -335,9 +377,9 @@ packet_set_iv(int mode, u_char *dat)
335 CipherContext *cc; 377 CipherContext *cc;
336 378
337 if (mode == MODE_OUT) 379 if (mode == MODE_OUT)
338 cc = &send_context; 380 cc = &active_state->send_context;
339 else 381 else
340 cc = &receive_context; 382 cc = &active_state->receive_context;
341 383
342 cipher_set_keyiv(cc, dat); 384 cipher_set_keyiv(cc, dat);
343} 385}
@@ -345,7 +387,7 @@ packet_set_iv(int mode, u_char *dat)
345int 387int
346packet_get_ssh1_cipher(void) 388packet_get_ssh1_cipher(void)
347{ 389{
348 return (cipher_get_number(receive_context.cipher)); 390 return (cipher_get_number(active_state->receive_context.cipher));
349} 391}
350 392
351void 393void
@@ -354,7 +396,8 @@ packet_get_state(int mode, u_int32_t *seqnr, u_int64_t *blocks, u_int32_t *packe
354{ 396{
355 struct packet_state *state; 397 struct packet_state *state;
356 398
357 state = (mode == MODE_IN) ? &p_read : &p_send; 399 state = (mode == MODE_IN) ?
400 &active_state->p_read : &active_state->p_send;
358 if (seqnr) 401 if (seqnr)
359 *seqnr = state->seqnr; 402 *seqnr = state->seqnr;
360 if (blocks) 403 if (blocks)
@@ -371,7 +414,8 @@ packet_set_state(int mode, u_int32_t seqnr, u_int64_t blocks, u_int32_t packets,
371{ 414{
372 struct packet_state *state; 415 struct packet_state *state;
373 416
374 state = (mode == MODE_IN) ? &p_read : &p_send; 417 state = (mode == MODE_IN) ?
418 &active_state->p_read : &active_state->p_send;
375 state->seqnr = seqnr; 419 state->seqnr = seqnr;
376 state->blocks = blocks; 420 state->blocks = blocks;
377 state->packets = packets; 421 state->packets = packets;
@@ -387,7 +431,8 @@ packet_connection_is_ipv4(void)
387 socklen_t tolen = sizeof(to); 431 socklen_t tolen = sizeof(to);
388 432
389 memset(&to, 0, sizeof(to)); 433 memset(&to, 0, sizeof(to));
390 if (getsockname(connection_out, (struct sockaddr *)&to, &tolen) < 0) 434 if (getsockname(active_state->connection_out, (struct sockaddr *)&to,
435 &tolen) < 0)
391 return 0; 436 return 0;
392 if (to.ss_family == AF_INET) 437 if (to.ss_family == AF_INET)
393 return 1; 438 return 1;
@@ -405,10 +450,10 @@ void
405packet_set_nonblocking(void) 450packet_set_nonblocking(void)
406{ 451{
407 /* Set the socket into non-blocking mode. */ 452 /* Set the socket into non-blocking mode. */
408 set_nonblock(connection_in); 453 set_nonblock(active_state->connection_in);
409 454
410 if (connection_out != connection_in) 455 if (active_state->connection_out != active_state->connection_in)
411 set_nonblock(connection_out); 456 set_nonblock(active_state->connection_out);
412} 457}
413 458
414/* Returns the socket used for reading. */ 459/* Returns the socket used for reading. */
@@ -416,7 +461,7 @@ packet_set_nonblocking(void)
416int 461int
417packet_get_connection_in(void) 462packet_get_connection_in(void)
418{ 463{
419 return connection_in; 464 return active_state->connection_in;
420} 465}
421 466
422/* Returns the descriptor used for writing. */ 467/* Returns the descriptor used for writing. */
@@ -424,7 +469,7 @@ packet_get_connection_in(void)
424int 469int
425packet_get_connection_out(void) 470packet_get_connection_out(void)
426{ 471{
427 return connection_out; 472 return active_state->connection_out;
428} 473}
429 474
430/* Closes the connection and clears and frees internal data structures. */ 475/* Closes the connection and clears and frees internal data structures. */
@@ -432,26 +477,26 @@ packet_get_connection_out(void)
432void 477void
433packet_close(void) 478packet_close(void)
434{ 479{
435 if (!initialized) 480 if (!active_state->initialized)
436 return; 481 return;
437 initialized = 0; 482 active_state->initialized = 0;
438 if (connection_in == connection_out) { 483 if (active_state->connection_in == active_state->connection_out) {
439 shutdown(connection_out, SHUT_RDWR); 484 shutdown(active_state->connection_out, SHUT_RDWR);
440 close(connection_out); 485 close(active_state->connection_out);
441 } else { 486 } else {
442 close(connection_in); 487 close(active_state->connection_in);
443 close(connection_out); 488 close(active_state->connection_out);
444 } 489 }
445 buffer_free(&input); 490 buffer_free(&active_state->input);
446 buffer_free(&output); 491 buffer_free(&active_state->output);
447 buffer_free(&outgoing_packet); 492 buffer_free(&active_state->outgoing_packet);
448 buffer_free(&incoming_packet); 493 buffer_free(&active_state->incoming_packet);
449 if (compression_buffer_ready) { 494 if (active_state->compression_buffer_ready) {
450 buffer_free(&compression_buffer); 495 buffer_free(&active_state->compression_buffer);
451 buffer_compress_uninit(); 496 buffer_compress_uninit();
452 } 497 }
453 cipher_cleanup(&send_context); 498 cipher_cleanup(&active_state->send_context);
454 cipher_cleanup(&receive_context); 499 cipher_cleanup(&active_state->receive_context);
455} 500}
456 501
457/* Sets remote side protocol flags. */ 502/* Sets remote side protocol flags. */
@@ -459,7 +504,7 @@ packet_close(void)
459void 504void
460packet_set_protocol_flags(u_int protocol_flags) 505packet_set_protocol_flags(u_int protocol_flags)
461{ 506{
462 remote_protocol_flags = protocol_flags; 507 active_state->remote_protocol_flags = protocol_flags;
463} 508}
464 509
465/* Returns the remote protocol flags set earlier by the above function. */ 510/* Returns the remote protocol flags set earlier by the above function. */
@@ -467,7 +512,7 @@ packet_set_protocol_flags(u_int protocol_flags)
467u_int 512u_int
468packet_get_protocol_flags(void) 513packet_get_protocol_flags(void)
469{ 514{
470 return remote_protocol_flags; 515 return active_state->remote_protocol_flags;
471} 516}
472 517
473/* 518/*
@@ -478,18 +523,18 @@ packet_get_protocol_flags(void)
478static void 523static void
479packet_init_compression(void) 524packet_init_compression(void)
480{ 525{
481 if (compression_buffer_ready == 1) 526 if (active_state->compression_buffer_ready == 1)
482 return; 527 return;
483 compression_buffer_ready = 1; 528 active_state->compression_buffer_ready = 1;
484 buffer_init(&compression_buffer); 529 buffer_init(&active_state->compression_buffer);
485} 530}
486 531
487void 532void
488packet_start_compression(int level) 533packet_start_compression(int level)
489{ 534{
490 if (packet_compression && !compat20) 535 if (active_state->packet_compression && !compat20)
491 fatal("Compression already enabled."); 536 fatal("Compression already enabled.");
492 packet_compression = 1; 537 active_state->packet_compression = 1;
493 packet_init_compression(); 538 packet_init_compression();
494 buffer_compress_init_send(level); 539 buffer_compress_init_send(level);
495 buffer_compress_init_recv(); 540 buffer_compress_init_recv();
@@ -513,19 +558,21 @@ packet_set_encryption_key(const u_char *key, u_int keylen,
513 fatal("packet_set_encryption_key: keylen too small: %d", keylen); 558 fatal("packet_set_encryption_key: keylen too small: %d", keylen);
514 if (keylen > SSH_SESSION_KEY_LENGTH) 559 if (keylen > SSH_SESSION_KEY_LENGTH)
515 fatal("packet_set_encryption_key: keylen too big: %d", keylen); 560 fatal("packet_set_encryption_key: keylen too big: %d", keylen);
516 memcpy(ssh1_key, key, keylen); 561 memcpy(active_state->ssh1_key, key, keylen);
517 ssh1_keylen = keylen; 562 active_state->ssh1_keylen = keylen;
518 cipher_init(&send_context, cipher, key, keylen, NULL, 0, CIPHER_ENCRYPT); 563 cipher_init(&active_state->send_context, cipher, key, keylen, NULL,
519 cipher_init(&receive_context, cipher, key, keylen, NULL, 0, CIPHER_DECRYPT); 564 0, CIPHER_ENCRYPT);
565 cipher_init(&active_state->receive_context, cipher, key, keylen, NULL,
566 0, CIPHER_DECRYPT);
520} 567}
521 568
522u_int 569u_int
523packet_get_encryption_key(u_char *key) 570packet_get_encryption_key(u_char *key)
524{ 571{
525 if (key == NULL) 572 if (key == NULL)
526 return (ssh1_keylen); 573 return (active_state->ssh1_keylen);
527 memcpy(key, ssh1_key, ssh1_keylen); 574 memcpy(key, active_state->ssh1_key, active_state->ssh1_keylen);
528 return (ssh1_keylen); 575 return (active_state->ssh1_keylen);
529} 576}
530 577
531/* Start constructing a packet to send. */ 578/* Start constructing a packet to send. */
@@ -539,8 +586,8 @@ packet_start(u_char type)
539 len = compat20 ? 6 : 9; 586 len = compat20 ? 6 : 9;
540 memset(buf, 0, len - 1); 587 memset(buf, 0, len - 1);
541 buf[len - 1] = type; 588 buf[len - 1] = type;
542 buffer_clear(&outgoing_packet); 589 buffer_clear(&active_state->outgoing_packet);
543 buffer_append(&outgoing_packet, buf, len); 590 buffer_append(&active_state->outgoing_packet, buf, len);
544} 591}
545 592
546/* Append payload. */ 593/* Append payload. */
@@ -549,43 +596,49 @@ packet_put_char(int value)
549{ 596{
550 char ch = value; 597 char ch = value;
551 598
552 buffer_append(&outgoing_packet, &ch, 1); 599 buffer_append(&active_state->outgoing_packet, &ch, 1);
553} 600}
554 601
555void 602void
556packet_put_int(u_int value) 603packet_put_int(u_int value)
557{ 604{
558 buffer_put_int(&outgoing_packet, value); 605 buffer_put_int(&active_state->outgoing_packet, value);
606}
607
608void
609packet_put_int64(u_int64_t value)
610{
611 buffer_put_int64(&active_state->outgoing_packet, value);
559} 612}
560 613
561void 614void
562packet_put_string(const void *buf, u_int len) 615packet_put_string(const void *buf, u_int len)
563{ 616{
564 buffer_put_string(&outgoing_packet, buf, len); 617 buffer_put_string(&active_state->outgoing_packet, buf, len);
565} 618}
566 619
567void 620void
568packet_put_cstring(const char *str) 621packet_put_cstring(const char *str)
569{ 622{
570 buffer_put_cstring(&outgoing_packet, str); 623 buffer_put_cstring(&active_state->outgoing_packet, str);
571} 624}
572 625
573void 626void
574packet_put_raw(const void *buf, u_int len) 627packet_put_raw(const void *buf, u_int len)
575{ 628{
576 buffer_append(&outgoing_packet, buf, len); 629 buffer_append(&active_state->outgoing_packet, buf, len);
577} 630}
578 631
579void 632void
580packet_put_bignum(BIGNUM * value) 633packet_put_bignum(BIGNUM * value)
581{ 634{
582 buffer_put_bignum(&outgoing_packet, value); 635 buffer_put_bignum(&active_state->outgoing_packet, value);
583} 636}
584 637
585void 638void
586packet_put_bignum2(BIGNUM * value) 639packet_put_bignum2(BIGNUM * value)
587{ 640{
588 buffer_put_bignum2(&outgoing_packet, value); 641 buffer_put_bignum2(&active_state->outgoing_packet, value);
589} 642}
590 643
591/* 644/*
@@ -605,24 +658,27 @@ packet_send1(void)
605 * If using packet compression, compress the payload of the outgoing 658 * If using packet compression, compress the payload of the outgoing
606 * packet. 659 * packet.
607 */ 660 */
608 if (packet_compression) { 661 if (active_state->packet_compression) {
609 buffer_clear(&compression_buffer); 662 buffer_clear(&active_state->compression_buffer);
610 /* Skip padding. */ 663 /* Skip padding. */
611 buffer_consume(&outgoing_packet, 8); 664 buffer_consume(&active_state->outgoing_packet, 8);
612 /* padding */ 665 /* padding */
613 buffer_append(&compression_buffer, "\0\0\0\0\0\0\0\0", 8); 666 buffer_append(&active_state->compression_buffer,
614 buffer_compress(&outgoing_packet, &compression_buffer); 667 "\0\0\0\0\0\0\0\0", 8);
615 buffer_clear(&outgoing_packet); 668 buffer_compress(&active_state->outgoing_packet,
616 buffer_append(&outgoing_packet, buffer_ptr(&compression_buffer), 669 &active_state->compression_buffer);
617 buffer_len(&compression_buffer)); 670 buffer_clear(&active_state->outgoing_packet);
671 buffer_append(&active_state->outgoing_packet,
672 buffer_ptr(&active_state->compression_buffer),
673 buffer_len(&active_state->compression_buffer));
618 } 674 }
619 /* Compute packet length without padding (add checksum, remove padding). */ 675 /* Compute packet length without padding (add checksum, remove padding). */
620 len = buffer_len(&outgoing_packet) + 4 - 8; 676 len = buffer_len(&active_state->outgoing_packet) + 4 - 8;
621 677
622 /* Insert padding. Initialized to zero in packet_start1() */ 678 /* Insert padding. Initialized to zero in packet_start1() */
623 padding = 8 - len % 8; 679 padding = 8 - len % 8;
624 if (!send_context.plaintext) { 680 if (!active_state->send_context.plaintext) {
625 cp = buffer_ptr(&outgoing_packet); 681 cp = buffer_ptr(&active_state->outgoing_packet);
626 for (i = 0; i < padding; i++) { 682 for (i = 0; i < padding; i++) {
627 if (i % 4 == 0) 683 if (i % 4 == 0)
628 rnd = arc4random(); 684 rnd = arc4random();
@@ -630,33 +686,36 @@ packet_send1(void)
630 rnd >>= 8; 686 rnd >>= 8;
631 } 687 }
632 } 688 }
633 buffer_consume(&outgoing_packet, 8 - padding); 689 buffer_consume(&active_state->outgoing_packet, 8 - padding);
634 690
635 /* Add check bytes. */ 691 /* Add check bytes. */
636 checksum = ssh_crc32(buffer_ptr(&outgoing_packet), 692 checksum = ssh_crc32(buffer_ptr(&active_state->outgoing_packet),
637 buffer_len(&outgoing_packet)); 693 buffer_len(&active_state->outgoing_packet));
638 put_u32(buf, checksum); 694 put_u32(buf, checksum);
639 buffer_append(&outgoing_packet, buf, 4); 695 buffer_append(&active_state->outgoing_packet, buf, 4);
640 696
641#ifdef PACKET_DEBUG 697#ifdef PACKET_DEBUG
642 fprintf(stderr, "packet_send plain: "); 698 fprintf(stderr, "packet_send plain: ");
643 buffer_dump(&outgoing_packet); 699 buffer_dump(&active_state->outgoing_packet);
644#endif 700#endif
645 701
646 /* Append to output. */ 702 /* Append to output. */
647 put_u32(buf, len); 703 put_u32(buf, len);
648 buffer_append(&output, buf, 4); 704 buffer_append(&active_state->output, buf, 4);
649 cp = buffer_append_space(&output, buffer_len(&outgoing_packet)); 705 cp = buffer_append_space(&active_state->output,
650 cipher_crypt(&send_context, cp, buffer_ptr(&outgoing_packet), 706 buffer_len(&active_state->outgoing_packet));
651 buffer_len(&outgoing_packet)); 707 cipher_crypt(&active_state->send_context, cp,
708 buffer_ptr(&active_state->outgoing_packet),
709 buffer_len(&active_state->outgoing_packet));
652 710
653#ifdef PACKET_DEBUG 711#ifdef PACKET_DEBUG
654 fprintf(stderr, "encrypted: "); 712 fprintf(stderr, "encrypted: ");
655 buffer_dump(&output); 713 buffer_dump(&active_state->output);
656#endif 714#endif
657 p_send.packets++; 715 active_state->p_send.packets++;
658 p_send.bytes += len + buffer_len(&outgoing_packet); 716 active_state->p_send.bytes += len +
659 buffer_clear(&outgoing_packet); 717 buffer_len(&active_state->outgoing_packet);
718 buffer_clear(&active_state->outgoing_packet);
660 719
661 /* 720 /*
662 * Note that the packet is now only buffered in output. It won't be 721 * Note that the packet is now only buffered in output. It won't be
@@ -678,22 +737,22 @@ set_newkeys(int mode)
678 debug2("set_newkeys: mode %d", mode); 737 debug2("set_newkeys: mode %d", mode);
679 738
680 if (mode == MODE_OUT) { 739 if (mode == MODE_OUT) {
681 cc = &send_context; 740 cc = &active_state->send_context;
682 crypt_type = CIPHER_ENCRYPT; 741 crypt_type = CIPHER_ENCRYPT;
683 p_send.packets = p_send.blocks = 0; 742 active_state->p_send.packets = active_state->p_send.blocks = 0;
684 max_blocks = &max_blocks_out; 743 max_blocks = &active_state->max_blocks_out;
685 } else { 744 } else {
686 cc = &receive_context; 745 cc = &active_state->receive_context;
687 crypt_type = CIPHER_DECRYPT; 746 crypt_type = CIPHER_DECRYPT;
688 p_read.packets = p_read.blocks = 0; 747 active_state->p_read.packets = active_state->p_read.blocks = 0;
689 max_blocks = &max_blocks_in; 748 max_blocks = &active_state->max_blocks_in;
690 } 749 }
691 if (newkeys[mode] != NULL) { 750 if (active_state->newkeys[mode] != NULL) {
692 debug("set_newkeys: rekeying"); 751 debug("set_newkeys: rekeying");
693 cipher_cleanup(cc); 752 cipher_cleanup(cc);
694 enc = &newkeys[mode]->enc; 753 enc = &active_state->newkeys[mode]->enc;
695 mac = &newkeys[mode]->mac; 754 mac = &active_state->newkeys[mode]->mac;
696 comp = &newkeys[mode]->comp; 755 comp = &active_state->newkeys[mode]->comp;
697 mac_clear(mac); 756 mac_clear(mac);
698 xfree(enc->name); 757 xfree(enc->name);
699 xfree(enc->iv); 758 xfree(enc->iv);
@@ -701,14 +760,14 @@ set_newkeys(int mode)
701 xfree(mac->name); 760 xfree(mac->name);
702 xfree(mac->key); 761 xfree(mac->key);
703 xfree(comp->name); 762 xfree(comp->name);
704 xfree(newkeys[mode]); 763 xfree(active_state->newkeys[mode]);
705 } 764 }
706 newkeys[mode] = kex_get_newkeys(mode); 765 active_state->newkeys[mode] = kex_get_newkeys(mode);
707 if (newkeys[mode] == NULL) 766 if (active_state->newkeys[mode] == NULL)
708 fatal("newkeys: no keys for mode %d", mode); 767 fatal("newkeys: no keys for mode %d", mode);
709 enc = &newkeys[mode]->enc; 768 enc = &active_state->newkeys[mode]->enc;
710 mac = &newkeys[mode]->mac; 769 mac = &active_state->newkeys[mode]->mac;
711 comp = &newkeys[mode]->comp; 770 comp = &active_state->newkeys[mode]->comp;
712 if (mac_init(mac) == 0) 771 if (mac_init(mac) == 0)
713 mac->enabled = 1; 772 mac->enabled = 1;
714 DBG(debug("cipher_init_context: %d", mode)); 773 DBG(debug("cipher_init_context: %d", mode));
@@ -719,8 +778,8 @@ set_newkeys(int mode)
719 memset(enc->key, 0, enc->key_len); 778 memset(enc->key, 0, enc->key_len);
720 memset(mac->key, 0, mac->key_len); */ 779 memset(mac->key, 0, mac->key_len); */
721 if ((comp->type == COMP_ZLIB || 780 if ((comp->type == COMP_ZLIB ||
722 (comp->type == COMP_DELAYED && after_authentication)) && 781 (comp->type == COMP_DELAYED &&
723 comp->enabled == 0) { 782 active_state->after_authentication)) && comp->enabled == 0) {
724 packet_init_compression(); 783 packet_init_compression();
725 if (mode == MODE_OUT) 784 if (mode == MODE_OUT)
726 buffer_compress_init_send(6); 785 buffer_compress_init_send(6);
@@ -736,8 +795,9 @@ set_newkeys(int mode)
736 *max_blocks = (u_int64_t)1 << (enc->block_size*2); 795 *max_blocks = (u_int64_t)1 << (enc->block_size*2);
737 else 796 else
738 *max_blocks = ((u_int64_t)1 << 30) / enc->block_size; 797 *max_blocks = ((u_int64_t)1 << 30) / enc->block_size;
739 if (rekey_limit) 798 if (active_state->rekey_limit)
740 *max_blocks = MIN(*max_blocks, rekey_limit / enc->block_size); 799 *max_blocks = MIN(*max_blocks,
800 active_state->rekey_limit / enc->block_size);
741} 801}
742 802
743/* 803/*
@@ -755,12 +815,12 @@ packet_enable_delayed_compress(void)
755 * Remember that we are past the authentication step, so rekeying 815 * Remember that we are past the authentication step, so rekeying
756 * with COMP_DELAYED will turn on compression immediately. 816 * with COMP_DELAYED will turn on compression immediately.
757 */ 817 */
758 after_authentication = 1; 818 active_state->after_authentication = 1;
759 for (mode = 0; mode < MODE_MAX; mode++) { 819 for (mode = 0; mode < MODE_MAX; mode++) {
760 /* protocol error: USERAUTH_SUCCESS received before NEWKEYS */ 820 /* protocol error: USERAUTH_SUCCESS received before NEWKEYS */
761 if (newkeys[mode] == NULL) 821 if (active_state->newkeys[mode] == NULL)
762 continue; 822 continue;
763 comp = &newkeys[mode]->comp; 823 comp = &active_state->newkeys[mode]->comp;
764 if (comp && !comp->enabled && comp->type == COMP_DELAYED) { 824 if (comp && !comp->enabled && comp->type == COMP_DELAYED) {
765 packet_init_compression(); 825 packet_init_compression();
766 if (mode == MODE_OUT) 826 if (mode == MODE_OUT)
@@ -788,37 +848,39 @@ packet_send2_wrapped(void)
788 Comp *comp = NULL; 848 Comp *comp = NULL;
789 int block_size; 849 int block_size;
790 850
791 if (newkeys[MODE_OUT] != NULL) { 851 if (active_state->newkeys[MODE_OUT] != NULL) {
792 enc = &newkeys[MODE_OUT]->enc; 852 enc = &active_state->newkeys[MODE_OUT]->enc;
793 mac = &newkeys[MODE_OUT]->mac; 853 mac = &active_state->newkeys[MODE_OUT]->mac;
794 comp = &newkeys[MODE_OUT]->comp; 854 comp = &active_state->newkeys[MODE_OUT]->comp;
795 } 855 }
796 block_size = enc ? enc->block_size : 8; 856 block_size = enc ? enc->block_size : 8;
797 857
798 cp = buffer_ptr(&outgoing_packet); 858 cp = buffer_ptr(&active_state->outgoing_packet);
799 type = cp[5]; 859 type = cp[5];
800 860
801#ifdef PACKET_DEBUG 861#ifdef PACKET_DEBUG
802 fprintf(stderr, "plain: "); 862 fprintf(stderr, "plain: ");
803 buffer_dump(&outgoing_packet); 863 buffer_dump(&active_state->outgoing_packet);
804#endif 864#endif
805 865
806 if (comp && comp->enabled) { 866 if (comp && comp->enabled) {
807 len = buffer_len(&outgoing_packet); 867 len = buffer_len(&active_state->outgoing_packet);
808 /* skip header, compress only payload */ 868 /* skip header, compress only payload */
809 buffer_consume(&outgoing_packet, 5); 869 buffer_consume(&active_state->outgoing_packet, 5);
810 buffer_clear(&compression_buffer); 870 buffer_clear(&active_state->compression_buffer);
811 buffer_compress(&outgoing_packet, &compression_buffer); 871 buffer_compress(&active_state->outgoing_packet,
812 buffer_clear(&outgoing_packet); 872 &active_state->compression_buffer);
813 buffer_append(&outgoing_packet, "\0\0\0\0\0", 5); 873 buffer_clear(&active_state->outgoing_packet);
814 buffer_append(&outgoing_packet, buffer_ptr(&compression_buffer), 874 buffer_append(&active_state->outgoing_packet, "\0\0\0\0\0", 5);
815 buffer_len(&compression_buffer)); 875 buffer_append(&active_state->outgoing_packet,
876 buffer_ptr(&active_state->compression_buffer),
877 buffer_len(&active_state->compression_buffer));
816 DBG(debug("compression: raw %d compressed %d", len, 878 DBG(debug("compression: raw %d compressed %d", len,
817 buffer_len(&outgoing_packet))); 879 buffer_len(&active_state->outgoing_packet)));
818 } 880 }
819 881
820 /* sizeof (packet_len + pad_len + payload) */ 882 /* sizeof (packet_len + pad_len + payload) */
821 len = buffer_len(&outgoing_packet); 883 len = buffer_len(&active_state->outgoing_packet);
822 884
823 /* 885 /*
824 * calc size of padding, alloc space, get random data, 886 * calc size of padding, alloc space, get random data,
@@ -827,17 +889,19 @@ packet_send2_wrapped(void)
827 padlen = block_size - (len % block_size); 889 padlen = block_size - (len % block_size);
828 if (padlen < 4) 890 if (padlen < 4)
829 padlen += block_size; 891 padlen += block_size;
830 if (extra_pad) { 892 if (active_state->extra_pad) {
831 /* will wrap if extra_pad+padlen > 255 */ 893 /* will wrap if extra_pad+padlen > 255 */
832 extra_pad = roundup(extra_pad, block_size); 894 active_state->extra_pad =
833 pad = extra_pad - ((len + padlen) % extra_pad); 895 roundup(active_state->extra_pad, block_size);
896 pad = active_state->extra_pad -
897 ((len + padlen) % active_state->extra_pad);
834 debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)", 898 debug3("packet_send2: adding %d (len %d padlen %d extra_pad %d)",
835 pad, len, padlen, extra_pad); 899 pad, len, padlen, active_state->extra_pad);
836 padlen += pad; 900 padlen += pad;
837 extra_pad = 0; 901 active_state->extra_pad = 0;
838 } 902 }
839 cp = buffer_append_space(&outgoing_packet, padlen); 903 cp = buffer_append_space(&active_state->outgoing_packet, padlen);
840 if (enc && !send_context.plaintext) { 904 if (enc && !active_state->send_context.plaintext) {
841 /* random padding */ 905 /* random padding */
842 for (i = 0; i < padlen; i++) { 906 for (i = 0; i < padlen; i++) {
843 if (i % 4 == 0) 907 if (i % 4 == 0)
@@ -850,86 +914,88 @@ packet_send2_wrapped(void)
850 memset(cp, 0, padlen); 914 memset(cp, 0, padlen);
851 } 915 }
852 /* packet_length includes payload, padding and padding length field */ 916 /* packet_length includes payload, padding and padding length field */
853 packet_length = buffer_len(&outgoing_packet) - 4; 917 packet_length = buffer_len(&active_state->outgoing_packet) - 4;
854 cp = buffer_ptr(&outgoing_packet); 918 cp = buffer_ptr(&active_state->outgoing_packet);
855 put_u32(cp, packet_length); 919 put_u32(cp, packet_length);
856 cp[4] = padlen; 920 cp[4] = padlen;
857 DBG(debug("send: len %d (includes padlen %d)", packet_length+4, padlen)); 921 DBG(debug("send: len %d (includes padlen %d)", packet_length+4, padlen));
858 922
859 /* compute MAC over seqnr and packet(length fields, payload, padding) */ 923 /* compute MAC over seqnr and packet(length fields, payload, padding) */
860 if (mac && mac->enabled) { 924 if (mac && mac->enabled) {
861 macbuf = mac_compute(mac, p_send.seqnr, 925 macbuf = mac_compute(mac, active_state->p_send.seqnr,
862 buffer_ptr(&outgoing_packet), 926 buffer_ptr(&active_state->outgoing_packet),
863 buffer_len(&outgoing_packet)); 927 buffer_len(&active_state->outgoing_packet));
864 DBG(debug("done calc MAC out #%d", p_send.seqnr)); 928 DBG(debug("done calc MAC out #%d", active_state->p_send.seqnr));
865 } 929 }
866 /* encrypt packet and append to output buffer. */ 930 /* encrypt packet and append to output buffer. */
867 cp = buffer_append_space(&output, buffer_len(&outgoing_packet)); 931 cp = buffer_append_space(&active_state->output,
868 cipher_crypt(&send_context, cp, buffer_ptr(&outgoing_packet), 932 buffer_len(&active_state->outgoing_packet));
869 buffer_len(&outgoing_packet)); 933 cipher_crypt(&active_state->send_context, cp,
934 buffer_ptr(&active_state->outgoing_packet),
935 buffer_len(&active_state->outgoing_packet));
870 /* append unencrypted MAC */ 936 /* append unencrypted MAC */
871 if (mac && mac->enabled) 937 if (mac && mac->enabled)
872 buffer_append(&output, macbuf, mac->mac_len); 938 buffer_append(&active_state->output, macbuf, mac->mac_len);
873#ifdef PACKET_DEBUG 939#ifdef PACKET_DEBUG
874 fprintf(stderr, "encrypted: "); 940 fprintf(stderr, "encrypted: ");
875 buffer_dump(&output); 941 buffer_dump(&active_state->output);
876#endif 942#endif
877 /* increment sequence number for outgoing packets */ 943 /* increment sequence number for outgoing packets */
878 if (++p_send.seqnr == 0) 944 if (++active_state->p_send.seqnr == 0)
879 logit("outgoing seqnr wraps around"); 945 logit("outgoing seqnr wraps around");
880 if (++p_send.packets == 0) 946 if (++active_state->p_send.packets == 0)
881 if (!(datafellows & SSH_BUG_NOREKEY)) 947 if (!(datafellows & SSH_BUG_NOREKEY))
882 fatal("XXX too many packets with same key"); 948 fatal("XXX too many packets with same key");
883 p_send.blocks += (packet_length + 4) / block_size; 949 active_state->p_send.blocks += (packet_length + 4) / block_size;
884 p_send.bytes += packet_length + 4; 950 active_state->p_send.bytes += packet_length + 4;
885 buffer_clear(&outgoing_packet); 951 buffer_clear(&active_state->outgoing_packet);
886 952
887 if (type == SSH2_MSG_NEWKEYS) 953 if (type == SSH2_MSG_NEWKEYS)
888 set_newkeys(MODE_OUT); 954 set_newkeys(MODE_OUT);
889 else if (type == SSH2_MSG_USERAUTH_SUCCESS && server_side) 955 else if (type == SSH2_MSG_USERAUTH_SUCCESS && active_state->server_side)
890 packet_enable_delayed_compress(); 956 packet_enable_delayed_compress();
891} 957}
892 958
893static void 959static void
894packet_send2(void) 960packet_send2(void)
895{ 961{
896 static int rekeying = 0;
897 struct packet *p; 962 struct packet *p;
898 u_char type, *cp; 963 u_char type, *cp;
899 964
900 cp = buffer_ptr(&outgoing_packet); 965 cp = buffer_ptr(&active_state->outgoing_packet);
901 type = cp[5]; 966 type = cp[5];
902 967
903 /* during rekeying we can only send key exchange messages */ 968 /* during rekeying we can only send key exchange messages */
904 if (rekeying) { 969 if (active_state->rekeying) {
905 if (!((type >= SSH2_MSG_TRANSPORT_MIN) && 970 if (!((type >= SSH2_MSG_TRANSPORT_MIN) &&
906 (type <= SSH2_MSG_TRANSPORT_MAX))) { 971 (type <= SSH2_MSG_TRANSPORT_MAX))) {
907 debug("enqueue packet: %u", type); 972 debug("enqueue packet: %u", type);
908 p = xmalloc(sizeof(*p)); 973 p = xmalloc(sizeof(*p));
909 p->type = type; 974 p->type = type;
910 memcpy(&p->payload, &outgoing_packet, sizeof(Buffer)); 975 memcpy(&p->payload, &active_state->outgoing_packet,
911 buffer_init(&outgoing_packet); 976 sizeof(Buffer));
912 TAILQ_INSERT_TAIL(&outgoing, p, next); 977 buffer_init(&active_state->outgoing_packet);
978 TAILQ_INSERT_TAIL(&active_state->outgoing, p, next);
913 return; 979 return;
914 } 980 }
915 } 981 }
916 982
917 /* rekeying starts with sending KEXINIT */ 983 /* rekeying starts with sending KEXINIT */
918 if (type == SSH2_MSG_KEXINIT) 984 if (type == SSH2_MSG_KEXINIT)
919 rekeying = 1; 985 active_state->rekeying = 1;
920 986
921 packet_send2_wrapped(); 987 packet_send2_wrapped();
922 988
923 /* after a NEWKEYS message we can send the complete queue */ 989 /* after a NEWKEYS message we can send the complete queue */
924 if (type == SSH2_MSG_NEWKEYS) { 990 if (type == SSH2_MSG_NEWKEYS) {
925 rekeying = 0; 991 active_state->rekeying = 0;
926 while ((p = TAILQ_FIRST(&outgoing))) { 992 while ((p = TAILQ_FIRST(&active_state->outgoing))) {
927 type = p->type; 993 type = p->type;
928 debug("dequeue packet: %u", type); 994 debug("dequeue packet: %u", type);
929 buffer_free(&outgoing_packet); 995 buffer_free(&active_state->outgoing_packet);
930 memcpy(&outgoing_packet, &p->payload, 996 memcpy(&active_state->outgoing_packet, &p->payload,
931 sizeof(Buffer)); 997 sizeof(Buffer));
932 TAILQ_REMOVE(&outgoing, p, next); 998 TAILQ_REMOVE(&active_state->outgoing, p, next);
933 xfree(p); 999 xfree(p);
934 packet_send2_wrapped(); 1000 packet_send2_wrapped();
935 } 1001 }
@@ -955,15 +1021,15 @@ packet_send(void)
955int 1021int
956packet_read_seqnr(u_int32_t *seqnr_p) 1022packet_read_seqnr(u_int32_t *seqnr_p)
957{ 1023{
958 int type, len, ret, ms_remain; 1024 int type, len, ret, ms_remain, cont;
959 fd_set *setp; 1025 fd_set *setp;
960 char buf[8192]; 1026 char buf[8192];
961 struct timeval timeout, start, *timeoutp = NULL; 1027 struct timeval timeout, start, *timeoutp = NULL;
962 1028
963 DBG(debug("packet_read()")); 1029 DBG(debug("packet_read()"));
964 1030
965 setp = (fd_set *)xcalloc(howmany(connection_in+1, NFDBITS), 1031 setp = (fd_set *)xcalloc(howmany(active_state->connection_in + 1,
966 sizeof(fd_mask)); 1032 NFDBITS), sizeof(fd_mask));
967 1033
968 /* Since we are blocking, ensure that all written packets have been sent. */ 1034 /* Since we are blocking, ensure that all written packets have been sent. */
969 packet_write_wait(); 1035 packet_write_wait();
@@ -987,27 +1053,27 @@ packet_read_seqnr(u_int32_t *seqnr_p)
987 * Otherwise, wait for some data to arrive, add it to the 1053 * Otherwise, wait for some data to arrive, add it to the
988 * buffer, and try again. 1054 * buffer, and try again.
989 */ 1055 */
990 memset(setp, 0, howmany(connection_in + 1, NFDBITS) * 1056 memset(setp, 0, howmany(active_state->connection_in + 1,
991 sizeof(fd_mask)); 1057 NFDBITS) * sizeof(fd_mask));
992 FD_SET(connection_in, setp); 1058 FD_SET(active_state->connection_in, setp);
993 1059
994 if (packet_timeout_ms > 0) { 1060 if (active_state->packet_timeout_ms > 0) {
995 ms_remain = packet_timeout_ms; 1061 ms_remain = active_state->packet_timeout_ms;
996 timeoutp = &timeout; 1062 timeoutp = &timeout;
997 } 1063 }
998 /* Wait for some data to arrive. */ 1064 /* Wait for some data to arrive. */
999 for (;;) { 1065 for (;;) {
1000 if (packet_timeout_ms != -1) { 1066 if (active_state->packet_timeout_ms != -1) {
1001 ms_to_timeval(&timeout, ms_remain); 1067 ms_to_timeval(&timeout, ms_remain);
1002 gettimeofday(&start, NULL); 1068 gettimeofday(&start, NULL);
1003 } 1069 }
1004 if ((ret = select(connection_in + 1, setp, NULL, 1070 if ((ret = select(active_state->connection_in + 1, setp,
1005 NULL, timeoutp)) >= 0) 1071 NULL, NULL, timeoutp)) >= 0)
1006 break; 1072 break;
1007 if (errno != EAGAIN && errno != EINTR && 1073 if (errno != EAGAIN && errno != EINTR &&
1008 errno != EWOULDBLOCK) 1074 errno != EWOULDBLOCK)
1009 break; 1075 break;
1010 if (packet_timeout_ms == -1) 1076 if (active_state->packet_timeout_ms == -1)
1011 continue; 1077 continue;
1012 ms_subtract_diff(&start, &ms_remain); 1078 ms_subtract_diff(&start, &ms_remain);
1013 if (ms_remain <= 0) { 1079 if (ms_remain <= 0) {
@@ -1021,7 +1087,11 @@ packet_read_seqnr(u_int32_t *seqnr_p)
1021 cleanup_exit(255); 1087 cleanup_exit(255);
1022 } 1088 }
1023 /* Read data from the socket. */ 1089 /* Read data from the socket. */
1024 len = read(connection_in, buf, sizeof(buf)); 1090 do {
1091 cont = 0;
1092 len = roaming_read(active_state->connection_in, buf,
1093 sizeof(buf), &cont);
1094 } while (len == 0 && cont);
1025 if (len == 0) { 1095 if (len == 0) {
1026 logit("Connection closed by %.200s", get_remote_ipaddr()); 1096 logit("Connection closed by %.200s", get_remote_ipaddr());
1027 cleanup_exit(255); 1097 cleanup_exit(255);
@@ -1073,31 +1143,32 @@ packet_read_poll1(void)
1073 u_int checksum, stored_checksum; 1143 u_int checksum, stored_checksum;
1074 1144
1075 /* Check if input size is less than minimum packet size. */ 1145 /* Check if input size is less than minimum packet size. */
1076 if (buffer_len(&input) < 4 + 8) 1146 if (buffer_len(&active_state->input) < 4 + 8)
1077 return SSH_MSG_NONE; 1147 return SSH_MSG_NONE;
1078 /* Get length of incoming packet. */ 1148 /* Get length of incoming packet. */
1079 cp = buffer_ptr(&input); 1149 cp = buffer_ptr(&active_state->input);
1080 len = get_u32(cp); 1150 len = get_u32(cp);
1081 if (len < 1 + 2 + 2 || len > 256 * 1024) 1151 if (len < 1 + 2 + 2 || len > 256 * 1024)
1082 packet_disconnect("Bad packet length %u.", len); 1152 packet_disconnect("Bad packet length %u.", len);
1083 padded_len = (len + 8) & ~7; 1153 padded_len = (len + 8) & ~7;
1084 1154
1085 /* Check if the packet has been entirely received. */ 1155 /* Check if the packet has been entirely received. */
1086 if (buffer_len(&input) < 4 + padded_len) 1156 if (buffer_len(&active_state->input) < 4 + padded_len)
1087 return SSH_MSG_NONE; 1157 return SSH_MSG_NONE;
1088 1158
1089 /* The entire packet is in buffer. */ 1159 /* The entire packet is in buffer. */
1090 1160
1091 /* Consume packet length. */ 1161 /* Consume packet length. */
1092 buffer_consume(&input, 4); 1162 buffer_consume(&active_state->input, 4);
1093 1163
1094 /* 1164 /*
1095 * Cryptographic attack detector for ssh 1165 * Cryptographic attack detector for ssh
1096 * (C)1998 CORE-SDI, Buenos Aires Argentina 1166 * (C)1998 CORE-SDI, Buenos Aires Argentina
1097 * Ariel Futoransky(futo@core-sdi.com) 1167 * Ariel Futoransky(futo@core-sdi.com)
1098 */ 1168 */
1099 if (!receive_context.plaintext) { 1169 if (!active_state->receive_context.plaintext) {
1100 switch (detect_attack(buffer_ptr(&input), padded_len)) { 1170 switch (detect_attack(buffer_ptr(&active_state->input),
1171 padded_len)) {
1101 case DEATTACK_DETECTED: 1172 case DEATTACK_DETECTED:
1102 packet_disconnect("crc32 compensation attack: " 1173 packet_disconnect("crc32 compensation attack: "
1103 "network attack detected"); 1174 "network attack detected");
@@ -1108,45 +1179,48 @@ packet_read_poll1(void)
1108 } 1179 }
1109 1180
1110 /* Decrypt data to incoming_packet. */ 1181 /* Decrypt data to incoming_packet. */
1111 buffer_clear(&incoming_packet); 1182 buffer_clear(&active_state->incoming_packet);
1112 cp = buffer_append_space(&incoming_packet, padded_len); 1183 cp = buffer_append_space(&active_state->incoming_packet, padded_len);
1113 cipher_crypt(&receive_context, cp, buffer_ptr(&input), padded_len); 1184 cipher_crypt(&active_state->receive_context, cp,
1185 buffer_ptr(&active_state->input), padded_len);
1114 1186
1115 buffer_consume(&input, padded_len); 1187 buffer_consume(&active_state->input, padded_len);
1116 1188
1117#ifdef PACKET_DEBUG 1189#ifdef PACKET_DEBUG
1118 fprintf(stderr, "read_poll plain: "); 1190 fprintf(stderr, "read_poll plain: ");
1119 buffer_dump(&incoming_packet); 1191 buffer_dump(&active_state->incoming_packet);
1120#endif 1192#endif
1121 1193
1122 /* Compute packet checksum. */ 1194 /* Compute packet checksum. */
1123 checksum = ssh_crc32(buffer_ptr(&incoming_packet), 1195 checksum = ssh_crc32(buffer_ptr(&active_state->incoming_packet),
1124 buffer_len(&incoming_packet) - 4); 1196 buffer_len(&active_state->incoming_packet) - 4);
1125 1197
1126 /* Skip padding. */ 1198 /* Skip padding. */
1127 buffer_consume(&incoming_packet, 8 - len % 8); 1199 buffer_consume(&active_state->incoming_packet, 8 - len % 8);
1128 1200
1129 /* Test check bytes. */ 1201 /* Test check bytes. */
1130 if (len != buffer_len(&incoming_packet)) 1202 if (len != buffer_len(&active_state->incoming_packet))
1131 packet_disconnect("packet_read_poll1: len %d != buffer_len %d.", 1203 packet_disconnect("packet_read_poll1: len %d != buffer_len %d.",
1132 len, buffer_len(&incoming_packet)); 1204 len, buffer_len(&active_state->incoming_packet));
1133 1205
1134 cp = (u_char *)buffer_ptr(&incoming_packet) + len - 4; 1206 cp = (u_char *)buffer_ptr(&active_state->incoming_packet) + len - 4;
1135 stored_checksum = get_u32(cp); 1207 stored_checksum = get_u32(cp);
1136 if (checksum != stored_checksum) 1208 if (checksum != stored_checksum)
1137 packet_disconnect("Corrupted check bytes on input."); 1209 packet_disconnect("Corrupted check bytes on input.");
1138 buffer_consume_end(&incoming_packet, 4); 1210 buffer_consume_end(&active_state->incoming_packet, 4);
1139 1211
1140 if (packet_compression) { 1212 if (active_state->packet_compression) {
1141 buffer_clear(&compression_buffer); 1213 buffer_clear(&active_state->compression_buffer);
1142 buffer_uncompress(&incoming_packet, &compression_buffer); 1214 buffer_uncompress(&active_state->incoming_packet,
1143 buffer_clear(&incoming_packet); 1215 &active_state->compression_buffer);
1144 buffer_append(&incoming_packet, buffer_ptr(&compression_buffer), 1216 buffer_clear(&active_state->incoming_packet);
1145 buffer_len(&compression_buffer)); 1217 buffer_append(&active_state->incoming_packet,
1218 buffer_ptr(&active_state->compression_buffer),
1219 buffer_len(&active_state->compression_buffer));
1146 } 1220 }
1147 p_read.packets++; 1221 active_state->p_read.packets++;
1148 p_read.bytes += padded_len + 4; 1222 active_state->p_read.bytes += padded_len + 4;
1149 type = buffer_get_char(&incoming_packet); 1223 type = buffer_get_char(&active_state->incoming_packet);
1150 if (type < SSH_MSG_MIN || type > SSH_MSG_MAX) 1224 if (type < SSH_MSG_MIN || type > SSH_MSG_MAX)
1151 packet_disconnect("Invalid ssh1 packet type: %d", type); 1225 packet_disconnect("Invalid ssh1 packet type: %d", type);
1152 return type; 1226 return type;
@@ -1155,7 +1229,6 @@ packet_read_poll1(void)
1155static int 1229static int
1156packet_read_poll2(u_int32_t *seqnr_p) 1230packet_read_poll2(u_int32_t *seqnr_p)
1157{ 1231{
1158 static u_int packet_length = 0;
1159 u_int padlen, need; 1232 u_int padlen, need;
1160 u_char *macbuf, *cp, type; 1233 u_char *macbuf, *cp, type;
1161 u_int maclen, block_size; 1234 u_int maclen, block_size;
@@ -1163,50 +1236,52 @@ packet_read_poll2(u_int32_t *seqnr_p)
1163 Mac *mac = NULL; 1236 Mac *mac = NULL;
1164 Comp *comp = NULL; 1237 Comp *comp = NULL;
1165 1238
1166 if (packet_discard) 1239 if (active_state->packet_discard)
1167 return SSH_MSG_NONE; 1240 return SSH_MSG_NONE;
1168 1241
1169 if (newkeys[MODE_IN] != NULL) { 1242 if (active_state->newkeys[MODE_IN] != NULL) {
1170 enc = &newkeys[MODE_IN]->enc; 1243 enc = &active_state->newkeys[MODE_IN]->enc;
1171 mac = &newkeys[MODE_IN]->mac; 1244 mac = &active_state->newkeys[MODE_IN]->mac;
1172 comp = &newkeys[MODE_IN]->comp; 1245 comp = &active_state->newkeys[MODE_IN]->comp;
1173 } 1246 }
1174 maclen = mac && mac->enabled ? mac->mac_len : 0; 1247 maclen = mac && mac->enabled ? mac->mac_len : 0;
1175 block_size = enc ? enc->block_size : 8; 1248 block_size = enc ? enc->block_size : 8;
1176 1249
1177 if (packet_length == 0) { 1250 if (active_state->packlen == 0) {
1178 /* 1251 /*
1179 * check if input size is less than the cipher block size, 1252 * check if input size is less than the cipher block size,
1180 * decrypt first block and extract length of incoming packet 1253 * decrypt first block and extract length of incoming packet
1181 */ 1254 */
1182 if (buffer_len(&input) < block_size) 1255 if (buffer_len(&active_state->input) < block_size)
1183 return SSH_MSG_NONE; 1256 return SSH_MSG_NONE;
1184 buffer_clear(&incoming_packet); 1257 buffer_clear(&active_state->incoming_packet);
1185 cp = buffer_append_space(&incoming_packet, block_size); 1258 cp = buffer_append_space(&active_state->incoming_packet,
1186 cipher_crypt(&receive_context, cp, buffer_ptr(&input),
1187 block_size); 1259 block_size);
1188 cp = buffer_ptr(&incoming_packet); 1260 cipher_crypt(&active_state->receive_context, cp,
1189 packet_length = get_u32(cp); 1261 buffer_ptr(&active_state->input), block_size);
1190 if (packet_length < 1 + 4 || packet_length > PACKET_MAX_SIZE) { 1262 cp = buffer_ptr(&active_state->incoming_packet);
1263 active_state->packlen = get_u32(cp);
1264 if (active_state->packlen < 1 + 4 ||
1265 active_state->packlen > PACKET_MAX_SIZE) {
1191#ifdef PACKET_DEBUG 1266#ifdef PACKET_DEBUG
1192 buffer_dump(&incoming_packet); 1267 buffer_dump(&active_state->incoming_packet);
1193#endif 1268#endif
1194 logit("Bad packet length %u.", packet_length); 1269 logit("Bad packet length %u.", active_state->packlen);
1195 packet_start_discard(enc, mac, packet_length, 1270 packet_start_discard(enc, mac, active_state->packlen,
1196 PACKET_MAX_SIZE); 1271 PACKET_MAX_SIZE);
1197 return SSH_MSG_NONE; 1272 return SSH_MSG_NONE;
1198 } 1273 }
1199 DBG(debug("input: packet len %u", packet_length+4)); 1274 DBG(debug("input: packet len %u", active_state->packlen+4));
1200 buffer_consume(&input, block_size); 1275 buffer_consume(&active_state->input, block_size);
1201 } 1276 }
1202 /* we have a partial packet of block_size bytes */ 1277 /* we have a partial packet of block_size bytes */
1203 need = 4 + packet_length - block_size; 1278 need = 4 + active_state->packlen - block_size;
1204 DBG(debug("partial packet %d, need %d, maclen %d", block_size, 1279 DBG(debug("partial packet %d, need %d, maclen %d", block_size,
1205 need, maclen)); 1280 need, maclen));
1206 if (need % block_size != 0) { 1281 if (need % block_size != 0) {
1207 logit("padding error: need %d block %d mod %d", 1282 logit("padding error: need %d block %d mod %d",
1208 need, block_size, need % block_size); 1283 need, block_size, need % block_size);
1209 packet_start_discard(enc, mac, packet_length, 1284 packet_start_discard(enc, mac, active_state->packlen,
1210 PACKET_MAX_SIZE - block_size); 1285 PACKET_MAX_SIZE - block_size);
1211 return SSH_MSG_NONE; 1286 return SSH_MSG_NONE;
1212 } 1287 }
@@ -1214,84 +1289,90 @@ packet_read_poll2(u_int32_t *seqnr_p)
1214 * check if the entire packet has been received and 1289 * check if the entire packet has been received and
1215 * decrypt into incoming_packet 1290 * decrypt into incoming_packet
1216 */ 1291 */
1217 if (buffer_len(&input) < need + maclen) 1292 if (buffer_len(&active_state->input) < need + maclen)
1218 return SSH_MSG_NONE; 1293 return SSH_MSG_NONE;
1219#ifdef PACKET_DEBUG 1294#ifdef PACKET_DEBUG
1220 fprintf(stderr, "read_poll enc/full: "); 1295 fprintf(stderr, "read_poll enc/full: ");
1221 buffer_dump(&input); 1296 buffer_dump(&active_state->input);
1222#endif 1297#endif
1223 cp = buffer_append_space(&incoming_packet, need); 1298 cp = buffer_append_space(&active_state->incoming_packet, need);
1224 cipher_crypt(&receive_context, cp, buffer_ptr(&input), need); 1299 cipher_crypt(&active_state->receive_context, cp,
1225 buffer_consume(&input, need); 1300 buffer_ptr(&active_state->input), need);
1301 buffer_consume(&active_state->input, need);
1226 /* 1302 /*
1227 * compute MAC over seqnr and packet, 1303 * compute MAC over seqnr and packet,
1228 * increment sequence number for incoming packet 1304 * increment sequence number for incoming packet
1229 */ 1305 */
1230 if (mac && mac->enabled) { 1306 if (mac && mac->enabled) {
1231 macbuf = mac_compute(mac, p_read.seqnr, 1307 macbuf = mac_compute(mac, active_state->p_read.seqnr,
1232 buffer_ptr(&incoming_packet), 1308 buffer_ptr(&active_state->incoming_packet),
1233 buffer_len(&incoming_packet)); 1309 buffer_len(&active_state->incoming_packet));
1234 if (memcmp(macbuf, buffer_ptr(&input), mac->mac_len) != 0) { 1310 if (memcmp(macbuf, buffer_ptr(&active_state->input),
1311 mac->mac_len) != 0) {
1235 logit("Corrupted MAC on input."); 1312 logit("Corrupted MAC on input.");
1236 if (need > PACKET_MAX_SIZE) 1313 if (need > PACKET_MAX_SIZE)
1237 fatal("internal error need %d", need); 1314 fatal("internal error need %d", need);
1238 packet_start_discard(enc, mac, packet_length, 1315 packet_start_discard(enc, mac, active_state->packlen,
1239 PACKET_MAX_SIZE - need); 1316 PACKET_MAX_SIZE - need);
1240 return SSH_MSG_NONE; 1317 return SSH_MSG_NONE;
1241 } 1318 }
1242 1319
1243 DBG(debug("MAC #%d ok", p_read.seqnr)); 1320 DBG(debug("MAC #%d ok", active_state->p_read.seqnr));
1244 buffer_consume(&input, mac->mac_len); 1321 buffer_consume(&active_state->input, mac->mac_len);
1245 } 1322 }
1246 /* XXX now it's safe to use fatal/packet_disconnect */ 1323 /* XXX now it's safe to use fatal/packet_disconnect */
1247 if (seqnr_p != NULL) 1324 if (seqnr_p != NULL)
1248 *seqnr_p = p_read.seqnr; 1325 *seqnr_p = active_state->p_read.seqnr;
1249 if (++p_read.seqnr == 0) 1326 if (++active_state->p_read.seqnr == 0)
1250 logit("incoming seqnr wraps around"); 1327 logit("incoming seqnr wraps around");
1251 if (++p_read.packets == 0) 1328 if (++active_state->p_read.packets == 0)
1252 if (!(datafellows & SSH_BUG_NOREKEY)) 1329 if (!(datafellows & SSH_BUG_NOREKEY))
1253 fatal("XXX too many packets with same key"); 1330 fatal("XXX too many packets with same key");
1254 p_read.blocks += (packet_length + 4) / block_size; 1331 active_state->p_read.blocks += (active_state->packlen + 4) / block_size;
1255 p_read.bytes += packet_length + 4; 1332 active_state->p_read.bytes += active_state->packlen + 4;
1256 1333
1257 /* get padlen */ 1334 /* get padlen */
1258 cp = buffer_ptr(&incoming_packet); 1335 cp = buffer_ptr(&active_state->incoming_packet);
1259 padlen = cp[4]; 1336 padlen = cp[4];
1260 DBG(debug("input: padlen %d", padlen)); 1337 DBG(debug("input: padlen %d", padlen));
1261 if (padlen < 4) 1338 if (padlen < 4)
1262 packet_disconnect("Corrupted padlen %d on input.", padlen); 1339 packet_disconnect("Corrupted padlen %d on input.", padlen);
1263 1340
1264 /* skip packet size + padlen, discard padding */ 1341 /* skip packet size + padlen, discard padding */
1265 buffer_consume(&incoming_packet, 4 + 1); 1342 buffer_consume(&active_state->incoming_packet, 4 + 1);
1266 buffer_consume_end(&incoming_packet, padlen); 1343 buffer_consume_end(&active_state->incoming_packet, padlen);
1267 1344
1268 DBG(debug("input: len before de-compress %d", buffer_len(&incoming_packet))); 1345 DBG(debug("input: len before de-compress %d",
1346 buffer_len(&active_state->incoming_packet)));
1269 if (comp && comp->enabled) { 1347 if (comp && comp->enabled) {
1270 buffer_clear(&compression_buffer); 1348 buffer_clear(&active_state->compression_buffer);
1271 buffer_uncompress(&incoming_packet, &compression_buffer); 1349 buffer_uncompress(&active_state->incoming_packet,
1272 buffer_clear(&incoming_packet); 1350 &active_state->compression_buffer);
1273 buffer_append(&incoming_packet, buffer_ptr(&compression_buffer), 1351 buffer_clear(&active_state->incoming_packet);
1274 buffer_len(&compression_buffer)); 1352 buffer_append(&active_state->incoming_packet,
1353 buffer_ptr(&active_state->compression_buffer),
1354 buffer_len(&active_state->compression_buffer));
1275 DBG(debug("input: len after de-compress %d", 1355 DBG(debug("input: len after de-compress %d",
1276 buffer_len(&incoming_packet))); 1356 buffer_len(&active_state->incoming_packet)));
1277 } 1357 }
1278 /* 1358 /*
1279 * get packet type, implies consume. 1359 * get packet type, implies consume.
1280 * return length of payload (without type field) 1360 * return length of payload (without type field)
1281 */ 1361 */
1282 type = buffer_get_char(&incoming_packet); 1362 type = buffer_get_char(&active_state->incoming_packet);
1283 if (type < SSH2_MSG_MIN || type >= SSH2_MSG_LOCAL_MIN) 1363 if (type < SSH2_MSG_MIN || type >= SSH2_MSG_LOCAL_MIN)
1284 packet_disconnect("Invalid ssh2 packet type: %d", type); 1364 packet_disconnect("Invalid ssh2 packet type: %d", type);
1285 if (type == SSH2_MSG_NEWKEYS) 1365 if (type == SSH2_MSG_NEWKEYS)
1286 set_newkeys(MODE_IN); 1366 set_newkeys(MODE_IN);
1287 else if (type == SSH2_MSG_USERAUTH_SUCCESS && !server_side) 1367 else if (type == SSH2_MSG_USERAUTH_SUCCESS &&
1368 !active_state->server_side)
1288 packet_enable_delayed_compress(); 1369 packet_enable_delayed_compress();
1289#ifdef PACKET_DEBUG 1370#ifdef PACKET_DEBUG
1290 fprintf(stderr, "read/plain[%d]:\r\n", type); 1371 fprintf(stderr, "read/plain[%d]:\r\n", type);
1291 buffer_dump(&incoming_packet); 1372 buffer_dump(&active_state->incoming_packet);
1292#endif 1373#endif
1293 /* reset for next packet */ 1374 /* reset for next packet */
1294 packet_length = 0; 1375 active_state->packlen = 0;
1295 return type; 1376 return type;
1296} 1377}
1297 1378
@@ -1306,7 +1387,7 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
1306 if (compat20) { 1387 if (compat20) {
1307 type = packet_read_poll2(seqnr_p); 1388 type = packet_read_poll2(seqnr_p);
1308 if (type) { 1389 if (type) {
1309 keep_alive_timeouts = 0; 1390 active_state->keep_alive_timeouts = 0;
1310 DBG(debug("received packet type %d", type)); 1391 DBG(debug("received packet type %d", type));
1311 } 1392 }
1312 switch (type) { 1393 switch (type) {
@@ -1376,14 +1457,14 @@ packet_read_poll(void)
1376void 1457void
1377packet_process_incoming(const char *buf, u_int len) 1458packet_process_incoming(const char *buf, u_int len)
1378{ 1459{
1379 if (packet_discard) { 1460 if (active_state->packet_discard) {
1380 keep_alive_timeouts = 0; /* ?? */ 1461 active_state->keep_alive_timeouts = 0; /* ?? */
1381 if (len >= packet_discard) 1462 if (len >= active_state->packet_discard)
1382 packet_stop_discard(); 1463 packet_stop_discard();
1383 packet_discard -= len; 1464 active_state->packet_discard -= len;
1384 return; 1465 return;
1385 } 1466 }
1386 buffer_append(&input, buf, len); 1467 buffer_append(&active_state->input, buf, len);
1387} 1468}
1388 1469
1389/* Returns a character from the packet. */ 1470/* Returns a character from the packet. */
@@ -1393,7 +1474,7 @@ packet_get_char(void)
1393{ 1474{
1394 char ch; 1475 char ch;
1395 1476
1396 buffer_get(&incoming_packet, &ch, 1); 1477 buffer_get(&active_state->incoming_packet, &ch, 1);
1397 return (u_char) ch; 1478 return (u_char) ch;
1398} 1479}
1399 1480
@@ -1402,7 +1483,15 @@ packet_get_char(void)
1402u_int 1483u_int
1403packet_get_int(void) 1484packet_get_int(void)
1404{ 1485{
1405 return buffer_get_int(&incoming_packet); 1486 return buffer_get_int(&active_state->incoming_packet);
1487}
1488
1489/* Returns an 64 bit integer from the packet data. */
1490
1491u_int64_t
1492packet_get_int64(void)
1493{
1494 return buffer_get_int64(&active_state->incoming_packet);
1406} 1495}
1407 1496
1408/* 1497/*
@@ -1413,29 +1502,29 @@ packet_get_int(void)
1413void 1502void
1414packet_get_bignum(BIGNUM * value) 1503packet_get_bignum(BIGNUM * value)
1415{ 1504{
1416 buffer_get_bignum(&incoming_packet, value); 1505 buffer_get_bignum(&active_state->incoming_packet, value);
1417} 1506}
1418 1507
1419void 1508void
1420packet_get_bignum2(BIGNUM * value) 1509packet_get_bignum2(BIGNUM * value)
1421{ 1510{
1422 buffer_get_bignum2(&incoming_packet, value); 1511 buffer_get_bignum2(&active_state->incoming_packet, value);
1423} 1512}
1424 1513
1425void * 1514void *
1426packet_get_raw(u_int *length_ptr) 1515packet_get_raw(u_int *length_ptr)
1427{ 1516{
1428 u_int bytes = buffer_len(&incoming_packet); 1517 u_int bytes = buffer_len(&active_state->incoming_packet);
1429 1518
1430 if (length_ptr != NULL) 1519 if (length_ptr != NULL)
1431 *length_ptr = bytes; 1520 *length_ptr = bytes;
1432 return buffer_ptr(&incoming_packet); 1521 return buffer_ptr(&active_state->incoming_packet);
1433} 1522}
1434 1523
1435int 1524int
1436packet_remaining(void) 1525packet_remaining(void)
1437{ 1526{
1438 return buffer_len(&incoming_packet); 1527 return buffer_len(&active_state->incoming_packet);
1439} 1528}
1440 1529
1441/* 1530/*
@@ -1448,13 +1537,13 @@ packet_remaining(void)
1448void * 1537void *
1449packet_get_string(u_int *length_ptr) 1538packet_get_string(u_int *length_ptr)
1450{ 1539{
1451 return buffer_get_string(&incoming_packet, length_ptr); 1540 return buffer_get_string(&active_state->incoming_packet, length_ptr);
1452} 1541}
1453 1542
1454void * 1543void *
1455packet_get_string_ptr(u_int *length_ptr) 1544packet_get_string_ptr(u_int *length_ptr)
1456{ 1545{
1457 return buffer_get_string_ptr(&incoming_packet, length_ptr); 1546 return buffer_get_string_ptr(&active_state->incoming_packet, length_ptr);
1458} 1547}
1459 1548
1460/* 1549/*
@@ -1547,23 +1636,25 @@ packet_disconnect(const char *fmt,...)
1547void 1636void
1548packet_write_poll(void) 1637packet_write_poll(void)
1549{ 1638{
1550 int len = buffer_len(&output); 1639 int len = buffer_len(&active_state->output);
1640 int cont;
1551 1641
1552 if (len > 0) { 1642 if (len > 0) {
1553 len = write(connection_out, buffer_ptr(&output), len); 1643 cont = 0;
1644 len = roaming_write(active_state->connection_out,
1645 buffer_ptr(&active_state->output), len, &cont);
1554 if (len == -1) { 1646 if (len == -1) {
1555 if (errno == EINTR || errno == EAGAIN || 1647 if (errno == EINTR || errno == EAGAIN ||
1556 errno == EWOULDBLOCK) 1648 errno == EWOULDBLOCK)
1557 return; 1649 return;
1558 fatal("Write failed: %.100s", strerror(errno)); 1650 fatal("Write failed: %.100s", strerror(errno));
1559 } 1651 }
1560 if (len == 0) 1652 if (len == 0 && !cont)
1561 fatal("Write connection closed"); 1653 fatal("Write connection closed");
1562 buffer_consume(&output, len); 1654 buffer_consume(&active_state->output, len);
1563 } 1655 }
1564} 1656}
1565 1657
1566
1567/* 1658/*
1568 * Calls packet_write_poll repeatedly until all pending output data has been 1659 * Calls packet_write_poll repeatedly until all pending output data has been
1569 * written. 1660 * written.
@@ -1576,30 +1667,30 @@ packet_write_wait(void)
1576 int ret, ms_remain; 1667 int ret, ms_remain;
1577 struct timeval start, timeout, *timeoutp = NULL; 1668 struct timeval start, timeout, *timeoutp = NULL;
1578 1669
1579 setp = (fd_set *)xcalloc(howmany(connection_out + 1, NFDBITS), 1670 setp = (fd_set *)xcalloc(howmany(active_state->connection_out + 1,
1580 sizeof(fd_mask)); 1671 NFDBITS), sizeof(fd_mask));
1581 packet_write_poll(); 1672 packet_write_poll();
1582 while (packet_have_data_to_write()) { 1673 while (packet_have_data_to_write()) {
1583 memset(setp, 0, howmany(connection_out + 1, NFDBITS) * 1674 memset(setp, 0, howmany(active_state->connection_out + 1,
1584 sizeof(fd_mask)); 1675 NFDBITS) * sizeof(fd_mask));
1585 FD_SET(connection_out, setp); 1676 FD_SET(active_state->connection_out, setp);
1586 1677
1587 if (packet_timeout_ms > 0) { 1678 if (active_state->packet_timeout_ms > 0) {
1588 ms_remain = packet_timeout_ms; 1679 ms_remain = active_state->packet_timeout_ms;
1589 timeoutp = &timeout; 1680 timeoutp = &timeout;
1590 } 1681 }
1591 for (;;) { 1682 for (;;) {
1592 if (packet_timeout_ms != -1) { 1683 if (active_state->packet_timeout_ms != -1) {
1593 ms_to_timeval(&timeout, ms_remain); 1684 ms_to_timeval(&timeout, ms_remain);
1594 gettimeofday(&start, NULL); 1685 gettimeofday(&start, NULL);
1595 } 1686 }
1596 if ((ret = select(connection_out + 1, NULL, setp, 1687 if ((ret = select(active_state->connection_out + 1,
1597 NULL, timeoutp)) >= 0) 1688 NULL, setp, NULL, timeoutp)) >= 0)
1598 break; 1689 break;
1599 if (errno != EAGAIN && errno != EINTR && 1690 if (errno != EAGAIN && errno != EINTR &&
1600 errno != EWOULDBLOCK) 1691 errno != EWOULDBLOCK)
1601 break; 1692 break;
1602 if (packet_timeout_ms == -1) 1693 if (active_state->packet_timeout_ms == -1)
1603 continue; 1694 continue;
1604 ms_subtract_diff(&start, &ms_remain); 1695 ms_subtract_diff(&start, &ms_remain);
1605 if (ms_remain <= 0) { 1696 if (ms_remain <= 0) {
@@ -1622,7 +1713,7 @@ packet_write_wait(void)
1622int 1713int
1623packet_have_data_to_write(void) 1714packet_have_data_to_write(void)
1624{ 1715{
1625 return buffer_len(&output) != 0; 1716 return buffer_len(&active_state->output) != 0;
1626} 1717}
1627 1718
1628/* Returns true if there is not too much data to write to the connection. */ 1719/* Returns true if there is not too much data to write to the connection. */
@@ -1630,13 +1721,12 @@ packet_have_data_to_write(void)
1630int 1721int
1631packet_not_very_much_data_to_write(void) 1722packet_not_very_much_data_to_write(void)
1632{ 1723{
1633 if (interactive_mode) 1724 if (active_state->interactive_mode)
1634 return buffer_len(&output) < 16384; 1725 return buffer_len(&active_state->output) < 16384;
1635 else 1726 else
1636 return buffer_len(&output) < 128 * 1024; 1727 return buffer_len(&active_state->output) < 128 * 1024;
1637} 1728}
1638 1729
1639
1640static void 1730static void
1641packet_set_tos(int interactive) 1731packet_set_tos(int interactive)
1642{ 1732{
@@ -1646,7 +1736,7 @@ packet_set_tos(int interactive)
1646 if (!packet_connection_is_on_socket() || 1736 if (!packet_connection_is_on_socket() ||
1647 !packet_connection_is_ipv4()) 1737 !packet_connection_is_ipv4())
1648 return; 1738 return;
1649 if (setsockopt(connection_in, IPPROTO_IP, IP_TOS, &tos, 1739 if (setsockopt(active_state->connection_in, IPPROTO_IP, IP_TOS, &tos,
1650 sizeof(tos)) < 0) 1740 sizeof(tos)) < 0)
1651 error("setsockopt IP_TOS %d: %.100s:", 1741 error("setsockopt IP_TOS %d: %.100s:",
1652 tos, strerror(errno)); 1742 tos, strerror(errno));
@@ -1658,19 +1748,17 @@ packet_set_tos(int interactive)
1658void 1748void
1659packet_set_interactive(int interactive) 1749packet_set_interactive(int interactive)
1660{ 1750{
1661 static int called = 0; 1751 if (active_state->set_interactive_called)
1662
1663 if (called)
1664 return; 1752 return;
1665 called = 1; 1753 active_state->set_interactive_called = 1;
1666 1754
1667 /* Record that we are in interactive mode. */ 1755 /* Record that we are in interactive mode. */
1668 interactive_mode = interactive; 1756 active_state->interactive_mode = interactive;
1669 1757
1670 /* Only set socket options if using a socket. */ 1758 /* Only set socket options if using a socket. */
1671 if (!packet_connection_is_on_socket()) 1759 if (!packet_connection_is_on_socket())
1672 return; 1760 return;
1673 set_nodelay(connection_in); 1761 set_nodelay(active_state->connection_in);
1674 packet_set_tos(interactive); 1762 packet_set_tos(interactive);
1675} 1763}
1676 1764
@@ -1679,34 +1767,50 @@ packet_set_interactive(int interactive)
1679int 1767int
1680packet_is_interactive(void) 1768packet_is_interactive(void)
1681{ 1769{
1682 return interactive_mode; 1770 return active_state->interactive_mode;
1683} 1771}
1684 1772
1685int 1773int
1686packet_set_maxsize(u_int s) 1774packet_set_maxsize(u_int s)
1687{ 1775{
1688 static int called = 0; 1776 if (active_state->set_maxsize_called) {
1689
1690 if (called) {
1691 logit("packet_set_maxsize: called twice: old %d new %d", 1777 logit("packet_set_maxsize: called twice: old %d new %d",
1692 max_packet_size, s); 1778 active_state->max_packet_size, s);
1693 return -1; 1779 return -1;
1694 } 1780 }
1695 if (s < 4 * 1024 || s > 1024 * 1024) { 1781 if (s < 4 * 1024 || s > 1024 * 1024) {
1696 logit("packet_set_maxsize: bad size %d", s); 1782 logit("packet_set_maxsize: bad size %d", s);
1697 return -1; 1783 return -1;
1698 } 1784 }
1699 called = 1; 1785 active_state->set_maxsize_called = 1;
1700 debug("packet_set_maxsize: setting to %d", s); 1786 debug("packet_set_maxsize: setting to %d", s);
1701 max_packet_size = s; 1787 active_state->max_packet_size = s;
1702 return s; 1788 return s;
1703} 1789}
1704 1790
1791int
1792packet_inc_alive_timeouts(void)
1793{
1794 return ++active_state->keep_alive_timeouts;
1795}
1796
1797void
1798packet_set_alive_timeouts(int ka)
1799{
1800 active_state->keep_alive_timeouts = ka;
1801}
1802
1803u_int
1804packet_get_maxsize(void)
1805{
1806 return active_state->max_packet_size;
1807}
1808
1705/* roundup current message to pad bytes */ 1809/* roundup current message to pad bytes */
1706void 1810void
1707packet_add_padding(u_char pad) 1811packet_add_padding(u_char pad)
1708{ 1812{
1709 extra_pad = pad; 1813 active_state->extra_pad = pad;
1710} 1814}
1711 1815
1712/* 1816/*
@@ -1743,26 +1847,93 @@ packet_need_rekeying(void)
1743 if (datafellows & SSH_BUG_NOREKEY) 1847 if (datafellows & SSH_BUG_NOREKEY)
1744 return 0; 1848 return 0;
1745 return 1849 return
1746 (p_send.packets > MAX_PACKETS) || 1850 (active_state->p_send.packets > MAX_PACKETS) ||
1747 (p_read.packets > MAX_PACKETS) || 1851 (active_state->p_read.packets > MAX_PACKETS) ||
1748 (max_blocks_out && (p_send.blocks > max_blocks_out)) || 1852 (active_state->max_blocks_out &&
1749 (max_blocks_in && (p_read.blocks > max_blocks_in)); 1853 (active_state->p_send.blocks > active_state->max_blocks_out)) ||
1854 (active_state->max_blocks_in &&
1855 (active_state->p_read.blocks > active_state->max_blocks_in));
1750} 1856}
1751 1857
1752void 1858void
1753packet_set_rekey_limit(u_int32_t bytes) 1859packet_set_rekey_limit(u_int32_t bytes)
1754{ 1860{
1755 rekey_limit = bytes; 1861 active_state->rekey_limit = bytes;
1756} 1862}
1757 1863
1758void 1864void
1759packet_set_server(void) 1865packet_set_server(void)
1760{ 1866{
1761 server_side = 1; 1867 active_state->server_side = 1;
1762} 1868}
1763 1869
1764void 1870void
1765packet_set_authenticated(void) 1871packet_set_authenticated(void)
1766{ 1872{
1767 after_authentication = 1; 1873 active_state->after_authentication = 1;
1874}
1875
1876void *
1877packet_get_input(void)
1878{
1879 return (void *)&active_state->input;
1880}
1881
1882void *
1883packet_get_output(void)
1884{
1885 return (void *)&active_state->output;
1886}
1887
1888void *
1889packet_get_newkeys(int mode)
1890{
1891 return (void *)active_state->newkeys[mode];
1892}
1893
1894/*
1895 * Save the state for the real connection, and use a separate state when
1896 * resuming a suspended connection.
1897 */
1898void
1899packet_backup_state(void)
1900{
1901 struct session_state *tmp;
1902
1903 close(active_state->connection_in);
1904 active_state->connection_in = -1;
1905 close(active_state->connection_out);
1906 active_state->connection_out = -1;
1907 if (backup_state)
1908 tmp = backup_state;
1909 else
1910 tmp = alloc_session_state();
1911 backup_state = active_state;
1912 active_state = tmp;
1913}
1914
1915/*
1916 * Swap in the old state when resuming a connecion.
1917 */
1918void
1919packet_restore_state(void)
1920{
1921 struct session_state *tmp;
1922 void *buf;
1923 u_int len;
1924
1925 tmp = backup_state;
1926 backup_state = active_state;
1927 active_state = tmp;
1928 active_state->connection_in = backup_state->connection_in;
1929 backup_state->connection_in = -1;
1930 active_state->connection_out = backup_state->connection_out;
1931 backup_state->connection_out = -1;
1932 len = buffer_len(&backup_state->input);
1933 if (len > 0) {
1934 buf = buffer_ptr(&backup_state->input);
1935 buffer_append(&active_state->input, buf, len);
1936 buffer_clear(&backup_state->input);
1937 add_recv_bytes(len);
1938 }
1768} 1939}
diff --git a/packet.h b/packet.h
index 03bb87c9b..33523d750 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.49 2008/07/10 18:08:11 markus Exp $ */ 1/* $OpenBSD: packet.h,v 1.52 2009/06/27 09:29:06 andreas Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -39,6 +39,7 @@ void packet_set_authenticated(void);
39void packet_start(u_char); 39void packet_start(u_char);
40void packet_put_char(int ch); 40void packet_put_char(int ch);
41void packet_put_int(u_int value); 41void packet_put_int(u_int value);
42void packet_put_int64(u_int64_t value);
42void packet_put_bignum(BIGNUM * value); 43void packet_put_bignum(BIGNUM * value);
43void packet_put_bignum2(BIGNUM * value); 44void packet_put_bignum2(BIGNUM * value);
44void packet_put_string(const void *buf, u_int len); 45void packet_put_string(const void *buf, u_int len);
@@ -55,6 +56,7 @@ int packet_read_poll_seqnr(u_int32_t *seqnr_p);
55 56
56u_int packet_get_char(void); 57u_int packet_get_char(void);
57u_int packet_get_int(void); 58u_int packet_get_int(void);
59u_int64_t packet_get_int64(void);
58void packet_get_bignum(BIGNUM * value); 60void packet_get_bignum(BIGNUM * value);
59void packet_get_bignum2(BIGNUM * value); 61void packet_get_bignum2(BIGNUM * value);
60void *packet_get_raw(u_int *length_ptr); 62void *packet_get_raw(u_int *length_ptr);
@@ -72,6 +74,7 @@ void packet_get_state(int, u_int32_t *, u_int64_t *, u_int32_t *, u_int64_t *);
72void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t); 74void packet_set_state(int, u_int32_t, u_int64_t, u_int32_t, u_int64_t);
73int packet_get_ssh1_cipher(void); 75int packet_get_ssh1_cipher(void);
74void packet_set_iv(int, u_char *); 76void packet_set_iv(int, u_char *);
77void *packet_get_newkeys(int);
75 78
76void packet_write_poll(void); 79void packet_write_poll(void);
77void packet_write_wait(void); 80void packet_write_wait(void);
@@ -87,10 +90,10 @@ void packet_add_padding(u_char);
87void tty_make_modes(int, struct termios *); 90void tty_make_modes(int, struct termios *);
88void tty_parse_modes(int, int *); 91void tty_parse_modes(int, int *);
89 92
90extern u_int max_packet_size; 93void packet_set_alive_timeouts(int);
91extern int keep_alive_timeouts; 94int packet_inc_alive_timeouts(void);
92int packet_set_maxsize(u_int); 95int packet_set_maxsize(u_int);
93#define packet_get_maxsize() max_packet_size 96u_int packet_get_maxsize(void);
94 97
95/* don't allow remaining bytes after the end of the message */ 98/* don't allow remaining bytes after the end of the message */
96#define packet_check_eom() \ 99#define packet_check_eom() \
@@ -106,4 +109,10 @@ do { \
106int packet_need_rekeying(void); 109int packet_need_rekeying(void);
107void packet_set_rekey_limit(u_int32_t); 110void packet_set_rekey_limit(u_int32_t);
108 111
112void packet_backup_state(void);
113void packet_restore_state(void);
114
115void *packet_get_input(void);
116void *packet_get_output(void);
117
109#endif /* PACKET_H */ 118#endif /* PACKET_H */
diff --git a/readconf.c b/readconf.c
index be27e75bc..163244ed9 100644
--- a/readconf.c
+++ b/readconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.c,v 1.176 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: readconf.c,v 1.177 2009/06/27 09:35:06 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -134,7 +134,7 @@ typedef enum {
134 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly, 134 oServerAliveInterval, oServerAliveCountMax, oIdentitiesOnly,
135 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts, 135 oSendEnv, oControlPath, oControlMaster, oHashKnownHosts,
136 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand, 136 oTunnel, oTunnelDevice, oLocalCommand, oPermitLocalCommand,
137 oVisualHostKey, oZeroKnowledgePasswordAuthentication, 137 oVisualHostKey, oUseRoaming, oZeroKnowledgePasswordAuthentication,
138 oProtocolKeepAlives, oSetupTimeOut, 138 oProtocolKeepAlives, oSetupTimeOut,
139 oDeprecated, oUnsupported 139 oDeprecated, oUnsupported
140} OpCodes; 140} OpCodes;
@@ -242,6 +242,7 @@ static struct {
242 { "localcommand", oLocalCommand }, 242 { "localcommand", oLocalCommand },
243 { "permitlocalcommand", oPermitLocalCommand }, 243 { "permitlocalcommand", oPermitLocalCommand },
244 { "visualhostkey", oVisualHostKey }, 244 { "visualhostkey", oVisualHostKey },
245 { "useroaming", oUseRoaming },
245#ifdef JPAKE 246#ifdef JPAKE
246 { "zeroknowledgepasswordauthentication", 247 { "zeroknowledgepasswordauthentication",
247 oZeroKnowledgePasswordAuthentication }, 248 oZeroKnowledgePasswordAuthentication },
@@ -952,6 +953,10 @@ parse_int:
952 intptr = &options->visual_host_key; 953 intptr = &options->visual_host_key;
953 goto parse_flag; 954 goto parse_flag;
954 955
956 case oUseRoaming:
957 intptr = &options->use_roaming;
958 goto parse_flag;
959
955 case oDeprecated: 960 case oDeprecated:
956 debug("%s line %d: Deprecated option \"%s\"", 961 debug("%s line %d: Deprecated option \"%s\"",
957 filename, linenum, keyword); 962 filename, linenum, keyword);
@@ -1125,6 +1130,7 @@ initialize_options(Options * options)
1125 options->tun_remote = -1; 1130 options->tun_remote = -1;
1126 options->local_command = NULL; 1131 options->local_command = NULL;
1127 options->permit_local_command = -1; 1132 options->permit_local_command = -1;
1133 options->use_roaming = -1;
1128 options->visual_host_key = -1; 1134 options->visual_host_key = -1;
1129 options->zero_knowledge_password_authentication = -1; 1135 options->zero_knowledge_password_authentication = -1;
1130} 1136}
@@ -1274,6 +1280,8 @@ fill_default_options(Options * options)
1274 options->tun_remote = SSH_TUNID_ANY; 1280 options->tun_remote = SSH_TUNID_ANY;
1275 if (options->permit_local_command == -1) 1281 if (options->permit_local_command == -1)
1276 options->permit_local_command = 0; 1282 options->permit_local_command = 0;
1283 if (options->use_roaming == -1)
1284 options->use_roaming = 1;
1277 if (options->visual_host_key == -1) 1285 if (options->visual_host_key == -1)
1278 options->visual_host_key = 0; 1286 options->visual_host_key = 0;
1279 if (options->zero_knowledge_password_authentication == -1) 1287 if (options->zero_knowledge_password_authentication == -1)
diff --git a/readconf.h b/readconf.h
index c3b2f96ee..8ac426dbd 100644
--- a/readconf.h
+++ b/readconf.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: readconf.h,v 1.78 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: readconf.h,v 1.79 2009/06/27 09:35:06 andreas Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -128,6 +128,8 @@ typedef struct {
128 int permit_local_command; 128 int permit_local_command;
129 int visual_host_key; 129 int visual_host_key;
130 130
131 int use_roaming;
132
131} Options; 133} Options;
132 134
133#define SSHCTL_MASTER_NO 0 135#define SSHCTL_MASTER_NO 0
diff --git a/roaming.h b/roaming.h
new file mode 100644
index 000000000..e517161f6
--- /dev/null
+++ b/roaming.h
@@ -0,0 +1,38 @@
1/* $OpenBSD: roaming.h,v 1.4 2009/06/27 09:32:43 andreas Exp $ */
2/*
3 * Copyright (c) 2004-2009 AppGate Network Security AB
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef ROAMING_H
19#define ROAMING_H
20
21#define DEFAULT_ROAMBUF 65536
22
23extern int resume_in_progress;
24
25int get_snd_buf_size(void);
26int get_recv_buf_size(void);
27void add_recv_bytes(u_int64_t);
28void set_out_buffer_size(size_t);
29ssize_t roaming_write(int, const void *, size_t, int *);
30ssize_t roaming_read(int, void *, size_t, int *);
31size_t roaming_atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
32u_int64_t get_recv_bytes(void);
33u_int64_t get_sent_bytes(void);
34void roam_set_bytes(u_int64_t, u_int64_t);
35void resend_bytes(int, u_int64_t *);
36int resume_kex(void);
37
38#endif /* ROAMING */
diff --git a/roaming_common.c b/roaming_common.c
new file mode 100644
index 000000000..73db09d79
--- /dev/null
+++ b/roaming_common.c
@@ -0,0 +1,201 @@
1/* $OpenBSD: roaming_common.c,v 1.5 2009/06/27 09:32:43 andreas Exp $ */
2/*
3 * Copyright (c) 2004-2009 AppGate Network Security AB
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#include "includes.h"
19
20#include <sys/types.h>
21#include <sys/socket.h>
22#include <sys/uio.h>
23
24#include <errno.h>
25#ifdef HAVE_INTTYPES_H
26#include <inttypes.h>
27#endif
28#include <stdarg.h>
29#include <string.h>
30#include <unistd.h>
31
32#include "atomicio.h"
33#include "log.h"
34#include "packet.h"
35#include "xmalloc.h"
36#include "cipher.h"
37#include "buffer.h"
38#include "roaming.h"
39
40static size_t out_buf_size = 0;
41static char *out_buf = NULL;
42static size_t out_start;
43static size_t out_last;
44
45static u_int64_t write_bytes = 0;
46static u_int64_t read_bytes = 0;
47
48int roaming_enabled = 0;
49int resume_in_progress = 0;
50
51int
52get_snd_buf_size()
53{
54 int fd = packet_get_connection_out();
55 int optval, optvallen;
56
57 optvallen = sizeof(optval);
58 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &optval, &optvallen) != 0)
59 optval = DEFAULT_ROAMBUF;
60 return optval;
61}
62
63int
64get_recv_buf_size()
65{
66 int fd = packet_get_connection_in();
67 int optval, optvallen;
68
69 optvallen = sizeof(optval);
70 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &optval, &optvallen) != 0)
71 optval = DEFAULT_ROAMBUF;
72 return optval;
73}
74
75void
76set_out_buffer_size(size_t size)
77{
78 /*
79 * The buffer size can only be set once and the buffer will live
80 * as long as the session lives.
81 */
82 if (out_buf == NULL) {
83 out_buf_size = size;
84 out_buf = xmalloc(size);
85 out_start = 0;
86 out_last = 0;
87 }
88}
89
90u_int64_t
91get_recv_bytes(void)
92{
93 return read_bytes;
94}
95
96void
97add_recv_bytes(u_int64_t num)
98{
99 read_bytes += num;
100}
101
102u_int64_t
103get_sent_bytes(void)
104{
105 return write_bytes;
106}
107
108void
109roam_set_bytes(u_int64_t sent, u_int64_t recvd)
110{
111 read_bytes = recvd;
112 write_bytes = sent;
113}
114
115static void
116buf_append(const char *buf, size_t count)
117{
118 if (count > out_buf_size) {
119 buf += count - out_buf_size;
120 count = out_buf_size;
121 }
122 if (count < out_buf_size - out_last) {
123 memcpy(out_buf + out_last, buf, count);
124 if (out_start > out_last)
125 out_start += count;
126 out_last += count;
127 } else {
128 /* data will wrap */
129 size_t chunk = out_buf_size - out_last;
130 memcpy(out_buf + out_last, buf, chunk);
131 memcpy(out_buf, buf + chunk, count - chunk);
132 out_last = count - chunk;
133 out_start = out_last + 1;
134 }
135}
136
137ssize_t
138roaming_write(int fd, const void *buf, size_t count, int *cont)
139{
140 ssize_t ret;
141
142 ret = write(fd, buf, count);
143 if (ret > 0 && !resume_in_progress) {
144 write_bytes += ret;
145 if (out_buf_size > 0)
146 buf_append(buf, ret);
147 }
148 debug3("Wrote %ld bytes for a total of %llu", (long)ret,
149 (unsigned long long)write_bytes);
150 return ret;
151}
152
153ssize_t
154roaming_read(int fd, void *buf, size_t count, int *cont)
155{
156 ssize_t ret = read(fd, buf, count);
157 if (ret > 0) {
158 if (!resume_in_progress) {
159 read_bytes += ret;
160 }
161 }
162 return ret;
163}
164
165size_t
166roaming_atomicio(ssize_t(*f)(int, void*, size_t), int fd, void *buf,
167 size_t count)
168{
169 size_t ret = atomicio(f, fd, buf, count);
170
171 if (f == vwrite && ret > 0 && !resume_in_progress) {
172 write_bytes += ret;
173 } else if (f == read && ret > 0 && !resume_in_progress) {
174 read_bytes += ret;
175 }
176 return ret;
177}
178
179void
180resend_bytes(int fd, u_int64_t *offset)
181{
182 size_t available, needed;
183
184 if (out_start < out_last)
185 available = out_last - out_start;
186 else
187 available = out_buf_size;
188 needed = write_bytes - *offset;
189 debug3("resend_bytes: resend %lu bytes from %llu",
190 (unsigned long)needed, (unsigned long long)*offset);
191 if (needed > available)
192 fatal("Needed to resend more data than in the cache");
193 if (out_last < needed) {
194 int chunkend = needed - out_last;
195 atomicio(vwrite, fd, out_buf + out_buf_size - chunkend,
196 chunkend);
197 atomicio(vwrite, fd, out_buf, out_last);
198 } else {
199 atomicio(vwrite, fd, out_buf + (out_last - needed), needed);
200 }
201}
diff --git a/roaming_dummy.c b/roaming_dummy.c
new file mode 100644
index 000000000..45c4008e7
--- /dev/null
+++ b/roaming_dummy.c
@@ -0,0 +1,61 @@
1/* $OpenBSD: roaming_dummy.c,v 1.3 2009/06/21 09:04:03 dtucker Exp $ */
2/*
3 * Copyright (c) 2004-2009 AppGate Network Security AB
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18/*
19 * This file is included in the client programs which should not
20 * support roaming.
21 */
22
23#include "includes.h"
24
25#include <sys/types.h>
26#include <unistd.h>
27
28#include "roaming.h"
29
30int resume_in_progress = 0;
31
32u_int64_t
33get_recv_bytes(void)
34{
35 return 0;
36}
37
38ssize_t
39roaming_write(int fd, const void *buf, size_t count, int *cont)
40{
41 return write(fd, buf, count);
42}
43
44ssize_t
45roaming_read(int fd, void *buf, size_t count, int *cont)
46{
47 if (cont)
48 *cont = 0;
49 return read(fd, buf, count);
50}
51
52void
53add_recv_bytes(u_int64_t num)
54{
55}
56
57int
58resume_kex(void)
59{
60 return 1;
61}
diff --git a/schnorr.c b/schnorr.c
index 546975072..c17ff3241 100644
--- a/schnorr.c
+++ b/schnorr.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: schnorr.c,v 1.2 2009/02/18 04:31:21 djm Exp $ */ 1/* $OpenBSD: schnorr.c,v 1.3 2009/03/05 07:18:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2008 Damien Miller. All rights reserved. 3 * Copyright (c) 2008 Damien Miller. All rights reserved.
4 * 4 *
@@ -40,36 +40,34 @@
40#include "buffer.h" 40#include "buffer.h"
41#include "log.h" 41#include "log.h"
42 42
43#include "jpake.h" 43#include "schnorr.h"
44
45#include "openbsd-compat/openssl-compat.h"
44 46
45/* #define SCHNORR_DEBUG */ /* Privacy-violating debugging */ 47/* #define SCHNORR_DEBUG */ /* Privacy-violating debugging */
46/* #define SCHNORR_MAIN */ /* Include main() selftest */ 48/* #define SCHNORR_MAIN */ /* Include main() selftest */
47 49
48/* XXX */
49/* Parametise signature hash? (sha256, sha1, etc.) */
50/* Signature format - include type name, hash type, group params? */
51
52#ifndef SCHNORR_DEBUG 50#ifndef SCHNORR_DEBUG
53# define SCHNORR_DEBUG_BN(a) 51# define SCHNORR_DEBUG_BN(a)
54# define SCHNORR_DEBUG_BUF(a) 52# define SCHNORR_DEBUG_BUF(a)
55#else 53#else
56# define SCHNORR_DEBUG_BN(a) jpake_debug3_bn a 54# define SCHNORR_DEBUG_BN(a) debug3_bn a
57# define SCHNORR_DEBUG_BUF(a) jpake_debug3_buf a 55# define SCHNORR_DEBUG_BUF(a) debug3_buf a
58#endif /* SCHNORR_DEBUG */ 56#endif /* SCHNORR_DEBUG */
59 57
60/* 58/*
61 * Calculate hash component of Schnorr signature H(g || g^v || g^x || id) 59 * Calculate hash component of Schnorr signature H(g || g^v || g^x || id)
62 * using SHA1. Returns signature as bignum or NULL on error. 60 * using the hash function defined by "evp_md". Returns signature as
61 * bignum or NULL on error.
63 */ 62 */
64static BIGNUM * 63static BIGNUM *
65schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g, 64schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g,
66 const BIGNUM *g_v, const BIGNUM *g_x, 65 const EVP_MD *evp_md, const BIGNUM *g_v, const BIGNUM *g_x,
67 const u_char *id, u_int idlen) 66 const u_char *id, u_int idlen)
68{ 67{
69 u_char *digest; 68 u_char *digest;
70 u_int digest_len; 69 u_int digest_len;
71 BIGNUM *h; 70 BIGNUM *h;
72 EVP_MD_CTX evp_md_ctx;
73 Buffer b; 71 Buffer b;
74 int success = -1; 72 int success = -1;
75 73
@@ -79,7 +77,6 @@ schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g,
79 } 77 }
80 78
81 buffer_init(&b); 79 buffer_init(&b);
82 EVP_MD_CTX_init(&evp_md_ctx);
83 80
84 /* h = H(g || p || q || g^v || g^x || id) */ 81 /* h = H(g || p || q || g^v || g^x || id) */
85 buffer_put_bignum2(&b, g); 82 buffer_put_bignum2(&b, g);
@@ -91,7 +88,7 @@ schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g,
91 88
92 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b), 89 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b),
93 "%s: hashblob", __func__)); 90 "%s: hashblob", __func__));
94 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), EVP_sha256(), 91 if (hash_buffer(buffer_ptr(&b), buffer_len(&b), evp_md,
95 &digest, &digest_len) != 0) { 92 &digest, &digest_len) != 0) {
96 error("%s: hash_buffer", __func__); 93 error("%s: hash_buffer", __func__);
97 goto out; 94 goto out;
@@ -104,7 +101,6 @@ schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g,
104 SCHNORR_DEBUG_BN((h, "%s: h = ", __func__)); 101 SCHNORR_DEBUG_BN((h, "%s: h = ", __func__));
105 out: 102 out:
106 buffer_free(&b); 103 buffer_free(&b);
107 EVP_MD_CTX_cleanup(&evp_md_ctx);
108 bzero(digest, digest_len); 104 bzero(digest, digest_len);
109 xfree(digest); 105 xfree(digest);
110 digest_len = 0; 106 digest_len = 0;
@@ -117,18 +113,20 @@ schnorr_hash(const BIGNUM *p, const BIGNUM *q, const BIGNUM *g,
117/* 113/*
118 * Generate Schnorr signature to prove knowledge of private value 'x' used 114 * Generate Schnorr signature to prove knowledge of private value 'x' used
119 * in public exponent g^x, under group defined by 'grp_p', 'grp_q' and 'grp_g' 115 * in public exponent g^x, under group defined by 'grp_p', 'grp_q' and 'grp_g'
116 * using the hash function "evp_md".
120 * 'idlen' bytes from 'id' will be included in the signature hash as an anti- 117 * 'idlen' bytes from 'id' will be included in the signature hash as an anti-
121 * replay salt. 118 * replay salt.
122 * On success, 0 is returned and *siglen bytes of signature are returned in 119 *
123 * *sig (caller to free). Returns -1 on failure. 120 * On success, 0 is returned. The signature values are returned as *e_p
121 * (g^v mod p) and *r_p (v - xh mod q). The caller must free these values.
122 * On failure, -1 is returned.
124 */ 123 */
125int 124int
126schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 125schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
127 const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen, 126 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x,
128 u_char **sig, u_int *siglen) 127 const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p)
129{ 128{
130 int success = -1; 129 int success = -1;
131 Buffer b;
132 BIGNUM *h, *tmp, *v, *g_v, *r; 130 BIGNUM *h, *tmp, *v, *g_v, *r;
133 BN_CTX *bn_ctx; 131 BN_CTX *bn_ctx;
134 132
@@ -171,7 +169,7 @@ schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
171 SCHNORR_DEBUG_BN((g_v, "%s: g_v = ", __func__)); 169 SCHNORR_DEBUG_BN((g_v, "%s: g_v = ", __func__));
172 170
173 /* h = H(g || g^v || g^x || id) */ 171 /* h = H(g || g^v || g^x || id) */
174 if ((h = schnorr_hash(grp_p, grp_q, grp_g, g_v, g_x, 172 if ((h = schnorr_hash(grp_p, grp_q, grp_g, evp_md, g_v, g_x,
175 id, idlen)) == NULL) { 173 id, idlen)) == NULL) {
176 error("%s: schnorr_hash failed", __func__); 174 error("%s: schnorr_hash failed", __func__);
177 goto out; 175 goto out;
@@ -186,12 +184,49 @@ schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
186 error("%s: BN_mod_mul (r = v - tmp)", __func__); 184 error("%s: BN_mod_mul (r = v - tmp)", __func__);
187 goto out; 185 goto out;
188 } 186 }
187 SCHNORR_DEBUG_BN((g_v, "%s: e = ", __func__));
189 SCHNORR_DEBUG_BN((r, "%s: r = ", __func__)); 188 SCHNORR_DEBUG_BN((r, "%s: r = ", __func__));
190 189
191 /* Signature is (g_v, r) */ 190 *e_p = g_v;
191 *r_p = r;
192
193 success = 0;
194 out:
195 BN_CTX_free(bn_ctx);
196 if (h != NULL)
197 BN_clear_free(h);
198 if (v != NULL)
199 BN_clear_free(v);
200 BN_clear_free(tmp);
201
202 return success;
203}
204
205/*
206 * Generate Schnorr signature to prove knowledge of private value 'x' used
207 * in public exponent g^x, under group defined by 'grp_p', 'grp_q' and 'grp_g'
208 * using a SHA256 hash.
209 * 'idlen' bytes from 'id' will be included in the signature hash as an anti-
210 * replay salt.
211 * On success, 0 is returned and *siglen bytes of signature are returned in
212 * *sig (caller to free). Returns -1 on failure.
213 */
214int
215schnorr_sign_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
216 const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen,
217 u_char **sig, u_int *siglen)
218{
219 Buffer b;
220 BIGNUM *r, *e;
221
222 if (schnorr_sign(grp_p, grp_q, grp_g, EVP_sha256(),
223 x, g_x, id, idlen, &r, &e) != 0)
224 return -1;
225
226 /* Signature is (e, r) */
192 buffer_init(&b); 227 buffer_init(&b);
193 /* XXX sigtype-hash as string? */ 228 /* XXX sigtype-hash as string? */
194 buffer_put_bignum2(&b, g_v); 229 buffer_put_bignum2(&b, e);
195 buffer_put_bignum2(&b, r); 230 buffer_put_bignum2(&b, r);
196 *siglen = buffer_len(&b); 231 *siglen = buffer_len(&b);
197 *sig = xmalloc(*siglen); 232 *sig = xmalloc(*siglen);
@@ -199,36 +234,28 @@ schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
199 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b), 234 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b),
200 "%s: sigblob", __func__)); 235 "%s: sigblob", __func__));
201 buffer_free(&b); 236 buffer_free(&b);
202 success = 0; 237
203 out:
204 BN_CTX_free(bn_ctx);
205 if (h != NULL)
206 BN_clear_free(h);
207 if (v != NULL)
208 BN_clear_free(v);
209 BN_clear_free(r); 238 BN_clear_free(r);
210 BN_clear_free(g_v); 239 BN_clear_free(e);
211 BN_clear_free(tmp);
212 240
213 return success; 241 return 0;
214} 242}
215 243
216/* 244/*
217 * Verify Schnorr signature 'sig' of length 'siglen' against public exponent 245 * Verify Schnorr signature { r (v - xh mod q), e (g^v mod p) } against
218 * g_x (g^x) under group defined by 'grp_p', 'grp_q' and 'grp_g'. 246 * public exponent g_x (g^x) under group defined by 'grp_p', 'grp_q' and
247 * 'grp_g' using hash "evp_md".
219 * Signature hash will be salted with 'idlen' bytes from 'id'. 248 * Signature hash will be salted with 'idlen' bytes from 'id'.
220 * Returns -1 on failure, 0 on incorrect signature or 1 on matching signature. 249 * Returns -1 on failure, 0 on incorrect signature or 1 on matching signature.
221 */ 250 */
222int 251int
223schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g, 252schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
224 const BIGNUM *g_x, const u_char *id, u_int idlen, 253 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen,
225 const u_char *sig, u_int siglen) 254 const BIGNUM *r, const BIGNUM *e)
226{ 255{
227 int success = -1; 256 int success = -1;
228 Buffer b; 257 BIGNUM *h, *g_xh, *g_r, *expected;
229 BIGNUM *g_v, *h, *r, *g_xh, *g_r, *expected;
230 BN_CTX *bn_ctx; 258 BN_CTX *bn_ctx;
231 u_int rlen;
232 259
233 SCHNORR_DEBUG_BN((g_x, "%s: g_x = ", __func__)); 260 SCHNORR_DEBUG_BN((g_x, "%s: g_x = ", __func__));
234 261
@@ -238,39 +265,23 @@ schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
238 return -1; 265 return -1;
239 } 266 }
240 267
241 g_v = h = r = g_xh = g_r = expected = NULL; 268 h = g_xh = g_r = expected = NULL;
242 if ((bn_ctx = BN_CTX_new()) == NULL) { 269 if ((bn_ctx = BN_CTX_new()) == NULL) {
243 error("%s: BN_CTX_new", __func__); 270 error("%s: BN_CTX_new", __func__);
244 goto out; 271 goto out;
245 } 272 }
246 if ((g_v = BN_new()) == NULL || 273 if ((g_xh = BN_new()) == NULL ||
247 (r = BN_new()) == NULL ||
248 (g_xh = BN_new()) == NULL ||
249 (g_r = BN_new()) == NULL || 274 (g_r = BN_new()) == NULL ||
250 (expected = BN_new()) == NULL) { 275 (expected = BN_new()) == NULL) {
251 error("%s: BN_new", __func__); 276 error("%s: BN_new", __func__);
252 goto out; 277 goto out;
253 } 278 }
254 279
255 /* Extract g^v and r from signature blob */ 280 SCHNORR_DEBUG_BN((e, "%s: e = ", __func__));
256 buffer_init(&b);
257 buffer_append(&b, sig, siglen);
258 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b),
259 "%s: sigblob", __func__));
260 buffer_get_bignum2(&b, g_v);
261 buffer_get_bignum2(&b, r);
262 rlen = buffer_len(&b);
263 buffer_free(&b);
264 if (rlen != 0) {
265 error("%s: remaining bytes in signature %d", __func__, rlen);
266 goto out;
267 }
268 buffer_free(&b);
269 SCHNORR_DEBUG_BN((g_v, "%s: g_v = ", __func__));
270 SCHNORR_DEBUG_BN((r, "%s: r = ", __func__)); 281 SCHNORR_DEBUG_BN((r, "%s: r = ", __func__));
271 282
272 /* h = H(g || g^v || g^x || id) */ 283 /* h = H(g || g^v || g^x || id) */
273 if ((h = schnorr_hash(grp_p, grp_q, grp_g, g_v, g_x, 284 if ((h = schnorr_hash(grp_p, grp_q, grp_g, evp_md, e, g_x,
274 id, idlen)) == NULL) { 285 id, idlen)) == NULL) {
275 error("%s: schnorr_hash failed", __func__); 286 error("%s: schnorr_hash failed", __func__);
276 goto out; 287 goto out;
@@ -297,20 +308,248 @@ schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
297 } 308 }
298 SCHNORR_DEBUG_BN((expected, "%s: expected = ", __func__)); 309 SCHNORR_DEBUG_BN((expected, "%s: expected = ", __func__));
299 310
300 /* Check g_v == expected */ 311 /* Check e == expected */
301 success = BN_cmp(expected, g_v) == 0; 312 success = BN_cmp(expected, e) == 0;
302 out: 313 out:
303 BN_CTX_free(bn_ctx); 314 BN_CTX_free(bn_ctx);
304 if (h != NULL) 315 if (h != NULL)
305 BN_clear_free(h); 316 BN_clear_free(h);
306 BN_clear_free(g_v);
307 BN_clear_free(r);
308 BN_clear_free(g_xh); 317 BN_clear_free(g_xh);
309 BN_clear_free(g_r); 318 BN_clear_free(g_r);
310 BN_clear_free(expected); 319 BN_clear_free(expected);
311 return success; 320 return success;
312} 321}
313 322
323/*
324 * Verify Schnorr signature 'sig' of length 'siglen' against public exponent
325 * g_x (g^x) under group defined by 'grp_p', 'grp_q' and 'grp_g' using a
326 * SHA256 hash.
327 * Signature hash will be salted with 'idlen' bytes from 'id'.
328 * Returns -1 on failure, 0 on incorrect signature or 1 on matching signature.
329 */
330int
331schnorr_verify_buf(const BIGNUM *grp_p, const BIGNUM *grp_q,
332 const BIGNUM *grp_g,
333 const BIGNUM *g_x, const u_char *id, u_int idlen,
334 const u_char *sig, u_int siglen)
335{
336 Buffer b;
337 int ret = -1;
338 u_int rlen;
339 BIGNUM *r, *e;
340
341 e = r = NULL;
342 if ((e = BN_new()) == NULL ||
343 (r = BN_new()) == NULL) {
344 error("%s: BN_new", __func__);
345 goto out;
346 }
347
348 /* Extract g^v and r from signature blob */
349 buffer_init(&b);
350 buffer_append(&b, sig, siglen);
351 SCHNORR_DEBUG_BUF((buffer_ptr(&b), buffer_len(&b),
352 "%s: sigblob", __func__));
353 buffer_get_bignum2(&b, e);
354 buffer_get_bignum2(&b, r);
355 rlen = buffer_len(&b);
356 buffer_free(&b);
357 if (rlen != 0) {
358 error("%s: remaining bytes in signature %d", __func__, rlen);
359 goto out;
360 }
361
362 ret = schnorr_verify(grp_p, grp_q, grp_g, EVP_sha256(),
363 g_x, id, idlen, r, e);
364 out:
365 BN_clear_free(e);
366 BN_clear_free(r);
367
368 return ret;
369}
370
371/* Helper functions */
372
373/*
374 * Generate uniformly distributed random number in range (1, high).
375 * Return number on success, NULL on failure.
376 */
377BIGNUM *
378bn_rand_range_gt_one(const BIGNUM *high)
379{
380 BIGNUM *r, *tmp;
381 int success = -1;
382
383 if ((tmp = BN_new()) == NULL) {
384 error("%s: BN_new", __func__);
385 return NULL;
386 }
387 if ((r = BN_new()) == NULL) {
388 error("%s: BN_new failed", __func__);
389 goto out;
390 }
391 if (BN_set_word(tmp, 2) != 1) {
392 error("%s: BN_set_word(tmp, 2)", __func__);
393 goto out;
394 }
395 if (BN_sub(tmp, high, tmp) == -1) {
396 error("%s: BN_sub failed (tmp = high - 2)", __func__);
397 goto out;
398 }
399 if (BN_rand_range(r, tmp) == -1) {
400 error("%s: BN_rand_range failed", __func__);
401 goto out;
402 }
403 if (BN_set_word(tmp, 2) != 1) {
404 error("%s: BN_set_word(tmp, 2)", __func__);
405 goto out;
406 }
407 if (BN_add(r, r, tmp) == -1) {
408 error("%s: BN_add failed (r = r + 2)", __func__);
409 goto out;
410 }
411 success = 0;
412 out:
413 BN_clear_free(tmp);
414 if (success == 0)
415 return r;
416 BN_clear_free(r);
417 return NULL;
418}
419
420/*
421 * Hash contents of buffer 'b' with hash 'md'. Returns 0 on success,
422 * with digest via 'digestp' (caller to free) and length via 'lenp'.
423 * Returns -1 on failure.
424 */
425int
426hash_buffer(const u_char *buf, u_int len, const EVP_MD *md,
427 u_char **digestp, u_int *lenp)
428{
429 u_char digest[EVP_MAX_MD_SIZE];
430 u_int digest_len;
431 EVP_MD_CTX evp_md_ctx;
432 int success = -1;
433
434 EVP_MD_CTX_init(&evp_md_ctx);
435
436 if (EVP_DigestInit_ex(&evp_md_ctx, md, NULL) != 1) {
437 error("%s: EVP_DigestInit_ex", __func__);
438 goto out;
439 }
440 if (EVP_DigestUpdate(&evp_md_ctx, buf, len) != 1) {
441 error("%s: EVP_DigestUpdate", __func__);
442 goto out;
443 }
444 if (EVP_DigestFinal_ex(&evp_md_ctx, digest, &digest_len) != 1) {
445 error("%s: EVP_DigestFinal_ex", __func__);
446 goto out;
447 }
448 *digestp = xmalloc(digest_len);
449 *lenp = digest_len;
450 memcpy(*digestp, digest, *lenp);
451 success = 0;
452 out:
453 EVP_MD_CTX_cleanup(&evp_md_ctx);
454 bzero(digest, sizeof(digest));
455 digest_len = 0;
456 return success;
457}
458
459/* print formatted string followed by bignum */
460void
461debug3_bn(const BIGNUM *n, const char *fmt, ...)
462{
463 char *out, *h;
464 va_list args;
465
466 out = NULL;
467 va_start(args, fmt);
468 vasprintf(&out, fmt, args);
469 va_end(args);
470 if (out == NULL)
471 fatal("%s: vasprintf failed", __func__);
472
473 if (n == NULL)
474 debug3("%s(null)", out);
475 else {
476 h = BN_bn2hex(n);
477 debug3("%s0x%s", out, h);
478 free(h);
479 }
480 free(out);
481}
482
483/* print formatted string followed by buffer contents in hex */
484void
485debug3_buf(const u_char *buf, u_int len, const char *fmt, ...)
486{
487 char *out, h[65];
488 u_int i, j;
489 va_list args;
490
491 out = NULL;
492 va_start(args, fmt);
493 vasprintf(&out, fmt, args);
494 va_end(args);
495 if (out == NULL)
496 fatal("%s: vasprintf failed", __func__);
497
498 debug3("%s length %u%s", out, len, buf == NULL ? " (null)" : "");
499 free(out);
500 if (buf == NULL)
501 return;
502
503 *h = '\0';
504 for (i = j = 0; i < len; i++) {
505 snprintf(h + j, sizeof(h) - j, "%02x", buf[i]);
506 j += 2;
507 if (j >= sizeof(h) - 1 || i == len - 1) {
508 debug3(" %s", h);
509 *h = '\0';
510 j = 0;
511 }
512 }
513}
514
515/*
516 * Construct a MODP group from hex strings p (which must be a safe
517 * prime) and g, automatically calculating subgroup q as (p / 2)
518 */
519struct modp_group *
520modp_group_from_g_and_safe_p(const char *grp_g, const char *grp_p)
521{
522 struct modp_group *ret;
523
524 ret = xmalloc(sizeof(*ret));
525 ret->p = ret->q = ret->g = NULL;
526 if (BN_hex2bn(&ret->p, grp_p) == 0 ||
527 BN_hex2bn(&ret->g, grp_g) == 0)
528 fatal("%s: BN_hex2bn", __func__);
529 /* Subgroup order is p/2 (p is a safe prime) */
530 if ((ret->q = BN_new()) == NULL)
531 fatal("%s: BN_new", __func__);
532 if (BN_rshift1(ret->q, ret->p) != 1)
533 fatal("%s: BN_rshift1", __func__);
534
535 return ret;
536}
537
538void
539modp_group_free(struct modp_group *grp)
540{
541 if (grp->g != NULL)
542 BN_clear_free(grp->g);
543 if (grp->p != NULL)
544 BN_clear_free(grp->p);
545 if (grp->q != NULL)
546 BN_clear_free(grp->q);
547 bzero(grp, sizeof(*grp));
548 xfree(grp);
549}
550
551/* main() function for self-test */
552
314#ifdef SCHNORR_MAIN 553#ifdef SCHNORR_MAIN
315static void 554static void
316schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q, 555schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q,
@@ -328,16 +567,17 @@ schnorr_selftest_one(const BIGNUM *grp_p, const BIGNUM *grp_q,
328 567
329 if (BN_mod_exp(g_x, grp_g, x, grp_p, bn_ctx) == -1) 568 if (BN_mod_exp(g_x, grp_g, x, grp_p, bn_ctx) == -1)
330 fatal("%s: g_x", __func__); 569 fatal("%s: g_x", __func__);
331 if (schnorr_sign(grp_p, grp_q, grp_g, x, g_x, "junk", 4, &sig, &siglen)) 570 if (schnorr_sign_buf(grp_p, grp_q, grp_g, x, g_x, "junk", 4,
571 &sig, &siglen))
332 fatal("%s: schnorr_sign", __func__); 572 fatal("%s: schnorr_sign", __func__);
333 if (schnorr_verify(grp_p, grp_q, grp_g, g_x, "junk", 4, 573 if (schnorr_verify_buf(grp_p, grp_q, grp_g, g_x, "junk", 4,
334 sig, siglen) != 1) 574 sig, siglen) != 1)
335 fatal("%s: verify fail", __func__); 575 fatal("%s: verify fail", __func__);
336 if (schnorr_verify(grp_p, grp_q, grp_g, g_x, "JUNK", 4, 576 if (schnorr_verify_buf(grp_p, grp_q, grp_g, g_x, "JUNK", 4,
337 sig, siglen) != 0) 577 sig, siglen) != 0)
338 fatal("%s: verify should have failed (bad ID)", __func__); 578 fatal("%s: verify should have failed (bad ID)", __func__);
339 sig[4] ^= 1; 579 sig[4] ^= 1;
340 if (schnorr_verify(grp_p, grp_q, grp_g, g_x, "junk", 4, 580 if (schnorr_verify_buf(grp_p, grp_q, grp_g, g_x, "junk", 4,
341 sig, siglen) != 0) 581 sig, siglen) != 0)
342 fatal("%s: verify should have failed (bit error)", __func__); 582 fatal("%s: verify should have failed (bit error)", __func__);
343 xfree(sig); 583 xfree(sig);
@@ -349,7 +589,7 @@ static void
349schnorr_selftest(void) 589schnorr_selftest(void)
350{ 590{
351 BIGNUM *x; 591 BIGNUM *x;
352 struct jpake_group *grp; 592 struct modp_group *grp;
353 u_int i; 593 u_int i;
354 char *hh; 594 char *hh;
355 595
diff --git a/schnorr.h b/schnorr.h
new file mode 100644
index 000000000..9730b47ce
--- /dev/null
+++ b/schnorr.h
@@ -0,0 +1,60 @@
1/* $OpenBSD: schnorr.h,v 1.1 2009/03/05 07:18:19 djm Exp $ */
2/*
3 * Copyright (c) 2009 Damien Miller. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef SCHNORR_H
19#define SCHNORR_H
20
21#include <sys/types.h>
22
23#include <openssl/bn.h>
24
25struct modp_group {
26 BIGNUM *p, *q, *g;
27};
28
29BIGNUM *bn_rand_range_gt_one(const BIGNUM *high);
30int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *);
31void debug3_bn(const BIGNUM *, const char *, ...)
32 __attribute__((__nonnull__ (2)))
33 __attribute__((format(printf, 2, 3)));
34void debug3_buf(const u_char *, u_int, const char *, ...)
35 __attribute__((__nonnull__ (3)))
36 __attribute__((format(printf, 3, 4)));
37struct modp_group *modp_group_from_g_and_safe_p(const char *, const char *);
38void modp_group_free(struct modp_group *);
39
40/* Signature and verification functions */
41int
42schnorr_sign(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
43 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x,
44 const u_char *id, u_int idlen, BIGNUM **r_p, BIGNUM **e_p);
45int
46schnorr_sign_buf(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
47 const BIGNUM *x, const BIGNUM *g_x, const u_char *id, u_int idlen,
48 u_char **sig, u_int *siglen);
49int
50schnorr_verify(const BIGNUM *grp_p, const BIGNUM *grp_q, const BIGNUM *grp_g,
51 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen,
52 const BIGNUM *r, const BIGNUM *e);
53int
54schnorr_verify_buf(const BIGNUM *grp_p, const BIGNUM *grp_q,
55 const BIGNUM *grp_g,
56 const BIGNUM *g_x, const u_char *id, u_int idlen,
57 const u_char *sig, u_int siglen);
58
59#endif /* JPAKE_H */
60
diff --git a/scp.0 b/scp.0
index 26b3fc728..2cf4a2a7d 100644
--- a/scp.0
+++ b/scp.0
@@ -145,4 +145,4 @@ AUTHORS
145 Timo Rinne <tri@iki.fi> 145 Timo Rinne <tri@iki.fi>
146 Tatu Ylonen <ylo@cs.hut.fi> 146 Tatu Ylonen <ylo@cs.hut.fi>
147 147
148OpenBSD 4.5 July 12, 2008 3 148OpenBSD 4.6 July 12, 2008 3
diff --git a/servconf.c b/servconf.c
index dd5161ecd..da8c3d0a5 100644
--- a/servconf.c
+++ b/servconf.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: servconf.c,v 1.194 2009/01/22 10:02:34 djm Exp $ */ 1/* $OpenBSD: servconf.c,v 1.195 2009/04/14 21:10:54 jj Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -361,7 +361,7 @@ static struct {
361 { "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly, SSHCFG_GLOBAL }, 361 { "hostbasedusesnamefrompacketonly", sHostbasedUsesNameFromPacketOnly, SSHCFG_GLOBAL },
362 { "rsaauthentication", sRSAAuthentication, SSHCFG_ALL }, 362 { "rsaauthentication", sRSAAuthentication, SSHCFG_ALL },
363 { "pubkeyauthentication", sPubkeyAuthentication, SSHCFG_ALL }, 363 { "pubkeyauthentication", sPubkeyAuthentication, SSHCFG_ALL },
364 { "dsaauthentication", sPubkeyAuthentication, SSHCFG_GLOBAL }, /* alias */ 364 { "dsaauthentication", sPubkeyAuthentication, SSHCFG_GLOBAL }, /* alias */
365#ifdef KRB5 365#ifdef KRB5
366 { "kerberosauthentication", sKerberosAuthentication, SSHCFG_ALL }, 366 { "kerberosauthentication", sKerberosAuthentication, SSHCFG_ALL },
367 { "kerberosorlocalpasswd", sKerberosOrLocalPasswd, SSHCFG_GLOBAL }, 367 { "kerberosorlocalpasswd", sKerberosOrLocalPasswd, SSHCFG_GLOBAL },
@@ -446,10 +446,10 @@ static struct {
446 { "clientalivecountmax", sClientAliveCountMax, SSHCFG_GLOBAL }, 446 { "clientalivecountmax", sClientAliveCountMax, SSHCFG_GLOBAL },
447 { "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_GLOBAL }, 447 { "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_GLOBAL },
448 { "authorizedkeysfile2", sAuthorizedKeysFile2, SSHCFG_GLOBAL }, 448 { "authorizedkeysfile2", sAuthorizedKeysFile2, SSHCFG_GLOBAL },
449 { "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL }, 449 { "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL},
450 { "acceptenv", sAcceptEnv, SSHCFG_GLOBAL }, 450 { "acceptenv", sAcceptEnv, SSHCFG_GLOBAL },
451 { "permittunnel", sPermitTunnel, SSHCFG_GLOBAL }, 451 { "permittunnel", sPermitTunnel, SSHCFG_GLOBAL },
452 { "match", sMatch, SSHCFG_ALL }, 452 { "match", sMatch, SSHCFG_ALL },
453 { "permitopen", sPermitOpen, SSHCFG_ALL }, 453 { "permitopen", sPermitOpen, SSHCFG_ALL },
454 { "forcecommand", sForceCommand, SSHCFG_ALL }, 454 { "forcecommand", sForceCommand, SSHCFG_ALL },
455 { "chrootdirectory", sChrootDirectory, SSHCFG_ALL }, 455 { "chrootdirectory", sChrootDirectory, SSHCFG_ALL },
@@ -1426,7 +1426,7 @@ parse_server_match_config(ServerOptions *options, const char *user,
1426/* 1426/*
1427 * Copy any supported values that are set. 1427 * Copy any supported values that are set.
1428 * 1428 *
1429 * If the preauth flag is set, we do not bother copying the the string or 1429 * If the preauth flag is set, we do not bother copying the string or
1430 * array values that are not used pre-authentication, because any that we 1430 * array values that are not used pre-authentication, because any that we
1431 * do use must be explictly sent in mm_getpwnamallow(). 1431 * do use must be explictly sent in mm_getpwnamallow().
1432 */ 1432 */
diff --git a/serverloop.c b/serverloop.c
index f6419b592..db3c2514f 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: serverloop.c,v 1.157 2009/02/12 03:16:01 djm Exp $ */ 1/* $OpenBSD: serverloop.c,v 1.159 2009/05/28 16:50:16 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -78,6 +78,7 @@
78#include "auth-options.h" 78#include "auth-options.h"
79#include "serverloop.h" 79#include "serverloop.h"
80#include "misc.h" 80#include "misc.h"
81#include "roaming.h"
81 82
82extern ServerOptions options; 83extern ServerOptions options;
83 84
@@ -249,7 +250,7 @@ client_alive_check(void)
249 int channel_id; 250 int channel_id;
250 251
251 /* timeout, check to see how many we have had */ 252 /* timeout, check to see how many we have had */
252 if (++keep_alive_timeouts > options.client_alive_count_max) { 253 if (packet_inc_alive_timeouts() > options.client_alive_count_max) {
253 logit("Timeout, client not responding."); 254 logit("Timeout, client not responding.");
254 cleanup_exit(255); 255 cleanup_exit(255);
255 } 256 }
@@ -391,8 +392,11 @@ process_input(fd_set *readset)
391 392
392 /* Read and buffer any input data from the client. */ 393 /* Read and buffer any input data from the client. */
393 if (FD_ISSET(connection_in, readset)) { 394 if (FD_ISSET(connection_in, readset)) {
394 len = read(connection_in, buf, sizeof(buf)); 395 int cont = 0;
396 len = roaming_read(connection_in, buf, sizeof(buf), &cont);
395 if (len == 0) { 397 if (len == 0) {
398 if (cont)
399 return;
396 verbose("Connection closed by %.100s", 400 verbose("Connection closed by %.100s",
397 get_remote_ipaddr()); 401 get_remote_ipaddr());
398 connection_closed = 1; 402 connection_closed = 1;
@@ -890,7 +894,7 @@ server_input_keep_alive(int type, u_int32_t seq, void *ctxt)
890 * even if this was generated by something other than 894 * even if this was generated by something other than
891 * the bogus CHANNEL_REQUEST we send for keepalives. 895 * the bogus CHANNEL_REQUEST we send for keepalives.
892 */ 896 */
893 keep_alive_timeouts = 0; 897 packet_set_alive_timeouts(0);
894} 898}
895 899
896static void 900static void
@@ -1120,7 +1124,8 @@ server_input_global_request(int type, u_int32_t seq, void *ctxt)
1120 no_port_forwarding_flag || 1124 no_port_forwarding_flag ||
1121 (!want_reply && listen_port == 0) 1125 (!want_reply && listen_port == 0)
1122#ifndef NO_IPPORT_RESERVED_CONCEPT 1126#ifndef NO_IPPORT_RESERVED_CONCEPT
1123 || (listen_port < IPPORT_RESERVED && pw->pw_uid != 0) 1127 || (listen_port != 0 && listen_port < IPPORT_RESERVED &&
1128 pw->pw_uid != 0)
1124#endif 1129#endif
1125 ) { 1130 ) {
1126 success = 0; 1131 success = 0;
diff --git a/session.c b/session.c
index f296e9f10..44e0ac5fa 100644
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: session.c,v 1.245 2009/01/22 09:46:01 djm Exp $ */ 1/* $OpenBSD: session.c,v 1.246 2009/04/17 19:23:06 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4 * All rights reserved 4 * All rights reserved
@@ -571,8 +571,7 @@ do_exec_no_pty(Session *s, const char *command)
571 signal(WJSIGNAL, cray_job_termination_handler); 571 signal(WJSIGNAL, cray_job_termination_handler);
572#endif /* _UNICOS */ 572#endif /* _UNICOS */
573#ifdef HAVE_CYGWIN 573#ifdef HAVE_CYGWIN
574 if (is_winnt) 574 cygwin_set_impersonation_token(INVALID_HANDLE_VALUE);
575 cygwin_set_impersonation_token(INVALID_HANDLE_VALUE);
576#endif 575#endif
577 576
578 s->pid = pid; 577 s->pid = pid;
@@ -716,8 +715,8 @@ do_exec_pty(Session *s, const char *command)
716 * Do common processing for the child, such as execing 715 * Do common processing for the child, such as execing
717 * the command. 716 * the command.
718 */ 717 */
719 do_child(s, command); 718 do_child(s, command);
720 /* NOTREACHED */ 719 /* NOTREACHED */
721 default: 720 default:
722 break; 721 break;
723 } 722 }
@@ -726,8 +725,7 @@ do_exec_pty(Session *s, const char *command)
726 signal(WJSIGNAL, cray_job_termination_handler); 725 signal(WJSIGNAL, cray_job_termination_handler);
727#endif /* _UNICOS */ 726#endif /* _UNICOS */
728#ifdef HAVE_CYGWIN 727#ifdef HAVE_CYGWIN
729 if (is_winnt) 728 cygwin_set_impersonation_token(INVALID_HANDLE_VALUE);
730 cygwin_set_impersonation_token(INVALID_HANDLE_VALUE);
731#endif 729#endif
732 730
733 s->pid = pid; 731 s->pid = pid;
@@ -847,7 +845,7 @@ do_login(Session *s, const char *command)
847 fromlen = sizeof(from); 845 fromlen = sizeof(from);
848 if (packet_connection_is_on_socket()) { 846 if (packet_connection_is_on_socket()) {
849 if (getpeername(packet_get_connection_in(), 847 if (getpeername(packet_get_connection_in(),
850 (struct sockaddr *) & from, &fromlen) < 0) { 848 (struct sockaddr *)&from, &fromlen) < 0) {
851 debug("getpeername: %.100s", strerror(errno)); 849 debug("getpeername: %.100s", strerror(errno));
852 cleanup_exit(255); 850 cleanup_exit(255);
853 } 851 }
@@ -1116,7 +1114,7 @@ do_setup_env(Session *s, const char *shell)
1116 u_int i, envsize; 1114 u_int i, envsize;
1117 char **env, *laddr; 1115 char **env, *laddr;
1118 struct passwd *pw = s->pw; 1116 struct passwd *pw = s->pw;
1119#ifndef HAVE_LOGIN_CAP 1117#if !defined (HAVE_LOGIN_CAP) && !defined (HAVE_CYGWIN)
1120 char *path = NULL; 1118 char *path = NULL;
1121#endif 1119#endif
1122 1120
@@ -1468,11 +1466,6 @@ do_setusercontext(struct passwd *pw)
1468 if (getuid() == 0 || geteuid() == 0) 1466 if (getuid() == 0 || geteuid() == 0)
1469#endif /* HAVE_CYGWIN */ 1467#endif /* HAVE_CYGWIN */
1470 { 1468 {
1471
1472#ifdef HAVE_SETPCRED
1473 if (setpcred(pw->pw_name, (char **)NULL) == -1)
1474 fatal("Failed to set process credentials");
1475#endif /* HAVE_SETPCRED */
1476#ifdef HAVE_LOGIN_CAP 1469#ifdef HAVE_LOGIN_CAP
1477# ifdef __bsdi__ 1470# ifdef __bsdi__
1478 setpgid(0, 0); 1471 setpgid(0, 0);
@@ -1544,6 +1537,10 @@ do_setusercontext(struct passwd *pw)
1544 free(chroot_path); 1537 free(chroot_path);
1545 } 1538 }
1546 1539
1540#ifdef HAVE_SETPCRED
1541 if (setpcred(pw->pw_name, (char **)NULL) == -1)
1542 fatal("Failed to set process credentials");
1543#endif /* HAVE_SETPCRED */
1547#ifdef HAVE_LOGIN_CAP 1544#ifdef HAVE_LOGIN_CAP
1548 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) { 1545 if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETUSER) < 0) {
1549 perror("unable to set user context (setuser)"); 1546 perror("unable to set user context (setuser)");
@@ -1555,9 +1552,6 @@ do_setusercontext(struct passwd *pw)
1555#endif 1552#endif
1556 } 1553 }
1557 1554
1558#ifdef HAVE_CYGWIN
1559 if (is_winnt)
1560#endif
1561 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) 1555 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid)
1562 fatal("Failed to set uids to %u.", (u_int) pw->pw_uid); 1556 fatal("Failed to set uids to %u.", (u_int) pw->pw_uid);
1563} 1557}
@@ -1794,7 +1788,7 @@ do_child(Session *s, const char *command)
1794 int i; 1788 int i;
1795 char *p, *args; 1789 char *p, *args;
1796 1790
1797 setproctitle("%s@internal-sftp-server", s->pw->pw_name); 1791 setproctitle("%s@%s", s->pw->pw_name, INTERNAL_SFTP_NAME);
1798 args = xstrdup(command ? command : "sftp-server"); 1792 args = xstrdup(command ? command : "sftp-server");
1799 for (i = 0, (p = strtok(args, " ")); p; (p = strtok(NULL, " "))) 1793 for (i = 0, (p = strtok(args, " ")); p; (p = strtok(NULL, " ")))
1800 if (i < ARGV_MAX - 1) 1794 if (i < ARGV_MAX - 1)
diff --git a/sftp-client.c b/sftp-client.c
index 5e39aa7d2..0990b7912 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-client.c,v 1.86 2008/06/26 06:10:09 djm Exp $ */ 1/* $OpenBSD: sftp-client.c,v 1.87 2009/06/22 05:39:28 dtucker Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
diff --git a/sftp-server.0 b/sftp-server.0
index 510ceb64b..d47fc0ceb 100644
--- a/sftp-server.0
+++ b/sftp-server.0
@@ -32,7 +32,7 @@ DESCRIPTION
32 debugging output. The default is ERROR. 32 debugging output. The default is ERROR.
33 33
34 For logging to work, sftp-server must be able to access /dev/log. Use of 34 For logging to work, sftp-server must be able to access /dev/log. Use of
35 sftp-server in a chroot configuation therefore requires that syslogd(8) 35 sftp-server in a chroot configuration therefore requires that syslogd(8)
36 establish a logging socket inside the chroot directory. 36 establish a logging socket inside the chroot directory.
37 37
38SEE ALSO 38SEE ALSO
@@ -47,4 +47,4 @@ HISTORY
47AUTHORS 47AUTHORS
48 Markus Friedl <markus@openbsd.org> 48 Markus Friedl <markus@openbsd.org>
49 49
50OpenBSD 4.5 July 18, 2008 1 50OpenBSD 4.6 March 26, 2009 1
diff --git a/sftp-server.8 b/sftp-server.8
index 161773597..3667398cb 100644
--- a/sftp-server.8
+++ b/sftp-server.8
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp-server.8,v 1.14 2008/07/18 22:51:01 jmc Exp $ 1.\" $OpenBSD: sftp-server.8,v 1.15 2009/03/26 08:38:39 sobrado Exp $
2.\" 2.\"
3.\" Copyright (c) 2000 Markus Friedl. All rights reserved. 3.\" Copyright (c) 2000 Markus Friedl. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: July 18 2008 $ 25.Dd $Mdocdate: March 26 2009 $
26.Dt SFTP-SERVER 8 26.Dt SFTP-SERVER 8
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -79,7 +79,7 @@ must be able to access
79.Pa /dev/log . 79.Pa /dev/log .
80Use of 80Use of
81.Nm 81.Nm
82in a chroot configuation therefore requires that 82in a chroot configuration therefore requires that
83.Xr syslogd 8 83.Xr syslogd 8
84establish a logging socket inside the chroot directory. 84establish a logging socket inside the chroot directory.
85.Sh SEE ALSO 85.Sh SEE ALSO
diff --git a/sftp-server.c b/sftp-server.c
index 24c4ff717..d984e6049 100644
--- a/sftp-server.c
+++ b/sftp-server.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp-server.c,v 1.84 2008/06/26 06:10:09 djm Exp $ */ 1/* $OpenBSD: sftp-server.c,v 1.85 2009/04/14 16:33:42 stevesk Exp $ */
2/* 2/*
3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
4 * 4 *
@@ -1041,7 +1041,7 @@ process_rename(void)
1041 else if (S_ISREG(sb.st_mode)) { 1041 else if (S_ISREG(sb.st_mode)) {
1042 /* Race-free rename of regular files */ 1042 /* Race-free rename of regular files */
1043 if (link(oldpath, newpath) == -1) { 1043 if (link(oldpath, newpath) == -1) {
1044 if (errno == EOPNOTSUPP 1044 if (errno == EOPNOTSUPP || errno == ENOSYS
1045#ifdef EXDEV 1045#ifdef EXDEV
1046 || errno == EXDEV 1046 || errno == EXDEV
1047#endif 1047#endif
@@ -1341,7 +1341,7 @@ sftp_server_main(int argc, char **argv, struct passwd *user_pw)
1341 __progname = ssh_get_progname(argv[0]); 1341 __progname = ssh_get_progname(argv[0]);
1342 log_init(__progname, log_level, log_facility, log_stderr); 1342 log_init(__progname, log_level, log_facility, log_stderr);
1343 1343
1344 while (!skipargs && (ch = getopt(argc, argv, "C:f:l:che")) != -1) { 1344 while (!skipargs && (ch = getopt(argc, argv, "f:l:che")) != -1) {
1345 switch (ch) { 1345 switch (ch) {
1346 case 'c': 1346 case 'c':
1347 /* 1347 /*
diff --git a/sftp.0 b/sftp.0
index 4835c4f28..1b81391e5 100644
--- a/sftp.0
+++ b/sftp.0
@@ -271,4 +271,4 @@ SEE ALSO
271 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- 271 T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh-
272 filexfer-00.txt, January 2001, work in progress material. 272 filexfer-00.txt, January 2001, work in progress material.
273 273
274OpenBSD 4.5 December 9, 2008 5 274OpenBSD 4.6 December 9, 2008 5
diff --git a/ssh-add.0 b/ssh-add.0
index 2ef77d339..ac88b3d3e 100644
--- a/ssh-add.0
+++ b/ssh-add.0
@@ -103,4 +103,4 @@ AUTHORS
103 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 103 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
104 versions 1.5 and 2.0. 104 versions 1.5 and 2.0.
105 105
106OpenBSD 4.5 June 12, 2007 2 106OpenBSD 4.6 June 12, 2007 2
diff --git a/ssh-agent.0 b/ssh-agent.0
index c21943212..689942c7a 100644
--- a/ssh-agent.0
+++ b/ssh-agent.0
@@ -63,7 +63,7 @@ DESCRIPTION
63 agent starts a new subcommand into which some environment variables are 63 agent starts a new subcommand into which some environment variables are
64 exported, eg ssh-agent xterm &. The second is that the agent prints the 64 exported, eg ssh-agent xterm &. The second is that the agent prints the
65 needed shell commands (either sh(1) or csh(1) syntax can be generated) 65 needed shell commands (either sh(1) or csh(1) syntax can be generated)
66 which can be evalled in the calling shell, eg eval `ssh-agent -s` for 66 which can be evaluated in the calling shell, eg eval `ssh-agent -s` for
67 Bourne-type shells such as sh(1) or ksh(1) and eval `ssh-agent -c` for 67 Bourne-type shells such as sh(1) or ksh(1) and eval `ssh-agent -c` for
68 csh(1) and derivatives. 68 csh(1) and derivatives.
69 69
@@ -114,4 +114,4 @@ AUTHORS
114 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 114 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
115 versions 1.5 and 2.0. 115 versions 1.5 and 2.0.
116 116
117OpenBSD 4.5 June 5, 2007 2 117OpenBSD 4.6 March 26, 2009 2
diff --git a/ssh-agent.1 b/ssh-agent.1
index 6a5dc62af..533cd6f6b 100644
--- a/ssh-agent.1
+++ b/ssh-agent.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-agent.1,v 1.46 2007/09/09 11:38:01 sobrado Exp $ 1.\" $OpenBSD: ssh-agent.1,v 1.47 2009/03/26 08:38:39 sobrado Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -34,7 +34,7 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.Dd $Mdocdate: June 5 2007 $ 37.Dd $Mdocdate: March 26 2009 $
38.Dt SSH-AGENT 1 38.Dt SSH-AGENT 1
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -141,7 +141,7 @@ The second is that the agent prints the needed shell commands (either
141.Xr sh 1 141.Xr sh 1
142or 142or
143.Xr csh 1 143.Xr csh 1
144syntax can be generated) which can be evalled in the calling shell, eg 144syntax can be generated) which can be evaluated in the calling shell, eg
145.Cm eval `ssh-agent -s` 145.Cm eval `ssh-agent -s`
146for Bourne-type shells such as 146for Bourne-type shells such as
147.Xr sh 1 147.Xr sh 1
diff --git a/ssh-agent.c b/ssh-agent.c
index 9123cfe6b..f77dea3a6 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.159 2008/06/28 14:05:15 djm Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.161 2009/03/23 19:38:04 tobias Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1061,6 +1061,7 @@ main(int ac, char **av)
1061 pid_t pid; 1061 pid_t pid;
1062 char pidstrbuf[1 + 3 * sizeof pid]; 1062 char pidstrbuf[1 + 3 * sizeof pid];
1063 struct timeval *tvp = NULL; 1063 struct timeval *tvp = NULL;
1064 size_t len;
1064 1065
1065 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ 1066 /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */
1066 sanitise_stdfd(); 1067 sanitise_stdfd();
@@ -1121,8 +1122,8 @@ main(int ac, char **av)
1121 1122
1122 if (ac == 0 && !c_flag && !s_flag) { 1123 if (ac == 0 && !c_flag && !s_flag) {
1123 shell = getenv("SHELL"); 1124 shell = getenv("SHELL");
1124 if (shell != NULL && 1125 if (shell != NULL && (len = strlen(shell)) > 2 &&
1125 strncmp(shell + strlen(shell) - 3, "csh", 3) == 0) 1126 strncmp(shell + len - 3, "csh", 3) == 0)
1126 c_flag = 1; 1127 c_flag = 1;
1127 } 1128 }
1128 if (k_flag) { 1129 if (k_flag) {
diff --git a/ssh-keygen.0 b/ssh-keygen.0
index b08d43b6d..75703483e 100644
--- a/ssh-keygen.0
+++ b/ssh-keygen.0
@@ -286,4 +286,4 @@ AUTHORS
286 created OpenSSH. Markus Friedl contributed the support for SSH protocol 286 created OpenSSH. Markus Friedl contributed the support for SSH protocol
287 versions 1.5 and 2.0. 287 versions 1.5 and 2.0.
288 288
289OpenBSD 4.5 July 24, 2008 5 289OpenBSD 4.6 July 24, 2008 5
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 5765cff08..da5db9845 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.173 2009/02/21 19:32:04 tobias Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.174 2009/06/22 05:39:28 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
diff --git a/ssh-keyscan.0 b/ssh-keyscan.0
index dadfd4b63..bc7c1bb67 100644
--- a/ssh-keyscan.0
+++ b/ssh-keyscan.0
@@ -104,4 +104,4 @@ BUGS
104 This is because it opens a connection to the ssh port, reads the public 104 This is because it opens a connection to the ssh port, reads the public
105 key, and drops the connection as soon as it gets the key. 105 key, and drops the connection as soon as it gets the key.
106 106
107OpenBSD 4.5 December 29, 2008 2 107OpenBSD 4.6 December 29, 2008 2
diff --git a/ssh-keysign.0 b/ssh-keysign.0
index 5da5e5388..ab15e88bc 100644
--- a/ssh-keysign.0
+++ b/ssh-keysign.0
@@ -39,4 +39,4 @@ HISTORY
39AUTHORS 39AUTHORS
40 Markus Friedl <markus@openbsd.org> 40 Markus Friedl <markus@openbsd.org>
41 41
42OpenBSD 4.5 May 31, 2007 1 42OpenBSD 4.6 May 31, 2007 1
diff --git a/ssh-rand-helper.0 b/ssh-rand-helper.0
index 690e14159..72bfcdf64 100644
--- a/ssh-rand-helper.0
+++ b/ssh-rand-helper.0
@@ -48,4 +48,4 @@ AUTHORS
48SEE ALSO 48SEE ALSO
49 ssh(1), ssh-add(1), ssh-keygen(1), sshd(8) 49 ssh(1), ssh-add(1), ssh-keygen(1), sshd(8)
50 50
51OpenBSD 4.5 April 14, 2002 1 51OpenBSD 4.6 April 14, 2002 1
diff --git a/ssh.0 b/ssh.0
index 1788bf9cc..af73167b2 100644
--- a/ssh.0
+++ b/ssh.0
@@ -78,14 +78,8 @@ DESCRIPTION
78 graphic weaknesses. The default is ``3des''. 78 graphic weaknesses. The default is ``3des''.
79 79
80 For protocol version 2, cipher_spec is a comma-separated list of 80 For protocol version 2, cipher_spec is a comma-separated list of
81 ciphers listed in order of preference. The supported ciphers 81 ciphers listed in order of preference. See the Ciphers keyword
82 are: 3des-cbc, aes128-cbc, aes192-cbc, aes256-cbc, aes128-ctr, 82 for more information.
83 aes192-ctr, aes256-ctr, arcfour128, arcfour256, arcfour, blow-
84 fish-cbc, and cast128-cbc. The default is:
85
86 aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,
87 arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr,
88 aes192-ctr,aes256-ctr
89 83
90 -D [bind_address:]port 84 -D [bind_address:]port
91 Specifies a local ``dynamic'' application-level port forwarding. 85 Specifies a local ``dynamic'' application-level port forwarding.
@@ -870,4 +864,4 @@ AUTHORS
870 created OpenSSH. Markus Friedl contributed the support for SSH protocol 864 created OpenSSH. Markus Friedl contributed the support for SSH protocol
871 versions 1.5 and 2.0. 865 versions 1.5 and 2.0.
872 866
873OpenBSD 4.5 February 12, 2009 14 867OpenBSD 4.6 March 19, 2009 14
diff --git a/ssh.1 b/ssh.1
index fc11f8fbc..d84063487 100644
--- a/ssh.1
+++ b/ssh.1
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: ssh.1,v 1.282 2009/02/12 03:44:25 djm Exp $ 37.\" $OpenBSD: ssh.1,v 1.283 2009/03/19 15:15:09 jmc Exp $
38.Dd $Mdocdate: February 12 2009 $ 38.Dd $Mdocdate: March 19 2009 $
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -191,26 +191,9 @@ For protocol version 2,
191.Ar cipher_spec 191.Ar cipher_spec
192is a comma-separated list of ciphers 192is a comma-separated list of ciphers
193listed in order of preference. 193listed in order of preference.
194The supported ciphers are: 194See the
1953des-cbc, 195.Cm Ciphers
196aes128-cbc, 196keyword for more information.
197aes192-cbc,
198aes256-cbc,
199aes128-ctr,
200aes192-ctr,
201aes256-ctr,
202arcfour128,
203arcfour256,
204arcfour,
205blowfish-cbc,
206and
207cast128-cbc.
208The default is:
209.Bd -literal -offset indent
210aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,
211arcfour256,arcfour,aes192-cbc,aes256-cbc,aes128-ctr,
212aes192-ctr,aes256-ctr
213.Ed
214.It Fl D Xo 197.It Fl D Xo
215.Sm off 198.Sm off
216.Oo Ar bind_address : Oc 199.Oo Ar bind_address : Oc
diff --git a/ssh.c b/ssh.c
index 9e1a4b797..a72f16c63 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.324 2009/02/12 03:00:56 djm Exp $ */ 1/* $OpenBSD: ssh.c,v 1.326 2009/07/02 02:11:47 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -48,6 +48,7 @@
48#endif 48#endif
49#include <sys/resource.h> 49#include <sys/resource.h>
50#include <sys/ioctl.h> 50#include <sys/ioctl.h>
51#include <sys/param.h>
51#include <sys/socket.h> 52#include <sys/socket.h>
52 53
53#include <ctype.h> 54#include <ctype.h>
@@ -203,8 +204,8 @@ void muxserver_listen(void);
203int 204int
204main(int ac, char **av) 205main(int ac, char **av)
205{ 206{
206 int i, opt, exit_status, use_syslog; 207 int i, r, opt, exit_status, use_syslog;
207 char *p, *cp, *line, buf[256]; 208 char *p, *cp, *line, *argv0, buf[MAXPATHLEN];
208 struct stat st; 209 struct stat st;
209 struct passwd *pw; 210 struct passwd *pw;
210 int dummy, timeout_ms; 211 int dummy, timeout_ms;
@@ -270,6 +271,7 @@ main(int ac, char **av)
270 /* Parse command-line arguments. */ 271 /* Parse command-line arguments. */
271 host = NULL; 272 host = NULL;
272 use_syslog = 0; 273 use_syslog = 0;
274 argv0 = av[0];
273 275
274 again: 276 again:
275 while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx" 277 while ((opt = getopt(ac, av, "1246ab:c:e:fgi:kl:m:no:p:qstvx"
@@ -605,7 +607,7 @@ main(int ac, char **av)
605 * Initialize "log" output. Since we are the client all output 607 * Initialize "log" output. Since we are the client all output
606 * actually goes to stderr. 608 * actually goes to stderr.
607 */ 609 */
608 log_init(av[0], 610 log_init(argv0,
609 options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level, 611 options.log_level == -1 ? SYSLOG_LEVEL_INFO : options.log_level,
610 SYSLOG_FACILITY_USER, !use_syslog); 612 SYSLOG_FACILITY_USER, !use_syslog);
611 613
@@ -618,9 +620,10 @@ main(int ac, char **av)
618 fatal("Can't open user config file %.100s: " 620 fatal("Can't open user config file %.100s: "
619 "%.100s", config, strerror(errno)); 621 "%.100s", config, strerror(errno));
620 } else { 622 } else {
621 snprintf(buf, sizeof buf, "%.100s/%.100s", pw->pw_dir, 623 r = snprintf(buf, sizeof buf, "%s/%s", pw->pw_dir,
622 _PATH_SSH_USER_CONFFILE); 624 _PATH_SSH_USER_CONFFILE);
623 (void)read_config_file(buf, host, &options, 1); 625 if (r > 0 && (size_t)r < sizeof(buf))
626 (void)read_config_file(buf, host, &options, 1);
624 627
625 /* Read systemwide configuration file after use config. */ 628 /* Read systemwide configuration file after use config. */
626 (void)read_config_file(_PATH_HOST_CONFIG_FILE, host, 629 (void)read_config_file(_PATH_HOST_CONFIG_FILE, host,
@@ -633,7 +636,7 @@ main(int ac, char **av)
633 channel_set_af(options.address_family); 636 channel_set_af(options.address_family);
634 637
635 /* reinit */ 638 /* reinit */
636 log_init(av[0], options.log_level, SYSLOG_FACILITY_USER, !use_syslog); 639 log_init(argv0, options.log_level, SYSLOG_FACILITY_USER, !use_syslog);
637 640
638 seed_rng(); 641 seed_rng();
639 642
@@ -771,9 +774,9 @@ main(int ac, char **av)
771 * Now that we are back to our own permissions, create ~/.ssh 774 * Now that we are back to our own permissions, create ~/.ssh
772 * directory if it doesn't already exist. 775 * directory if it doesn't already exist.
773 */ 776 */
774 snprintf(buf, sizeof buf, "%.100s%s%.100s", pw->pw_dir, 777 r = snprintf(buf, sizeof buf, "%s%s%s", pw->pw_dir,
775 strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); 778 strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR);
776 if (stat(buf, &st) < 0) 779 if (r > 0 && (size_t)r < sizeof(buf) && stat(buf, &st) < 0)
777 if (mkdir(buf, 0700) < 0) 780 if (mkdir(buf, 0700) < 0)
778 error("Could not create directory '%.200s'.", buf); 781 error("Could not create directory '%.200s'.", buf);
779 782
diff --git a/ssh_config.0 b/ssh_config.0
index e5ded8e31..756fc6dbb 100644
--- a/ssh_config.0
+++ b/ssh_config.0
@@ -667,4 +667,4 @@ AUTHORS
667 ated OpenSSH. Markus Friedl contributed the support for SSH protocol 667 ated OpenSSH. Markus Friedl contributed the support for SSH protocol
668 versions 1.5 and 2.0. 668 versions 1.5 and 2.0.
669 669
670OpenBSD 4.5 February 22, 2009 11 670OpenBSD 4.6 February 22, 2009 11
diff --git a/sshconnect.c b/sshconnect.c
index e7354486b..96f823f93 100644
--- a/sshconnect.c
+++ b/sshconnect.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.c,v 1.212 2008/10/14 18:11:33 stevesk Exp $ */ 1/* $OpenBSD: sshconnect.c,v 1.214 2009/05/28 16:50:16 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -56,6 +56,7 @@
56#include "atomicio.h" 56#include "atomicio.h"
57#include "misc.h" 57#include "misc.h"
58#include "dns.h" 58#include "dns.h"
59#include "roaming.h"
59#include "version.h" 60#include "version.h"
60 61
61char *client_version_string = NULL; 62char *client_version_string = NULL;
@@ -413,7 +414,7 @@ ssh_connect(const char *host, struct sockaddr_storage * hostaddr,
413 * Waits for the server identification string, and sends our own 414 * Waits for the server identification string, and sends our own
414 * identification string. 415 * identification string.
415 */ 416 */
416static void 417void
417ssh_exchange_identification(int timeout_ms) 418ssh_exchange_identification(int timeout_ms)
418{ 419{
419 char buf[256], remote_version[256]; /* must be same size! */ 420 char buf[256], remote_version[256]; /* must be same size! */
@@ -452,7 +453,7 @@ ssh_exchange_identification(int timeout_ms)
452 } 453 }
453 } 454 }
454 455
455 len = atomicio(read, connection_in, &buf[i], 1); 456 len = roaming_atomicio(read, connection_in, &buf[i], 1);
456 457
457 if (len != 1 && errno == EPIPE) 458 if (len != 1 && errno == EPIPE)
458 fatal("ssh_exchange_identification: " 459 fatal("ssh_exchange_identification: "
@@ -537,7 +538,8 @@ ssh_exchange_identification(int timeout_ms)
537 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1, 538 compat20 ? PROTOCOL_MAJOR_2 : PROTOCOL_MAJOR_1,
538 compat20 ? PROTOCOL_MINOR_2 : minor1, 539 compat20 ? PROTOCOL_MINOR_2 : minor1,
539 SSH_RELEASE, compat20 ? "\r\n" : "\n"); 540 SSH_RELEASE, compat20 ? "\r\n" : "\n");
540 if (atomicio(vwrite, connection_out, buf, strlen(buf)) != strlen(buf)) 541 if (roaming_atomicio(vwrite, connection_out, buf, strlen(buf))
542 != strlen(buf))
541 fatal("write: %.100s", strerror(errno)); 543 fatal("write: %.100s", strerror(errno));
542 client_version_string = xstrdup(buf); 544 client_version_string = xstrdup(buf);
543 chop(client_version_string); 545 chop(client_version_string);
diff --git a/sshconnect.h b/sshconnect.h
index 75bde1a4d..c59a097f4 100644
--- a/sshconnect.h
+++ b/sshconnect.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect.h,v 1.24 2007/09/04 11:15:56 djm Exp $ */ 1/* $OpenBSD: sshconnect.h,v 1.25 2009/05/27 06:38:16 andreas Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -38,6 +38,8 @@ ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,
38void 38void
39ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *, int); 39ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *, int);
40 40
41void ssh_exchange_identification(int);
42
41int verify_host_key(char *, struct sockaddr *, Key *); 43int verify_host_key(char *, struct sockaddr *, Key *);
42 44
43void ssh_kex(char *, struct sockaddr *); 45void ssh_kex(char *, struct sockaddr *);
diff --git a/sshconnect2.c b/sshconnect2.c
index 5c58332e1..af322e81c 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshconnect2.c,v 1.170 2008/11/04 08:22:13 djm Exp $ */ 1/* $OpenBSD: sshconnect2.c,v 1.171 2009/03/05 07:18:19 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * Copyright (c) 2008 Damien Miller. All rights reserved. 4 * Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -68,6 +68,7 @@
68#include "msg.h" 68#include "msg.h"
69#include "pathnames.h" 69#include "pathnames.h"
70#include "uidswap.h" 70#include "uidswap.h"
71#include "schnorr.h"
71#include "jpake.h" 72#include "jpake.h"
72 73
73#ifdef GSSAPI 74#ifdef GSSAPI
diff --git a/sshd.0 b/sshd.0
index d6f02324e..6e37c9fc1 100644
--- a/sshd.0
+++ b/sshd.0
@@ -311,7 +311,7 @@ AUTHORIZED_KEYS FILE FORMAT
311 ssh_config(5) for more information on patterns. 311 ssh_config(5) for more information on patterns.
312 312
313 In addition to the wildcard matching that may be applied to host- 313 In addition to the wildcard matching that may be applied to host-
314 names or addresses, a from stanza may match IP addressess using 314 names or addresses, a from stanza may match IP addresses using
315 CIDR address/masklen notation. 315 CIDR address/masklen notation.
316 316
317 The purpose of this option is to optionally increase security: 317 The purpose of this option is to optionally increase security:
@@ -571,4 +571,4 @@ CAVEATS
571 System security is not improved unless rshd, rlogind, and rexecd are dis- 571 System security is not improved unless rshd, rlogind, and rexecd are dis-
572 abled (thus completely disabling rlogin and rsh into the machine). 572 abled (thus completely disabling rlogin and rsh into the machine).
573 573
574OpenBSD 4.5 October 3, 2008 9 574OpenBSD 4.6 March 26, 2009 9
diff --git a/sshd.8 b/sshd.8
index f98aec48d..5b527b0f2 100644
--- a/sshd.8
+++ b/sshd.8
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd.8,v 1.247 2008/10/03 13:08:12 jmc Exp $ 37.\" $OpenBSD: sshd.8,v 1.248 2009/03/26 08:38:39 sobrado Exp $
38.Dd $Mdocdate: October 3 2008 $ 38.Dd $Mdocdate: March 26 2009 $
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -546,7 +546,7 @@ for more information on patterns.
546In addition to the wildcard matching that may be applied to hostnames or 546In addition to the wildcard matching that may be applied to hostnames or
547addresses, a 547addresses, a
548.Cm from 548.Cm from
549stanza may match IP addressess using CIDR address/masklen notation. 549stanza may match IP addresses using CIDR address/masklen notation.
550.Pp 550.Pp
551The purpose of this option is to optionally increase security: public key 551The purpose of this option is to optionally increase security: public key
552authentication by itself does not trust the network or name servers or 552authentication by itself does not trust the network or name servers or
diff --git a/sshd.c b/sshd.c
index bd671160d..248ad2976 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sshd.c,v 1.366 2009/01/22 10:02:34 djm Exp $ */ 1/* $OpenBSD: sshd.c,v 1.367 2009/05/28 16:50:16 andreas Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -117,6 +117,7 @@
117#include "ssh-gss.h" 117#include "ssh-gss.h"
118#endif 118#endif
119#include "monitor_wrap.h" 119#include "monitor_wrap.h"
120#include "roaming.h"
120#include "version.h" 121#include "version.h"
121 122
122#ifdef USE_SECURITY_SESSION_API 123#ifdef USE_SECURITY_SESSION_API
@@ -430,7 +431,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
430 server_version_string = xstrdup(buf); 431 server_version_string = xstrdup(buf);
431 432
432 /* Send our protocol version identification. */ 433 /* Send our protocol version identification. */
433 if (atomicio(vwrite, sock_out, server_version_string, 434 if (roaming_atomicio(vwrite, sock_out, server_version_string,
434 strlen(server_version_string)) 435 strlen(server_version_string))
435 != strlen(server_version_string)) { 436 != strlen(server_version_string)) {
436 logit("Could not write ident string to %s", get_remote_ipaddr()); 437 logit("Could not write ident string to %s", get_remote_ipaddr());
@@ -440,7 +441,7 @@ sshd_exchange_identification(int sock_in, int sock_out)
440 /* Read other sides version identification. */ 441 /* Read other sides version identification. */
441 memset(buf, 0, sizeof(buf)); 442 memset(buf, 0, sizeof(buf));
442 for (i = 0; i < sizeof(buf) - 1; i++) { 443 for (i = 0; i < sizeof(buf) - 1; i++) {
443 if (atomicio(read, sock_in, &buf[i], 1) != 1) { 444 if (roaming_atomicio(read, sock_in, &buf[i], 1) != 1) {
444 logit("Did not receive identification string from %s", 445 logit("Did not receive identification string from %s",
445 get_remote_ipaddr()); 446 get_remote_ipaddr());
446 cleanup_exit(255); 447 cleanup_exit(255);
@@ -588,7 +589,7 @@ demote_sensitive_data(void)
588static void 589static void
589privsep_preauth_child(void) 590privsep_preauth_child(void)
590{ 591{
591 u_int32_t rnd[256]; 592 u_int32_t rnd[256];
592 gid_t gidset[1]; 593 gid_t gidset[1];
593 594
594 /* Enable challenge-response authentication for privilege separation */ 595 /* Enable challenge-response authentication for privilege separation */
diff --git a/sshd_config.0 b/sshd_config.0
index 067f757de..9e73c5906 100644
--- a/sshd_config.0
+++ b/sshd_config.0
@@ -88,14 +88,16 @@ DESCRIPTION
88 protocol version 2. By default, no banner is displayed. 88 protocol version 2. By default, no banner is displayed.
89 89
90 ChallengeResponseAuthentication 90 ChallengeResponseAuthentication
91 Specifies whether challenge-response authentication is allowed. 91 Specifies whether challenge-response authentication is allowed
92 All authentication styles from login.conf(5) are supported. The 92 (e.g. via PAM or though authentication styles supported in
93 default is ``yes''. 93 login.conf(5)) The default is ``yes''.
94 94
95 ChrootDirectory 95 ChrootDirectory
96 Specifies a path to chroot(2) to after authentication. This 96 Specifies a path to chroot(2) to after authentication. This
97 path, and all its components, must be root-owned directories that 97 path, and all its components, must be root-owned directories that
98 are not writable by any other user or group. 98 are not writable by any other user or group. After the chroot,
99 sshd(8) changes the working directory to the user's home directo-
100 ry.
99 101
100 The path may contain the following tokens that are expanded at 102 The path may contain the following tokens that are expanded at
101 runtime once the connecting user has been authenticated: %% is 103 runtime once the connecting user has been authenticated: %% is
@@ -104,13 +106,14 @@ DESCRIPTION
104 name of that user. 106 name of that user.
105 107
106 The ChrootDirectory must contain the necessary files and directo- 108 The ChrootDirectory must contain the necessary files and directo-
107 ries to support the users' session. For an interactive session 109 ries to support the user's session. For an interactive session
108 this requires at least a shell, typically sh(1), and basic /dev 110 this requires at least a shell, typically sh(1), and basic /dev
109 nodes such as null(4), zero(4), stdin(4), stdout(4), stderr(4), 111 nodes such as null(4), zero(4), stdin(4), stdout(4), stderr(4),
110 arandom(4) and tty(4) devices. For file transfer sessions using 112 arandom(4) and tty(4) devices. For file transfer sessions using
111 ``sftp'', no additional configuration of the environment is nec- 113 ``sftp'', no additional configuration of the environment is nec-
112 essary if the in-process sftp server is used (see Subsystem for 114 essary if the in-process sftp server is used, though sessions
113 details). 115 which use logging do require /dev/log inside the chroot directory
116 (see sftp-server(8) for details).
114 117
115 The default is not to chroot(2). 118 The default is not to chroot(2).
116 119
@@ -628,4 +631,4 @@ AUTHORS
628 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support 631 versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support
629 for privilege separation. 632 for privilege separation.
630 633
631OpenBSD 4.5 February 22, 2009 10 634OpenBSD 4.6 April 21, 2009 10
diff --git a/sshd_config.5 b/sshd_config.5
index 0d2e0c3da..522ac103f 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -34,8 +34,8 @@
34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 34.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36.\" 36.\"
37.\" $OpenBSD: sshd_config.5,v 1.102 2009/02/22 23:59:25 djm Exp $ 37.\" $OpenBSD: sshd_config.5,v 1.106 2009/04/21 15:13:17 stevesk Exp $
38.Dd $Mdocdate: February 22 2009 $ 38.Dd $Mdocdate: April 21 2009 $
39.Dt SSHD_CONFIG 5 39.Dt SSHD_CONFIG 5
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -203,7 +203,8 @@ then no banner is displayed.
203This option is only available for protocol version 2. 203This option is only available for protocol version 2.
204By default, no banner is displayed. 204By default, no banner is displayed.
205.It Cm ChallengeResponseAuthentication 205.It Cm ChallengeResponseAuthentication
206Specifies whether challenge-response authentication is allowed. 206Specifies whether challenge-response authentication is allowed (e.g. via
207PAM).
207The default is 208The default is
208.Dq yes . 209.Dq yes .
209.It Cm ChrootDirectory 210.It Cm ChrootDirectory
@@ -212,6 +213,9 @@ Specifies a path to
212to after authentication. 213to after authentication.
213This path, and all its components, must be root-owned directories that are 214This path, and all its components, must be root-owned directories that are
214not writable by any other user or group. 215not writable by any other user or group.
216After the chroot,
217.Xr sshd 8
218changes the working directory to the user's home directory.
215.Pp 219.Pp
216The path may contain the following tokens that are expanded at runtime once 220The path may contain the following tokens that are expanded at runtime once
217the connecting user has been authenticated: %% is replaced by a literal '%', 221the connecting user has been authenticated: %% is replaced by a literal '%',
@@ -221,7 +225,7 @@ the connecting user has been authenticated: %% is replaced by a literal '%',
221The 225The
222.Cm ChrootDirectory 226.Cm ChrootDirectory
223must contain the necessary files and directories to support the 227must contain the necessary files and directories to support the
224users' session. 228user's session.
225For an interactive session this requires at least a shell, typically 229For an interactive session this requires at least a shell, typically
226.Xr sh 1 , 230.Xr sh 1 ,
227and basic 231and basic
@@ -239,8 +243,11 @@ devices.
239For file transfer sessions using 243For file transfer sessions using
240.Dq sftp , 244.Dq sftp ,
241no additional configuration of the environment is necessary if the 245no additional configuration of the environment is necessary if the
242in-process sftp server is used (see 246in-process sftp server is used,
243.Cm Subsystem 247though sessions which use logging do require
248.Pa /dev/log
249inside the chroot directory (see
250.Xr sftp-server 8
244for details). 251for details).
245.Pp 252.Pp
246The default is not to 253The default is not to
diff --git a/sshlogin.c b/sshlogin.c
index cc35d6024..33bd652fb 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -86,13 +86,20 @@ get_last_login_time(uid_t uid, const char *logname,
86static void 86static void
87store_lastlog_message(const char *user, uid_t uid) 87store_lastlog_message(const char *user, uid_t uid)
88{ 88{
89#ifndef NO_SSH_LASTLOG
89 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512]; 90 char *time_string, hostname[MAXHOSTNAMELEN] = "", buf[512];
90 time_t last_login_time; 91 time_t last_login_time;
91 92
92#ifndef NO_SSH_LASTLOG
93 if (!options.print_lastlog) 93 if (!options.print_lastlog)
94 return; 94 return;
95 95
96# ifdef CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG
97 time_string = sys_auth_get_lastlogin_msg(user, uid);
98 if (time_string != NULL) {
99 buffer_append(&loginmsg, time_string, strlen(time_string));
100 xfree(time_string);
101 }
102# else
96 last_login_time = get_last_login_time(uid, user, hostname, 103 last_login_time = get_last_login_time(uid, user, hostname,
97 sizeof(hostname)); 104 sizeof(hostname));
98 105
@@ -107,6 +114,7 @@ store_lastlog_message(const char *user, uid_t uid)
107 time_string, hostname); 114 time_string, hostname);
108 buffer_append(&loginmsg, buf, strlen(buf)); 115 buffer_append(&loginmsg, buf, strlen(buf));
109 } 116 }
117# endif /* CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG */
110#endif /* NO_SSH_LASTLOG */ 118#endif /* NO_SSH_LASTLOG */
111} 119}
112 120
diff --git a/uuencode.c b/uuencode.c
index a13949585..b9e57e993 100644
--- a/uuencode.c
+++ b/uuencode.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: uuencode.c,v 1.24 2006/08/03 03:34:42 deraadt Exp $ */ 1/* $OpenBSD: uuencode.c,v 1.25 2009/03/05 11:30:50 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -33,6 +33,12 @@
33#include "xmalloc.h" 33#include "xmalloc.h"
34#include "uuencode.h" 34#include "uuencode.h"
35 35
36/*
37 * Encode binary 'src' of length 'srclength', writing base64-encoded text
38 * to 'target' of size 'targsize'. Will always nul-terminate 'target'.
39 * Returns the number of bytes stored in 'target' or -1 on error (inc.
40 * 'targsize' too small).
41 */
36int 42int
37uuencode(const u_char *src, u_int srclength, 43uuencode(const u_char *src, u_int srclength,
38 char *target, size_t targsize) 44 char *target, size_t targsize)
@@ -40,6 +46,11 @@ uuencode(const u_char *src, u_int srclength,
40 return __b64_ntop(src, srclength, target, targsize); 46 return __b64_ntop(src, srclength, target, targsize);
41} 47}
42 48
49/*
50 * Decode base64-encoded 'src' into buffer 'target' of 'targsize' bytes.
51 * Will skip leading and trailing whitespace. Returns the number of bytes
52 * stored in 'target' or -1 on error (inc. targsize too small).
53 */
43int 54int
44uudecode(const char *src, u_char *target, size_t targsize) 55uudecode(const char *src, u_char *target, size_t targsize)
45{ 56{
diff --git a/version.h b/version.h
index 2c7764677..7fdd00221 100644
--- a/version.h
+++ b/version.h
@@ -1,6 +1,6 @@
1/* $OpenBSD: version.h,v 1.55 2009/02/23 00:06:15 djm Exp $ */ 1/* $OpenBSD: version.h,v 1.56 2009/06/30 14:54:40 markus Exp $ */
2 2
3#define SSH_VERSION "OpenSSH_5.2" 3#define SSH_VERSION "OpenSSH_5.3"
4 4
5#define SSH_PORTABLE "p1" 5#define SSH_PORTABLE "p1"
6#define SSH_RELEASE_MINIMUM SSH_VERSION SSH_PORTABLE 6#define SSH_RELEASE_MINIMUM SSH_VERSION SSH_PORTABLE